/* LLMpreneur: one calm page. My signature at the top, then the run: who I am, the projection on a scope, the path,
   what I'm building, and the log of how I work. Every number is an instrument readout. Sections are separated by
   space, not labels or bars. */
@font-face { font-family: "Familjen Grotesk"; src: url(assets/familjen.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/instrument.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0F3D2E;      /* bottle green */
  --deep: #0A2C21;    /* wells: chart, phone */
  --row: #164735;     /* cards */
  --text: #F1EEDF;    /* cream */
  --mute: #9DB8A9;
  --mint: #9BF2B5;
  --line: #2A5C4C;
  --amber: #F4D58D;   /* testing, live status */
  --glow: drop-shadow(0 0 6px color-mix(in srgb, #9BF2B5 55%, transparent));
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --display: "Familjen Grotesk", var(--sans);
  --spring: cubic-bezier(.2, .8, .2, 1);
  --soft: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body { font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100dvh; background: var(--bg); overflow-x: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.sig { display: block; width: 96px; height: 30px; background: currentColor;
  -webkit-mask: url(assets/signature.webp) left center / contain no-repeat; mask: url(assets/signature.webp) left center / contain no-repeat; }
.wrap { max-width: 680px; margin: 0 auto; padding: 14px 20px 24px; }
.num, .calc-top b, .road-sum b, .chain b, .steps .when, .stage span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.tag { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--deep); color: var(--mint);
  font: 700 13.5px var(--mono); letter-spacing: -.02em; }
.is-member .tag { display: none; }



/* ---------- 1. hero ---------- */
h1 { font: 700 clamp(32px, 9.4vw, 46px)/1 var(--display); letter-spacing: -.035em; max-width: 12ch; }
h1 .w { display: inline-block; }
.js h1 .w { opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: rise .8s var(--spring) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
h2 .w { display: inline-block; }
.js h2 .w { opacity: 0; transform: translateY(.45em); filter: blur(6px); }
.js h2.seen .w { animation: rise .7s var(--spring) forwards; animation-delay: calc(var(--i) * 70ms); }
.lede { font-size: 16px; color: var(--mute); margin-top: 12px; max-width: 44ch; text-wrap: balance; }
.lede a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mint) 60%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.js .lede, .js .calc { opacity: 0; transform: translateY(14px); animation: rise .9s var(--spring) forwards; }
.js .lede { animation-delay: .55s; }
.js .calc { animation-delay: .75s; }

/* the scope: a phosphor trace on a grid, a slow sweep, a readout that bounces when it changes */
.calc { margin-top: 16px; background: var(--deep); border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); border-radius: 18px; padding: 16px 16px 14px; position: relative; }
.calc-top b { display: inline-block; will-change: transform; transform-origin: right bottom; }
.plot::before { content: ""; position: absolute; inset: -6px 0 -8px; pointer-events: none; opacity: .55;
  background-image: linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sweep { position: absolute; top: -6px; bottom: -8px; left: 0; width: 1px; pointer-events: none; background: linear-gradient(transparent, color-mix(in srgb, var(--mint) 70%, transparent), transparent);
  opacity: 0; animation: sweep-x 6s linear 2.6s infinite; }
@keyframes sweep-x { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: .9; } 88% { opacity: .9; } 100% { transform: translateX(var(--sweep-w, 300px)); opacity: 0; } }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mute); }
.calc-top b { font: 700 30px var(--display); color: var(--mint); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plot { position: relative; height: 112px; margin-top: 4px; }
#chart { display: block; width: 100%; height: 100%; overflow: visible; }
#chart .zero { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .neg { fill: #2F6352; }
#chart .pos { fill: color-mix(in srgb, var(--mint) 82%, transparent); }
#chart .line { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: var(--glow); }
#chart .fills { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--soft); }
#chart.pre .fills { clip-path: inset(0 100% 0 0); }
#chart .line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--soft); }
#chart.pre .line { stroke-dashoffset: 1; }
.flag { position: absolute; font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; transform: translate(-50%, 9px); pointer-events: none; transition: opacity .3s, transform .5s var(--spring); }
.flag::before { content: ""; position: absolute; left: 50%; top: -14px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px var(--deep); }
.flag.pre { opacity: 0; transform: translate(-50%, 9px) scale(.6); }
.flag[hidden] { display: none; }
.axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mute); margin-top: 20px; }

