:root {
  --paper: #f7f4ec;
  --paper-high: #fdfbf6;
  --paper-low: #ece7dc;
  --ink: #171a18;
  --ink-soft: #555c57;
  --forest: #1f3d36;
  --forest-deep: #152e29;
  --moss: #91a89c;
  --clay: #bd674b;
  --clay-dark: #99513b;
  --line: #d8d2c4;
  --line-dark: rgba(247,244,236,.2);
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', Arial, sans-serif;
  --mono: 'Martian Mono', monospace;
  --page: min(1240px, calc(100vw - 56px));
  --radius: 12px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: clip; }
body::before { content: ''; position: fixed; inset: 0; opacity: .025; pointer-events: none; z-index: 99; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
section { scroll-margin-top: 88px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-150%); background: var(--paper-high); color: var(--forest); padding: 10px 14px; border-radius: 7px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 0; transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { padding: 9px 0; background: rgba(247,244,236,.92); border-color: var(--line); backdrop-filter: blur(14px); }
.nav-shell { width: var(--page); margin: auto; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font: 600 21px/1 var(--display); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.brand svg { flex: none; }
.site-header nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.site-header nav a { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.nav-account { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-login { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: 14px; text-decoration: none; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 4px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; border-radius: 9px; padding: 12px 18px; font-weight: 600; font-size: 14px; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 39px; padding: 9px 14px; gap: 16px; font-size: 13px; }
.button-dark { background: var(--forest); color: var(--paper-high); border-color: var(--forest); }
.button-dark:hover { background: var(--forest-deep); }
.button-clay { background: #aa573e; color: #fff; border-color: #aa573e; }
.button-clay:hover { background: var(--clay-dark); }
.button-paper { background: var(--paper-high); color: var(--forest); border-color: var(--paper-high); }
.button-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.button-outline-light { background: transparent; color: var(--paper-high); border-color: rgba(247,244,236,.7); }
.text-link, .quiet-button { color: var(--forest); font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.quiet-button { appearance: none; padding: 5px 0; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }

.eyebrow { color: var(--forest); font: 600 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-light { color: var(--moss); }
.section-heading { width: var(--page); margin: 0 auto 48px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, .55fr); column-gap: 8vw; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 18px; }
.section-heading h2, .control-heading h2, .pricing-copy h2, .faq-heading h2 { font: 400 clamp(42px,5vw,72px)/.98 var(--display); letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 49ch; color: var(--ink-soft); font-size: 17px; padding-bottom: 5px; }
.section-heading-wide { grid-template-columns: 1fr .55fr; }

.hero { width: var(--page); min-height: 0; margin: 0 auto; padding: 108px 0 0; display: grid; grid-template-columns: .86fr 1.14fr; grid-template-rows: minmax(555px, 1fr) auto; gap: 0 68px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 38px 0 48px; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 680px; font: 400 clamp(64px,6.1vw,96px)/.88 var(--display); letter-spacing: -.065em; }
.hero-lead { max-width: 510px; margin-top: 30px; font: 400 clamp(21px,2vw,27px)/1.32 var(--display); }
.hero-detail { max-width: 500px; margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 31px; }
.microcopy { margin-top: 14px; color: var(--ink-soft); font-size: 12px; }
.hero-stage { min-width: 0; position: relative; height: min(610px, 68vw); max-height: 610px; align-self: stretch; background: var(--forest); border-radius: 0 0 26px 26px; overflow: hidden; }
.hero-stage::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: inherit; pointer-events: none; }
.hero-image { position: absolute; inset: 0; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(14,34,29,.42)); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.now-card, .capacity-card { position: absolute; z-index: 3; background: rgba(253,251,246,.96); border: 1px solid rgba(255,255,255,.7); border-radius: 10px; box-shadow: 0 22px 60px rgba(12,29,25,.2); backdrop-filter: blur(10px); }
.now-card { left: 7%; bottom: 8%; width: min(252px, 39%); padding: 15px 17px; }
.now-card-top { display: flex; justify-content: space-between; margin-bottom: 16px; color: var(--ink-soft); font: 500 9px/1 var(--mono); text-transform: uppercase; }
.now-card-top span { display: flex; align-items: center; gap: 6px; }
.now-card-top i { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(189,103,75,.15); }
.now-card strong { font: 500 19px/1.2 var(--display); }
.now-card p { margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.capacity-card { top: 14%; right: 6%; width: min(180px, 31%); padding: 16px; }
.capacity-card span, .capacity-card small { display: block; color: var(--ink-soft); font: 500 9px/1.3 var(--mono); text-transform: uppercase; }
.capacity-card strong { display: block; margin-top: 15px; font: 500 32px/1 var(--display); }
.capacity-card small { margin-top: 3px; }
.capacity-card b { display: block; color: var(--forest); font-size: 10px; }
.capacity-track { height: 5px; margin: 15px 0 8px; background: var(--paper-low); overflow: hidden; }
.capacity-track i { display: block; width: 49%; height: 100%; background: var(--clay); }
.hero-proof { grid-column: 1 / -1; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); }
.hero-proof > div { display: grid; grid-template-columns: 28px 1fr; gap: 5px 14px; padding: 25px 30px 29px; }
.hero-proof > div:first-child { padding-left: 0; }
.hero-proof > div + div { border-left: 1px solid var(--line); }
.hero-proof span { grid-row: span 2; color: var(--clay-dark); font: 500 9px/1.5 var(--mono); }
.hero-proof strong { font: 500 17px/1.1 var(--display); }
.hero-proof p { color: var(--ink-soft); font-size: 12px; }

.demo-section { padding: 100px 0; background: var(--paper-high); border-top: 1px solid var(--line); }
.demo-workspace { width: var(--page); margin: auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.demo-input, .demo-output { min-height: 460px; padding: 25px; }
.demo-output { background: var(--paper-low); border-left: 1px solid var(--line); scroll-margin-top: 82px; }
.panel-heading { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-soft); font: 500 9px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.demo-input textarea { width: 100%; min-height: 305px; resize: vertical; margin-top: 19px; padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-high); color: var(--ink); font-size: 17px; line-height: 1.7; }
.demo-input textarea::placeholder { color: #687069; }
.demo-actions { min-height: 55px; display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.demo-empty { min-height: 365px; display: grid; align-content: center; justify-items: center; gap: 20px; color: var(--ink-soft); text-align: center; }
.demo-empty svg { width: 62px; fill: none; stroke: var(--moss); stroke-width: 2; }
.result-groups { margin-top: 22px; display: grid; gap: 11px; }
.result-group { display: grid; grid-template-columns: 105px 1fr; gap: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.result-group > span { color: var(--ink-soft); font: 500 9px/1.6 var(--mono); text-transform: uppercase; }
.result-group p { font-size: 13px; }
.result-group p + p { margin-top: 4px; }
.day-fit { margin-top: 18px; padding: 15px; border-radius: 8px; background: var(--paper-high); }
.day-fit > div:first-child { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.day-fit strong { color: var(--forest); }
.fit-track { height: 5px; margin-top: 11px; background: var(--paper-low); overflow: hidden; }
.fit-track i { display: block; width: 0; height: 100%; background: var(--forest); transition: width .7s var(--ease), background .3s; }
.day-fit p { margin-top: 8px; color: var(--ink-soft); font-size: 11px; }
.next-three { margin-top: 17px; }
.next-three > span { color: var(--ink-soft); font: 500 9px/1.4 var(--mono); text-transform: uppercase; }
.next-three ol { margin: 8px 0 0; padding-left: 25px; }
.next-three li { padding: 3px 0; font: 500 14px/1.35 var(--display); }

/* Four steps share one reading rhythm; the page route carries the scroll motion. */
.cycle-section { padding: 100px 0; color: var(--paper-high); background: var(--forest); }
.cycle-inner { width: var(--page); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.cycle-intro .eyebrow { color: #bed0c3; }
.cycle-intro h2 { margin-top: 22px; font: 400 clamp(42px,4.5vw,65px)/1.04 var(--display); letter-spacing: -.045em; }
.cycle-intro h2 em { display: inline; color: #bed0c3; font-style: normal; }
.cycle-intro > p:last-of-type { max-width: 43ch; margin-top: 24px; color: #c1cbc6; }
.text-link-light { display: inline-flex; align-items: center; gap: 25px; margin-top: 34px; color: var(--paper-high); }
.cycle-step { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.cycle-step:last-child { padding-bottom: 0; }
.cycle-number { color: #bed0c3; font: 400 10px/1.6 var(--mono); padding-top: 7px; }
.cycle-step h3 { font: 400 30px/1.1 var(--display); letter-spacing: -.02em; }
.cycle-step p { max-width: 48ch; margin-top: 12px; color: #c1cbc6; font-size: 15px; }

.product-section { padding: 104px 0; }
.product-explorer { width: var(--page); margin: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-high); }
.product-tabs { display: grid; grid-template-columns: repeat(3,1fr); padding: 0 28px; border-bottom: 1px solid var(--line); }
.product-tabs button { appearance: none; min-height: 72px; padding: 16px 10px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ink-soft); font-weight: 500; text-align: left; cursor: pointer; transition: color .2s, border-color .2s; }
.product-tabs button span { color: inherit; font: 400 10px/1 var(--mono); margin-right: 20px; }
.product-tabs button[aria-selected="true"] { color: var(--forest); border-bottom-color: var(--clay); }
.product-tabs button:hover { color: var(--ink); }
.product-panel { display: grid; grid-template-columns: .36fr .64fr; align-items: center; min-height: 505px; }
.product-panel + .product-panel { border-top: 1px solid var(--line); }
.product-explorer.is-enhanced .product-panel { border-top: 0; }
.product-panel-copy { padding: 42px 32px 42px 38px; }
.product-panel h3 { margin-top: 20px; font: 400 clamp(31px,3.2vw,44px)/1.07 var(--display); letter-spacing: -.035em; }
.product-panel-copy > p { color: var(--ink-soft); margin-top: 20px; }
.product-takeaway { display: flex; align-items: baseline; gap: 12px; margin-top: 29px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--forest); font-size: 14px; }
.product-takeaway > span { color: var(--clay-dark); }
.image-expand { margin-top: 28px; min-height: 44px; }
.product-panel figure { min-width: 0; padding: 26px; background: var(--paper-low); align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); border-radius: 0 0 12px 0; }
.product-panel img { width: 100%; height: 420px; object-fit: contain; object-position: center; }
.product-panel figcaption { margin-top: 12px; color: var(--ink-soft); text-align: right; font: 400 9px/1.5 var(--mono); }
.product-explorer.is-enhanced .product-panel:not([hidden]) { animation: panel-in .3s var(--ease); }
.screen-dialog { width: min(1200px, calc(100vw - 32px)); max-height: 90dvh; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-high); color: var(--ink); }
.screen-dialog::backdrop { background: rgba(15,29,25,.8); }
.screen-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.screen-dialog h2 { font: 400 26px/1.1 var(--display); }
.screen-dialog p { margin: 10px 0 20px; color: var(--ink-soft); font-size: 13px; }
.screen-dialog .screen-dialog-hint { display: none; }
.screen-dialog-image { overflow: auto; max-height: 67dvh; border: 1px solid var(--line); }
.screen-dialog-image img { width: 100%; min-width: 700px; max-width: none; height: auto; }
body:has(.screen-dialog[open]) { overflow: hidden; }
@keyframes panel-in { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.learning-section { padding: 100px 0; background: var(--paper-low); }
.learning-panel { width: var(--page); margin: auto; display: grid; grid-template-columns: .93fr 1.07fr; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 60px rgba(32,43,38,.08); }
.evidence-panel, .choice-panel { min-height: 500px; padding: 39px; }
.evidence-panel { color: var(--paper-high); background: var(--forest); }
.light-heading { color: #c1cbc6; }
.evidence-panel h3, .choice-panel h3 { margin-top: 48px; font: 400 clamp(30px,3vw,43px)/1.08 var(--display); }
.evidence-panel > p, .choice-panel > p { max-width: 52ch; margin-top: 17px; color: #c1cbc6; }
.choice-panel { position: relative; background: var(--paper-high); }
.choice-panel > p { color: var(--ink-soft); }
.session-chart { height: 142px; display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; align-items: end; margin-top: 42px; border-bottom: 1px solid rgba(247,244,236,.35); }
.session-chart > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.session-chart i { display: block; width: 100%; height: calc((142px - 16px) * var(--ratio, .667)); background: var(--moss); flex-shrink: 0; transform-origin: bottom; }
.session-chart > div:nth-child(3) { --ratio: .833; }
.session-chart > div:nth-child(5) { --ratio: 1; }
.session-chart .outlier i { background: transparent; border: 1px solid rgba(247,244,236,.7); }
.session-chart span { font: 500 9px/1 var(--mono); }
.chart-legend { display: flex; justify-content: space-between; margin-top: 12px; color: #c1cbc6; font: 500 8px/1.4 var(--mono); text-transform: uppercase; }
.chart-legend span:first-child { display: flex; align-items: center; gap: 7px; }
.chart-legend i { width: 8px; height: 8px; display: inline-block; background: var(--moss); }
.choice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.block-choice { margin-top: 20px; }
.choice-status { margin-top: 33px; padding: 20px 22px; background: var(--paper-low); border-left: 3px solid var(--clay); }
.choice-status span { color: var(--forest); font: 600 9px/1.3 var(--mono); text-transform: uppercase; }
.choice-status p { margin: 8px 0 12px; color: var(--ink-soft); font-size: 14px; }
.choice-panel.has-choice > h3, .choice-panel.has-choice > p, .choice-panel.has-choice > .choice-actions, .choice-panel.has-choice > .block-choice { display: none; }
.learning-footnote { width: var(--page); max-width: 840px; margin: 24px auto 0; color: var(--ink-soft); font-size: 13px; }

.control-section { padding: 96px max(28px, calc((100vw - 1240px)/2)); color: var(--paper-high); background: var(--ink); }
.control-heading { display: grid; grid-template-columns: 1fr 1.35fr; align-items: end; gap: 60px; margin-bottom: 62px; }
.control-heading .eyebrow { color: var(--moss); }
.control-list { border-top: 1px solid var(--line-dark); }
.control-list article { min-height: 115px; display: grid; grid-template-columns: 82px .55fr 1fr; gap: 40px; align-items: center; border-bottom: 1px solid var(--line-dark); }
.control-list span { color: #c66f52; font: 500 9px/1 var(--mono); }
.control-list h3 { font: 400 28px/1.1 var(--display); }
.control-list p { max-width: 48ch; color: #afb9b4; }

.pricing-section { padding: 96px max(28px, calc((100vw - 1240px)/2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 9vw; color: var(--paper-high); background: var(--forest); }
.pricing-copy h2 { margin-top: 19px; }
.pricing-copy > p { max-width: 48ch; margin-top: 23px; color: #c1cbc6; }
.pricing-copy ul { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 9px; }
.pricing-copy li { color: #dce3df; font-size: 14px; }
.pricing-copy li::before { content: '✓'; color: var(--moss); margin-right: 11px; }
.price-cards { align-self: start; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.price-card { padding: 31px; }
.price-card + .price-card { border-top: 1px solid var(--line-dark); }
.price-card > div { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 7px; }
.price-card span { align-self: center; color: var(--moss); font: 500 9px/1.4 var(--mono); text-transform: uppercase; }
.price-card b { font: 400 clamp(44px,5vw,66px)/1 var(--display); }
.price-card small { color: #c1cbc6; font-size: 11px; }
.price-card p { margin: 8px 0 24px; color: #c1cbc6; font-size: 13px; }
.price-card > small { display: block; margin-top: 11px; }
.access-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.pricing-copy .access-steps li::before { content: none; }
.access-steps strong { display: block; color: var(--paper-high); font-size: 15px; font-weight: 600; }
.access-steps span { display: block; margin-top: 5px; color: #dce3df; font-size: 14px; }
.price-start { padding: 28px 31px 31px; border-top: 1px solid var(--line-dark); }
.price-start p { margin-top: 16px; max-width: 54ch; color: #dce3df; font-size: 13px; }
.price-card p { margin-bottom: 0; }
@media (max-width: 420px) {
  .nav-shell { gap: 10px; }
  .nav-account { gap: 10px; }
  .nav-account .button { padding-inline: 10px; font-size: 12px; min-height: 44px; }
  .nav-login { font-size: 12px; }
  .price-start { padding: 24px 20px; }
}

.faq-section { width: var(--page); margin: auto; padding: 96px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; }
.faq-heading h2 { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 30px; cursor: pointer; font: 500 20px/1.3 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 300 28px/1 var(--sans); transition: transform .3s var(--ease); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 64ch; padding: 0 60px 25px 0; color: var(--ink-soft); }

footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 42px; align-items: center; padding: 38px max(28px, calc((100vw - 1240px)/2)); border-top: 1px solid var(--line); }
footer > p { color: var(--ink-soft); font: 400 15px/1.3 var(--display); }
footer nav { display: flex; gap: 20px; }
footer nav a { color: var(--ink-soft); font-size: 12px; }
.footer-year { color: var(--ink-soft); font-size: 11px; }
.mobile-cta { display: none; }
.founder-chat { position: fixed; right: 22px; bottom: 22px; z-index: 44; display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 9px 16px 9px 10px; color: var(--paper-high); background: var(--forest); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; box-shadow: 0 14px 38px rgba(17,31,27,.2); cursor: pointer; text-align: left; transition: transform .25s var(--ease), background .25s var(--ease), opacity .2s var(--ease); }
.founder-chat:hover { transform: translateY(-2px); background: var(--forest-deep); }
.founder-chat:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.founder-chat-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; color: var(--forest); background: var(--paper-high); border-radius: 50%; font: 600 16px/1 var(--sans); }
.founder-chat strong, .founder-chat small { display: block; }
.founder-chat strong { font: 600 13px/1.2 var(--sans); }
.founder-chat small { margin-top: 3px; color: rgba(253,251,246,.72); font: 400 10px/1.2 var(--sans); }
.founder-chat.is-loading { cursor: wait; opacity: .72; }
.crisp-active .founder-chat { opacity: 0; pointer-events: none; transform: translateY(8px); }

.reveal.is-visible { animation: reveal-in .6s var(--ease) both; }
@keyframes reveal-in { from { opacity: .5; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  :root { --page: min(100% - 42px, 920px); }
  .site-header nav { display: none; }
  .nav-shell { justify-content: space-between; }
  .hero { min-height: 0; grid-template-columns: .9fr 1.1fr; gap: 0 35px; padding-top: 92px; }
  .hero h1 { font-size: clamp(56px,7.5vw,76px); }
  .hero-actions { gap: 14px; }
  .hero-actions .button { gap: 12px; padding-inline: 14px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-stage { max-height: 570px; }
  .section-heading, .section-heading-wide { grid-template-columns: 1fr .65fr; column-gap: 6vw; }
  .control-section, .pricing-section { padding-inline: 34px; }
  footer { padding-inline: 28px; gap: 24px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); }
  body { font-size: 15px; }
  .site-header { padding: 10px 0; background: rgba(247,244,236,.9); backdrop-filter: blur(12px); }
  .brand { font-size: 19px; }
  .brand svg { width: 26px; height: 26px; }
  .site-header .button { min-height: 36px; }
  .hero { width: 100%; display: flex; flex-direction: column; padding-top: 72px; }
  .hero-copy { width: var(--page); padding: 29px 0 28px; }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(54px,16.6vw,76px); line-height: .9; }
  .hero-lead { margin-top: 23px; font-size: 23px; }
  .hero-detail { font-size: 15px; }
  .hero-actions { margin-top: 24px; align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-stage { width: 100%; height: 375px; flex: none; border-radius: 0; order: 2; }
  .hero-image img { object-position: 59% 50%; }
  .now-card { width: 53%; left: 16px; bottom: 18px; }
  .capacity-card { width: 39%; right: 16px; top: 18px; }
  .hero-proof { width: 100%; order: 3; grid-template-columns: 1fr; padding: 6px 16px; }
  .hero-proof > div, .hero-proof > div:first-child { padding: 17px 0; }
  .hero-proof > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading, .section-heading-wide { display: block; margin-bottom: 35px; }
  .section-heading h2, .control-heading h2, .pricing-copy h2, .faq-heading h2 { font-size: clamp(42px,13vw,61px); }
  .section-heading > p:last-child { margin-top: 22px; font-size: 15px; }
  .demo-section, .product-section, .learning-section { padding: 86px 0; }
  .demo-workspace { grid-template-columns: 1fr; }
  .demo-input, .demo-output { min-height: 410px; padding: 20px; }
  .demo-output { border-left: 0; border-top: 1px solid var(--line); }
  .demo-input textarea { min-height: 260px; }
  .demo-actions { align-items: flex-start; flex-wrap: wrap; gap: 11px 17px; }
  .demo-actions .button { flex-basis: 100%; }
  .result-group { grid-template-columns: 90px 1fr; }
  .learning-panel { grid-template-columns: 1fr; }
  .evidence-panel, .choice-panel { min-height: 0; padding: 29px 24px; }
  .evidence-panel h3, .choice-panel h3 { margin-top: 32px; font-size: 34px; }
  .choice-panel { padding-bottom: 38px; }
  .choice-actions { display: grid; }
  .learning-footnote { width: var(--page); }
  .control-section { padding: 88px 20px; }
  .control-heading { display: block; margin-bottom: 43px; }
  .control-heading h2 { margin-top: 18px; }
  .control-list article { min-height: 0; grid-template-columns: 38px 1fr; gap: 6px 13px; padding: 27px 0; }
  .control-list span { grid-row: span 2; padding-top: 6px; }
  .control-list h3 { font-size: 25px; }
  .control-list p { margin-top: 7px; }
  .pricing-section { padding: 88px 20px; grid-template-columns: 1fr; gap: 52px; }
  .price-card { padding: 24px 20px; }
  .price-card > div { grid-template-columns: 1fr auto; }
  .price-card span { grid-column: 1 / -1; }
  .price-card b { font-size: 55px; }
  .faq-section { padding: 88px 0 112px; grid-template-columns: 1fr; gap: 45px; }
  .faq-list summary { min-height: 75px; font-size: 18px; }
  footer { grid-template-columns: 1fr auto; padding: 35px 20px 105px; }
  footer > p { grid-column: 1 / -1; order: 3; }
  footer nav { justify-self: end; }
  .footer-year { display: none; }
  .mobile-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 9px 8px 17px; color: var(--paper-high); background: rgba(31,61,54,.96); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; box-shadow: 0 10px 40px rgba(17,31,27,.22); transform: translateY(calc(100% + 20px)); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .4s; }
  .mobile-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-cta span { font: 500 15px/1.2 var(--display); }
  .founder-chat { right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); min-height: 52px; padding: 8px 13px 8px 8px; }
  .founder-chat.above-mobile-cta { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 70px); }
  .founder-chat-mark { width: 34px; height: 34px; }
  .founder-chat small { display: none; }
  .crisp-active .mobile-cta { opacity: 0 !important; pointer-events: none !important; transform: translateY(calc(100% + 20px)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* Refinement: reading route, demonstration states, and a compact product explorer. */
.site-header nav a { position: relative; padding: 8px 0; }
.site-header nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--clay-dark); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-header nav a[aria-current="location"]::after { transform: scaleX(1); }
.page-route { display: none; }
@media (min-width: 1360px) {
  .js .page-route { position: fixed; z-index: 40; display: flex; flex-direction: column; align-items: center; width: 24px; top: 115px; bottom: 40px; left: max(18px, calc((100vw - 1340px)/2)); pointer-events: none; color: #d8c8aa; mix-blend-mode: difference; }
  .route-index, .route-end { font: 400 9px/1 var(--mono); padding: 14px 0; }
  .route-track { flex: 1; position: relative; width: 1px; background: rgba(216,200,170,.23); }
  #route-progress { position: absolute; inset: 0; background: #d8c8aa; transform: scaleY(0); transform-origin: top; }
  #route-now { position: absolute; width: 7px; height: 7px; left: -3px; top: 0; background: #e2ba96; border-radius: 50%; }
}
.demo-input { display: flex; flex-direction: column; }
.demo-input textarea { flex: 1; min-height: 245px; max-height: 560px; }
.input-note { color: var(--ink-soft); margin-top: 9px; font-size: 12px; }
.demo-error { margin-top: 10px; color: #923923; font-size: 13px; }
.demo-input textarea[aria-invalid="true"] { border-color: #923923; }
.demo-assumptions { margin-top: 15px; color: var(--ink-soft); font-size: 11px; }
.demo-next { margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); }
.demo-next small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.demo-result { overflow-wrap: anywhere; }
.demo-result.result-enter { animation: panel-in .35s var(--ease); }
.result-group { grid-template-columns: 112px 1fr; }
.result-group > span { font-size: 9px; }
.result-group p { font-size: 14px; }
.next-three li { padding: 6px 0; font: 500 16px/1.4 var(--sans); }
.no-script-note { width: var(--page); margin: auto; padding: 22px; border: 1px solid var(--line); }
html:not(.js) .demo-workspace { display: none; }
html:not(.js) .choice-actions, html:not(.js) .block-choice { display: none; }
.js .no-script-note, .js .choice-fallback { display: none; }
.choice-panel.has-choice .choice-status { margin-top: 48px; }
.choice-status:focus-visible { outline-offset: 5px; }
.quiet-button { min-height: 36px; }
@media (min-width: 761px) and (max-width: 1050px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { white-space: nowrap; }
  .hero-proof > div { padding-inline: 20px; }
  .cycle-inner { gap: 6%; }
  .cycle-intro h2 { font-size: 45px; }
  .cycle-step h3 { font-size: 27px; }
  .product-panel { grid-template-columns: .4fr .6fr; }
  .product-panel-copy { padding: 28px 24px; }
  .product-panel img { height: 385px; }
  .product-panel figure { padding: 16px; }
  .product-panel h3 { font-size: 33px; }
  .choice-panel, .evidence-panel { padding: 29px; }
  .choice-panel .panel-heading { align-items: start; }
  #choice-state { text-align: right; }
}
@media (max-width: 760px) {
  .site-header .button { min-height: 44px; }
  .hero-copy { padding-top: 26px; }
  .hero h1 { font-size: clamp(50px,15.5vw,72px); }
  .hero-detail { max-width: 46ch; }
  .demo-section, .product-section, .learning-section { padding: 68px 0; }
  .demo-input, .demo-output { min-height: 0; }
  .demo-empty { min-height: 200px; }
  .demo-actions { gap: 8px 20px; }
  .demo-actions .quiet-button { min-height: 44px; }
  .demo-input textarea { min-height: 215px; font-size: 16px; padding: 17px; }
  .result-group { grid-template-columns: 1fr; gap: 6px; }
  .cycle-section { padding: 68px 0; }
  .cycle-inner { grid-template-columns: 1fr; gap: 42px; }
  .cycle-intro h2 { font-size: clamp(41px,11.8vw,60px); }
  .cycle-step { gap: 12px; padding: 23px 0; }
  .cycle-step h3 { font-size: 29px; }
  .product-tabs { padding: 0 12px; }
  .product-tabs button { min-height: 74px; font-size: 12px; text-align: center; padding: 12px 4px; }
  .product-tabs button span { display: block; margin: 0 0 8px; font-size: 9px; }
  .product-panel { display: block; min-height: 0; }
  .product-panel-copy { padding: 25px; }
  .product-panel h3 { font-size: 34px; max-width: 14ch; }
  .product-panel-copy > p { margin-top: 16px; }
  .product-takeaway { margin-top: 22px; }
  .image-expand { margin-top: 14px; }
  .product-panel figure { border-left: 0; border-top: 1px solid var(--line); padding: 14px; border-radius: 0 0 12px 12px; }
  .product-panel img { height: 250px; }
  .product-panel figcaption { font-size: 8px; }
  .screen-dialog { padding: 16px; }
  .screen-dialog h2 { font-size: 22px; }
  .screen-dialog .screen-dialog-hint { display: block; font-size: 11px; margin-bottom: 12px; }
  .control-section, .pricing-section { padding: 68px 20px; }
  .faq-section { padding: 68px 0 82px; }
  .mobile-cta { bottom: max(10px, env(safe-area-inset-bottom)); }
  .mobile-cta .button { min-height: 44px; }
  footer { grid-template-columns: 1fr; gap: 20px; padding-bottom: 44px; }
  footer nav { justify-self: start; flex-wrap: wrap; }
  footer nav a { padding-block: 10px; }
  .price-card > div { grid-template-columns: auto 1fr; }
  .price-card > div > small { padding-left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-visible, .product-panel, .demo-result { animation: none !important; }
  .button:hover { transform: none; }
}
