/* The public site archimede.build (docs/05-architecture/16-cloud-instance.mdx), from the validated multi-page mockup
   marketing/site/landing.html: a bright page; on every page a header with the menu (a Menu button and its drawer on
   narrow screens) and a three-column footer. The home page: an aurora hero with an example of a need turning into a
   delivered feature, live counters, a Stomachion that assembles on scroll, then audiences, promises and a Klein closing
   band. The other pages (Product, How it works, Why, Compare, FAQ): a page hero, then bands of tiles, a timeline that
   lights up on scroll, two turning polygons, a comparison table that scrolls in its own region and a FAQ.
   Deliberately single light look. Self-hosted fonts (deploy/instance/README.md, "Public site fonts"). */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/schibsted-grotesk/SchibstedGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/schibsted-grotesk/SchibstedGrotesk-Medium.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/schibsted-grotesk/SchibstedGrotesk-Bold.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/schibsted-grotesk/SchibstedGrotesk-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono/JetBrainsMono-Medium.woff2") format("woff2"); }

:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --soft: #eaeff9;
  --line: #dbe3f2;
  --line-strong: #b9c7e3;
  --text: #10172a;
  --muted: #4b5673;
  --klein: #0137ee;
  --klein-deep: #002ed5;
  --ion: #3fd8ff;
  --grad-a: #2e5cff;
  --ok: #217a45;
  --ok-bg: #e5f5ec;
  --on-klein: #ffffff;
  --font-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1160px;
  /* The height of the header row: the hero runs under it, up to the top edge of the page. */
  --header-h: 76px;
  color-scheme: light;
}
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--klein); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--klein); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--klein); }
h2 { text-wrap: balance; }

/* Header */
header { position: relative; z-index: 3; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); padding-block: 0; }
.lockup { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.lockup:hover { text-decoration: none; }
.lockup svg { width: 30px; height: 30px; }
/* The symbol at 30 px, the minimum of the standard symbol, and at 38 px in the header, where its thin rings stay sharp
   on standard screens (docs/03-product/20-brand.mdx). */
header .lockup svg { width: 38px; height: 38px; }
.draw { fill: transparent; stroke: var(--klein); stroke-width: .6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s ease-out .2s forwards, fillin .6s ease-out 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: var(--klein); stroke-width: 0; } }
.nav { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted); padding: 7px 10px; border-radius: 999px; }
.lang a:hover { text-decoration: none; color: var(--text); }
.lang a[aria-current="page"] { background: var(--klein); color: var(--on-klein); }
.signin { font-size: 14px; font-weight: 500; color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.aurora { position: absolute; inset: -20% -10% 0; pointer-events: none; filter: blur(60px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: 38%; top: -8%; background: radial-gradient(circle, var(--ion), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; left: 58%; top: 18%; background: radial-gradient(circle, var(--grad-a), transparent 65%); opacity: .7; animation: drift2 19s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: 2%; top: 40%; background: radial-gradient(circle, #9fe9ff, transparent 65%); animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8%, 10%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(10%, -8%) scale(.92); } }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 56px 96px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; margin: 16px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--klein), var(--grad-a) 40%, #18b4e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18.5px; color: var(--muted); max-width: 33em; margin: 0; }
/* The status and the waitlist button side by side, the button wrapping under the status on a narrow screen. */
.waitlist { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.status { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 14px; font-size: 14.5px; font-weight: 500; box-shadow: 0 6px 24px -12px rgba(1, 55, 238, .35); }
.status .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--klein); }
.status .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--klein); opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Demo */
.demo { position: relative; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(1, 40, 160, .35), 0 2px 6px rgba(16, 23, 42, .05); overflow: hidden; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-bar .who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.demo-bar .who svg { width: 20px; height: 20px; }
.demo-bar .live-chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--klein); background: var(--soft); border-radius: 999px; padding: 4px 9px; }
.log { height: 490px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: pop .35s ease-out both; }
.msg.me { align-self: flex-end; background: var(--klein); color: var(--on-klein); border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; background: var(--soft); color: var(--text); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bob 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.spec { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); animation: pop .4s ease-out both; }
.spec-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.spec-kind { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec h4 { margin: 2px 0 0; font-size: 15.5px; }
.badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 9px; background: var(--soft); color: var(--klein); white-space: nowrap; transition: background .3s, color .3s; }
.badge.done { background: var(--ok-bg); color: var(--ok); }
.reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reqs li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; font-size: 13.5px; color: var(--muted); }
.reqs li.ok { color: var(--text); }
.tick { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; transition: background .3s, border-color .3s; }
.tick svg { width: 10px; height: 10px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.reqs li.run .tick { border-color: var(--klein); border-top-color: transparent; animation: turn .8s linear infinite; }
.reqs li.ok .tick { background: var(--ok); border-color: var(--ok); }
.reqs li.ok .tick svg { opacity: 1; transform: none; }
.bar { height: 4px; border-radius: 4px; background: var(--soft); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--klein), var(--ion)); transition: width .6s ease; }
.spec.delivered .bar i { width: 100%; }
@keyframes turn { to { transform: rotate(360deg); } }
.spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; opacity: 1; transform: translate(0, 0) scale(1); transition: transform .9s ease-out, opacity .9s ease-out; }

