:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #07111f;
  --surface: #0c1a2b;
  --surface-alt: #10243a;
  --ink: #f1f7f4;
  --muted: #b7c5c5;
  --muted-light: #d7e1df;
  --navy: #07111f;
  --navy-soft: #0c1a2b;
  --line: rgba(206, 224, 232, .18);
  --line-dark: rgba(241, 247, 244, .18);
  --green: #a5f3d0;
  --mint: #a5f3d0;
  --button-bg: #a5f3d0;
  --button-fg: #07111f;
  --max: 1160px;
  --pad: clamp(1.15rem, 4vw, 3.5rem);
  --body: 'DM Sans', system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f4f3ed;
  --surface: #fffefa;
  --surface-alt: #ebece5;
  --ink: #182a30;
  --muted: #53656b;
  --muted-light: #43545a;
  --line: #d9dfda;
  --green: #216a4d;
  --button-bg: #07111f;
  --button-fg: #fffefa;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a, input, select { font: inherit; }
button { color: inherit; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
section[id].nav-focus-target h2 { outline: 3px solid var(--green); outline-offset: 4px; }
section.tailored-section.nav-focus-target h2,
section.contact-section.nav-focus-target h2 { outline-color: var(--mint); }
.site-header :where(a, button, select, summary):focus-visible,
.tailored-section :where(a, button, summary):focus-visible,
.contact-section :where(a, button, summary):focus-visible,
.site-footer :where(a, button, summary):focus-visible { outline-color: var(--mint); }
.container { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 100; padding: .7rem 1rem; transform: translateY(-150%); background: var(--surface); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; background: var(--navy); color: #f1f7f4; }
.site-header .container { --max: 1440px; --pad: clamp(1rem, 2vw, 2rem); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: .8rem; }
.brand { display: inline-flex; width: clamp(135px, 13vw, 165px); flex: 0 0 auto; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.55rem, 1vw, .9rem); font-size: .88rem; white-space: nowrap; }
.desktop-nav > a:not(.nav-cta) { display: inline-flex; min-height: 44px; align-items: center; color: #d1dcdb; text-decoration: none; }
.desktop-nav > a:not(.nav-cta):hover, .footer-links a:hover { color: var(--mint); }
.nav-cta { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem .85rem; border: 1px solid rgba(165, 243, 208, .65); color: var(--mint); text-decoration: none; white-space: nowrap; line-height: 1.2; }
.nav-cta:hover { background: var(--mint); color: var(--navy); }
.nav-cta span:last-child, .button span:last-child { font-size: 1.1rem; }
.header-preferences { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.preference-control { position: relative; }
.preference-control::after { position: absolute; top: 17px; right: .8rem; width: 6px; height: 6px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(45deg); content: ''; pointer-events: none; }
.preference-select { appearance: none; display: block; min-height: 44px; border: 1px solid rgba(241, 247, 244, .4); border-radius: 4px; padding: .55rem 1.85rem .55rem .7rem; background: var(--navy-soft); color: #f1f7f4; cursor: pointer; font-size: .78rem; font-weight: 600; }
.preference-select:hover { border-color: var(--mint); }
.preference-select option { background: #0c1a2b; color: #f1f7f4; }
.language-select { min-width: 66px; }
.theme-select { min-width: 90px; }
.menu-toggle, .mobile-menu { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(4rem, 8vw, 7.3rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy { max-width: 640px; }
.eyebrow, .section-label { margin: 0 0 1rem; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow > span:first-child { flex: 0 0 .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); }
.hero h1, .section-heading h2, .tailored-copy h2, .faq-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(2.75rem, 5.4vw, 5.1rem); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { max-width: 13ch; }
.hero h1 em, .section-heading h2 em, .tailored-copy h2 em, .faq-heading h2 em { color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-size: 1.02em; font-weight: 400; letter-spacing: -.04em; }
.hero-lead { max-width: 57ch; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.15rem; border: 1px solid transparent; text-align: center; text-decoration: none; font-size: .9rem; font-weight: 700; }
.button-primary { background: var(--button-bg); color: var(--button-fg); }
.button-primary:hover { background: var(--green); color: var(--button-fg); }
.button-light { background: var(--mint); color: var(--navy); }
.button-light:hover { background: #d2fbe7; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; padding-bottom: .15rem; border-bottom: 1px solid var(--green); color: var(--green); font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-link:hover { border-color: var(--ink); color: var(--ink); }
.hero-note { margin: .9rem 0 0; color: var(--muted); font-size: .82rem; }

.flow-card { padding: clamp(1.3rem, 3vw, 2rem); border-radius: 16px; background: var(--navy); color: #f1f7f4; }
.flow-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.flow-kicker { margin: 0; color: var(--mint); font-size: .78rem; font-weight: 700; }
.flow-label { padding: .3rem .55rem; border: 1px solid var(--line-dark); color: #d7e2df; font-size: .72rem; }
.flow-card h2 { max-width: 18ch; margin: 1.25rem 0 1.35rem; font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; }
.flow-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: .85rem; min-width: 0; padding: .75rem 0 1rem; }
.flow-list li:not(:last-child)::after { position: absolute; top: 2.8rem; bottom: -.05rem; left: 1.04rem; width: 1px; background: rgba(165, 243, 208, .42); content: ''; }
.flow-number { position: relative; z-index: 1; display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border: 1px solid var(--mint); border-radius: 50%; color: var(--mint); font-size: .72rem; font-weight: 700; }
.flow-list strong { display: block; color: #fffefa; font-size: .95rem; line-height: 1.35; }
.flow-list p { margin: .25rem 0 0; color: #c5d2d0; font-size: .84rem; line-height: 1.5; }
.handoff-note { display: grid; grid-template-columns: 1.8rem 1fr; gap: .7rem; margin-top: .7rem; padding: .85rem; border-left: 2px solid var(--mint); background: rgba(255, 255, 255, .06); }
.handoff-mark { color: var(--mint); font-size: 1.2rem; line-height: 1.3; }
.handoff-note p { margin: 0; color: #d8e2df; font-size: .82rem; line-height: 1.5; }
.handoff-note strong { color: #fffefa; }
.flow-disclaimer { margin: .9rem 0 0; color: #aebbb9; font-size: .72rem; line-height: 1.5; }
.hero-footline { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .3rem; padding-top: 1.05rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.hero-footline span + span { padding-left: 1rem; border-left: 1px solid var(--line); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); border-top: 1px solid var(--line); }
.section-heading { max-width: 770px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-heading h2, .tailored-copy h2, .faq-heading h2, .contact-copy h2 { max-width: 17ch; font-size: clamp(2.25rem, 4.3vw, 4rem); }
.section-heading > p:last-child { max-width: 63ch; margin: 1.1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.solution-card { min-width: 0; min-height: 225px; padding: clamp(1.25rem, 2.8vw, 2rem); border: 1px solid var(--line); background: var(--surface); }
.card-kicker { margin: 0 0 2.2rem; color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.solution-card h3 { max-width: 24ch; margin: 0 0 .65rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; }
.solution-card p:last-child { max-width: 54ch; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.other-solutions { margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--green); color: var(--muted); background: var(--surface-alt); font-size: .9rem; }

.calculator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.calculator-card { min-width: 0; padding: clamp(1.25rem, 2.8vw, 2rem); border: 1px solid var(--line); background: var(--surface); }
.calculator-card h3 { max-width: 24ch; margin: 0 0 .55rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.calculator-description { min-height: 3.2em; margin: 0 0 1.25rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.calculator-fields { display: grid; gap: .4rem; }
.calculator-fields label { margin-top: .55rem; color: var(--ink); font-size: .83rem; font-weight: 600; }
.calculator-fields input { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.calculator-fields input:hover { border-color: var(--green); }
.calculator-formula { margin: 1rem 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.calculator-result { display: grid; gap: .55rem; padding: 1rem; border: 1px solid var(--line); background: var(--surface-alt); }
.calculator-result > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; align-items: baseline; }
.calculator-result span { color: var(--muted); font-size: .82rem; }
.calculator-result strong { color: var(--green); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.calculator-status { min-height: 1.4em; margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.calculator-disclaimer { margin: 1.2rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.calculator-privacy { margin: .35rem 0 0; color: var(--muted); font-size: .76rem; }
.calculator-cta { margin-top: .9rem; }

.tailored-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--navy); color: #f1f7f4; }
.tailored-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.section-label-light { color: var(--mint); }
.tailored-copy h2 { color: #f1f7f4; }
.tailored-copy h2 em { color: var(--mint); }
.tailored-copy > p:last-child { max-width: 54ch; margin: 1.2rem 0 0; color: #c4d0ce; line-height: 1.75; }
.scope-list { border-top: 1px solid var(--line-dark); }
.scope-list > div { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.scope-list > div > span { color: var(--mint); font-size: .75rem; font-weight: 700; }
.scope-list p { margin: 0; color: #c4d0ce; font-size: .88rem; line-height: 1.5; }
.scope-list strong { display: block; margin-bottom: .2rem; color: #fffefa; font-size: .98rem; }

.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.method-grid li { min-width: 0; padding: 1.25rem 1rem 1.5rem 0; }
.method-grid li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.method-grid li > span { color: var(--green); font-size: .75rem; font-weight: 700; }
.method-grid h3 { margin: 2.5rem 0 .55rem; font-size: 1.13rem; font-weight: 600; line-height: 1.3; }
.method-grid p { max-width: 29ch; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.principles { background: var(--surface-alt); }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles-grid article { padding: 1.4rem 1.25rem 1.6rem 0; }
.principles-grid article + article { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.principles-grid h3 { max-width: 24ch; margin: 0 0 .65rem; font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.principles-grid p { max-width: 40ch; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.faq-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.faq-heading > p:last-child { max-width: 32ch; margin: 1.1rem 0 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.15rem 2.5rem 1.15rem 0; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: .35rem; color: var(--green); font-size: 1.35rem; font-weight: 400; content: '+'; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { color: var(--green); }
.faq-list details p { max-width: 68ch; margin: 0; padding: 0 1.5rem 1.25rem 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

.contact-section { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--navy); color: #f1f7f4; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-copy h2 { color: #fffefa; }
.contact-copy > p:not(.section-label) { max-width: 52ch; margin: 1.2rem 0 1.5rem; color: #c4d0ce; line-height: 1.7; }
.calendly-note { max-width: 52ch; margin: .75rem 0 0; color: #b7c5c5; font-size: .78rem; line-height: 1.5; }
.contact-options { display: grid; gap: .65rem; margin-top: 1.8rem; }
.contact-options a { display: flex; min-height: 44px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); color: #e7eeeb; font-size: .87rem; text-decoration: none; }
.contact-options a span + span { color: var(--mint); }
.contact-options a:hover { color: var(--mint); }
.calendly-inline-widget { min-width: 0; width: 100%; height: 720px; overflow: hidden; border-radius: 12px; background: #fff; }

.site-footer { padding-block: 2.5rem 1.3rem; background: #050b14; color: #f1f7f4; }
.footer-main { display: flex; justify-content: space-between; gap: 3rem; }
.footer-brand-block { max-width: 270px; }
.footer-brand-block p { margin: 1rem 0 0; color: #aebbb9; font-size: .87rem; }
.footer-links { display: flex; gap: clamp(2rem, 6vw, 5rem); }
.footer-links > div { display: grid; align-content: start; gap: .55rem; }
.footer-links b { margin-bottom: .25rem; color: var(--mint); font-size: .76rem; font-weight: 700; }
.footer-links a { display: flex; min-height: 44px; align-items: center; color: #d1dcdb; font-size: .85rem; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); color: #aebbb9; font-size: .76rem; }
.footer-base a { display: inline-flex; min-height: 44px; align-items: center; color: #d1dcdb; text-decoration: none; }
.footer-base a:hover { color: var(--mint); }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 2rem; }
}

@media (max-width: 1240px) {
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: .75rem; padding-top: .75rem; }
  .brand { width: clamp(135px, 36vw, 175px); margin-right: auto; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; order: 2; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(241, 247, 244, .28); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: #f1f7f4; }
  .header-preferences { order: 3; flex: 1 0 100%; justify-content: flex-end; padding-bottom: .6rem; }

  .mobile-menu:not([hidden]) { position: absolute; top: calc(100% + .4rem); left: var(--pad); right: var(--pad); display: grid; gap: .15rem; padding: 1rem; border: 1px solid var(--line-dark); background: var(--navy-soft); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu > a:not(.button) { display: flex; min-height: 44px; align-items: center; padding: .7rem .4rem; color: #e4ece9; text-decoration: none; }
  .mobile-menu .button { margin-top: .4rem; min-height: 48px; padding-block: .6rem; line-height: 1.2; white-space: nowrap; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 15ch; }
  .flow-card { max-width: 700px; }
  .hero-footline { margin-top: .2rem; }
  .tailored-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { max-width: 700px; }
  .calendly-inline-widget { height: 700px; }
}

@media (max-width: 620px) {
  .hero { padding-top: 3.6rem; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-footline { grid-template-columns: 1fr; gap: .45rem; }
  .hero-footline span + span { padding-left: 0; border-left: 0; }
  .flow-card { padding: 1.25rem; }
  .flow-card h2 { font-size: 1.65rem; }
  .solution-grid, .calculator-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .calculator-description { min-height: 0; }
  .card-kicker { margin-bottom: 1.4rem; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid li { padding: 1rem .8rem 1.3rem 0; }
  .method-grid li + li { padding-left: .8rem; }
  .method-grid li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-grid li:nth-child(4) { border-top: 1px solid var(--line); }
  .method-grid h3 { margin-top: 1.6rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { padding: 1.1rem 0; }
  .principles-grid article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 1.7rem; }
  .contact-options a { display: grid; }
  .calendly-inline-widget { height: 700px; }
  .footer-main { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
  .footer-base { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  :root { --pad: 1rem; }
  .flow-topline { align-items: flex-start; flex-direction: column; }
  .flow-list li { grid-template-columns: 2.1rem minmax(0, 1fr); gap: .65rem; }
  .flow-list strong, .flow-list p, .solution-card p, .calculator-card p, .faq-list p { overflow-wrap: anywhere; }
  .footer-links { gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
