/* Autopilot Consultants · Evergreen brand */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #0F3D2E;
  --green-2: #134A38;
  --green-deep: #0A2E22;
  --moss: #2F6B52;
  --mint: #7FC4A1;
  --marigold: #F2B33D;
  --marigold-2: #F5C25F;
  --oat: #F6F1E7;
  --oat-2: #EDE5D4;
  --sage: #CFE0D6;
  --ink: #0F3D2E;
  --ink-soft: #3D5A4D;
  --ink-darker: #1F3A2F;
  --line: #DDD3C0;
  --white: #FFFFFF;
  --error: #9B2C1F;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--oat); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
button { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); }
.eyebrow--gold { color: var(--marigold); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 820px; margin-top: 12px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin-top: 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--sans); transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--gold { background: var(--marigold); color: var(--green); box-shadow: 0 10px 30px -10px rgba(242,179,61,.7); }
.btn--gold:hover { background: var(--marigold-2); color: var(--green); }
.btn--green { background: var(--green); color: var(--oat); }
.btn--green:hover { background: var(--green-deep); color: var(--oat); }
.btn--ghost { background: transparent; color: var(--oat); box-shadow: inset 0 0 0 1.5px rgba(246,241,231,.4); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--oat); color: var(--oat); }
.btn--xl { padding: 20px 34px; font-size: 19px; min-height: 60px; }
.btn--pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(242,179,61,.55); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,179,61,.55); } 70% { box-shadow: 0 0 0 16px rgba(242,179,61,0); } 100% { box-shadow: 0 0 0 0 rgba(242,179,61,0); } }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--oat); }
.logo__word { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.03em; display: inline-flex; align-items: flex-end; }
.logo__o { width: 17px; height: 17px; margin: 0 1px 2px; transition: transform .6s var(--ease); }
.logo:hover .logo__o { transform: rotate(90deg); }
.logo__sub { margin-top: 5px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.46em; color: var(--sage); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s, padding .3s; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; transition: padding .3s; }
.site-header.is-scrolled { background: rgba(15,61,46,.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.site-header.is-scrolled .container { padding-top: 10px; padding-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--sage); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--oat); }
.nav .btn { padding: 11px 22px; min-height: 44px; font-size: 15px; }