.say { font: 600 clamp(22px, 6.3vw, 27px)/1.28 var(--display); letter-spacing: -.02em; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.tok { display: inline-flex; align-items: center; font: inherit; color: var(--mint); background: none; border: 0; padding: 0 1px;
  border-bottom: 2px dashed color-mix(in srgb, var(--mint) 55%, transparent); line-height: 1.06; letter-spacing: inherit; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; transition: border-color .2s; }
.tok:hover { border-bottom-color: var(--mint); }
.tok.nudge .roll { animation: nudge .8s var(--spring); }
@keyframes nudge { 35% { transform: translateY(-6px); } 70% { transform: none; } }
.roll { display: inline-flex; align-items: center; transition: transform .32s var(--spring), opacity .2s, filter .2s; }
.roll.out { transform: translateY(-38%); opacity: 0; filter: blur(3px); }
.roll.in { transform: translateY(38%); opacity: 0; filter: blur(3px); }
.out { color: var(--text); background: color-mix(in srgb, var(--mint) 17%, transparent); border-radius: 8px; padding: 0 .2em; white-space: nowrap; display: inline-flex; }
.calc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--mute); margin-top: 12px; }
.info { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-size: 12px; color: var(--mute); }
.info i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font: italic 700 10px Georgia, serif; transition: background .25s, color .25s, border-color .25s; }
.info:hover, .info[aria-expanded="true"] { color: var(--text); }
.info[aria-expanded="true"] i { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.how { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--spring); }
.how.open { grid-template-rows: 1fr; }
.how > div { overflow: hidden; min-height: 0; }
.how-in { padding-top: 12px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .45s var(--spring); }
.how.open .how-in { opacity: 1; transform: none; transition-delay: .08s; }
.how p { font-size: 13.5px; color: var(--mute); margin-top: 8px; }
.how p b { color: var(--text); font-weight: 600; }
.roles { list-style: none; padding: 0; display: grid; gap: 8px; }
.roles li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.r-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--row); display: grid; place-items: center; }
.r-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.roles p { margin: 0; font-size: 14px; color: var(--mute); }
.roles b { color: var(--text); font-weight: 600; }
/* every $1 of profit as ten people: eight from Vela, one collaborator, one heart for the non-profits */

/* ---------- section heads ---------- */
h2 { font: 700 28px/1.05 var(--display); letter-spacing: -.03em; margin: 56px 0 14px; }
.sec-lede { color: var(--mute); font-size: 15px; margin: -6px 0 18px; }
h3 { font: 600 13px var(--sans); color: var(--mute); margin: 26px 0 6px; }
.sub { font-size: 14.5px; color: var(--text); margin-bottom: 12px; }

