/* Product case: its own visual language on top of the shared tokens in styles.css. */

body { background: var(--ink); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.sc { position: relative; padding: clamp(110px, 16vh, 190px) 0 clamp(90px, 12vh, 150px); overflow-x: clip; }
.sc--ink { background: var(--ink); color: var(--paper); }
.sc--sun { background: var(--sun); color: var(--ink); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sc--ink em { color: var(--sun); }
b { font-weight: 650; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hl { color: var(--sun); }

/* nav: brand · chapter rail · out link */
.nav { gap: 24px; }
.rail { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex: 1; justify-content: center; }
.rail a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 10px; border-radius: 999px; opacity: .55; transition: opacity .3s, background .3s, color .3s; }
.rail a i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .3s; }
.rail a span { font-size: 11px; letter-spacing: .12em; }
.rail a:hover { opacity: 1; }
.rail a.is-here { opacity: 1; background: var(--sun); color: var(--ink); }
.rail a.is-here i { background: currentColor; }
.nav.on-sun .rail a.is-here { background: var(--ink); color: var(--sun); }
.rail a.is-done i { background: currentColor; }
.nav__auth { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav__auth a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.nav__login { border: 1px solid currentColor; opacity: .85; }
.nav__login:hover { opacity: 1; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nav__signup { background: var(--sun); color: var(--ink); border: 1px solid var(--sun); font-weight: 600; }
.nav__signup:hover { background: var(--paper); border-color: var(--paper); }
.nav.on-sun .nav__signup { background: var(--ink); color: var(--sun); border-color: var(--ink); }
@media (max-width: 560px) { .nav__auth a { padding: 8px 12px; font-size: 11px; } .nav__login { display: none; } }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(11,11,11,.94) 55%, rgba(11,11,11,0)); }
.nav.on-sun::before { background: linear-gradient(to bottom, rgba(255,175,13,.96) 55%, rgba(255,175,13,0)); }

/* type */
.kick { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 28px; display: flex; gap: 14px; align-items: center; }
.kick::before { content: ""; width: 44px; height: 2px; background: currentColor; }
.sc--ink .kick { color: var(--sun); }
.chap { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 30px; display: flex; gap: 16px; align-items: baseline; }
.chap b { font-family: var(--display); font-size: 3.4rem; letter-spacing: -.05em; line-height: .8; font-weight: 900; }
.sc--ink .chap b { color: var(--sun); }
.mega { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 8.2vw, 9.4rem); letter-spacing: -.055em; line-height: .9; margin: 0; max-width: 15ch; text-wrap: balance; }
.mega em { font-size: 1.04em; letter-spacing: -.03em; }
.big { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 6rem); letter-spacing: -.05em; line-height: .95; margin: 0; max-width: 18ch; text-wrap: balance; }
.ln { display: block; overflow: hidden; padding: .1em .12em .16em; margin: -.1em -.12em -.16em; }
.ln > span { display: inline-block; }