/* HERO */
.hero { position: relative; background: var(--green); color: var(--oat); overflow: hidden; padding-top: 120px; }
.hero__glow { position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle at center, rgba(242,179,61,.16), rgba(242,179,61,0) 60%); pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(207,224,214,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(207,224,214,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero__body { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(246,241,231,.08); box-shadow: inset 0 0 0 1px rgba(246,241,231,.14); font-size: 14px; color: var(--sage); }
.hero__badge b { background: var(--marigold); color: var(--green); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: .98; letter-spacing: -0.035em; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero__lead { margin-top: 26px; font-size: 20px; color: var(--sage); max-width: 560px; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__cta .btn { padding: 18px 26px; }
.hero__trust { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--sage); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; flex: none; }

/* Live demo window */
.demo { position: relative; background: var(--oat); color: var(--ink); border-radius: 24px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.demo__dots { display: flex; gap: 6px; }
.demo__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3DACA; display: block; }
.demo__title { font-size: 13px; font-weight: 700; color: var(--ink-soft); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--moss); }
.demo__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2FAE6B; box-shadow: 0 0 0 0 rgba(47,174,107,.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(47,174,107,.6); } 80% { box-shadow: 0 0 0 8px rgba(47,174,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,107,0); } }
.demo__timer { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; background: var(--oat-2); padding: 3px 10px; border-radius: 999px; }
.demo__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 470px; }
.d-step { opacity: .25; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.d-step.is-on { opacity: 1; transform: none; }
.d-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.d-label .n { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--marigold); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0; }
.d-step.is-done .d-label .n { background: #2FAE6B; color: var(--white); }
.mail { background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 0 var(--line); font-size: 14.5px; }
.mail__from { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.mail__from b { color: var(--ink); }
.mail__text { margin-top: 6px; min-height: 66px; color: var(--ink-darker); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--green); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-x { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chip-x b { color: var(--moss); font-weight: 700; margin-right: 4px; }
.chip-x.is-on { opacity: 1; transform: none; }
.rates { display: flex; flex-direction: column; gap: 6px; }
.rate { display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 10px; font-size: 13px; }
.rate__bar { height: 8px; border-radius: 99px; background: var(--oat-2); overflow: hidden; }
.rate__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sage); transition: width .8s var(--ease); }
.rate.is-best .rate__bar span { background: var(--marigold); }
.rate.is-best { font-weight: 700; }
.rate__p { text-align: right; font-variant-numeric: tabular-nums; }
.quote { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--green); color: var(--oat); border-radius: 16px; padding: 16px 18px; }
.quote small { display: block; font-size: 12px; color: var(--sage); }
.quote strong { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; }
.quote__btn { background: var(--marigold); color: var(--green); border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: background .3s, color .3s, transform .3s; cursor: default; }
.quote__btn.is-sent { background: #2FAE6B; color: var(--white); transform: scale(1.04); }
.demo__foot { white-space: nowrap; padding: 12px 20px; font-size: 12.5px; color: var(--ink-soft); background: var(--oat-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Marquee strip */
.strip { background: var(--marigold); color: var(--green); overflow: hidden; }
.strip__track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__group { display: flex; align-items: center; gap: 40px; padding: 20px 20px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.strip__group span { display: inline-flex; align-items: center; gap: 40px; }
.strip__group span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--oat2 { background: var(--oat-2); }
.section--green { background: var(--green); color: var(--oat); }
.section--green .lead { color: var(--sage); }
.section--green .eyebrow { color: var(--marigold); }

/* Pain */
.pain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.pain__card { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.pain__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15,61,46,.35); }
.pain__time { display: inline-block; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.pain__card p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.pain__card h3 { margin-top: 6px; font-size: 20px; }
.pain__note { margin-top: 36px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; max-width: 820px; }
.pain__note em { font-style: normal; background: linear-gradient(transparent 62%, rgba(242,179,61,.6) 62%); }

/* Story (scrollytelling) */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; margin-top: 64px; position: relative; }
.story__steps { position: relative; padding-left: 40px; }
.story__rail { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: rgba(207,224,214,.18); border-radius: 2px; }
.story__rail span { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--marigold); border-radius: inherit; transition: height .2s linear; }
.story__step { min-height: 62vh; padding: 8px 0 40px; opacity: .35; transition: opacity .4s var(--ease); position: relative; }
.story__step:last-child { min-height: 46vh; }
.story__step.is-active { opacity: 1; }
.story__dot { position: absolute; left: -40px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(207,224,214,.3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--sage); transition: background .3s, color .3s, box-shadow .3s; }
.story__step.is-active .story__dot { background: var(--marigold); color: var(--green); box-shadow: 0 0 0 6px rgba(242,179,61,.18); }
.story__when { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
.story__step h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); }
.story__step p { margin-top: 14px; color: var(--sage); font-size: 18px; max-width: 460px; }
.story__step ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--sage); }
.story__step li { display: flex; gap: 10px; }
.story__step li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.story__visual { position: sticky; top: 110px; height: min(560px, calc(100vh - 150px)); align-self: start; }
.panel { position: absolute; inset: 0; background: var(--oat); color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; overflow: hidden; display: flex; flex-direction: column; }
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.panel__pill { font-size: 12px; font-weight: 700; background: var(--green); color: var(--marigold); padding: 5px 11px; border-radius: 999px; }
.panel h4 { margin-top: 8px; font-size: 24px; }