/* ---------- 2. building now ---------- */
.biz { background: var(--deep); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 18px; padding: 16px; position: relative; z-index: 1; }
.biz-head { display: flex; gap: 12px; align-items: center; }
.biz-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #F2B544; color: #3A2600; }
/* Tabletalk: a plate that talks. The bubble is the plate, the ring its rim. */
.tt { background: #E4573D !important; color: #FFF6EA; }
.tt svg { width: 72%; height: 72%; overflow: visible; }
.tt .tt-bubble { fill: currentColor; }
.tt .tt-fork { fill: none; stroke: #E4573D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the bubble pops once when the Monday text arrives */
.tt svg { transform-origin: 30% 90%; }
.biz.lifted .biz-head .tt svg { animation: pop 1s var(--spring) .2s; }
@keyframes pop { 30% { transform: scale(1.14) rotate(-6deg); } 65% { transform: scale(.96) rotate(2deg); } 100% { transform: none; } }
.biz-head b { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.biz-head div span { font-size: 14px; color: var(--mute); }
.stage { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--mute); }
.stage span:first-child { color: var(--amber); font-weight: 600; }
.stage-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.stage-bar i { display: block; height: 100%; width: 50%; background: var(--amber); border-radius: 2px; transform-origin: left; }
.js .stage-bar i { transform: scaleX(0); transition: transform 1.2s var(--soft) .2s; }
.js .biz.seen .stage-bar i { transform: none; }

/* the weekly text, on a small phone screen */
.phone { margin-top: 16px; background: #F6F5F0; color: #121212; border-radius: 20px; padding: 10px 12px 14px; }
.phone-top { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #E4E2DA; font-size: 13px; }
.phone-av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #F2B544; color: #3A2600; }
.phone-top small { color: #8a887f; font-size: 11.5px; }
.sms-thread { display: grid; gap: 4px; padding-top: 10px; min-height: 172px; align-content: start; }
.sms { justify-self: start; max-width: 86%; background: #E7E5DD; border-radius: 18px; padding: 8px 12px; font: 14.5px/1.32 -apple-system, system-ui, sans-serif; }
.sms:first-child { border-bottom-left-radius: 18px; }
.sms:last-child { border-bottom-left-radius: 6px; }
.js .phone .sms { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: left bottom; transition: opacity .35s, transform .45s var(--spring); }
.js .phone .sms.on { opacity: 1; transform: none; }
.typing { justify-self: start; display: inline-flex; gap: 4px; background: #E7E5DD; border-radius: 18px; padding: 12px 13px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a988f; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }


/* business case */
/* the road: the weekly chain, then the restaurants that pay, lighting up while the monthly sales count up */
.road h3 { margin-bottom: 12px; }
.chain { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 4px; position: relative; }
.chain::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 2px; background: var(--line); }
.chain li { position: relative; display: grid; grid-template-rows: 64px auto; align-items: center; justify-items: center; gap: 4px; text-align: center; }
.chain b { width: calc(64px * var(--s)); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--deep); border: 2px solid var(--line);
  font: 700 calc(20px * var(--s) + 2px) var(--display); font-variant-numeric: tabular-nums; }
.chain .pay b { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.chain span { font-size: 11.5px; color: var(--mute); }
.js .chain li { opacity: 0; transform: translateY(10px) scale(.8); }
.road.seen .chain li { animation: rise .55s var(--spring) forwards; }
.road.seen .chain li:nth-child(2) { animation-delay: .15s; }
.road.seen .chain li:nth-child(3) { animation-delay: .3s; }
.road.seen .chain li:nth-child(4) { animation-delay: .45s; }
.road-mid { margin: 16px 0 8px; font-size: 14px; color: var(--text); }
.road-grid { display: grid; grid-template-columns: minmax(0, 190px) 1fr; gap: 16px; align-items: center; }
.tables { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.tables i { aspect-ratio: 1; border-radius: 7px; background: var(--deep); display: grid; place-items: center; transition: background .25s, transform .4s var(--spring); }
.tables i svg { width: 62%; height: 62%; fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; transition: stroke .25s; }
.tables i.on { background: var(--mint); transform: scale(1.06); }
.tables i.on svg { stroke: var(--deep); }
.tables i.on.settled { transform: none; }
.road-sum { display: grid; gap: 2px; font-size: 13.5px; color: var(--mute); }
.road-sum b { font: 700 18px var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.road-sum .mrr { margin-top: 6px; font-size: 32px; line-height: 1; color: var(--mint); letter-spacing: -.02em; }
.road-cost { margin-top: 14px; font-size: 13px; color: var(--mute); }
.plan { font-size: 12px; color: var(--mute); margin-top: 12px; }

/* the next two, kept under frosted glass */

/* ---------- 1b. the path: join, learn, earn. A rail joins the steps; each step plays once when seen ---------- */
.p3s { list-style: none; padding: 0 0 0 34px; position: relative; display: grid; gap: 12px; }
.p3s::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 40px; width: 2px; border-radius: 1px; background: var(--line); }
.p3 { position: relative; background: var(--deep); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 16px; padding: 14px 14px 16px; }
.p3-n { position: absolute; left: -34px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--line); font: 700 12px var(--display); color: var(--mute); transition: background .3s, border-color .3s, color .3s; }
.p3.seen .p3-n { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.p3-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.p3-top b { font: 700 24px var(--display); letter-spacing: -.025em; }
.chip { font-size: 12px; font-weight: 600; color: var(--mint); white-space: nowrap; }
.p3 > p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.p3-cta { margin-top: 12px; width: 100%; height: 50px; border: 0; border-radius: 12px; background: var(--mint); color: var(--deep); font: 600 16px var(--sans); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; padding: 0 7px 0 18px; will-change: transform; }
.p3-cta:only-child, .is-member .p3-cta { justify-content: center; }
.p3 .vis { position: relative; height: 104px; margin-top: 12px; border-radius: 10px; background: color-mix(in srgb, var(--row) 70%, var(--deep)); overflow: hidden; }
.learn .vis { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 8px 10px 10px; }
.stamp { align-self: center; font-size: 9.5px; color: var(--mute); margin-bottom: auto; }
.bub { font-style: normal; font-size: 11.5px; line-height: 1.2; padding: 5px 10px; border-radius: 12px 12px 12px 4px; background: var(--line); white-space: nowrap; }
.bub.m { background: var(--mint); color: var(--deep); font-weight: 600; }
.earn .vis > svg { position: absolute; left: 12px; top: 30px; width: calc(100% - 24px); height: calc(100% - 38px); overflow: visible; }
.earn .zero { stroke: var(--line); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.earn .neg { fill: var(--line); }
.earn .pos { fill: var(--mint); }
.earn .ln { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.coin { position: absolute; left: calc(12px + (100% - 24px) * .214 - 10px); top: calc(30px + (100% - 38px) * .8 - 10px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint); color: var(--deep); font: 700 11px/20px var(--display); text-align: center; font-style: normal; opacity: 0; }
.gate { position: absolute; left: 10px; top: 8px; display: flex; align-items: center; gap: 3px; padding: 2px 8px 2px 5px; border-radius: 999px;
  background: var(--text); color: var(--deep); font-size: 11px; font-weight: 600; }
.gate svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.facts b { color: var(--text); font-weight: 600; }
.facts svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--mint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* plays once when seen: texts arrive; approval, then money in, then the profit line rises */
.js .p3 .stamp, .js .p3 .bub { opacity: 0; transform: translateY(8px) scale(.85); transform-origin: left bottom; }
.p3.seen .stamp { animation: rise .5s var(--spring) .1s forwards; }
.p3.seen .bub { animation: rise .55s var(--spring) var(--d) forwards; }
.js .p3 .gate { opacity: 0; transform: scale(.6); }
.p3.seen .gate { animation: rise .5s var(--spring) .25s forwards; }
.p3.seen .coin { animation: coin 1s var(--soft) .6s both; }
@keyframes coin { 0% { opacity: 0; transform: translateY(-70px); } 25% { opacity: 1; } 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.3); } }
.js .p3 .draw { clip-path: inset(0 100% 0 0); }
.p3.seen .draw { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--soft) 1.3s; }
.foot .legal { max-width: 46ch; margin: 0 auto 10px; font-size: 11.5px; line-height: 1.45; }

/* ---------- 3. watch me work: the run log. Each line types itself as the reading line reaches it; the live line keeps a cursor ---------- */
.steps { list-style: none; padding: 16px 16px 18px; display: grid; gap: 0; background: var(--deep); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 18px; --p: 1; }
.steps li { display: grid; grid-template-columns: 74px 1fr; column-gap: 14px; padding: 12px 0; border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); }
.steps li:first-child { border-top: 0; padding-top: 4px; }
.steps .when { grid-row: span 2; font-size: 12.5px; color: var(--mute); padding-top: 3px; }
.steps b { font: 600 17px/1.3 var(--display); letter-spacing: -.01em; }
.steps em { font-style: normal; font-size: 14px; color: var(--mint); margin-top: 3px; }
.js .steps li { opacity: .3; transition: opacity .45s; }
.js .steps li.lit { opacity: 1; }
.steps li.live .when { color: var(--mint); }
.steps .caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--mint); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.steps .typing-now b { min-height: 1.3em; }

/* ---------- team, quiet until asked ---------- */
.proof { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.proof b { color: var(--text); font-weight: 600; }
.proof a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mint) 60%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.marks { display: flex; flex: none; }
.marks i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--display); font-style: normal; border: 2px solid var(--bg); }
.marks i + i { margin-left: -9px; }
.m-yi { background: var(--text); color: var(--bg); }
.m-vela { background: var(--mint); color: var(--deep); }
.m-ox { background: #1C3F7A; color: #F1EEDF; }
.foot a { color: inherit; }
.foot { text-align: center; font-size: 12px; color: var(--mute); opacity: .7; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }


/* ---------- overlays ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.share { background: var(--text); color: var(--bg); }
.done-btn { background: none; color: var(--text); height: 40px; }

/* ---------- desktop and tablets: the same story, more air ---------- */
@media (min-width: 760px) {
  .wrap { max-width: 760px; padding: 40px 40px 40px; }
  h1 { font-size: clamp(56px, 6.4vw, 76px); }
  .lede { font-size: 19px; margin-top: 20px; }
  .calc { margin-top: 40px; padding: 26px 28px 22px; border-radius: 22px; }
  .calc-top b { font-size: 44px; }
  .plot { height: 200px; }
  .say { font-size: 32px; margin-top: 22px; padding-top: 20px; }
  h2 { font-size: 40px; margin-top: 110px; margin-bottom: 20px; }
  .sec-lede { font-size: 17px; }
  .biz { padding: 26px 28px; border-radius: 22px; }
  /* the text and the numbers sit side by side, so the card reads at a glance */
  .biz-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .phone { margin-top: 22px; }
  .gtm h3 { margin-top: 22px; }
  .steps { gap: 0; }
  .steps b { font-size: 21px; }
  .steps em { font-size: 15px; }
}
/* wide screens: the copy and the scope side by side */
@media (min-width: 1100px) {
  .wrap { max-width: 1040px; padding: 44px 56px 40px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "log log" "copy scope" "proof scope"; column-gap: 48px; align-items: start; }
  .hero-copy { grid-area: copy; padding-top: 10px; }
  .hero .calc { grid-area: scope; margin-top: 10px; }
  .hero .proof { grid-area: proof; align-self: end; margin-bottom: 8px; }
  h1 { font-size: clamp(56px, 5vw, 74px); }
  .ways, .now, .work, .end { max-width: 920px; }
  /* the path runs left to right on one trace: join, learn, earn */
  .p3s { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 36px 0 0; gap: 14px; align-items: stretch; }
  .p3s::before { left: 26px; right: 26px; top: 11px; bottom: auto; width: auto; height: 1px; }
  .p3-n { left: 14px; top: -36px; }
  .p3 { display: flex; flex-direction: column; }
  .p3 .p3-cta { margin-top: auto; }
  .join > p { margin-bottom: 14px; }
  .steps { padding: 20px 26px 22px; }
  .steps li { grid-template-columns: 120px 1fr; padding: 15px 0; }
  .end h2 { max-width: none; }
}

/* ---------- join view ---------- */
.jv { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 100%)); transition: clip-path .7s var(--soft); }
.jv.in { clip-path: circle(150% at var(--ox, 50%) var(--oy, 100%)); }
.jv[hidden] { display: none; }
.jv-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; max-width: 520px; margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 20px 10px; background: linear-gradient(var(--bg) 70%, transparent); }
.jv-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--row); display: grid; place-items: center; }
.jv-x svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.pane { max-width: 520px; margin: 0 auto; padding: 6px 20px calc(28px + env(safe-area-inset-bottom)); }
.pane[hidden] { display: none; }
.pane h3 { font: 700 36px/1.05 var(--display); letter-spacing: -.03em; color: var(--text); margin: 0; }
/* reveal order inside the view: each block rises in turn */
.jv .pane-join > * { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--spring); }
.jv.in .pane-join > * { opacity: 1; transform: none; }
.jv.in .pane-join > :nth-child(2) { transition-delay: .18s; }
.jv.in .pane-join > :nth-child(3) { transition-delay: .24s; }
.jv.in .pane-join > :nth-child(n+4) { transition-delay: .32s; }
.pane-join { display: flex; flex-direction: column; min-height: calc(100svh - 70px); max-width: 440px; text-align: center; }
@media (min-width: 760px) { .pane-join { min-height: 0; padding-top: 6vh; } }
.jv-sub { font: 500 18px/1.35 var(--sans); color: var(--mute); margin: 8px auto 0; max-width: 30ch; }
.jv-sub b { color: var(--mint); font: 700 22px var(--display); }
.jv-back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--row); display: grid; place-items: center; }
.jv-back svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jv-back[hidden] { display: none; }
.jv-back:not([hidden]) + .sig { display: none; }

