:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #162320;
  --teal: #007b6e;
  --muted: #5c6662;
  --line: #d7dcd5;
  --sans: Aptos, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: #007b6e26; }
button, a { touch-action: manipulation; }
html:has(dialog[open]) { overflow: hidden; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
::selection { background: #c2e8dd; color: var(--ink); }
.page { max-width: 1240px; margin: auto; padding: env(safe-area-inset-top) 60px 0; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 5; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand { min-height: 48px; display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 28px; letter-spacing: -1.4px; line-height: 1; }
.brand img { object-fit: contain; }
.brand-accent { color: var(--teal); }
.website-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; }
.website-link span { color: var(--teal); font-size: 20px; }
.website-link:hover, .social-links a:hover, .team a:hover, .footer-bottom a:hover, .direct-link a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 64px 0 56px; align-items: end; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 750; margin: 0 0 22px; }
h1 { font-weight: 400; font-size: clamp(48px, 6vw, 80px); line-height: 1.04; letter-spacing: -.055em; margin: 0; }
.hero-first { display: block; font-family: var(--sans); font-weight: 750; margin-bottom: 6px; }
.hero-last { display: block; font-family: var(--serif); color: var(--teal); }
.hero-copy { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 26px; }
.hero-copy strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid transparent; border-radius: 5px; min-height: 52px; padding: 13px 18px; font-size: 16px; font-weight: 650; text-align: left; transition: background .18s; }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: #006559; }
.button span { font-size: 21px; line-height: 1; }
.actions .deck-trigger { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 4px 2px; font-size: 16px; font-weight: 600; }
.actions .deck-trigger:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.story { border-top: 1px solid var(--line); padding-top: 28px; }
.story-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.story-heading .eyebrow { font-size: 10px; margin-bottom: 8px; }
.story-heading h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
.story-hint { color: var(--muted); font-size: 12px; }
.story-hint span { margin-left: 8px; color: var(--teal); font-size: 18px; }
.story-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 20px; }
.story-path { position: absolute; width: calc(100% + 30px); left: -15px; height: 155px; top: 10px; pointer-events: none; overflow: visible; }
.story-path path { stroke: #8ecabc; fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.story-step { position: relative; color: var(--ink); background: transparent; border: 0; border-radius: 4px; padding: 0 9px 22px; text-align: left; isolation: isolate; }
.portrait { display: flex; align-items: end; justify-content: center; height: 166px; margin-bottom: 22px; }
.portrait img { display: block; width: 153px; height: auto; max-width: 100%; transition: transform .22s, opacity .22s; }
.step-label { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; transition: border-color .22s; }
.step-label strong { font-size: 28px; letter-spacing: -.9px; font-weight: 650; }
.step-number { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--teal); }
.step-arrow { margin-left: auto; color: var(--teal); font-size: 23px; }
.step-copy { display: block; font-size: 16px; line-height: 1.55; color: var(--muted); }
.has-story-js .story-step:not(.is-active) .portrait img { opacity: .85; }
.has-story-js .is-active .portrait img { transform: translateY(-6px) rotate(-2deg); }
.story-step.is-active .step-label { border-color: var(--teal); }
.assurance-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; border-top: 1px solid var(--line); padding: 18px 9px 0; }
.assurance-rules p { margin: 0; font-size: 13px; }
.assurance-rules span { color: var(--teal); font-size: 11px; margin-right: 7px; }
.deck-section { margin-top: 52px; padding: 36px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 40px; background: #061713; color: var(--paper); border-top: 3px solid #12c9b5; }
.deck-section .eyebrow { color: #57dec8; margin-bottom: 18px; }
.deck-intro h2 { font-size: 34px; letter-spacing: -1px; font-weight: 650; line-height: 1.15; margin: 0 0 20px; }
.deck-intro h2 em { font-family: var(--serif); font-weight: 400; color: #b7ece0; }
.deck-intro > p:not(.eyebrow) { color: #c4d0cb; font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.deck-button { background: #bef4e3; color: #061713; width: 100%; max-width: 335px; }
.deck-button:hover { background: #dbffef; }
.deck-section a:focus-visible { outline-color: #57dec8; }
.deck-meta { display: block; color: #b3c7bf; font-size: 12px; line-height: 1.7; margin-top: 12px; }
.deck-meta > span { margin: 0 5px; color: #57dec8; }
.deck-preview { display: block; min-width: 0; border: 1px solid #3b574c; box-shadow: 0 12px 30px #0003; }
.deck-preview img { display: block; width: 100%; height: auto; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 16px; border-top: 1px solid #3b574c; font-size: 12px; color: #b7ece0; }
.preview-caption > span { font-size: 22px; }
.deck-preview:hover { border-color: #57dec8; }
.footer { margin-top: 44px; border-top: 1px solid var(--ink); padding-top: 24px; }
.footer-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-heading h2 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -.3px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; }
.social-links a, .team a { display: inline-flex; align-items: center; min-height: 48px; }
.social-links a { padding: 0 4px; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; list-style: none; padding: 0; margin: 24px 0 28px; }
.team li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.team strong { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.team span { font-size: 10px; letter-spacing: .075em; color: var(--muted); }
.team a { font-size: 16px; margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 0 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom a { display: inline-flex; gap: 10px; align-items: center; min-height: 48px; }
#deck-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overscroll-behavior: contain; padding: 36px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px #13272026; overflow: auto; }
#deck-dialog::backdrop { background: #13272070; backdrop-filter: blur(4px); }
#deck-dialog .eyebrow { margin-bottom: 12px; padding-right: 40px; font-size: 12px; }
#deck-dialog h2 { font-size: 30px; line-height: 1.15; letter-spacing: -1px; margin: 0 0 14px; }
#deck-consent { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.dialog-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; }
.dialog-close:hover { background: #eaece6; color: var(--ink); }
#deck-form { display: flex; flex-direction: column; }
#deck-form label { font-size: 16px; font-weight: 650; margin-bottom: 7px; }
#lead-email { width: 100%; min-height: 52px; border: 1px solid #b9c2ba; border-radius: 5px; padding: 10px 12px; color: var(--ink); background: white; font-size: 16px; margin-bottom: 18px; }
#deck-form .button { width: 100%; justify-content: center; font-size: 16px; }
#deck-form .button-primary { justify-content: space-between; }
.button-skip { margin-top: 7px; color: var(--muted); background: transparent; }
.button-skip:hover { background: #eaece6; color: var(--ink); }
button:disabled { cursor: wait; opacity: .65; }
.honeypot { display: none; }
.deck-status { margin: 12px 0 0; color: var(--teal); font-size: 16px; line-height: 1.5; }
.deck-status:empty { display: none; }
.direct-link { border-top: 1px solid var(--line); padding-top: 16px; margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.direct-link a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .page { padding-left: 36px; padding-right: 36px; }
  .hero { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
  h1 { font-size: clamp(48px, 6vw, 72px); }
  .hero-copy { font-size: 18px; }
  .story-track, .team, .assurance-rules { gap: 24px; }
  .deck-section { padding: 28px; gap: 28px; }
  .deck-intro h2 { font-size: 30px; }
}
@media (max-width: 900px) {
  .page { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .masthead { padding: 18px 0; gap: 16px; }
  .brand { font-size: 26px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .eyebrow { font-size: 12px; margin-bottom: 20px; }
  h1 { font-size: clamp(42px, 8.8vw, 72px); }
  .hero-copy { max-width: 560px; font-size: 18px; margin-bottom: 24px; }
  .hero-aside { max-width: 580px; }
  .actions { flex-direction: row; align-items: stretch; gap: 16px; }
  .actions > a { flex: 1; }
  .actions .deck-trigger { border: 1px solid var(--line); border-radius: 5px; padding: 13px 18px; gap: 12px; }
  .story-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .story-heading .eyebrow { font-size: 11px; }
  .story-hint { font-size: 14px; }
  .deck-section { grid-template-columns: 1fr; gap: 28px; }
  .deck-intro { max-width: 560px; }
  .deck-intro h2 { font-size: 34px; }
  .deck-preview { max-width: 620px; width: 100%; }
  .footer-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .team { grid-template-columns: 1fr; gap: 24px; }
  .team strong { font-size: 18px; }
  .team span { font-size: 12px; }
  .team a { margin: 0; }
  .footer-bottom { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .page { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .masthead { padding: 14px 0; }
  .brand { font-size: 25px; }
  .brand img { width: 31px; height: 28px; }
  .website-link { font-size: 13px; gap: 6px; }
  .hero { padding: 34px 0; gap: 24px; }
  .hero-copy { font-size: 18px; }
  .hero-aside { max-width: none; }
  .actions { flex-direction: column; gap: 12px; }
  .actions > a { width: 100%; min-height: 52px; }
  .story-heading h2 { font-size: 22px; line-height: 1.3; }
  .story-track { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .story-path { display: none; }
  .story-step { display: grid; grid-template-columns: clamp(88px, 25vw, 120px) minmax(0, 1fr); column-gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
  .portrait { grid-row: 1 / 3; align-items: center; height: auto; margin: 0; }
  .portrait img { width: 112px; }
  .step-label { gap: 8px; align-self: end; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 0; }
  .step-label strong { font-size: 26px; }
  .step-arrow { font-size: 24px; }
  .step-copy { align-self: start; }
  .story-step.is-active { border-bottom-color: var(--teal); }
  .assurance-rules { grid-template-columns: 1fr; gap: 12px; border-top: 0; padding: 22px 0 0; }
  .assurance-rules p { font-size: 14px; }
  .deck-section { margin-top: 34px; padding: 24px 20px; gap: 24px; }
  .deck-intro h2 { font-size: clamp(25px, 7vw, 32px); }
  .deck-button { max-width: none; }
  .deck-meta { font-size: 12px; }
  .preview-caption { padding: 10px 12px; }
  .footer { margin-top: 32px; }
  .team { margin: 24px 0; }
  .footer-bottom { flex-wrap: wrap; gap: 4px 16px; }
  #deck-dialog { width: calc(100% - 16px); max-width: 460px; margin: auto auto 8px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 28px 20px max(20px, env(safe-area-inset-bottom)); border-radius: 20px; }
  #deck-dialog h2 { font-size: 28px; }
  .dialog-close { top: 6px; right: 6px; }
}
@media (hover: hover) and (pointer: fine) { .story-step:hover .step-label { color: var(--teal); } }
@media (pointer: coarse) {
  .button:active, .deck-trigger:active, .website-link:active, .social-links a:active, .team a:active, .dialog-close:active { filter: brightness(.88); }
  .story-step:active .portrait img { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-story-js .is-active .portrait img { transform: none; }
}