/* opening */
.open { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.open__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.open .wrap { position: relative; z-index: 1; }
/* a faint dot field, lit around the title */
.open__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(245,241,232,.16) 1px, transparent 1.6px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 46%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 46%, #000 10%, transparent 75%); }
/* sunrise: warm light rising behind a dark planet's edge */
.open__aura { position: absolute; left: 50%; bottom: -34vh; width: 130vw; height: 80vh; transform: translateX(-50%); background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(255,175,13,.55), rgba(255,138,0,.22) 45%, transparent 72%); filter: blur(10px); animation: auraBreath 7s ease-in-out infinite; }
.open__horizon { position: absolute; left: 50%; top: 76vh; width: 170vw; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 0%, #1a1712, var(--ink) 30%); box-shadow: 0 -1.5px 0 rgba(255,194,77,.95), 0 -10px 40px rgba(255,175,13,.55), 0 -50px 140px rgba(255,138,0,.35); }
@keyframes auraBreath { 50% { opacity: .75; transform: translateX(-50%) scale(1.06); } }
@media (max-width: 560px) { .open__horizon { width: 260vw; top: 74vh; } }
@media (prefers-reduced-motion: reduce) { .open__aura { animation: none; } }
.open .kick { color: var(--sun); }
.open--center .wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.open--center .kick { justify-content: center; }
.open--center .kick::after { content: ""; width: 44px; height: 2px; background: currentColor; }
.open__h { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .28em; row-gap: .1em; font-size: clamp(2.6rem, 6.4vw, 7rem); line-height: 1; }
@media (min-width: 900px) { .open__h { flex-wrap: nowrap; white-space: nowrap; } }
@media (max-width: 560px) { .open--center .kick::before, .open--center .kick::after { display: none; } }
.open__case { font-family: "Unbounded", var(--display); font-weight: 300; font-size: .26em; letter-spacing: .04em; text-transform: lowercase; color: var(--sun); align-self: center; padding: .35em .8em .45em; border: 1px solid rgba(255,175,13,.55); border-radius: 999px; }
.open__w1 { font-family: "Permanent Marker", var(--display); font-weight: 400; letter-spacing: -.01em; transform: rotate(-3deg); display: inline-block; }
.open__w2 { font-family: "Playfair Display", var(--serif); font-style: italic; font-weight: 900; letter-spacing: -.03em; color: var(--sun); }
.open__w3 { font-family: "Michroma", var(--display); font-weight: 400; font-size: .62em; letter-spacing: .02em; text-transform: uppercase; }
.open__name { margin: clamp(28px, 4vh, 48px) 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.6rem); letter-spacing: -.03em; }
.open__sub { font-size: clamp(1.4rem, 2.4vw, 2.4rem); line-height: 1.2; max-width: 30ch; margin: clamp(28px, 4vh, 48px) 0 0; }
.open__cta { display: inline-block; margin-top: clamp(30px, 5vh, 60px); font-family: var(--mono); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 6px; }

/* 1 · studied */
.studied .big { max-width: 20ch; }

/* pinned scenes */
.pin { position: relative; }
.js .gap .pin, .js .creare .pin, .js .round .pin, .js .economy .pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.gap { padding-top: 0; }
.gap .pin { padding-top: 100px; }
.gap__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; gap: 30px; }
.gap__captions { position: relative; min-height: 6.5em; }
.cap { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.25; max-width: 34ch; }
.js .cap { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.cap--big { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.8rem); letter-spacing: -.04em; line-height: 1; }
.gap__svg { width: 100%; height: auto; max-height: 64vh; display: block; margin: 10px auto 0; }
.gap__end { padding-top: clamp(60px, 10vh, 120px); }
.stmt { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 6.6vw, 7.4rem); letter-spacing: -.055em; line-height: .92; margin: 0; }
.stmt--sun { color: var(--sun); margin-top: .2em; }
.stmt--sun em { color: var(--paper); }
.gap__note { font-size: clamp(1.2rem, 1.8vw, 1.7rem); max-width: 42ch; margin: clamp(30px, 5vh, 56px) 0 0; }

