:root {
  --ink: #07111c;
  --ink-2: #0c1b2a;
  --paper: #f3f7fa;
  --white: #fff;
  --text: #0e2131;
  --soft: #506373;
  --muted: #82909c;
  --line: rgba(25, 59, 82, .14);
  --blue: #1f9fe0;
  --blue-bright: #55c6f3;
  --navy: #0e4d74;
  --orange: #ff9f1c;
  --green: #5ee0aa;
  --radius: 22px;
  --page: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The header is fixed, so a jump to a section would otherwise land with its heading underneath it. */
:target, section[id] { scroll-margin-top: 108px; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 16px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body::selection { color: var(--ink); background: #9edff9; }
a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:is(a, button):focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); padding: .65rem 1rem; background: #fff; color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }

/* The header sits over a light hero, so it is dark on light and the scrolled pill is white glass. */
.top { position: fixed; z-index: 50; top: 0; left: 50%; transform: translateX(-50%); width: var(--page); height: 88px; display: flex; align-items: center; gap: 2rem; color: var(--text); transition: height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.top.is-scrolled { top: 10px; height: 68px; padding: 0 12px 0 16px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(12, 44, 68, .1); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 92, 160, .2)); }
.brand-copy { display: flex; align-items: baseline; gap: .42rem; line-height: 1; }
.brand-copy b { font-size: 1rem; letter-spacing: -.025em; }
.brand-copy em { color: var(--navy); font-size: .68rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; font-style: normal; }
.top nav { display: flex; gap: 1.75rem; margin-left: auto; }
.top nav a { color: var(--soft); text-decoration: none; font-size: .88rem; font-weight: 600; transition: color .2s ease; }
.top nav a:hover { color: var(--text); }
.top-doc { width: 100%; padding: 0 max(20px, calc((100vw - 1180px) / 2)); color: var(--text); background: rgba(243, 247, 250, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.top-doc nav a { color: var(--soft); }
.top-doc nav a:hover { color: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 750; letter-spacing: -.01em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.1em; }
.button-small { min-height: 40px; padding: .45rem .8rem; font-size: .82rem; }
.button-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.button-ghost:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.button-primary { color: var(--ink); background: linear-gradient(135deg, #7edbfa 0%, #2cafe7 78%); box-shadow: 0 14px 36px rgba(27, 155, 217, .24); }
.button-primary:hover { box-shadow: 0 18px 44px rgba(27, 155, 217, .36); }

/* ── hero: one box, centred, on a calm ground ────────────────────────────────────────────────
   The photograph and the floating status card are gone on purpose. The first screen has one job —
   get a sentence typed — and a dark image behind a white composer fought it for attention. */
.hero { position: relative; overflow: hidden; padding: 166px 0 84px; text-align: center; background: var(--paper); }
.hero-glow { position: absolute; inset: -280px -10% auto; height: 900px; background:
  radial-gradient(52% 48% at 50% 46%, rgba(45, 175, 231, .26), transparent 68%),
  radial-gradient(34% 40% at 82% 26%, rgba(255, 159, 28, .14), transparent 70%),
  radial-gradient(38% 42% at 16% 30%, rgba(94, 224, 170, .12), transparent 72%); }
.hero-content { position: relative; z-index: 2; width: min(780px, calc(100vw - 32px)); margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem; color: var(--soft); font-size: .73rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { justify-content: center; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 159, 28, .13); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0 auto 1.35rem; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .92; letter-spacing: -.06em; font-weight: 760; }
h1 span { color: var(--navy); }
.hero-lead { max-width: 600px; margin: 0 auto; color: var(--soft); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; }
.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; }

/* The composer. Left-aligned inside a centred hero, because a brief is prose, not a headline. */
.composer { margin: 2.1rem auto 0; padding: 1.15rem 1.15rem .9rem; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(16, 58, 86, .09); transition: border-color .2s ease, box-shadow .2s ease; }
.composer:focus-within { border-color: rgba(31, 159, 224, .55); box-shadow: 0 26px 70px rgba(16, 58, 86, .16); }
.composer textarea { display: block; width: 100%; min-height: 86px; max-height: 40vh; padding: 0; color: var(--text); background: transparent; border: 0; resize: none; font: inherit; font-size: 1.04rem; line-height: 1.5; }
.composer textarea:focus { outline: 0; }
.composer textarea::placeholder { color: #93a4b1; }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.composer-hint { color: var(--muted); font-size: .8rem; }
.composer-send { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .6rem 1.2rem; color: var(--ink); background: linear-gradient(135deg, #7edbfa 0%, #2cafe7 78%); border: 0; border-radius: 12px; box-shadow: 0 12px 28px rgba(27, 155, 217, .26); font: inherit; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.composer-send:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(27, 155, 217, .34); }
.composer-send[disabled] { opacity: .5; box-shadow: none; transform: none; cursor: not-allowed; }
/* Attach, and what is attached: the same kinds the Builder's own composer takes, carried over with the brief. */
.composer-tools { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.composer-attach { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .45rem .8rem; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .86rem; font-weight: 650; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.composer-attach:hover { border-color: rgba(31, 159, 224, .55); background: rgba(31, 159, 224, .06); }
.composer-attach:focus-visible { outline: 2px solid #2cafe7; outline-offset: 2px; }
.composer-attach svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.composer-attach[disabled] { opacity: .5; cursor: not-allowed; }
.composer-files { display: flex; flex-wrap: wrap; gap: .45rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.composer-files li { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .3rem .35rem .3rem .7rem; color: var(--text); background: rgba(31, 159, 224, .08); border: 1px solid rgba(31, 159, 224, .22); border-radius: 999px; font-size: .8rem; }
.composer-files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer-files button { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 50%; font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
.composer-files button:hover { color: var(--text); background: rgba(25, 59, 82, .08); }
.composer-error { margin: .6rem 0 0; color: #b42318; font-size: .82rem; line-height: 1.4; }
.composer-files[hidden], .composer-error[hidden] { display: none; }
.composer.is-dropping { border-color: #2cafe7; box-shadow: 0 0 0 4px rgba(44, 175, 231, .18), 0 26px 70px rgba(16, 58, 86, .16); }

/* Four briefs worth stealing. They fill the box rather than submitting: the visitor still edits. */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.chips button { padding: .5rem .9rem; color: #33526a; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.chips button:hover { color: var(--ink); background: #fff; border-color: #9fcbe4; }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.9rem; color: var(--muted); font: 650 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .07em; }
.hero-proof i { display: block; width: 3px; height: 3px; background: var(--blue); border-radius: 50%; }

.signal-strip { position: relative; z-index: 4; width: var(--page); min-height: 92px; margin: -48px auto 0; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-around; gap: 1rem; color: #afc0cb; background: #0b1b29; border: 1px solid rgba(117, 172, 205, .2); border-radius: 18px; box-shadow: 0 20px 50px rgba(4, 19, 31, .18); }
.signal-strip p { margin: 0; font-size: .84rem; font-weight: 680; }
.signal-strip b { margin-right: .55rem; color: #567287; font: 600 .66rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.signal-strip > span { color: #33556d; }
.signal-strip .accent { color: #f6b657; }

/* The challenge band under the hero (index.html #challenge): dark like the strip above it, gold for the prize. */
.challenge-band { width: var(--page); margin: 28px auto 0; padding: 2rem 2.25rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; color: #dbe7ee; background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(246, 182, 87, .22), transparent 70%), #0b1b29; border: 1px solid rgba(117, 172, 205, .2); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(4, 19, 31, .18); }
.challenge-kicker { margin: 0 0 .75rem; color: #9fb3c1; font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.challenge-kicker span { display: inline-block; margin-right: .6rem; padding: .2rem .55rem; color: var(--ink); background: #f6b657; border-radius: 6px; letter-spacing: .08em; }
.challenge-copy h2 { margin: 0 0 .75rem; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.04em; }
.challenge-copy h2 em { color: #f6c06b; font-style: normal; }
.challenge-copy p { margin: 0; color: #afc0cb; }
.challenge-side { display: flex; flex-direction: column; gap: 1.1rem; }
.challenge-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.challenge-facts div { padding: .9rem 1rem; border: 1px solid rgba(117, 172, 205, .22); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.challenge-facts dt { color: #8fa6b6; font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.challenge-facts dd { margin: .3rem 0 0; color: #fff; font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.challenge-button { align-self: flex-start; }
@media (max-width: 900px) { .challenge-band { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem 1.4rem; } }
@media (max-width: 620px) { .challenge-facts { grid-template-columns: 1fr; } .challenge-button { align-self: stretch; } }

.section-pad { width: var(--page); margin: 0 auto; padding: 130px 0; }
.section-kicker { margin-bottom: 1.25rem; color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: .65rem; vertical-align: middle; background: var(--blue); }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; font-weight: 750; }

.manifesto-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.manifesto-grid h2 { max-width: 760px; margin-bottom: 0; }
.manifesto-grid p { color: var(--soft); }
.manifesto-grid p:last-child { margin-bottom: .25rem; color: var(--text); font-weight: 600; }
.ownership-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.ownership-grid article { min-height: 280px; padding: 2rem 2rem 1rem 0; border-right: 1px solid var(--line); }
.ownership-grid article + article { padding-left: 2rem; }
.ownership-grid article:last-child { border-right: 0; }
.ownership-number { color: #92a5b2; font: 600 .72rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.ownership-grid h3 { margin: 4.5rem 0 .75rem; font-size: 1.3rem; letter-spacing: -.025em; }
.ownership-grid p { max-width: 300px; color: var(--soft); font-size: .93rem; }

.process { width: 100%; max-width: none; padding-left: max(20px, calc((100vw - 1180px) / 2)); padding-right: max(20px, calc((100vw - 1180px) / 2)); color: #eff7fb; background: var(--ink); }
.process-intro { display: grid; grid-template-columns: .6fr 1.4fr .65fr; gap: 3rem; align-items: end; margin-bottom: 75px; }
.process-intro .section-kicker { align-self: start; color: #70c8ed; }
.process-intro h2 { margin: 0; }
.process-intro p { margin: 0; color: #8ea4b3; }
.process-list { border-top: 1px solid rgba(255,255,255,.15); }
.process-step { display: grid; grid-template-columns: .6fr 1.4fr .65fr; gap: 3rem; align-items: start; min-height: 190px; padding: 2.25rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.step-index { color: #5e7a8d; font: 500 1rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.step-copy h3 { margin: 0 0 .5rem; font-size: 1.45rem; letter-spacing: -.025em; }
.step-copy p { max-width: 620px; margin: 0; color: #9eb1bd; }
.step-copy code { padding: .1rem .3rem; color: #aadaef; background: rgba(69, 185, 234, .09); border-radius: 5px; }
.step-tag { justify-self: end; min-width: 82px; padding: .45rem .65rem; color: #8facbd; border: 1px solid #29445a; border-radius: 999px; text-align: center; font: 650 .7rem ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.step-tag-accent { color: #ffc164; border-color: rgba(255,159,28,.45); background: rgba(255,159,28,.07); }

.use-cases { overflow: hidden; }
.use-case-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.use-case-head h2 { max-width: 850px; margin-bottom: 0; }
.use-case-head > p { max-width: 220px; margin-bottom: .45rem; color: var(--soft); }
.case-rail { display: flex; flex-wrap: wrap; gap: .65rem; }
.case-rail span { padding: .75rem 1.05rem; color: #304b5f; background: #e6eef3; border: 1px solid #d3e0e8; border-radius: 999px; font-weight: 650; font-size: .86rem; }
.case-rail span:nth-child(2), .case-rail span:nth-child(5) { color: #7c4a00; background: #fff1d9; border-color: #f1d09a; }

.pricing { padding-top: 80px; }
.pricing-head { display: grid; grid-template-columns: 1.25fr .55fr; gap: 5rem; align-items: end; margin-bottom: 4rem; }
.pricing-head h2 { margin-bottom: 0; }
.pricing-head > p { margin-bottom: .5rem; color: var(--soft); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
/* Four plans side by side need the width; two by two below it, one column from 900px down. */
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan-featured { transform: none; } }
.plan { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: 2rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(20, 58, 82, .04); }
.plan-featured { color: #fff; background: var(--ink-2); border-color: #184968; box-shadow: 0 26px 70px rgba(9, 33, 50, .22); transform: translateY(-18px); }
.plan-featured::before { content: ""; position: absolute; top: -130px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(52,181,234,.24), transparent 65%); }
.plan-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.plan-top h3 { margin: 0; font-size: 1.2rem; }
.plan-top span { color: var(--muted); font-size: .67rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.plan-featured .plan-top span { color: #7dcced; }
.price { position: relative; margin: 1.6rem 0 .2rem; font-size: 4.2rem; line-height: 1; font-weight: 750; letter-spacing: -.06em; }
.price small { margin-left: .25rem; color: var(--muted); font-size: .85rem; font-weight: 550; letter-spacing: 0; }
.price s { margin-right: .45rem; color: var(--muted); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; vertical-align: .45em; }
.plan-featured .price s { color: #7d93a3; }
/* ── Plans | Founding 100 ────────────────────────────────────────────────────────────────────
   Two views of one section. Plans are the default: an offer is never what a visitor has to get
   past to find a price. */
.pricing-tabs { display: inline-flex; gap: .3rem; margin: 0 0 1.6rem; padding: .3rem; background: #e7eef3; border-radius: 999px; }
.pricing-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.25rem; color: var(--soft); background: transparent; border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.pricing-tabs button:hover { color: var(--text); }
.pricing-tabs button.is-on { color: var(--text); background: #fff; box-shadow: 0 6px 18px rgba(17, 54, 80, .1); }
.pricing-tabs em { padding: .15rem .45rem; color: #7c4a00; background: #ffe7bd; border-radius: 999px; font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
[role="tabpanel"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 8px; border-radius: 14px; }

.offer { display: grid; grid-template-columns: 1.5fr .75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2rem, 4vw, 3.4rem); color: #eef7fb; background: var(--ink); border-radius: 28px; box-shadow: 0 28px 80px rgba(7, 17, 28, .22); }
.offer .section-kicker { color: #ffc164; }
.offer .section-kicker::before { background: var(--orange); }
.offer h3 { margin: 0 0 1.1rem; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 750; }
.offer-lead { max-width: 46ch; margin: 0; color: #9eb1bd; }
.offer-count { display: inline-flex; align-items: center; gap: .6rem; margin: 1.15rem 0 0; padding: .5rem .85rem; color: #ffd08a; background: rgba(255, 159, 28, .1); border: 1px solid rgba(255, 159, 28, .3); border-radius: 999px; font-size: .84rem; font-weight: 650; }
.offer-count[hidden] { display: none; }
.offer-count b { color: #fff; }
.offer-list { display: grid; gap: .45rem; margin: 1.5rem 0 1.9rem; padding: 0; list-style: none; color: #c0d0da; font-size: .95rem; }
.offer-list li { display: flex; gap: .6rem; }
.offer-list li::before { content: "✓"; flex: none; color: var(--green); font-weight: 800; }
.offer-fine { margin: 1.1rem 0 0; color: #7d93a3; font-size: .78rem; }
.offer-figure { padding: 1.9rem 1.5rem; text-align: center; background: rgba(49, 171, 225, .09); border: 1px solid rgba(116, 202, 239, .24); border-radius: 20px; }
.offer-figure-label { color: #8facbd; font: 650 .68rem ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.offer-figure-price { margin: .9rem 0 .5rem; font-size: 3.1rem; line-height: 1; font-weight: 750; letter-spacing: -.055em; }
.offer-figure-price s { margin-right: .5rem; color: #7d93a3; font-size: 1.5rem; font-weight: 600; vertical-align: .42em; }
.offer-figure-price b { color: #7edbfa; font-weight: 750; }
.offer-figure-price small { margin-left: .2rem; color: #8facbd; font-size: .85rem; font-weight: 550; letter-spacing: 0; }
.offer-figure-note { margin: 0; color: #9eb1bd; font-size: .84rem; }

/* Monthly | Yearly above the cards (docs/PORTABLE_REFER_AND_EARN_PLAN.md §5.2). */
.plans-toggle { display: inline-flex; gap: .25rem; margin: 0 0 1.4rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.plans-toggle[hidden] { display: none; }
.plans-toggle button { padding: .55rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; }
.plans-toggle button.is-on { background: var(--ink-2); color: #fff; }
.plans-toggle em { margin-left: .45rem; font-style: normal; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #1f8fd0; }
.plans-toggle button.is-on em { color: #7dcced; }
.billed { margin: 0 0 .5rem; color: var(--muted); font-size: .85rem; }
.plan-featured .billed { color: #9fb8c8; }
.plan-note { color: var(--soft); font-size: .9rem; }
.plan-featured .plan-note { color: #9db0bd; }
.plan ul { display: grid; gap: .2rem; margin: 1.15rem 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); color: #3e5668; font-size: .9rem; line-height: 1.3; }
.plan-featured ul { color: #c0d0da; border-color: rgba(255,255,255,.13); }
/* The tick hangs: a feature that wraps keeps its second line under its words rather than under
   the tick, so a wrapped item cannot be mistaken for two items at this line height. */
.plan li { display: flex; gap: .6rem; }
.plan li::before { content: "✓"; flex: none; color: #138758; font-weight: 800; }
.plan-featured li::before { color: var(--green); }
.plan > a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); text-decoration: none; font-weight: 750; }
.plan-featured > a { color: #72d2f6; border-color: rgba(255,255,255,.13); }
/* "Start free" and, on a paid card, that the upgrade is there whenever it is wanted. */
.plan > a small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.plan-featured > a small { color: #9db0bd; }
.pricing-fine { margin: 1.6rem 0 0; color: var(--muted); font-size: .78rem; }

.closing { position: relative; display: grid; grid-template-columns: 140px 1fr auto; gap: 2.5rem; align-items: center; margin-bottom: 100px; padding: 4rem; overflow: hidden; color: #fff; background: var(--ink); border-radius: 28px; box-shadow: 0 28px 80px rgba(7, 17, 28, .22); }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 120%, rgba(25, 171, 229, .2), transparent 42%); }
.closing > * { position: relative; }
/* `height: auto` is the whole point: the HTML height attribute is a presentational hint, so a rule
   that sets only the width leaves the height at 150px and squashes a square mark to 80x150 on a
   phone. The header and footer marks escaped it by setting both dimensions. */
.closing img { width: 135px; height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.34)); }
.closing .eyebrow { margin-bottom: 1rem; }
.closing h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.closing h2 em { color: var(--blue-bright); font-style: normal; }

footer { width: var(--page); margin: 0 auto; padding: 2.5rem 0 3rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid var(--line); }
footer .brand-copy b { color: var(--text); }
.footer-brand p { margin: .6rem 0 0; color: var(--muted); font-size: .83rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.5rem; }
.footer-links a { color: var(--soft); text-decoration: none; font-size: .82rem; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; margin: 1rem 0 0; color: #9aa7b0; font-size: .74rem; }

.doc { max-width: 760px; margin: 0 auto; padding: 145px 20px 90px; }
.doc h1 { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.doc h2 { margin-top: 2.8rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--soft); }
.doc code { padding: .12rem .35rem; background: #e3edf3; border-radius: 5px; }
.doc .draft { padding: 1rem 1.15rem; color: #7a520e; background: #fff2d9; border: 1px solid #f0d29b; border-radius: 12px; }
.doc + footer { display: flex; justify-content: center; }

.has-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .top nav { display: none; }
  .hero { padding: 150px 0 76px; }
  .offer { grid-template-columns: 1fr; gap: 2rem; }
  .manifesto-grid, .pricing-head { grid-template-columns: 1fr; gap: 2rem; }
  .ownership-grid { grid-template-columns: 1fr; }
  .ownership-grid article { min-height: auto; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .ownership-grid article + article { padding-left: 0; }
  .ownership-grid h3 { margin-top: 2rem; }
  .process-intro, .process-step { grid-template-columns: 90px 1fr; }
  .process-intro .section-kicker { grid-column: 1 / -1; }
  .process-intro > p { grid-column: 2; }
  .step-tag { grid-column: 2; justify-self: start; }
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 450px; }
  .plan-featured { transform: none; }
  .closing { grid-template-columns: 100px 1fr; padding: 3rem; }
  .closing img { width: 95px; }
  .closing .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  :root { --page: calc(100vw - 28px); }
  .top { height: 76px; }
  .brand img { width: 36px; height: 36px; }
  .brand-copy em { display: none; }
  .button-small { padding: .4rem .65rem; font-size: .75rem; }
  .hero { padding: 124px 0 64px; }
  h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .hero-lead { max-width: 94%; font-size: 1rem; }
  .composer { padding: 1rem 1rem .8rem; border-radius: 16px; }
  /* The example wraps to four lines at this width; a shorter box clipped it against the button. */
  .composer textarea { min-height: 108px; font-size: 1rem; }
  /* The hint under the box loses to the button on a phone; the fine print below says it anyway. */
  .composer-hint { display: none; }
  .composer-send { flex: 1; justify-content: center; }
  .composer-row { margin-top: .7rem; gap: .6rem; }
  .composer-attach { min-height: 46px; }
  .chips { flex-wrap: nowrap; gap: .45rem; margin-right: -14px; margin-left: -14px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .hero-proof { flex-wrap: wrap; gap: .55rem; max-width: 330px; margin-inline: auto; }
  .pricing-tabs { display: flex; width: 100%; }
  .pricing-tabs button { flex: 1; justify-content: center; padding: .6rem .5rem; font-size: .9rem; }
  .offer { padding: 1.75rem 1.5rem; border-radius: 20px; }
  .signal-strip { min-height: 0; margin-top: -35px; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .signal-strip > span { display: none; }
  .section-pad { padding: 90px 0; }
  h2 { font-size: 2.7rem; }
  .manifesto-grid { gap: 1.5rem; }
  .ownership-grid { margin-top: 55px; }
  .process { padding: 90px 20px; }
  .process-intro { display: block; margin-bottom: 50px; }
  .process-intro h2 { margin-bottom: 1.5rem; }
  .process-step { grid-template-columns: 42px 1fr; gap: 1rem; }
  .step-tag { grid-column: 2; }
  .use-case-head { display: block; margin-bottom: 2.5rem; }
  .use-case-head > p { margin-top: 1rem; }
  .pricing { padding-top: 40px; }
  .pricing-head { margin-bottom: 3rem; }
  .plan { padding: 1.5rem; }
  .closing { display: block; margin-bottom: 70px; padding: 2rem; }
  .closing img { width: 80px; margin-bottom: 1.25rem; }
  .closing h2 { font-size: 3rem; }
  .closing .button { margin-top: 2rem; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 1rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── the gallery: nine apps Portable built, all of them live ──────────────────────────────── */
.gallery { width: var(--page); margin: 72px auto 0; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.2rem; }
.gallery-head h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.04em; line-height: 1.02; }
.gallery-head > p { max-width: 34ch; margin: 0 0 .3rem; color: var(--soft); font-size: .95rem; }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sample { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(16, 58, 86, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sample:hover { transform: translateY(-3px); border-color: #9fcbe4; box-shadow: 0 20px 48px rgba(16, 58, 86, .13); }
.sample-shot { display: block; background: #0b1b29; }
/* The address bar is the point of the frame: it says this is a site, at an address, that answers. */
.sample-bar { display: flex; align-items: center; gap: .4rem; padding: .5rem .7rem; color: #8fa7b6; font: 600 .66rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.sample-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.14); }
.sample-bar em { margin-left: .3rem; overflow: hidden; color: #c9d8e1; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.sample-shot img { display: block; width: 100%; height: auto; }
.sample-copy { display: flex; flex-direction: column; gap: .25rem; padding: .85rem 1rem 1rem; }
.sample-copy b { font-size: .96rem; font-weight: 700; letter-spacing: -.01em; }
.sample-meta { color: var(--muted); font-size: .8rem; }
.gallery-fine { margin: 1.4rem 0 0; color: var(--soft); font-size: .92rem; }
.hero-fine { margin: 1.2rem 0 0; color: var(--muted); font-size: .86rem; }
/* The spreadsheet door (index.html #excel): one line under the example briefs, the words that matter in bold. */
.hero-excel { margin: 1.1rem 0 0; font-size: .95rem; }
.hero-excel a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.hero-excel a:hover { border-bottom-color: currentColor; }
.hero-excel b { color: #1b8ec4; }
/* ── Excel to App (index.html #excel) ─────────────────────────────────────────────────────── */
:root { --sheet: #1fb877; --sheet-deep: #0f7a4d; }
/* The badge above the headline: the newest thing, one click from the top of the page. */
.new-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0 auto 1.6rem; padding: .38rem .9rem .38rem .38rem; border: 1px solid rgba(31, 184, 119, .35); border-radius: 999px; background: #fff; color: var(--text); font-size: .86rem; font-weight: 650; text-decoration: none; box-shadow: 0 10px 30px rgba(15, 122, 77, .12); transition: transform .2s ease, box-shadow .2s ease; }
.new-badge:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(15, 122, 77, .2); }
.new-badge-tag { padding: .2rem .55rem; border-radius: 999px; background: var(--sheet); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.new-badge-sheet { width: 17px; height: 17px; fill: rgba(31, 184, 119, .14); stroke: var(--sheet-deep); stroke-width: 1.5; }

/* The band: dark, full width, the only green on the page. */
.excel-band { position: relative; overflow: hidden; color: #e8f1f6; background:
  radial-gradient(900px 480px at 88% 8%, rgba(31, 184, 119, .28), transparent 60%),
  radial-gradient(700px 420px at 6% 96%, rgba(31, 159, 224, .22), transparent 62%),
  linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 70%); }
.excel-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.excel-copy h2 { color: #fff; margin-bottom: 1.3rem; font-size: clamp(2.4rem, 4.2vw, 4.1rem); }
.excel-copy h2 em { font-style: normal; background: linear-gradient(90deg, #7df0bd, var(--blue-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.excel-badge { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; color: #9fe9c6; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.excel-badge span { padding: .22rem .6rem; border-radius: 999px; background: var(--sheet); color: #fff; letter-spacing: .1em; box-shadow: 0 0 0 6px rgba(31, 184, 119, .16); }
.excel-lead { max-width: 520px; color: #b9cad6; font-size: 1.08rem; line-height: 1.6; }
.excel-lead b { color: #fff; }
.excel-formats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.excel-formats li { padding: .32rem .75rem; border: 1px solid rgba(159, 233, 198, .28); border-radius: 999px; color: #cfeee0; font: 650 .78rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; background: rgba(31, 184, 119, .08); }
.excel-button { box-shadow: 0 16px 40px rgba(31, 184, 119, .28); background: linear-gradient(135deg, #7df0bd 0%, var(--sheet) 80%); }

/* The picture: a sheet, an arrow, the app. Built of HTML so it stays sharp and light. */
.excel-visual { position: relative; margin: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .9rem; }
.sheet-card, .app-card { border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 30px 70px rgba(0, 0, 0, .38); overflow: hidden; font-size: .66rem; }
.sheet-card { transform: rotate(-2.5deg); }
.app-card { transform: rotate(1.5deg) translateY(12px); }
.sheet-title { display: flex; align-items: center; gap: .4rem; padding: .55rem .7rem; background: var(--sheet-deep); color: #fff; font-weight: 700; font-size: .72rem; }
.sheet-title svg { width: 14px; height: 14px; fill: rgba(255, 255, 255, .18); stroke: #fff; stroke-width: 1.5; }
.sheet-formula { padding: .35rem .7rem; border-bottom: 1px solid #e2e8ee; color: var(--soft); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.sheet-formula i { margin-right: .5rem; color: var(--sheet-deep); font-style: italic; font-weight: 700; }
.sheet-grid { display: grid; grid-template-columns: .9fr 1.2fr .8fr 1fr; }
.sheet-grid span { padding: .32rem .45rem; border-right: 1px solid #edf1f4; border-bottom: 1px solid #edf1f4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-grid span:nth-child(4n) { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-grid .h { background: #f1f7f4; color: var(--sheet-deep); font-weight: 750; }
.sheet-tabs { display: flex; gap: .2rem; padding: .35rem .4rem; background: #f4f7f9; }
.sheet-tabs span { padding: .18rem .5rem; border-radius: 5px; color: var(--muted); }
.sheet-tabs .on { background: #fff; color: var(--sheet-deep); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.excel-arrow { display: grid; justify-items: center; gap: .35rem; color: #9fe9c6; font: 650 .6rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; text-align: center; max-width: 76px; }
.excel-arrow svg { width: 64px; height: 24px; fill: none; stroke: #7df0bd; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-bar { display: flex; align-items: center; gap: .3rem; padding: .5rem .65rem; background: #f4f7f9; border-bottom: 1px solid #e2e8ee; }
.app-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d6dde3; }
.app-bar span { margin-left: .4rem; color: var(--muted); font-size: .6rem; }
.app-body { display: grid; grid-template-columns: 72px 1fr; min-height: 168px; }
.app-side { display: grid; align-content: start; gap: .25rem; padding: .6rem .5rem; background: var(--ink-2); }
.app-side b { width: 22px; height: 22px; margin-bottom: .35rem; border-radius: 6px; background: linear-gradient(135deg, #7df0bd, var(--blue)); }
.app-side span { padding: .25rem .4rem; border-radius: 5px; color: #9fb3c1; }
.app-side .on { background: rgba(125, 240, 189, .16); color: #fff; font-weight: 700; }
.app-main { display: grid; gap: .5rem; padding: .6rem; }
.app-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.app-kpis div { padding: .4rem .5rem; border: 1px solid #e6ecf0; border-radius: 8px; }
.app-kpis small { display: block; color: var(--muted); }
.app-kpis strong { font-size: .9rem; color: var(--text); font-variant-numeric: tabular-nums; }
.app-chart { display: flex; align-items: flex-end; gap: .35rem; height: 44px; padding: 0 .2rem; border-bottom: 1px solid #e6ecf0; }
.app-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-bright), var(--blue)); }
.app-chart i:last-child { background: linear-gradient(180deg, #7df0bd, var(--sheet)); }
.app-rows { display: grid; gap: .25rem; }
.app-rows span { display: flex; gap: .45rem; padding: .28rem .4rem; border-radius: 6px; background: #f7f9fb; }
.app-rows b { color: var(--navy); }
.app-rows em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; }

/* Four facts under the picture. */
.excel-features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.excel-features article { padding: 1.3rem 1.2rem; border: 1px solid rgba(159, 233, 198, .16); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.excel-features svg { width: 26px; height: 26px; margin-bottom: .8rem; fill: none; stroke: #7df0bd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.excel-features h3 { margin-bottom: .45rem; color: #fff; font-size: 1.02rem; letter-spacing: -.01em; }
.excel-features p { margin: 0; color: #9fb3c1; font-size: .88rem; line-height: 1.5; }

/* The rows arrive, once, when the band comes into view. */
.has-motion .excel-inner.reveal .app-rows span { opacity: 0; transform: translateX(8px); transition: opacity .5s ease, transform .5s ease; }
.has-motion .excel-inner.reveal.is-visible .app-rows span { opacity: 1; transform: none; }
.has-motion .excel-inner.reveal.is-visible .app-rows span:nth-child(2) { transition-delay: .15s; }
.has-motion .excel-inner.reveal.is-visible .app-rows span:nth-child(3) { transition-delay: .3s; }
.has-motion .excel-inner.reveal .app-chart i { transform: scaleY(.2); transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.has-motion .excel-inner.reveal.is-visible .app-chart i { transform: none; }

@media (max-width: 980px) {
  .excel-inner { grid-template-columns: 1fr; }
  .excel-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .excel-visual { grid-template-columns: 1fr; }
  .excel-arrow { transform: rotate(90deg); margin: .2rem auto; }
  .excel-arrow span { display: none; }
  .sheet-card, .app-card { transform: none; }
  .excel-features { grid-template-columns: 1fr; }
  .new-badge { font-size: .78rem; }
}
.case-more { margin: 1rem 0 0; color: var(--soft); font-size: .95rem; }
@media (max-width: 980px) { .sample-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .gallery { margin-top: 40px; }
  .gallery-head { display: block; }
  .gallery-head > p { max-width: none; margin-top: 1rem; }
  .sample-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────────────────────── */
.faq h2 { max-width: 30rem; margin-bottom: 2rem; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem 3rem; margin: 0; }
.faq-list div { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.faq-list dt { margin: 0 0 .45rem; font-weight: 750; font-size: 1.02rem; letter-spacing: -.01em; }
.faq-list dd { margin: 0; color: var(--soft); font-size: .96rem; line-height: 1.6; }

/* ── phone ───────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* The tagline wrapped under the flow strip, which sits 48px up into the hero on purpose; on a
     phone the strip takes the room instead and the tagline goes. */
  .hero-proof { display: none; }
  .hero { padding-bottom: 96px; }
  .signal-strip { flex-wrap: wrap; justify-content: flex-start; row-gap: .6rem; }
  .signal-strip > span { display: none; }
  .signal-strip p { flex: 1 1 45%; }
  .faq-list { grid-template-columns: 1fr; }
}

/* The guide's public pages (builder/lib/guide-site.mjs). */
.doc .guide-crumb { margin-bottom: .75rem; font-size: .9rem; }
.doc .guide-where { padding: .6rem .85rem; font-size: .92rem; background: #e3edf3; border-radius: 10px; }
.doc h3 { margin-top: 2rem; font-size: 1.15rem; line-height: 1.3; }