/* Panel 1: call */
.call { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: center; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.panel.is-seen .bubble { opacity: 1; transform: none; }
.panel.is-seen .bubble:nth-child(2) { transition-delay: .35s; }
.panel.is-seen .bubble:nth-child(3) { transition-delay: .8s; }
.panel.is-seen .bubble:nth-child(4) { transition-delay: 1.25s; }
.panel.is-seen .bubble:nth-child(5) { transition-delay: 1.7s; }
.bubble--us { background: var(--green); color: var(--oat); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble--them { background: var(--white); align-self: flex-end; border-bottom-right-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.bubble small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.rec { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #B4432F; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D9573F; animation: livepulse 1.6s infinite; }

/* Panel 2: map */
.mapbars { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: center; }
.mapbar__top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; }
.mapbar__top b { font-variant-numeric: tabular-nums; }
.mapbar__track { margin-top: 6px; height: 14px; border-radius: 99px; background: var(--oat-2); overflow: hidden; }
.mapbar__track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sage); transition: width 1s var(--ease); }
.mapbar--hot .mapbar__track span { background: var(--marigold); }
.mapbar--hot .mapbar__top { font-weight: 700; }
.panel.is-seen .mapbar__track span { width: var(--w); }
.panel.is-seen .mapbar:nth-child(2) .mapbar__track span { transition-delay: .15s; }
.panel.is-seen .mapbar:nth-child(3) .mapbar__track span { transition-delay: .3s; }
.panel.is-seen .mapbar:nth-child(4) .mapbar__track span { transition-delay: .45s; }
.mapstart { margin-top: 16px; background: var(--green); color: var(--oat); border-radius: 16px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mapstart small { display: block; color: var(--sage); font-size: 12px; }
.mapstart b { font-family: var(--serif); font-size: 20px; }
.mapstart .tag { background: var(--marigold); color: var(--green); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }

/* Panel 3: build (flow) */
.flow { margin-top: 18px; display: flex; flex-direction: column; flex: 1; justify-content: center; gap: 0; }
.node { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: 0 1px 0 var(--line); opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.node__ic { width: 36px; height: 36px; border-radius: 10px; background: var(--oat-2); display: flex; align-items: center; justify-content: center; flex: none; }
.node__ic svg { width: 20px; height: 20px; }
.node b { display: block; font-size: 15px; }
.node small { color: var(--ink-soft); font-size: 13px; }
.node--you { background: var(--marigold); box-shadow: none; }
.node--you .node__ic { background: rgba(15,61,46,.12); }
.node--you small { color: var(--ink-darker); }
.link { height: 22px; width: 2px; margin-left: 33px; background-image: linear-gradient(var(--moss) 50%, transparent 50%); background-size: 2px 8px; opacity: 0; transition: opacity .4s; animation: flowdash 0.8s linear infinite; }
@keyframes flowdash { to { background-position: 0 8px; } }
.panel.is-seen .node, .panel.is-seen .link { opacity: 1; transform: none; }
.panel.is-seen .flow > :nth-child(3) { transition-delay: .2s; } .panel.is-seen .flow > :nth-child(4) { transition-delay: .3s; }
.panel.is-seen .flow > :nth-child(5) { transition-delay: .4s; } .panel.is-seen .flow > :nth-child(6) { transition-delay: .5s; }
.panel.is-seen .flow > :nth-child(7) { transition-delay: .6s; } .panel.is-seen .flow > :nth-child(8) { transition-delay: .7s; }
.panel.is-seen .flow > :nth-child(9) { transition-delay: .8s; }

/* Panel 4: run (monitor) */
.monitor { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: center; }
.mrow { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 13px 16px; box-shadow: 0 1px 0 var(--line); }
.mrow__dot { width: 10px; height: 10px; border-radius: 50%; background: #2FAE6B; flex: none; box-shadow: 0 0 0 4px rgba(47,174,107,.15); }
.mrow__dot--warn { background: var(--marigold); box-shadow: 0 0 0 4px rgba(242,179,61,.2); }
.mrow b { flex: 1; font-size: 15px; }
.mrow span { font-size: 13px; color: var(--ink-soft); }
.alert { margin-top: 6px; background: var(--green); color: var(--oat); border-radius: 16px; padding: 14px 16px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.alert svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.alert small { display: block; color: var(--sage); font-size: 12px; margin-top: 2px; }

/* Explorer */
.explorer { margin-top: 48px; background: var(--white); border-radius: 28px; padding: 10px; box-shadow: 0 30px 70px -45px rgba(15,61,46,.5); }
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; background: var(--oat); border-radius: 20px; padding: 6px; position: relative; }
.tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 0; background: transparent; border-radius: 16px; padding: 12px 14px; cursor: pointer; color: var(--ink-soft); transition: color .25s, background-color .25s; min-height: 64px; }
.tab small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.tab span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.tab:hover { color: var(--ink); background: rgba(15,61,46,.05); }
.tab[aria-selected="true"] { background: var(--green); color: var(--oat); }
.tab[aria-selected="true"] small { color: var(--marigold); opacity: 1; }
.tabpanel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 10px 10px; }
.tabpanel[hidden] { display: none; }
.tabpanel.is-in .tp { animation: tpin .45s var(--ease) both; }
.tabpanel.is-in .tp:nth-child(2) { animation-delay: .06s; } .tabpanel.is-in .tp:nth-child(3) { animation-delay: .12s; }
@keyframes tpin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp { border-radius: 20px; padding: 24px; background: var(--oat); }
.tp__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tp h3 { margin-top: 10px; font-size: 22px; }
.tp p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }
.tp--flow { background: var(--green); color: var(--oat); }
.tp--flow .tp__k { color: var(--marigold); }
.tp--flow p { color: var(--sage); }
.tp--win { background: var(--marigold); }
.tp--win .tp__k, .tp--win p { color: var(--ink-darker); }
.explorer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 12px 12px; }
.explorer__cta p { color: var(--ink-soft); font-size: 15px; }

