/* SHIP. Klein blue ground, white type, a citrine signal for the one thing to press, and ink panels where code lives.
   Display in Instrument Serif, everything else in Geist; Geist Mono only where there is code. */
:root {
  --klein: #1a33ff;
  --klein-2: #1029e0;
  --klein-3: #0b1fb8;
  --ink: #060822;
  --ink-2: #0c1036;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, .72);
  --faint: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .18);
  --signal: #ffe33b;
  --up: #7dffb2;
  --down: #ff9aa8;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1280px;
  --gut: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--klein); color: var(--white); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; visibility: visible; background: var(--klein); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; isolation: isolate; }
/* the backdrop: pools of light over the blue that drift very slowly (a transform only, so it costs nothing to animate),
   darker edges, and a fine grain so the colour reads like print rather than a flat fill */
body::before { content: ''; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 36% at 74% 32%, rgba(130, 160, 255, .72), transparent 70%),
    radial-gradient(36% 32% at 14% 84%, rgba(124, 58, 255, .56), transparent 70%),
    radial-gradient(26% 24% at 92% 94%, rgba(0, 196, 255, .22), transparent 70%),
    radial-gradient(30% 26% at 30% 12%, rgba(60, 90, 255, .5), transparent 70%),
    linear-gradient(180deg, #1b35ff 0%, #1529f0 55%, #1020cc 100%);
  animation: drift 48s ease-in-out infinite alternate; will-change: transform; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 40%, transparent 55%, rgba(4, 10, 90, .45) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .9; mix-blend-mode: soft-light; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.06); } 100% { transform: translate3d(3%, -2%, 0) scale(1.03); } }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* ---- top bar --------------------------------------------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s; }