/* Menu: the Menu button and its drawer, hidden in the HTML, only show once the script reveals them on narrow screens. */
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 10px; border-radius: 10px; }
.menu a:hover { color: var(--text); background: rgba(255, 255, 255, .6); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--klein); background: var(--surface); }
.menu-btn { display: none; font: 500 13px/1 var(--font-ui); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.menu-btn[hidden] { display: none; }
.drawer { display: grid; gap: 2px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); }
.drawer[hidden] { display: none; }
.drawer a { color: var(--text); font-size: 16px; font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"] { color: var(--klein); }
/* Sub pages */
.page-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.page-hero .aurora { opacity: .35; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: 48px 72px; max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 18px; text-wrap: balance; }
.page-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--klein), #18b4e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { font-size: 18.5px; color: var(--muted); margin: 0; max-width: 40em; }
.band-sec { padding-block: 72px; }
.band-sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -30px rgba(1, 40, 160, .4); }
.band-sec.alt .tile { background: var(--bg); }
.tile h3 { margin: 0; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--klein); }
.isnt { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.isnt .x { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.isnt h3 { margin: 2px 0 4px; font-size: 17px; }
.isnt p { margin: 0; color: var(--muted); font-size: 15px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 12px 20px; background: var(--klein); color: var(--on-klein); }
.btn:hover { background: var(--klein-deep); text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.next { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.next h3 { margin: 0 0 4px; font-size: 20px; }
.next p { margin: 0; color: var(--muted); }
/* Timeline: fully lit without the script; once it tracks the scroll (.tracking) the line empties and fills as the page
   scrolls, the first tick without the dot transition (.settling). */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-fill { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--klein), var(--ion)); }
.tl-box.tracking .tl-fill { bottom: auto; height: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.timeline .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--muted); position: relative; z-index: 1; transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.timeline li.lit .dot { background: var(--klein); border-color: var(--klein); color: var(--on-klein); box-shadow: 0 0 0 6px var(--soft); }
.tl-box.settling .timeline .dot { transition: none; }
.timeline h3 { margin: 8px 0 6px; font-size: 19px; }
.timeline p { margin: 0; color: var(--muted); }
.who-tag { display: inline-block; margin-left: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--klein); background: var(--soft); border-radius: 999px; padding: 3px 8px; vertical-align: middle; }
.tl-box { position: relative; }
.quote { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 22em; margin: 0; text-wrap: balance; }
.quote em { font-style: normal; color: var(--klein); }
/* Manifesto */
.manifesto { max-width: 760px; display: grid; gap: 18px; font-size: 18px; }
.manifesto p { margin: 0; }
.manifesto strong { color: var(--klein); }
.pi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pi svg { width: min(300px, 100%); justify-self: center; overflow: visible; }
.pi .poly-out { fill: none; stroke: var(--klein); stroke-width: 1.4; transform-origin: 32px 32px; animation: turn 60s linear infinite; }
.pi .poly-in { fill: none; stroke: #18b4e6; stroke-width: 1.4; transform-origin: 32px 32px; animation: turn 40s linear infinite reverse; }
.pi .circ { fill: none; stroke: var(--text); stroke-width: .7; stroke-dasharray: 1.5 1.5; }
/* Compare: the table scrolls inside its own focusable region, never the page. */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.cmp-wrap:focus-visible { outline: 2px solid var(--klein); outline-offset: 3px; border-radius: 18px; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg); }
.cmp thead th.us { color: var(--on-klein); background: var(--klein); }
.cmp td.us { background: rgba(1, 55, 238, .05); font-weight: 600; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp tbody th { font-weight: 600; width: 26%; }
.cmp .y, .cmp .n, .cmp .p { display: inline-flex; align-items: center; gap: 6px; }
.cmp .y::before, .cmp .n::before, .cmp .p::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.cmp .y::before { background: var(--ok); } .cmp .n::before { background: #c7cfdf; } .cmp .p::before { background: #e9a23b; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
/* FAQ: details and summary, usable without the script. */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq details[open] { box-shadow: 0 16px 40px -30px rgba(1, 40, 160, .45); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--klein); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq details p a { text-decoration: underline; }
footer .cols { flex: 1; display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 32px 8px; border-top: 1px solid var(--line); }
footer .cols h4 { margin: 0 0 10px; font-size: 13px; color: var(--text); }
footer .cols nav { display: grid; gap: 8px; }
footer .cols p { margin: 8px 0 0; max-width: 28em; }

/* Counters */
.live { position: relative; z-index: 2; margin-top: -40px; }
.live[hidden] { display: none; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -30px rgba(1, 40, 160, .3); }
.counter { padding: 24px; display: grid; gap: 4px; align-content: start; }
.counter + .counter { border-left: 1px solid var(--line); }
.num { display: flex; font-weight: 800; font-size: clamp(36px, 4.4vw, 52px); line-height: 1; height: 1em; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); overflow: hidden; }
.num .d { display: inline-block; height: 1em; overflow: hidden; }
.num .col { display: flex; flex-direction: column; transition: transform 1.1s cubic-bezier(.2, .9, .2, 1); }
.num .col span { height: 1em; line-height: 1; }
.num .s { display: inline-block; width: .28em; }
.counter.bump .num { color: var(--klein); }
.counter .name { font-weight: 700; font-size: 15px; margin-top: 6px; }
.counter .def { font-size: 13.5px; color: var(--muted); }
.live-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.pulse { display: inline-flex; align-items: center; gap: 8px; }
.pulse i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Capabilities */
.caps { padding-block: 112px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.cap { grid-column: span 2; }
.cap.big { grid-column: span 3; background: linear-gradient(140deg, var(--surface) 55%, var(--soft)); }
.cap.big .cap-v { font-size: 34px; }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.cap-v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, var(--klein), #18b4e6); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }

/* Build (Stomachion) */
/* The burst of the Stomachion pieces never widens the page (no horizontal scroll on phones). */
.build { padding-block: 96px; overflow-x: clip; }
.build .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.12; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); margin: 0; max-width: 34em; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 500; background: var(--soft); color: var(--klein); }
.steps li { transition: opacity .4s; }
.steps .n, .steps h3 { transition: background .4s, color .4s, box-shadow .4s; }
.steps.playing li { opacity: .5; }
.steps.playing li.on { opacity: 1; }
.steps li.on .n { background: var(--klein); color: var(--on-klein); box-shadow: 0 0 0 6px var(--soft); }
.steps li.on h3 { color: var(--klein); }
.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }
.stomach { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.stomach svg { width: 100%; height: 100%; overflow: visible; }
.stomach .piece { stroke: var(--surface); stroke-width: .5; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.stomach .cut { fill: none; stroke: var(--surface); stroke-width: .9; stroke-linejoin: round; stroke-linecap: round; }
.stomach .ripple { position: absolute; inset: 16%; border: 2px solid var(--ion); border-radius: 12px; opacity: 0; pointer-events: none; }
.stomach.done .ripple { animation: ripple 1.6s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.stomach .glow { position: absolute; inset: 14%; border-radius: 24px; background: radial-gradient(circle, rgba(63, 216, 255, .55), transparent 70%); filter: blur(30px); opacity: 0; transition: opacity .8s; }
.stomach.done .glow { opacity: 1; }
.stomach-cap { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; transition: color .4s, background .4s; }
.stomach.done .stomach-cap { color: var(--ok); background: var(--ok-bg); border-color: transparent; }

/* Audiences */
.who-sec { padding-block: 24px 96px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(1, 40, 160, .4); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--klein), var(--grad-a) 55%, var(--ion)); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 6px 0 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Promises */
.why { padding-block: 96px; background: var(--surface); border-block: 1px solid var(--line); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 40px; }
.rule { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.rule .ri { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; }
.rule .ri svg { width: 20px; height: 20px; }
.rule h3 { margin: 4px 0 6px; font-size: 17px; }
.rule p { margin: 0; font-size: 15px; color: var(--muted); }

/* Closing */
.close { padding-block: 96px; }
.band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--klein-deep), var(--klein) 45%, var(--grad-a)); color: var(--on-klein); padding: 64px max(24px, 6%); }
.band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 216, 255, .75), transparent 65%); filter: blur(30px); animation: drift2 14s ease-in-out infinite alternate; }
.band > * { position: relative; z-index: 1; }
.band h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; max-width: 16em; }
.band p { margin: 0; max-width: 36em; font-size: 17px; opacity: .92; }
.band .waitlist { margin-top: 28px; }
.band .status { color: var(--text); }
.band .btn { background: var(--surface); color: var(--klein); }
.band .btn:hover { background: var(--soft); }
.band :focus-visible { outline-color: var(--on-klein); }

footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 8px 32px; font-size: 13.5px; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 1080px) {
  .menu { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 1081px) {
  .drawer { display: none; }
}
@media (max-width: 960px) {
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .pi { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 32px 88px; }
  .build .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stomach { width: min(320px, 100%); }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter:nth-child(3) { border-left: 0; }
  .counter:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .cap, .cap.big { grid-column: auto; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .signin { display: none; }
  .lede { font-size: 16.5px; }
  .log { height: 560px; }
  .counters { grid-template-columns: minmax(0, 1fr); }
  .counter + .counter { border-left: 0; border-top: 1px solid var(--line); }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  footer .cols { grid-template-columns: minmax(0, 1fr); }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 44px 24px; }
}
/* The smallest phones (320 px wide): the logo, the Menu button and the language selector fit on one line. */
@media (max-width: 380px) {
  header .wrap { gap: 10px; }
  .lockup { gap: 8px; }
  .nav { gap: 8px; }
  .menu-btn { padding: 8px 10px; }
  .lang a { padding: 7px 7px; }
}
/* Reduced motion: every animation and transition stops on its resting image, the symbol drawn and filled. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .draw { fill: var(--klein); stroke-width: 0; stroke-dashoffset: 0; }
}