.creare { padding-top: 0; }
.creare .pin { padding-top: 90px; }
.creare__title { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 4.6rem); }
.creare__stage { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.phases li { border-left: 3px solid var(--line-dark); padding: 8px 0 8px 16px; transition: border-color .3s, opacity .3s; }
.js .phases li { opacity: .3; }
.phases li.is-on { opacity: 1; border-color: var(--sun); }
.phases b { display: block; font-family: var(--display); font-weight: 900; font-size: 2rem; letter-spacing: -.04em; text-transform: uppercase; }
.phases li.is-on b { color: var(--sun); }
.phases span { font-size: 14px; color: #bdb6a8; }
.creare__svg { width: 100%; height: auto; max-height: 62vh; display: block; }
.creare__foot { max-width: 1440px; margin: 10px auto 0; padding: 0 var(--gutter); font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--muted); line-height: 1.6; }

/* 4 · solution */
.solution .mega { max-width: 16ch; }
.mega--sun em { color: var(--ink); }
.solution__lead { font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.3; max-width: 46ch; margin: clamp(30px, 5vh, 56px) 0 0; }
.adaptive2__lead { max-width: 62ch; margin-top: 18px; }

.round { padding-top: 0; padding-bottom: 0; }
.round .pin { padding-top: 90px; overflow: hidden; }
.round__head .big { font-size: clamp(2rem, 4vw, 4.4rem); }
.track { display: flex; gap: 18px; padding: 34px var(--gutter) 40px; width: max-content; will-change: transform; }
.step { flex: none; width: min(460px, 82vw); min-height: min(56vh, 520px); background: var(--ink-2); border: 1.5px solid var(--line-dark); border-radius: 30px; padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.step--wide { width: min(640px, 86vw); }
.step--sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.step--end { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-content: center; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--sun); letter-spacing: .14em; }
.step--sun .step__n, .step--end .step__n { color: inherit; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.2rem); letter-spacing: -.04em; line-height: 1; margin: 0; }
.step p { margin: 0; font-size: 16px; line-height: 1.45; opacity: .9; }
.step blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.15; border-left: 3px solid var(--sun); padding-left: 16px; }
.step__big { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 5.4vw, 5.8rem) !important; letter-spacing: -.06em; line-height: .9 !important; color: var(--sun); opacity: 1 !important; }
.step--end .step__big { color: var(--ink); font-size: 8rem !important; }
.step__svg { width: 100%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: var(--mono); font-size: 12px; padding: 6px 11px; border-radius: 999px; background: var(--ink-3); }
.funnel { display: grid; gap: 8px; }
.funnel > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
.funnel i { grid-column: 1 / -1; display: block; height: 14px; border-radius: 6px; background: var(--sun); width: var(--w); }
.funnel b { font-family: var(--mono); }
.dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; font-size: 13px; }
.dims span { display: grid; gap: 4px; }
.dims i { display: block; height: 4px; border-radius: 4px; background: var(--ink-3); }
.dims i b { display: block; height: 100%; width: var(--v); background: var(--sun); border-radius: 4px; }
.dirs { display: grid; gap: 8px; }
.dirs div { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 11px 14px; display: grid; gap: 3px; }
.dirs span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; display: flex; justify-content: space-between; gap: 8px; }
.dirs span em { font-style: normal; font-family: var(--mono); color: #8a5a00; }
.dirs b { font-family: var(--display); font-size: 1.05rem; line-height: 1.1; }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seats span { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 14px 10px; border-radius: 16px; background: var(--ink-3); text-align: center; }
.seats .is-host { background: var(--sun); color: var(--ink); }
.decide { display: flex; flex-wrap: wrap; gap: 8px; }
.decide span { font-family: var(--mono); font-size: 13px; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--ink); }