/* the card you are about to get; after paying it turns into yours */
.card-pre { padding: 6px 0 34px; }
.card-pre .member { width: min(240px, 62vw); transform: rotateX(10deg) rotateY(-12deg) rotateZ(-2deg); animation: float 6s ease-in-out infinite; }
.card-pre .member b { font-size: 26px; opacity: .45; }
@keyframes float { 50% { transform: rotateX(4deg) rotateY(8deg) rotateZ(1deg) translateY(-6px); } }
[data-step="card"] .card-pre, [data-step="free"] .card-pre { display: none; }

/* steps: only the parts of the current step show */
.pay-wait, .pay-express, .alt-btn, .fields { display: none; }
[data-step="wait"] .pay-wait { display: block; }
[data-step="wallet"] .pay-express, [data-step="wallet"] .alt-btn { display: block; }
[data-step="card"] .fields, [data-step="free"] .fields { display: block; text-align: left; margin-top: 22px; }
[data-step="free"] .card-l, [data-step="free"] .pay-card { display: none; }
.pay-wait, .pay-express { margin-top: 26px; min-height: 54px; }
.pay-wait { border-radius: 14px; background: linear-gradient(100deg, var(--row) 30%, color-mix(in srgb, var(--row) 60%, var(--line)) 50%, var(--row) 70%) 0 0 / 300% 100%; animation: wait 1.4s linear infinite; }
@keyframes wait { to { background-position: -150% 0; } }
.alt-btn { width: 100%; height: 54px; margin-top: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: none; color: var(--text); font: 600 17px var(--sans); }
.alt-btn:active { transform: scale(.98); }

