:root {
  color-scheme: light;
  --ink: #142829;
  --muted: #47605e;
  --page: #f4f7f5;
  --line: #c9d7d0;
  --brand: #0c6859;
  --masthead: #061a21;
  --masthead-ink: #eef8f4;
  --hero-base: #04191f;
  --hero-ink: #f7fffc;
  --hero-muted: #cfdfdf;
  --hero-accent: #ffc278;
  --primary: #ffc278;
  --primary-ink: #1b2520;
  --hero-image: url("hero-ink.png");
  --example: #0e3034;
  --example-rule: #47676a;
  --example-accent: #a4f1d1;
  --process: #e6f0ed;
}

:root[data-style="light"] {
  --brand: #96331c;
  --masthead: #f9faf8;
  --masthead-ink: #142829;
  --hero-base: #e0e5eb;
  --hero-ink: #112525;
  --hero-muted: #344d50;
  --hero-accent: #b03419;
  --primary: #a93318;
  --primary-ink: #fff;
  --hero-image: url("hero-light.png");
  --example: #183039;
  --example-accent: #ffd18c;
  --process: #edf0f5;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; background: var(--page); color: var(--ink); line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: 0; }
a { color: inherit; }
button, summary { font: inherit; }
:focus-visible { outline: 2px solid #dd7f38; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; padding: 8px 14px; background: white; color: var(--ink); z-index: 5; transform: translateY(-150%); }
.skip:focus { transform: none; }

.topbar { background: var(--masthead); color: var(--masthead-ink); border-bottom: 1px solid #6d8f873b; }
.masthead { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-size: 1.45rem; font-weight: 750; line-height: 1; text-decoration: none; }
.brand-mark { display: grid; align-content: center; justify-items: start; gap: 3px; width: 31px; height: 31px; padding-left: 6px; border: 1px solid currentColor; border-radius: 4px; color: var(--hero-accent); }
.brand-mark i { height: 2px; width: 16px; background: currentColor; }
.brand-mark i:nth-child(2) { width: 11px; }
.masthead nav { display: flex; align-items: center; gap: 30px; }
.masthead nav a { text-decoration: none; font-size: .95rem; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.header-contact { border-color: #819b93; padding-inline: 20px; }
.header-contact:hover { border-color: var(--hero-accent); }
.primary { background: var(--primary); color: var(--primary-ink); }
.primary:hover { filter: brightness(1.08); }
.outline { color: var(--hero-ink); border-color: currentColor; }
.outline:hover { background: #819b9326; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(610px, calc(100svh - 150px)); overflow: hidden; background: var(--hero-base); color: var(--hero-ink); }
.hero::before { position: absolute; inset: 0; z-index: -1; background: var(--hero-image) center 72% / cover no-repeat; content: ""; }
.hero-content { padding-block: 78px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: var(--brand); font-size: .9rem; font-weight: 700; }
.eyebrow span { display: inline-block; flex: 0 0 26px; height: 2px; background: currentColor; }
.hero .eyebrow, .hero h1 span { color: var(--hero-accent); }
.hero h1 { font-size: 4.65rem; font-weight: 750; line-height: 1.01; }
.hero-lead { max-width: 45ch; margin-top: 25px; color: var(--hero-muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.section { padding-block: 72px; }
.offers { padding-block-start: 52px; }
.section h2 { max-width: 22ch; font-size: 2.85rem; font-weight: 750; }
.section-intro { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 36px; }
.section-intro p, .offer-grid p, .process-list dd { color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-grid article { padding: 24px 26px 26px 0; }
.offer-grid article + article { border-left: 1px solid var(--line); padding-left: 26px; }
.offer-grid h3, #scenario-name { margin-bottom: 10px; font-size: 1.43rem; }
.service-mark { display: block; width: 38px; height: 4px; margin-bottom: 20px; background: #15806c; }
.service-links { background: #bc5428; }
.service-flow { background: #4569b0; }

.examples { background: var(--example); color: #effff8; }
.examples .eyebrow { color: var(--example-accent); }
.example-layout, .process-layout, .contact-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.scenario-tabs button { min-height: 46px; padding: 7px 11px; border: 1px solid var(--example-rule); border-radius: 4px; background: transparent; color: #d9eeeb; cursor: pointer; }
.scenario-tabs button:hover, .scenario-tabs button[aria-selected="true"] { border-color: var(--example-accent); color: var(--example-accent); }
#scenario-panel { min-width: 0; padding: 22px 0 0; border-top: 1px solid var(--example-rule); }
#scenario-description, .scenario-benefit { color: #c5dddd; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; list-style: none; margin: 26px 0 21px; padding: 0; }
.flow li { position: relative; min-height: 96px; padding: 11px 9px 11px 12px; border: 1px solid var(--example-rule); border-left: 2px solid var(--example-accent); border-radius: 4px; background: #d3fbec08; }
.flow li:not(:last-child)::after { position: absolute; top: 50%; right: -18px; width: 17px; height: 1px; background: var(--example-rule); content: ""; }
.flow span { display: block; margin-bottom: 4px; color: var(--example-accent); font-size: .88rem; }
.flow strong { font-size: .96rem; line-height: 1.35; display: block; }
.scenario-benefit { padding-left: 12px; border-left: 2px solid var(--example-accent); }

.process { background: var(--process); }
.process-list { margin: 0; border-top: 1px solid var(--line); }
.process-list div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.process-list dt { font-size: 1.23rem; font-weight: 750; }
.process-list dd { margin: 2px 0 0; }
.contact-band { background: #104a44; color: #f5fffa; }
.contact-band .eyebrow { color: #b4efcf; }
.contact-band h2 + p { margin-top: 17px; color: #d8eee8; }
.contact-layout { align-items: center; }
.contact { width: min(100%, 400px); justify-self: center; text-align: center; }
.contact summary { list-style: none; min-width: 155px; background: #ffca87; color: #193025; }
.contact summary::-webkit-details-marker { display: none; }
.contact-options { margin-top: 16px; display: grid; gap: 8px; }
.contact-options a { color: #f5fffa; text-underline-offset: 4px; }
.phone-reveal iframe { display: block; width: min(330px, 100%); height: 236px; margin: 8px auto 0; border: 0; }
.footer { color: #fff8eb; background: #071f24; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.footer p { color: #c7d9da; font-size: .92rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero::before { animation: settle 1.5s ease-out both; transform-origin: right center; }
  .hero-content { animation: rise .75s ease-out both; }
  .entered { animation: rise .5s ease-out both; }
  .flow.is-changing li { animation: signal .44s ease-out both; }
  .flow.is-changing li:nth-child(2) { animation-delay: .085s; }
  .flow.is-changing li:nth-child(3) { animation-delay: .17s; }
  .button { transition: background-color .2s, border-color .2s, filter .2s; }
}
@keyframes settle { from { transform: scale(1.055); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes signal { from { background: #a4f1d12c; transform: translateY(6px); } to { transform: none; } }

@media (max-width: 980px) {
  .wrap { width: min(100% - 52px, 1192px); }
  .hero h1 { font-size: 3.65rem; }
  .section h2 { font-size: 2.35rem; }
  .example-layout, .process-layout, .contact-layout { gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .masthead { min-height: 64px; gap: 10px; }
  .masthead nav { display: none; }
  .hero { min-height: min(530px, calc(100svh - 116px)); align-items: start; }
  .hero-content { padding-block: 37px 126px; }
  .hero::before { background-size: auto 49%; background-position: right bottom; }
  .hero h1 { font-size: 2.72rem; }
  .hero-lead { font-size: 1.025rem; margin-top: 16px; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .hero-actions .button { min-height: 44px; padding: 8px 11px; font-size: .92rem; }
  .section, .offers { padding-block: 43px; }
  .section h2 { font-size: 2.05rem; }
  .section-intro, .offer-grid, .example-layout, .process-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .offer-grid { margin-top: 25px; gap: 0; }
  .offer-grid article, .offer-grid article + article { border-left: 0; padding: 19px 0; }
  .offer-grid article + article { border-top: 1px solid var(--line); }
  .service-mark { margin-bottom: 11px; }
  .contact { justify-self: start; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.28rem; }
  .flow { gap: 8px; }
  .flow li { padding-inline: 6px; overflow-wrap: anywhere; }
  .flow li:not(:last-child)::after { right: -9px; width: 8px; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (min-width: 381px) and (max-width: 490px) {
  .hero h1 { font-size: 2.48rem; }
}