.learn__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.learn__chat { margin-top: 34px; background: var(--paper); color: var(--ink); border-radius: 30px 30px 30px 8px; padding: 22px 26px; }
.learn__chat .mono { font-size: 11px; color: #8a5a00; }
.learn__typed { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.08; margin: 10px 0 0; min-height: 2.2em; }
.learn__go { margin-top: 18px; cursor: pointer; font-family: var(--mono); font-size: 14px; letter-spacing: .1em; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--sun); color: var(--ink); }
.learn__go:disabled { opacity: .35; cursor: default; }
.learn__model { background: var(--ink-2); border: 1.5px solid var(--line-dark); border-radius: 30px; padding: 28px 30px; }
.blfs { display: grid; gap: 22px; margin-top: 18px; }
.blf { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: baseline; }
.blf .n { font-size: 20px; font-weight: 600; }
.blf .v { font-family: var(--mono); font-size: 18px; }
.blf .v b { color: var(--sun); }
.blf .c { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.blf .t { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 9px; background: var(--ink-3); }
.blf .t i { position: absolute; top: -6px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(255,175,13,.2); left: var(--x); transition: left 1.4s var(--ease); }
.blf .t s { position: absolute; top: -3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--muted); left: var(--x0); }
.learn__next { margin: 22px 0 0; font-size: 15px; color: #bdb6a8; min-height: 3em; }
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(60px, 9vw, 120px); }
.layers > div { border-top: 3px solid var(--sun); padding-top: 14px; }
.layers p { margin: 10px 0 0; font-size: 16px; line-height: 1.45; }
.layers__fixed { border-top-color: var(--paper) !important; }
.frontier { margin-top: clamp(50px, 8vw, 100px); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 30px; align-items: baseline; }
.frontier__k { color: var(--sun); }
.frontier__t { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; }
.frontier__ex { grid-column: 2; margin: 0; font-size: 15px; color: #bdb6a8; }
.fan { display: flex; justify-content: center; margin-top: clamp(60px, 9vw, 120px); height: clamp(220px, 28vw, 380px); }
.fan figure { margin: 0 -3%; width: 34%; flex: none; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); border: 1px solid var(--line-dark); transform: rotate(var(--r)) translateY(var(--y)); transition: transform .5s var(--ease), z-index 0s; position: relative; background: #111; }
.fan figure:nth-child(1) { --r: -8deg; --y: 30px; } .fan figure:nth-child(2) { --r: -3deg; --y: 6px; } .fan figure:nth-child(3) { --r: 3deg; --y: 6px; } .fan figure:nth-child(4) { --r: 8deg; --y: 30px; }
.fan figure:hover { transform: rotate(0) translateY(-20px) scale(1.12); z-index: 5; }
.fan img { width: 100%; height: auto; display: block; }
.fan figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; background: rgba(11,11,11,.85); padding: 5px 9px; border-radius: 8px; }
.fan__note { text-align: center; margin-top: 60px; font-size: 11px; color: var(--muted); }