/* card step: first name and mobile, then Stripe's card fields */
.hold-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.email-row { margin-top: 10px; }
.fields label { display: block; font-size: 13px; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.fields input { display: block; width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--deep);
  padding: 0 14px; font: 17px var(--sans); color: var(--text); outline: 0; transition: border-color .2s; }
.fields input::placeholder { color: color-mix(in srgb, var(--mute) 55%, transparent); }
.fields input:focus { border-color: var(--mint); }
.card-l { margin-top: 14px; }
.pay-card { height: 52px; padding: 16px 14px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--deep); transition: border-color .2s; }
.pay-card.focus { border-color: var(--mint); }
.pay-card.bad { border-color: #FFB4A8; }
.save-btn { display: block; width: 100%; height: 54px; margin-top: 18px; border-radius: 14px; border: 0; background: var(--mint); color: var(--bg); font: 700 18px var(--sans); transition: transform .15s, opacity .2s; }
.save-btn:active { transform: scale(.98); }
.save-btn:disabled { opacity: .6; }
.busy .pay-express, .busy .save-btn { opacity: .5; pointer-events: none; }

/* the small print sits at the foot of the view, never between the reader and the button */
.fine { margin-top: auto; padding-top: 28px; font-size: 12.5px; line-height: 1.5; color: var(--mute); }
.fine a { color: var(--text); }
.fine a + a { margin-left: .75em; }
.by-stripe { display: block; margin-top: 4px; opacity: .8; }
.held { font-size: 15px; color: var(--mint); margin-top: 6px; }

/* read more: quiet rows that open in place */
.err { display: block; color: #FFB4A8; font-size: 14px; margin-top: 12px; }
.err[hidden] { display: none; }

/* after paying: the card flips in, then the place in line and the share */
.pane-done { text-align: center; padding-top: 10px; }
.card3d { perspective: 900px; display: flex; justify-content: center; padding: 8px 0 4px; }
.member { width: min(300px, 78vw); aspect-ratio: 1.586; border-radius: 18px; background: var(--mint); color: var(--bg); padding: 18px 20px; display: flex; flex-direction: column;
  text-align: left; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); position: relative; overflow: hidden; }
.member::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%) -200% 0 / 250% 100% no-repeat; }
.member .sig { width: 110px; height: 34px; }
.member b { margin-top: auto; font: 700 32px/1 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.m-row { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; opacity: .72; }
.pane-done.go .member { animation: flip 1.1s var(--spring) both; }
.pane-done.go .member::after { animation: shine 1.2s var(--soft) .8s both; }
@keyframes flip { 0% { transform: rotateY(-100deg) translateY(30px) scale(.8); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotateX(8deg) rotateY(-8deg); } }
@keyframes shine { to { background-position: 200% 0; } }
.pane-done > :not(.card3d) { opacity: 0; transform: translateY(12px); }
.pane-done.go > :not(.card3d) { animation: rise .7s var(--spring) forwards; }
.pane-done.go > .place { animation-delay: .7s; }
.pane-done.go > .share-box { animation-delay: .95s; }
.pane-done.go > .done-btn { animation-delay: 1.05s; }
.place { font: 600 22px var(--display); margin-top: 18px; color: var(--mute); }
.place b { color: var(--text); font-size: 30px; font-variant-numeric: tabular-nums; }
.share-box { margin: 12px auto 0; text-align: left; background: var(--row); border-radius: 22px; padding: 16px; }
.share-box > b { display: block; font: 700 19px var(--display); }
.share-box > span { font-size: 14px; color: var(--mute); }
.link-row { display: flex; align-items: center; gap: 8px; background: var(--deep); border-radius: 12px; padding: 6px 6px 6px 12px; }
.link-row code { flex: 1; min-width: 0; font: 13px var(--sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-row button { border: 0; border-radius: 9px; background: var(--row); color: var(--text); height: 32px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.share { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 10px; border-radius: 14px; border: 0; background: var(--text); color: var(--bg); font: 600 16px var(--sans); }
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done-btn { display: block; width: 100%; height: 44px; margin-top: 4px; border: 0; background: none; color: var(--mute); font: 500 15px var(--sans); }

@media (min-width: 760px) {
  /* the join view on wide screens: one centered column, a little larger */
  .jv-bar { max-width: 1040px; padding-left: 40px; padding-right: 40px; }
  .pane { max-width: 640px; padding-top: 24px; }
  .pane h3 { font-size: 46px; }
  .jv-sub { font-size: 20px; }
  .pane-join { max-width: 460px; }
  .pane-done { max-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js h1 .w, .js h2 .w, .js .lede, .js .calc { opacity: 1; transform: none; filter: none; }
  .js .phone .sms, .js .steps li { opacity: 1; transform: none; }
  .js .stage-bar i { transform: none; }
  .js .chain li, .js .tables i { opacity: 1; transform: none; animation: none; }
  .jv { clip-path: none; }
  .jv .pane-join > *, .pane-done > :not(.card3d) { opacity: 1; transform: none; }
  .js .p3 .stamp, .js .p3 .bub, .js .p3 .gate { opacity: 1; transform: none; animation: none; }
  .js .p3 .draw { clip-path: none; transition: none; }
  .p3.seen .coin { animation: none; }
}

/* ---------- privacy page ---------- */
.doc-body h1 { font: 700 40px/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.doc-body h2 { font: 700 20px var(--display); margin: 28px 0 6px; }
.doc-body h3 { font: 700 16px var(--display); margin: 20px 0 4px; }
.doc-body p { color: var(--mute); max-width: 60ch; }
.doc-body a { color: var(--text); }
.doc-date { margin-top: 28px; font-size: 13px; }
.held[hidden], .hold[hidden] { display: none; }

/* ---------- the close: one line, the price, the button ---------- */
.end { margin-top: 0; padding: 4px 0 24px; text-align: center; }
.end h2 { margin: 0 auto; max-width: 14ch; }
.end p { color: var(--mute); font-size: 15px; margin: 10px 0 18px; }
.end .p3-cta { max-width: 360px; margin: 0 auto; }

/* ---------- phones: the hero's answer must clear the join button at the bottom ---------- */
@media (max-width: 759px) {
  .plot { height: 84px; }
  .axis { margin-top: 10px; }
  .calc { margin-top: 14px; padding-top: 14px; }
  .say { margin-top: 12px; padding-top: 12px; }
}
@media (max-width: 759px) and (max-height: 620px) {
  h1 { font-size: 30px; }
  .lede { font-size: 15px; margin-top: 8px; }
  .plot { height: 56px; }
  .calc-top b { font-size: 24px; }
  .say { font-size: 20px; }
  .axis { margin-top: 14px; }
}

/* readouts: every number the console measures reads in the instrument face */
.calc-top b, .road-sum .mrr { font-family: var(--mono); font-weight: 600; letter-spacing: -.04em; }
@media (max-width: 759px) {
  .steps li { grid-template-columns: 1fr; }
  .steps .when { grid-row: auto; padding: 0 0 2px; font-size: 12px; }
}

/* ---------- less text at once: details open when they make sense ---------- */
.plan-tag { font-size: 11.5px; font-weight: 600; color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
/* "Tap the green words." leaves once the reader has tapped one */
.calc-foot > span { transition: opacity .4s; }
.calc.tapped .calc-foot > span { opacity: 0; }
/* earn: the invite details wait behind one quiet toggle */
.more { margin-top: 12px; border: 0; background: none; padding: 4px 0; color: var(--mint); font: 600 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.more[aria-expanded="true"] { color: var(--mute); }
.js .facts { display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows .45s var(--spring), margin-top .3s; }
.js .facts > li { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .3s; }
.js .facts.open { grid-template-rows: 1fr 1fr; margin-top: 8px; row-gap: 10px; }
.js .facts.open > li { opacity: 1; }
/* the run log: only the lesson of the line being read is open */
.js .steps em { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--spring), opacity .35s, margin-top .3s; margin-top: 0; }
.js .steps li.open.typed em { max-height: 4em; opacity: 1; margin-top: 3px; }
/* join: the card a member gets, small, tilting in once the step is seen */
.vis.mini { display: grid; place-items: center; perspective: 700px; }
.vis.mini .member { width: 150px; padding: 10px 12px; border-radius: 11px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); transform: rotateX(8deg) rotateY(-14deg) rotateZ(-3deg); }
.vis.mini .member .sig { width: 64px; height: 20px; }
.vis.mini .member b { font-size: 19px; }
.vis.mini .m-row { font-size: 9.5px; margin-top: 3px; }
.js .p3 .vis.mini .member { opacity: 0; transform: rotateY(-70deg) translateY(10px) scale(.85); }
.p3.seen .vis.mini .member { animation: mini-in .9s var(--spring) .2s forwards; }
@keyframes mini-in { to { opacity: 1; transform: rotateX(8deg) rotateY(-14deg) rotateZ(-3deg); } }
@media (prefers-reduced-motion: reduce) { .js .p3 .vis.mini .member { opacity: 1; transform: rotateX(8deg) rotateY(-14deg) rotateZ(-3deg); } }

/* critic round 2: no decorative status dot; the instrument face only for big readouts, small labels in the sans;
   the scope takes half the first screen on phones too */
.num, .steps .when, .stage span:last-child { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.tag { font-family: var(--sans); }
@media (max-width: 759px) { .plot { height: 150px; } }
@media (max-width: 759px) and (max-height: 620px) { .plot { height: 84px; } }
@media (min-width: 760px) { .plot { height: 260px; } }

/* ---------- round 3 (Yigit, 2026-10-25): the way in sits in the hero; a quieter green ---------- */
/* the public site's palette: the same green family, darker and less saturated; mint is kept for the button, key
   numbers and the trace. The Cockpit pages, which share this file, keep theirs. */
:root.site {
  --bg: #112620; --deep: #0C1C17; --row: #17302A; --line: #2B423B; --mute: #A4B3AB;
}
.site body { background: var(--bg); }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-cta .p3-cta { margin-top: 0; width: auto; min-width: 220px; height: 54px; font-size: 17px; }
.hero-cta small { font-size: 13px; color: var(--mute); }
.js .hero-cta { opacity: 0; transform: translateY(14px); animation: rise .9s var(--spring) .65s forwards; }
/* quieter fills: the green areas step back, the lines carry it */
#chart .pos { fill: color-mix(in srgb, var(--mint) 38%, transparent); }
#chart .neg { fill: color-mix(in srgb, var(--line) 80%, transparent); }
.plot::before { opacity: .35; }
.tables i.on { background: color-mix(in srgb, var(--mint) 70%, var(--deep)); }
.bub.m, .chain .pay b { background: color-mix(in srgb, var(--mint) 85%, var(--deep)); }
.lede a, .proof a { text-decoration-color: color-mix(in srgb, var(--mint) 40%, transparent); }
.tok { border-bottom-color: color-mix(in srgb, var(--mint) 40%, transparent); }
@media (prefers-reduced-motion: reduce) { .js .hero-cta { opacity: 1; transform: none; } }
.js .facts:not(.open) { grid-template-rows: 0fr 0fr; row-gap: 0; }
@media (min-width: 1100px) {
  .hero { grid-template-areas: "log log" "copy scope" "proof scope" "rest scope"; grid-template-rows: auto auto auto 1fr; }
  .hero .proof { align-self: start; margin: 26px 0 0; }
}

/* ---------- round 4 (Yigit, 2026-10-25): compact and calm. One type scale, fewer weights: 600 for headings,
   500 for what you can tap or the key numbers, 400 for everything else. Smaller sizes, tighter rhythm. ---------- */
h1 { font-size: clamp(30px, 8.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; max-width: 14ch; }
h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 14px; }
.lede { font-size: 15px; margin-top: 10px; }
.hero-cta { margin-top: 16px; }
.hero-cta .p3-cta { height: 46px; min-width: 190px; font-size: 15px; font-weight: 500; }
.p3-cta { height: 44px; font-size: 15px; font-weight: 500; }
.tag { font-weight: 600; font-size: 13px; height: 26px; }
.calc { margin-top: 18px; }
.calc-top b { font-size: 26px; font-weight: 500; }
.say { font: 400 18px/1.4 var(--sans); letter-spacing: 0; margin-top: 12px; padding-top: 12px; }
.say .tok, .say .out { font-weight: 500; }
.proof { font-size: 13px; margin-top: 14px; }
.p3-top b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.p3 > p { font-size: 13.5px; }
.biz-head b { font-size: 17px; font-weight: 600; }
.biz-head div span { font-size: 13.5px; }
.road h3 { font-weight: 500; }
.road-sum .mrr { font-size: 26px; font-weight: 500; }
.chain b { font-weight: 500; }
.steps b { font: 500 15.5px/1.35 var(--sans); letter-spacing: 0; }
.steps em { font-size: 13.5px; }
.steps li { padding: 10px 0; }
.end h2 { font-size: 24px; }
.end p { font-size: 14px; margin: 6px 0 14px; }
.facts b, .roles b { font-weight: 500; }
@media (min-width: 760px) {
  h1 { font-size: 46px; }
  h2 { font-size: 28px; margin-top: 0; }
  .lede { font-size: 16px; margin-top: 14px; }
  .calc-top b { font-size: 32px; }
  .say { font-size: 20px; margin-top: 16px; padding-top: 16px; }
  .steps b { font-size: 16px; }
  .plot { height: 220px; }
}
@media (min-width: 1100px) {
  h1 { font-size: clamp(46px, 3.8vw, 54px); }
  .wrap { padding-top: 36px; }
}
/* Phones: the answer comes before the picture. The sentence sits under the total and the chart follows, the hero's
   logline gives way to the top strip, and the refund note sits beside the button, so "5 months" is on the first screen. */
@media (max-width: 759px) {
  .calc { display: flex; flex-direction: column; }
  .calc-top { order: 0; }
  .say { order: 1; border-top: 0; margin-top: 6px; padding-top: 0; }
  .plot { order: 2; margin-top: 14px; }
  .axis { order: 3; }
  .calc-foot { order: 4; }
  .how { order: 5; }
  .hero-cta { display: flex; align-items: center; gap: 12px; }
  .hero-cta .p3-cta { min-width: 0; flex: none; }
  .hero-cta small { margin: 0; max-width: 15ch; line-height: 1.3; }
}
@media (max-width: 759px) {
  .hero-cta .p3-cta { gap: 14px; padding: 0 10px 0 20px; }
  .say { line-height: 1.55; }
}
/* ---------- round 5: room to breathe. Space separates the sections, not boxes. The calculator is the one framed
   object; the path, Tabletalk and the run log lose their frames and keep only what is inside them. The hero has
   the first screen to itself on wide screens. ---------- */
.p3 { background: none; border: 0; border-radius: 0; padding: 0 0 6px; }
.p3s { gap: 34px; }
.p3s::before { top: 14px; bottom: 60px; }
.p3-n { top: 0; }
.biz { background: none; border: 0; border-radius: 0; padding: 0; }
.steps { background: none; border: 0; border-radius: 0; padding: 0; }
.steps li { border-top-style: solid; border-top-color: color-mix(in srgb, var(--line) 55%, transparent); }
.proof { margin-top: 18px; }
@media (min-width: 760px) {
  .biz { padding: 0; }
  .steps { padding: 0; }
}
@media (min-width: 1100px) {
}

/* ---------- round 6: standard scheme. The hero starts right under the bar; it needs no label of its own. ---------- */
@media (min-width: 760px) { .wrap { padding-top: 56px; } }
@media (min-width: 1100px) { .wrap { padding-top: 72px; } .hero .calc { margin-top: 0; } }

/* round 6b: sections are separated by space alone; no eyebrow labels. Hero copy centres against the calculator. */
.wrap > section:not(.hero) { margin-top: 88px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.js .steps li { opacity: .55; }
@media (min-width: 760px) { .wrap > section:not(.hero) { margin-top: 112px; } }
@media (min-width: 1100px) {
  .wrap > section:not(.hero) { margin-top: 128px; }
  .hero { grid-template-areas: "top scope" "copy scope" "proof scope" "rest scope"; grid-template-rows: 1fr auto auto 1fr; }
  .hero .proof { margin-top: 28px; }
}
.p3 .more { display: block; text-align: left; font-weight: 500; }
@media (min-width: 1100px) {
  .p3s { gap: 40px; padding-top: 40px; }
  .p3-n { top: -40px; left: 0; }
  .p3s::before { top: 11px; left: 12px; right: 12px; bottom: auto; height: 1px; width: auto; }
}

/* ---------- round 7: no bar. The signature sits at the top of the page and scrolls away with it. The headline
   breaks as "I'm an AI that starts / profitable businesses." on every screen. The calculator gets its own room. ---------- */
.top { max-width: 680px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 20px 0; }
.top-sig { display: block; width: 92px; height: 30px; }
h1 { max-width: none; font-size: 34px; line-height: 1.08; }
h1 .nb { white-space: nowrap; display: inline-block; }
.wrap { padding-top: 28px; }
.hero .calc { margin-top: 40px; }
.hero .proof { margin-top: 20px; }
@media (max-width: 374px) { h1 { font-size: 30px; } }
@media (min-width: 760px) {
  .top { max-width: 760px; padding: 28px 40px 0; }
  h1 { font-size: 48px; }
  .wrap { padding-top: 48px; }
}
@media (min-width: 1100px) {
  .top { max-width: 1040px; padding: 32px 56px 0; }
  .wrap { padding-top: 64px; }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "copy scope"; grid-template-rows: auto; column-gap: 56px; align-items: center; }
  .hero .calc { margin-top: 0; }
  h1 { font-size: 50px; }
}
/* phones: the restaurant tiles are decoration; the chain, the total and the cost carry the plan */
@media (max-width: 759px) {
  .tables { display: none; }
  .road-grid { display: block; margin-top: 14px; }
  .road-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
  .proof { font-size: 12.5px; gap: 10px; }
  .proof .marks i { width: 26px; height: 26px; font-size: 10px; }
}
.end h2 { margin-bottom: 22px; }
@media (max-width: 759px) {
  .road-sum .mrr { order: 0; }
  .road-sum > span:last-child { order: 1; }
  .road-sum::after { content: ""; flex-basis: 100%; order: 2; }
  .road-sum > span:nth-child(1), .road-sum > span:nth-child(2) { order: 3; font-size: 13px; color: var(--mute); }
}
/* the proof line rises in with the rest of the hero, just after the button */
.js .hero .proof { opacity: 0; transform: translateY(14px); animation: rise .9s var(--spring) .8s forwards; }
@media (prefers-reduced-motion: reduce) { .js .hero .proof { opacity: 1; transform: none; animation: none; } }
/* phones: smaller marks overlap less, so the initials stay whole */
@media (max-width: 759px) { .proof .marks i + i { margin-left: -6px; } .proof .marks i { font-size: 9.5px; letter-spacing: -.02em; } }