/* Calculator */
.calc { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 20px; }
.calc__in { background: var(--green-2); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 26px; box-shadow: inset 0 0 0 1px rgba(207,224,214,.1); }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slider label { font-weight: 700; font-size: 16px; color: var(--oat); }
.slider output { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--marigold); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.slider small { display: block; font-size: 13px; color: var(--sage); margin-top: 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin-top: 6px; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--marigold) var(--p), rgba(207,224,214,.2) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(207,224,214,.2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--marigold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--oat); border: 5px solid var(--marigold); box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--oat); border: 5px solid var(--marigold); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__out { background: var(--oat); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; }
.big { font-family: var(--serif); font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.big--xl { font-size: clamp(52px, 7vw, 84px); color: var(--green); }
.big--md { font-size: clamp(30px, 3.4vw, 40px); }
.calc__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.calc__stats { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc__stat { background: var(--white); border-radius: 18px; padding: 18px; }
.calc__stat small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.calc__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.calc__out .btn { margin-top: auto; align-self: flex-start; }
.calc__out .calc__spacer { flex: 1; min-height: 24px; }

/* Pricing */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: s; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(15,61,46,.4); }
.card .k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.card h3 { margin-top: 10px; font-size: 24px; }
.card p { margin-top: 8px; color: var(--ink-soft); }
.card__price { margin-top: 18px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.founding { margin-top: 20px; position: relative; overflow: hidden; background: var(--marigold); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.founding::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(15,61,46,.08); }
.founding > div { position: relative; flex: 1 1 520px; min-width: 0; }
.founding .k { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.founding h3 { margin-top: 8px; font-size: clamp(28px, 3.2vw, 40px); }
.founding p { margin-top: 10px; color: var(--ink-darker); max-width: 620px; }
.founding .btn { position: relative; }

/* Trust pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair__dark { background: var(--green); color: var(--sage); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.pair__dark h2 { color: var(--oat); font-size: clamp(32px, 3.6vw, 46px); }
.pair__dark ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pair__dark li { display: flex; gap: 12px; }
.pair__dark li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.pair__dark strong { color: var(--oat); }
.pair__light { background: var(--sage); border-radius: 28px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.pair__light h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 46px); }
.pair__light p { margin-top: 16px; color: var(--ink-darker); }
.seal { width: 84px; height: 84px; }
.seal circle.ring { transform-origin: 50% 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; background: var(--white); border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.founder__img { position: relative; }
.founder__img img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.founder__img::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--marigold); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-30deg); }
.founder blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.founder cite { display: block; margin-top: 16px; font-style: normal; color: var(--ink-soft); }
.founder cite b { color: var(--ink); }
.founder a { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }

/* Booking */
.book { background: var(--green); color: var(--oat); position: relative; overflow: hidden; }
.book .hero__grid { mask-image: radial-gradient(ellipse at 20% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 10%, transparent 70%); }
.book__wrap { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; padding-top: 120px; padding-bottom: 120px; }
.book__text { position: sticky; top: 120px; }
.book__text h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; margin-top: 24px; }
.book__text .lead { color: var(--sage); }
.next { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.next li { display: flex; gap: 14px; align-items: flex-start; color: var(--sage); }
.next .n { width: 30px; height: 30px; border-radius: 50%; background: var(--marigold); color: var(--green); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.book__form { background: var(--oat); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.6); }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.form-head h3 { font-size: 26px; }
.form-head span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #D6CCB7; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(242,179,61,.45); }
.field.is-invalid input { border-color: var(--error); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opt-chip { position: relative; }
.opt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid #D6CCB7; background: var(--white); font-size: 15px; cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.opt-chip span:hover { border-color: var(--green); }
.opt-chip input:checked + span { background: var(--green); color: var(--oat); border-color: var(--green); }
.opt-chip input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { font-size: 15px; }
.form-status--error { color: var(--error); font-weight: 700; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success svg { margin: 0 auto; width: 72px; height: 72px; }
.form-success h3 { margin-top: 16px; font-size: 34px; }
.form-success p { margin-top: 10px; color: var(--ink-soft); }
.form-success .btn { margin-top: 22px; }
.book__form.is-done form { display: none; }
.book__form.is-done .form-success { display: block; animation: tpin .5s var(--ease) both; }
.turnstile-wrap { margin-top: 18px; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--sage); font-size: 14px; }
.site-footer .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.site-footer a { color: var(--oat); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand .logo__word { font-size: 20px; color: var(--oat); }
.footer-brand .logo__o { width: 12px; height: 12px; }

/* Mobile sticky CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; transform: translateY(140%); transition: transform .35s var(--ease); }
.mcta.is-on { transform: none; }
.mcta .btn { width: 100%; box-shadow: 0 14px 40px -10px rgba(0,0,0,.5); }

/* Reveal on scroll */
[data-reveal] { opacity: .55; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Legal pages */
.legal { background: var(--oat); }
.legal .site-header { position: static; background: var(--green); }
.legal main { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-darker); }
.legal .todo { background: #FFF3D1; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .demo { max-width: 620px; }
  .pain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabpanel { grid-template-columns: minmax(0, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .book__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 88px; padding-bottom: 88px; }
  .book__text { position: static; }
}
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .story { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
  .story__steps, .story__visual { display: contents; }
  .story__rail { display: none; }
  .story__step { min-height: 0; padding: 0 0 22px 40px; opacity: 1; }
  .story__dot { left: 0; top: 4px; }
  .panel { position: relative; inset: auto; opacity: 1; transform: none; padding: 20px; border-radius: 22px; margin-bottom: 52px; pointer-events: auto; }
  .story__step[data-panel="0"] { order: 1; } .panel[data-panel="0"] { order: 2; }
  .story__step[data-panel="1"] { order: 3; } .panel[data-panel="1"] { order: 4; }
  .story__step[data-panel="2"] { order: 5; } .panel[data-panel="2"] { order: 6; }
  .story__step[data-panel="3"] { order: 7; } .panel[data-panel="3"] { order: 8; }
  .call, .mapbars, .flow, .monitor { flex: none; }
  .tabs { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .tab { scroll-snap-align: start; }
  .steps3, .pair { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .mcta { display: block; }
  .site-footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .hero { padding-top: 96px; }
  .hero__body { padding-top: 24px; padding-bottom: 72px; }
  .hero__cta .btn { width: 100%; }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .demo__body { padding: 14px; min-height: 0; }
  .rate { grid-template-columns: 78px 1fr 56px; }
  .quote strong { font-size: 24px; }
  .calc__stats { grid-template-columns: minmax(0, 1fr); }
  .bubble { font-size: 14px; padding: 10px 13px; }
  .node { padding: 8px 12px; }
  .node__ic { width: 30px; height: 30px; }
  .link { height: 12px; margin-left: 27px; }
  .mapbars { gap: 8px; }
  .founder__img img { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .strip__track { animation: none; }
}

/* ---------- Hero demo: the Monday spreadsheet ---------- */
.sheet { --xl: #1E7145; }
.mode { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--oat-2); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700; }
.mode__opt { position: relative; z-index: 1; padding: 5px 12px; text-align: center; color: var(--ink-soft); transition: color .35s var(--ease); }
.mode__knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(15,61,46,.2); transition: transform .45s var(--ease), background-color .45s; }
.sheet[data-mode="manual"] .mode__opt--manual { color: var(--ink); }
.sheet[data-mode="auto"] .mode__knob { transform: translateX(100%); background: var(--green); }
.sheet[data-mode="auto"] .mode__opt--auto { color: var(--marigold); }
.sheet__meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px 10px; }
.sheet__who { font-size: 13.5px; color: var(--ink-soft); min-width: 0; }
.sheet__clock { text-align: right; flex: none; }
.sheet__clock small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.sheet__clock b { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #A3361F; transition: color .4s; }
.sheet[data-mode="auto"] .sheet__clock b { color: var(--moss); }
.sheet__wrap { margin: 0 20px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #DCD3C1; background: var(--white); }
.sheet__grid { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.sheet__grid th { overflow: hidden; text-overflow: ellipsis; background: #EEF0E8; color: var(--ink-soft); font-weight: 700; text-align: left; padding: 7px 8px; border-right: 1px solid #E3DACA; border-bottom: 1px solid #DCD3C1; white-space: nowrap; }
.sheet__grid td { height: 34px; padding: 0 8px; border-right: 1px solid #EEE7D8; border-bottom: 1px solid #EEE7D8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .4s, color .4s; font-variant-numeric: tabular-nums; }
.sheet__grid th:last-child, .sheet__grid td:last-child { border-right: 0; }
.sheet__grid tr:last-child td { border-bottom: 0; }
.sheet__grid .col-n { width: 30px; text-align: center; color: #9A9384; background: #F7F4EC; font-size: 11px; padding: 0; }
.sheet__grid th.col-ref { width: 82px; }
.sheet__grid th:nth-child(5) { width: 60px; }
.sheet__grid th:nth-child(6) { width: 112px; }
.sheet__grid td.is-cur { box-shadow: inset 0 0 0 2px var(--xl); }
.sheet__grid td.s-ok { background: #DDEFE3; color: #1F5A3B; font-weight: 700; }
.sheet__grid td.s-late { background: #F8D9D1; color: #8A2A1A; font-weight: 700; }
.sheet__grid td.s-risk { background: #FBE9C2; color: #6B4A12; font-weight: 700; }
.sheet__grid td.s-done { background: #E4EAF3; color: #2A3F5F; font-weight: 700; }
.sheet__grid tr.is-flash td:not(.col-n) { animation: rowflash .9s var(--ease); }
@keyframes rowflash { 0% { background-color: rgba(242,179,61,.55); } 100% { background-color: transparent; } }
.sheet__grid tr.is-flash td.s-ok, .sheet__grid tr.is-flash td.s-late, .sheet__grid tr.is-flash td.s-risk, .sheet__grid tr.is-flash td.s-done { animation: none; }
.sheet .demo__foot { margin-top: 14px; }
.sheet__toast { margin: 12px 20px 0; display: flex; align-items: center; gap: 12px; background: var(--marigold); border-radius: 14px; padding: 12px 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sheet__toast.is-on { opacity: 1; transform: none; }
.sheet__toast svg { width: 26px; height: 26px; flex: none; background: rgba(255,255,255,.55); border-radius: 50%; padding: 4px; }
.sheet__toast b { display: block; font-size: 14.5px; }
.sheet__toast small { display: block; font-size: 12.5px; color: var(--ink-darker); }
@media (max-width: 640px) {
  .sheet__grid .col-route, .sheet__grid .col-ref { display: none; }
  .demo__dots { display: none; }
  .demo__foot span:last-child { display: none; }
  .sheet__grid { font-size: 12px; }
  .sheet__grid th, .sheet__grid td { padding-left: 6px; padding-right: 6px; }
  .sheet__grid th:nth-child(5) { width: 54px; }
  .sheet__grid th:nth-child(6) { width: 104px; }
  .sheet__meta { padding: 12px 14px 8px; }
  .sheet__wrap, .sheet__toast { margin-left: 14px; margin-right: 14px; }
  .sheet__clock b { font-size: 22px; }
  .demo__title { font-size: 12px; }
}

.founder__tag { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 24px); letter-spacing: -.015em; color: var(--ink-soft); }
.founder__tag span { color: var(--ink); }