/* 5 · numbers */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); margin-top: clamp(40px, 6vw, 80px); }
.tile { padding: 26px 22px 30px; border-bottom: 3px solid var(--ink); border-right: 3px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.tile:nth-child(4n), .tile--xl:nth-child(2) { border-right: 0; }
.tile--xl { grid-column: span 2; }
.tile b { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.4vw, 4.8rem); letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.tile--xl b { font-size: clamp(4rem, 9vw, 10rem); }
.tile > span { font-size: 16px; max-width: 30ch; }
.tagline { margin-top: 20px; font-size: 11px; }

/* 6 · economy */
.economy { padding-top: 0; padding-bottom: 0; }
.economy .pin { padding: 100px 0 60px; }
.economy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.economy__lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.4; margin: 24px 0 0; max-width: 40ch; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.vs > div { border-top: 3px solid var(--sun); padding-top: 12px; display: grid; gap: 6px; }
.vs > div:last-child { border-color: var(--paper); }
.vs b { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 4.2rem); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.vs > div:first-child b { color: var(--sun); }
.vs small { font-size: 14px; color: #bdb6a8; }
.economy__chart svg { width: 100%; height: auto; display: block; max-height: 62vh; }
.parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.parts > div { border: 1px solid var(--line-dark); border-radius: 18px; padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; }
.parts b { font-family: var(--display); font-size: 1.8rem; letter-spacing: -.03em; color: var(--sun); }
.parts .is-zero { border-color: var(--good); }
.parts .is-zero b { color: var(--good); }
.economy__note { margin-top: 18px; font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--muted); }

/* 7 · proved, inside, final */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.split > div { border-radius: 34px; padding: clamp(24px, 3vw, 44px); }
.split__yes { border: 3px solid var(--ink); }
.split__not { background: var(--ink); color: var(--paper); }
.split h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.6vw, 5rem); letter-spacing: -.05em; text-transform: uppercase; line-height: .9; margin: 0 0 22px; }
.split__not h3 { color: var(--sun); }
.split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.split li { font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.2; padding-left: 34px; position: relative; }
.split__yes li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; }
.split__not li::before { content: "?"; position: absolute; left: 4px; color: var(--sun); font-weight: 900; }
.split__not p { margin: 26px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
.inside__scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--line-dark); border-bottom: 2px solid var(--line-dark); }
.inside__scale > div { padding: 18px 20px; border-right: 2px solid var(--line-dark); display: grid; }
.inside__scale > div:last-child { border-right: 0; }
.inside__scale b { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 16vw, 17rem); letter-spacing: -.06em; line-height: .8; color: var(--sun); }
.inside__scale span { font-family: var(--mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.inside__line { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 3.4rem); letter-spacing: -.04em; line-height: 1.02; max-width: 30ch; margin: clamp(36px, 6vh, 70px) 0 0; }
.final { min-height: 100vh; display: flex; align-items: center; }
.final__pre { font-size: clamp(1.3rem, 2vw, 2rem); margin: 0 0 24px; }
.final__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(50px, 9vh, 110px); }
.final__name { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 9vw, 10rem); letter-spacing: -.06em; line-height: .85; text-transform: uppercase; margin: 0; }
.final__name em { text-transform: none; }
.final__links { display: flex; gap: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.final__links a { text-underline-offset: 5px; }

/* initial states for animated pieces (only when JS + motion take over) */
.js.motion [data-fade] { opacity: 0; }

@media (max-height: 820px) and (min-width: 901px) {
  .step { min-height: 0; padding: 22px 24px; }
  .creare__svg, .gap__svg { max-height: 56vh; }
}
@media (max-width: 1100px) { .rail span { display: none; } }
@media (max-width: 900px) {
  .rail { display: none; }
  .gap__head, .creare__stage, .learn__grid, .economy__grid, .split,   .layers, .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(4n) { border-right: 3px solid var(--ink); }
  .tile:nth-child(2n), .tile--xl { border-right: 0; }
  .tile--xl { grid-column: 1 / -1; }
  .frontier { grid-template-columns: minmax(0, 1fr); }
  .frontier__ex { grid-column: 1; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fan { height: auto; flex-wrap: wrap; gap: 12px; }
  .fan figure { margin: 0; width: calc(50% - 6px); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}
.gap__captions.is-static .cap { position: static; opacity: 1; margin-bottom: 12px; }

/* neutralise names shared with the long case's stylesheet */
.round { display: block; margin-top: 0; }
.funnel { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.final { flex-direction: row; justify-content: flex-start; gap: 0; }
.tile b { font-size: clamp(2rem, 3.4vw, 3.8rem); white-space: nowrap; }
.tile--xl b { font-size: clamp(4rem, 9vw, 10rem); }

/* post-it wall inside the product case */
.studied .wall { margin-top: clamp(36px, 5vw, 64px); }
.studied .legend-tags { margin-top: 24px; }
/* tests: what was built */
.built-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); margin-top: clamp(30px, 5vw, 60px); }
.built-strip > div { padding: 20px 18px 24px; border-right: 3px solid var(--ink); display: grid; gap: 8px; }
.built-strip > div:last-child { border-right: 0; }
.built-strip b { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 4.2rem); letter-spacing: -.05em; line-height: .9; }
.built-strip span { font-size: 15px; }
.engine-build .scrolly, .tests .scrolly { margin-top: 10px; }
@media (max-width: 900px) { .built-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .built-strip > div:nth-child(2) { border-right: 0; } }

/* 2b · the plain agent and the same feedback */
.agent__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 44px); margin-top: 20px; align-items: center; }
.agent__q { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.8rem); line-height: 1.05; background: var(--paper); color: var(--ink); border-radius: 26px 26px 26px 6px; padding: 20px 24px; }
.agent__runs { display: grid; gap: 12px; }
.run { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: baseline; gap: 14px; border-top: 1.5px solid var(--line-dark); padding: 16px 0 6px; min-height: 64px; }
.run__k { font-size: 11px; color: var(--sun); }
.run__t { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: -.03em; line-height: 1.08; }
.js.motion .run .run__t { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js.motion .run.is-done .run__t { opacity: 1; transform: none; }
.run.is-busy::after { content: "gerando…"; position: absolute; left: 124px; top: 20px; font-family: var(--mono); font-size: 13px; color: var(--sun); animation: blinkGen 0.8s steps(2) infinite; }
.agent__meta { margin: 18px 0 0; font-size: 12px; color: var(--muted); }
.agent__meta b { color: var(--sun); font-weight: 600; }
.agent__probs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin-top: clamp(44px, 8vh, 90px); }
.prob { border-top: 3px solid var(--sun); padding-top: 18px; display: grid; gap: 14px; align-content: start; }
.prob__t { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -.05em; line-height: .98; }
.prob__t em { font-family: var(--serif); font-weight: 400; color: var(--sun); }
.prob__d { margin: 0; font-size: 17px; line-height: 1.45; max-width: 40ch; color: #d9d3c6; }
.agent__src { margin-top: 22px; font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.gapend { padding-top: clamp(70px, 10vh, 120px); }
.personal { min-height: 100vh; display: flex; align-items: center; }
.personal__line { max-width: 14ch; }
.learn__hook { margin: 18px 0 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.45; max-width: 46ch; color: #d9d3c6; }
@media (max-width: 900px) {
  .agent__grid, .agent__probs { grid-template-columns: minmax(0, 1fr); }
  .run { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .run.is-busy::after { left: 0; top: 36px; }
}

/* 1 · the founder's sentence the product answers */
.keyq { margin: clamp(60px, 10vh, 120px) 0 0; background: var(--ink); color: var(--paper); border-radius: 36px; padding: clamp(28px, 5vw, 72px); display: grid; gap: clamp(16px, 2.4vw, 28px); }
.keyq__k { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.keyq__pre { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.9rem); color: #bdb6a8; }
.keyq__q { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; max-width: 22ch; }
.keyq__q em { font-family: var(--serif); font-weight: 400; color: var(--sun); }
.keyq__src { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.keyq__src b { color: var(--paper); font-weight: 600; }
.keyq__src a { color: var(--sun); }
.keyq__note { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.5; color: #d9d3c6; border-top: 1px solid var(--line-dark); padding-top: 18px; }
.keyq__note b { color: var(--paper); }

/* 4 · the LLM as the bridge between the person and the engine */
.bridge-close { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.bridge-close__text { display: grid; gap: 22px; justify-items: start; max-width: 56ch; }
.bridge-close .punch { margin: 0; line-height: 1.06; }
.bridge-close .punch em { font-style: italic; }
.bridge { width: 100%; height: auto; overflow: visible; }
.bridge .b-line { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.bridge .b-tower { fill: var(--ink); }
.bridge .b-arch { fill: var(--sun); }
.bridge text { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.bridge .b-llm { font-family: var(--serif); font-style: italic; font-size: 30px; letter-spacing: 0; text-transform: none; }
@media (max-width: 860px) { .bridge-close { grid-template-columns: minmax(0, 1fr); } }

/* 4 · where the learning can go with more data */
.future-rl { margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid var(--line-dark); padding-top: clamp(24px, 4vh, 40px); display: grid; gap: 16px; max-width: 70ch; }
.future-rl__k { margin: 0; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.future-rl__t { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4.4vw, 4.4rem); letter-spacing: -.05em; line-height: .98; }
.future-rl__t em { font-family: var(--serif); font-weight: 400; color: var(--sun); }
.future-rl__d { margin: 0; font-size: 17px; line-height: 1.5; color: #d9d3c6; }
.future-rl__steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.future-rl__steps li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 14px; color: #d9d3c6; }
.future-rl__steps li + li::before { content: "→ "; color: var(--sun); }
.future-rl__steps b { color: var(--sun); font-weight: 600; margin-right: 6px; }