.nav.solid { background: rgba(24, 46, 250, .32); backdrop-filter: saturate(1.5) blur(22px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 76px; max-width: none; }
.mark { font: italic 400 34px/1 var(--serif); letter-spacing: -.02em; text-decoration: none; }
.links { display: flex; gap: 28px; }
.links a { position: relative; font-size: 15px; font-weight: 500; color: var(--soft); text-decoration: none; transition: color .2s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.links a:hover, .links a[aria-current] { color: var(--white); }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.nav .end { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ---- buttons --------------------------------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; overflow: hidden;
       font-size: 15px; font-weight: 600; line-height: 1.1; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn span { position: relative; z-index: 1; }
.btn-signal { color: var(--ink); background: var(--signal); transition: transform .25s var(--ease), box-shadow .3s; }
.btn-signal:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255, 227, 59, .7); }
.btn-signal[disabled] { color: var(--soft); background: rgba(255, 255, 255, .1); transform: none; box-shadow: none; cursor: default; }
.btn-line { color: var(--white); background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); transition: color .3s; }
.btn-line::before { content: ''; position: absolute; inset: 0; background: var(--white); border-radius: 999px; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.btn-line:hover { color: var(--klein); }
.btn-line:hover::before { transform: scaleX(1); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.copy { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--white); background: rgba(255, 255, 255, .1);
        border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .2s; }
.copy:hover { background: rgba(255, 255, 255, .18); }
.copy code { font: 500 12px var(--mono); color: var(--soft); }

/* ---- the hero: copy on the left, a deck of three real phones on the right ---------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 40px; min-height: 100vh; min-height: 100svh; padding-top: 96px; padding-bottom: 48px; }
.hero-copy h1 { margin: 0; font: 400 clamp(68px, 8.4vw, 140px)/.86 var(--serif); letter-spacing: -.035em; }
.hero-copy h1 em { font-style: italic; }
.hero-copy p { margin: 28px 0 0; max-width: 44ch; font-size: 19px; line-height: 1.55; color: var(--soft); }
.acts { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.link { position: relative; padding: 6px 0; font-size: 16px; font-weight: 600; text-decoration: none; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(.35); }

/* phones size from the window height, so the whole phone always fits between the nav and the bottom edge */
.deck { position: relative; height: min(760px, calc(100svh - 120px)); min-height: 440px; }
.deck::before { content: ''; position: absolute; left: 8%; right: 8%; top: 74%; height: 80px; z-index: 0; border-radius: 50%;
                background: radial-gradient(closest-side, rgba(3, 8, 70, .55), transparent); }
.handset { position: absolute; left: 50%; top: 42%; width: min(300px, calc((100svh - 240px) * .4875)); min-width: 180px; padding: 11px; border-radius: 54px;
           background: linear-gradient(150deg, #343a86 0%, #10133d 34%, #070921 100%);
           box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), 0 60px 110px -36px rgba(2, 6, 60, .8), 0 24px 40px -24px rgba(0, 0, 0, .45);
           transform: translate(-50%, -50%) translateX(var(--x, 0)) rotate(var(--r, 0deg)) scale(var(--sc, 1));
           transition: transform 1.1s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.handset[data-slot='center'] { z-index: 3; }
.handset[data-slot='left'] { --x: -62%; --r: -8deg; --sc: .8; z-index: 2; opacity: .62; filter: saturate(.75); }
.handset[data-slot='right'] { --x: 62%; --r: 8deg; --sc: .8; z-index: 2; opacity: .62; filter: saturate(.75); }
.handset[data-slot='away'] { --sc: .6; opacity: 0; z-index: 1; }
.handset .screen { position: relative; width: 100%; aspect-ratio: 390 / 780; border-radius: 44px; overflow: hidden; background: #03040e; box-shadow: 0 0 0 7px #04051a; }
.handset .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s; }
.handset .screen > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; transition: opacity .6s; }
.handset .screen > iframe { opacity: 0; }
.handset .screen.live > iframe { opacity: 1; }
.cap { position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 14px; align-items: baseline;
       width: min(440px, 100%); min-height: 76px; padding: 16px 20px; font: 500 14px/1.5 var(--mono); color: var(--white);
       background: rgba(6, 8, 34, .55); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(10px); }
.cap-tag { color: var(--signal); }
.cur { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--signal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cap.done .cur { display: none; }
.cap .built { display: block; margin-top: 6px; font: 500 13px var(--sans); color: var(--up); }

/* ---- the scroll story: blocks fly in and assemble the app in a phone as you scroll ---------------------------------- */
.story { position: relative; height: 380vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.handset.solo { left: 70%; top: calc(50% + 8px); width: min(300px, calc((100svh - 200px) * .4875)); z-index: 2; }
.splash { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center;
          background: radial-gradient(120% 80% at 50% 0%, #1b2370, #060822 70%); transition: opacity .4s; }
.splash img { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; margin-bottom: 8px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.splash b { font: 400 44px/1 var(--serif); letter-spacing: -.02em; }
.splash span { color: var(--soft); font-size: 15px; }
.splash i { margin-top: 18px; font: 500 12.5px/1.4 var(--mono); font-style: normal; color: var(--signal); }
#s-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; }
.check { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translate(-50%, 12px); width: max-content; max-width: 88%; padding: 9px 14px; border-radius: 999px;
         font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--up); opacity: 0; transition: opacity .5s, transform .6s var(--ease); }
.check.on { opacity: 1; transform: translate(-50%, 0); }
.beats { position: absolute; z-index: 4; left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); top: 50%; margin: 0; padding: 0; list-style: none; width: min(560px, 46vw); }
.beats li { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); font: 400 clamp(48px, 5.6vw, 92px)/.95 var(--serif); letter-spacing: -.03em;
            opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .8s var(--ease); pointer-events: none; }
.beats li.on { opacity: 1; translate: 0 0; }
.beats li small { display: block; margin-top: 20px; font: 400 18px/1.55 var(--sans); letter-spacing: 0; color: var(--soft); max-width: 42ch; min-height: 3.1em; }
.prompt { display: flex; gap: 14px; align-items: baseline; margin-top: 28px; padding: 18px 22px; min-height: 100px; max-width: 480px;
          font: 500 16px/1.5 var(--mono); letter-spacing: 0; color: var(--white); background: rgba(6, 8, 34, .5); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(8px); }
.prompt .tag { color: var(--signal); }
.chip { position: absolute; z-index: 4; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; font-size: 14px; text-decoration: none;
        background: rgba(6, 8, 34, .55); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s; }
.chip img { width: 28px; height: 28px; border-radius: 9px; object-fit: cover; }
.chip span { color: var(--soft); }

/* ---- sections ---------------------------------------------------------------------------------------------------- */
.sec { position: relative; padding-block: 140px; }
.sec-title { margin: 0 0 56px; font: 400 clamp(52px, 7vw, 112px)/.9 var(--serif); letter-spacing: -.035em; max-width: 14ch; }
.sec-lead { margin: -28px 0 56px; max-width: 54ch; font-size: 19px; color: var(--soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-head .sec-title { margin-bottom: 0; }

/* the console: the live build window */
.console { border-radius: 30px; background: var(--ink); color: #d9ddff; overflow: hidden; text-align: left;
           box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 80px 160px -60px rgba(2, 5, 50, .9); }
.console-bar { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 22px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 14px; }
.console-bar img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; background: var(--ink-2); }
.console-bar b { font-weight: 600; color: var(--white); }
.console-bar .name { color: #8b91c9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-bar .state { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #8b91c9; white-space: nowrap; }
.console-bar .state.building { color: var(--signal); }
.console-bar .state.building::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.console-bar a { color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.console-bar a:hover { text-decoration: underline; text-underline-offset: 4px; }

.lv-body { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); grid-template-rows: minmax(0, 1fr); height: clamp(420px, 64vh, 660px); }
.lv-code { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid rgba(255, 255, 255, .07); }
.lv-files { display: flex; gap: 2px; padding: 10px 14px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lv-file { padding: 8px 12px 10px; font: 500 12.5px var(--mono); color: #6f76b3; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.lv-file.on { color: var(--white); border-bottom-color: var(--signal); }
.lv-pre { flex: 1; margin: 0; padding: 18px 22px 48px; overflow: auto; font: 400 12.5px/1.7 var(--mono); tab-size: 2; white-space: pre-wrap; word-break: break-word; scrollbar-color: #24295c transparent; }
.lv-src i { font-style: normal; }
.lv-src .k { color: #ff8fc8; } .lv-src .s { color: #9fe7ff; } .lv-src .c { color: #5f679f; } .lv-src .n { color: var(--signal); }
.lv-src .t { color: #8fffbf; } .lv-src .a { color: #c6b6ff; } .lv-src .p { color: #9fe7ff; }
.lv-caret { display: inline-block; width: 2px; height: 1.25em; margin: 0 -1px; vertical-align: text-bottom; background: var(--signal); }
.lv-app { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #02030c; }
.lv-frames { position: absolute; inset: 0; }
.lv-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.lv-frame.next { visibility: hidden; }
.lv-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; text-align: center; font-size: 15px; color: #6f76b3; }
.lv-log { height: 176px; margin: 0; padding: 14px 22px 18px; list-style: none; overflow-y: auto; border-top: 1px solid rgba(255, 255, 255, .07);
          background: var(--ink-2); font: 400 13px/1.6 var(--mono); scrollbar-color: #24295c transparent; }
.lv-l { padding: 3px 0; }
.lv-l.say { color: #eef0ff; }
.lv-l.cmd .lv-cmd { color: #6f76b3; }
.lv-l.cmd .lv-cmd::before { content: '$ '; }
.lv-out { margin: 2px 0 0 16px; color: #4f5690; font: inherit; white-space: pre-wrap; }
.lv-l.commit { color: #8fffbf; }
.lv-l.shot { color: #6f76b3; }
.lv-l.ship { color: var(--signal); font-weight: 600; }
.lv-l.stop { color: #ffb38a; }
.replay { display: flex; align-items: center; gap: 16px; padding: 12px 22px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: #8b91c9; }
.replay button { min-width: 78px; padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--signal); border: 0; border-radius: 999px; cursor: pointer; }
.replay input { flex: 1; accent-color: var(--signal); }

/* gallery of apps, as phones */
.rail { display: flex; gap: 28px; overflow-x: auto; padding: 8px var(--gut) 36px; margin-inline: calc(-1 * var(--gut)); scroll-snap-type: x mandatory; scrollbar-width: none; }
.app { flex: none; width: 270px; scroll-snap-align: start; text-decoration: none; }
.app .device { position: relative; aspect-ratio: 390 / 800; padding: 9px; border-radius: 44px;
               background: linear-gradient(150deg, #343a86 0%, #10133d 34%, #070921 100%);
               box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), 0 40px 80px -34px rgba(2, 6, 60, .8);
               transition: transform .5s var(--ease); }
.app:hover .device { transform: translateY(-8px) rotate(-1deg); }
.app .device img, .app .device .blank { width: 100%; height: 100%; border-radius: 35px; object-fit: cover; object-position: top; background: var(--ink); box-shadow: 0 0 0 6px #04051a; }
.app .device .blank { display: grid; place-items: center; padding: 24px; text-align: center; font: 500 13px/1.5 var(--mono); color: #6f76b3; }
.app h3 { margin: 18px 0 0; font: 400 34px/1 var(--serif); letter-spacing: -.02em; }
.app p { margin: 6px 0 0; font-size: 14px; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app .meta { display: flex; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--faint); }
.app .meta .live { color: var(--up); }
.app .meta .build { color: var(--signal); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 56px 32px; padding-bottom: 120px; }
.grid .app { width: auto; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 26px; }
.steps li::before { content: counter(s); display: block; margin-bottom: 26px; font: italic 400 120px/.8 var(--serif); color: var(--signal); }
.steps b { display: block; font: 400 34px/1.05 var(--serif); letter-spacing: -.02em; }
.steps span { display: block; margin-top: 12px; color: var(--soft); }

/* closing call */
.cta { padding-block: 180px 160px; text-align: center; }
.cta h2 { margin: 0 auto; max-width: 12ch; font: 400 clamp(64px, 9vw, 150px)/.88 var(--serif); letter-spacing: -.04em; }
.cta p { margin: 28px auto 40px; max-width: 46ch; color: var(--soft); font-size: 19px; }

/* rows (apps page list) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 2fr) 130px 110px 80px; align-items: center; gap: 20px; padding: 16px 6px;
       border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.row:hover { background: rgba(255, 255, 255, .06); }
.row img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--ink-2); }
.row .who b { display: block; font: 400 26px/1 var(--serif); }
.row .who span { font-size: 14px; color: var(--faint); }
.row .idea { font-size: 15px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .num { font-size: 16px; font-weight: 600; text-align: right; }
.row .ch { font-size: 14px; text-align: right; }
.empty-rows { padding: 40px 6px; color: var(--soft); border-bottom: 1px solid var(--line); }
.skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .08) 25%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .08) 75%); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.badge { display: inline-flex; align-items: center; gap: 7px; justify-self: start; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.badge-build { background: var(--signal); color: var(--ink); }
.badge-ok { background: rgba(125, 255, 178, .14); color: var(--up); }
.badge-sleep { box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); }
.badge-warn { background: rgba(255, 179, 138, .16); color: #ffb38a; }
.up { color: var(--up); }
.down { color: var(--down); }

/* filters */
.seg { display: inline-flex; padding: 5px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 999px; }
.seg button { padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--soft); background: none; border: 0; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.seg button[aria-pressed='true'] { color: var(--klein); background: var(--white); }
.search { width: 100%; margin: 24px 0 28px; padding: 16px 20px; font-size: 16px; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 16px; }
.search::placeholder { color: var(--faint); }
.search:focus { outline: 0; border-color: var(--white); }

/* page heads */
.page { padding-top: 150px; }
.page-title { margin: 0; font: 400 clamp(64px, 9vw, 140px)/.88 var(--serif); letter-spacing: -.04em; }

/* coin page */
.coin-head { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 30px; align-items: end; padding-bottom: 40px; }
.coin-head img { width: 112px; height: 112px; border-radius: 28px; object-fit: cover; background: var(--ink-2); }
.coin-head h1 { margin: 0; font: 400 clamp(54px, 7vw, 108px)/.88 var(--serif); letter-spacing: -.035em; }
.coin-head h1 span { color: var(--faint); font-style: italic; }
.coin-head p { margin: 14px 0 0; max-width: 62ch; color: var(--soft); font-size: 18px; }
.coin-head .acts { margin: 0; justify-content: flex-end; }
.example { display: inline-block; margin-top: 16px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--signal); border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 13px; color: var(--faint); }
.facts dd { margin: 4px 0 0; font: 400 34px/1 var(--serif); letter-spacing: -.01em; }
.facts dd small { font: 400 13px var(--sans); color: var(--faint); letter-spacing: 0; }
.tabs { display: flex; gap: 6px; margin-top: 36px; }
.tab { padding: 10px 20px; font-size: 15px; font-weight: 600; color: var(--soft); background: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.tab:hover { color: var(--white); }
.tab[aria-selected='true'] { color: var(--klein); background: var(--white); }
.panel { padding-block: 28px 100px; }
.play-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 64px; align-items: center; }
.play-wrap .phone { position: relative; width: min(380px, 80vw, calc((100svh - 150px) * .4875)); min-width: 200px; aspect-ratio: 390 / 800; padding: 11px; border-radius: 54px;
                     background: linear-gradient(150deg, #343a86 0%, #10133d 34%, #070921 100%);
                     box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), 0 60px 110px -36px rgba(2, 6, 60, .8); }
.play-wrap .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #03040e; box-shadow: 0 0 0 7px #04051a; }
.play-wrap .screen iframe { opacity: 1; }
.screen iframe { position: absolute; left: 0; top: 0; width: 390px; max-width: none; height: var(--h, 800px); transform: scale(var(--s, 1)); transform-origin: 0 0; border: 0; z-index: 3; transition: opacity .9s var(--ease); }
.play-side h2 { margin: 0; font: 400 clamp(40px, 4.4vw, 68px)/.95 var(--serif); letter-spacing: -.03em; }
.play-side p { color: var(--soft); max-width: 46ch; }
.play-side .acts { margin-top: 24px; }
.steer { margin-top: 40px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .05); }
.steer b { font: 400 28px/1.05 var(--serif); }
.steer p { margin: 8px 0 16px; font-size: 15px; }
.list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.list .v { font: italic 400 26px/1 var(--serif); }
.list .when { color: var(--faint); font-size: 14px; white-space: nowrap; }
.list .by { color: var(--faint); }
.list a { color: var(--white); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cols h3 { margin: 0 0 16px; font: 400 40px/1 var(--serif); letter-spacing: -.02em; }

/* launch */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; padding-top: 150px; padding-bottom: 120px; }
.launch .page-title { font-size: clamp(64px, 8vw, 128px); }
.launch .lead { margin: 22px 0 48px; color: var(--soft); max-width: 50ch; font-size: 19px; }
.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.field .hint { margin-top: 8px; font-size: 13px; color: var(--faint); }
.input { width: 100%; padding: 16px 18px; font-size: 17px; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, background .2s; }
.input::placeholder { color: rgba(255, 255, 255, .38); }
.input:focus { outline: 0; border-color: var(--white); background: rgba(255, 255, 255, .12); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; font-family: var(--mono); font-size: 15px; }
.pair { display: grid; grid-template-columns: 1fr 170px; gap: 16px; }
.drop { display: flex; align-items: center; gap: 18px; padding: 18px; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.drop img, .drop .ph { width: 68px; height: 68px; border-radius: 18px; object-fit: cover; background: rgba(255, 255, 255, .1); flex: none; }
.drop span { font-size: 15px; color: var(--soft); }
.summary { position: sticky; top: 110px; align-self: start; padding: 28px; border-radius: 28px; background: var(--ink); box-shadow: 0 60px 120px -50px rgba(2, 5, 50, .9); }
.summary .card { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.summary .card img, .summary .card .ph { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; background: var(--ink-2); }
.summary .card b { display: block; font: 400 30px/1 var(--serif); }
.summary .card span { font-size: 14px; color: #8b91c9; }
.summary .idea-preview { margin: 18px 0 0; min-height: 52px; font: 500 14px/1.55 var(--mono); color: #d9ddff; }
.summary .idea-preview::before { content: '› '; color: var(--signal); }
.summary dl { margin: 22px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; font-size: 15px; }
.summary dt { color: #8b91c9; }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .btn { width: 100%; }
.status { margin-top: 16px; min-height: 22px; font-size: 14px; color: #d9ddff; }
.status.bad { color: #ffb38a; }
.status.good { color: var(--up); }

/* prose */
.prose { max-width: 760px; padding-top: 150px; padding-bottom: 120px; }
.prose h2 { margin: 72px 0 14px; font: 400 52px/.95 var(--serif); letter-spacing: -.03em; }
.prose p, .prose li { color: var(--soft); font-size: 18px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }
.prose .page-title + p { margin-top: 30px; font-size: 21px; color: var(--white); }

/* play page */
.play-page { margin: 0; height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #02030c; }
.play-page > #frame { min-height: 0; height: 100%; }
.play-page iframe { width: 100%; height: 100%; border: 0; }
.play-bar { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 18px; background: var(--klein); font-size: 15px; position: relative; z-index: 1; }
.play-bar img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.play-bar .mark { font-size: 26px; }
.play-bar .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding-top: 34px; padding-bottom: 44px; font-size: 14px; color: var(--soft); flex-wrap: wrap; }
.foot .mark { font-size: 28px; color: var(--white); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }

@media (max-width: 960px) {
  :root { --gut: 20px; }
  .links { display: none; }
  .nav .wrap { height: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding-top: 92px; padding-bottom: 24px; }
  .hero-copy h1 { font-size: clamp(56px, 15vw, 92px); }
  .hero-copy p { font-size: 16px; margin-top: 18px; }
  .acts { margin-top: 24px; gap: 22px; }
  .deck { height: min(600px, calc(100svh - 80px)); }
  .handset { width: min(232px, calc((100svh - 200px) * .4875)); padding: 9px; border-radius: 44px; }
  .handset .screen { border-radius: 36px; box-shadow: 0 0 0 6px #04051a; }
  .handset[data-slot='left'] { --x: -74%; }
  .handset[data-slot='right'] { --x: 74%; }
  .cap { font-size: 13px; min-height: 66px; padding: 13px 16px; }
  .story { height: 360vh; }
  /* phones: the beats take the top of the screen, the phone sits in the space under them */
  .handset.solo { left: 50%; top: auto; bottom: 3svh; width: min(232px, calc((100svh - 330px) * .4875)); transform: translate(-50%, 0); }
  .beats { top: 84px; width: auto; right: var(--gut); }
  .beats li { transform: none; font-size: 36px; }
  .beats li small { font-size: 15px; margin-top: 10px; }
  .prompt { font-size: 13px; min-height: 76px; padding: 13px 16px; margin-top: 14px; }
  .sec { padding-block: 96px; }
  .lv-body { grid-template-columns: 1fr; grid-template-rows: 54vh 230px; height: auto; }
  .lv-body > * { min-height: 0; }
  .lv-app { order: -1; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .lv-code { border-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li::before { font-size: 88px; }
  .row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
  .row img { width: 48px; height: 48px; }
  .row .idea, .row .ch { display: none; }
  .row .badge { grid-column: 2; margin-top: -6px; }
  .row .num { grid-column: 3; grid-row: 1; }
  .coin-head { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .coin-head img { width: 76px; height: 76px; border-radius: 20px; }
  .coin-head .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .play-wrap { grid-template-columns: 1fr; justify-items: center; gap: 32px; }
  .cols { grid-template-columns: 1fr; gap: 40px; }
  .launch { grid-template-columns: 1fr; gap: 40px; padding-top: 110px; }
  .summary { position: static; }
  .page, .prose { padding-top: 110px; }
}
@media (max-width: 520px) {
  .play-bar { gap: 10px; padding: 0 12px; }
  .play-bar .grow, .play-bar .mark { display: none; }
  .play-bar b { flex: 1; }
  .copy code { display: none; }
  .nav .end .copy { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
