/* AIM - Studio's website. One light page: a sky over the hero and the close, white in between, the grey footer.
   Headings are Manrope (tight, large), everything else Geist; both carry Mongolian Cyrillic (Ө, Ү). No scripts and no
   inline styles (vercel.json's CSP), so the nav's change on scroll and the reveals are scroll-driven CSS where the
   browser has it, and a plain, finished page where it doesn't. */

@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-2: #55555c;
  --muted: #8b8f96;
  --line: #ececee;
  --paper: #ffffff;
  --foot: #ededea;
  --navy: #0d2a6e;
  --link: #1d4fae;
  --app: #161618;
  --app-2: #1e1e21;
  --app-3: #26262a;
  --app-line: rgb(255 255 255 / .08);
  --app-ink: #ededed;
  --app-dim: #8e8e93;
  --display: "Manrope", "Geist", system-ui, sans-serif;
  --text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: min(1724px, 100% - 2 * clamp(20px, 5.5vw, 98px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
/* Keyboard focus scrolls at once: a smooth scroll leaves the focused control off screen while it moves. */
html:has(:focus-visible) { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
.i { width: 16px; height: 16px; flex: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 4px; font: 500 15px/1 var(--text); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background-color 120ms var(--ease), box-shadow 120ms var(--ease), color 120ms var(--ease); }
.btn-lg { height: 52px; padding: 0 22px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2e; }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.btn-light:hover { background: #f3f4f6; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.btn-note { margin-left: 2px; padding: 3px 7px; border-radius: 999px; background: rgb(255 255 255 / .14); font-size: 12px; font-weight: 500; color: rgb(255 255 255 / .82); }
.btn.is-off { cursor: default; opacity: .62; }
.btn-dark.is-off:hover { background: var(--ink); }
.btn-light.is-off:hover { background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.link { font: 500 15px/1 var(--text); padding: 8px 0; border-bottom: 1px solid rgb(11 11 12 / .25); transition: border-color 120ms var(--ease); }
.link:hover { border-color: var(--ink); }

/* ── Nav: on the sky it is clear with white type; past the hero it turns white. ───────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 40px; color: var(--ink); background: rgb(255 255 255 / .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
@supports (animation-timeline: scroll()) {
  .nav { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  .nav .nav-tile { animation: nav-tile linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
}
@keyframes nav-solid { to { color: var(--ink); background: rgb(255 255 255 / .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); } }
@keyframes nav-tile { from { background: #fff; } to { background: var(--ink); } }
@keyframes nav-mark { to { filter: invert(1); } }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 500 20px/1 var(--text); letter-spacing: -.02em; white-space: nowrap; transition: opacity 120ms var(--ease); }
.nav-brand:hover { opacity: .72; }
.nav-tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); }
.nav-tile img { filter: invert(1); }
@supports (animation-timeline: scroll()) {
  .nav-tile img { filter: none; animation: nav-mark linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
}
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 450; transition: background-color 120ms var(--ease); }
.nav-links a:hover { background: rgb(127 127 127 / .14); }
.nav-end { display: flex; gap: 10px; justify-self: end; }
.nav-end .i { width: 15px; height: 15px; }

/* ── Sky (hero and close) ────────────────────────────────────────────── */
.hero { position: relative; padding: 122px 0 0; background: linear-gradient(#0d2a6e 0%, #16408f 14%, #2a62bb 26%, #5b93dc 36%, #a9cdf2 48%, #e3f0fc 62%, #fff 100%); text-align: center; color: #fff; overflow: clip; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(6px); }
.b1 { width: 40%; height: 320px; left: -8%; top: 30%; background: radial-gradient(closest-side, #fff, rgb(255 255 255 / 0)); }
.b2 { width: 30%; height: 200px; right: -4%; top: 34%; background: radial-gradient(closest-side, #d8ebff, rgb(216 235 255 / 0)); }
.b3 { width: 22%; height: 160px; left: 14%; top: 22%; background: radial-gradient(closest-side, rgb(160 205 250 / .9), rgb(160 205 250 / 0)); }
.b4 { width: 34%; height: 200px; right: 10%; top: 24%; background: radial-gradient(closest-side, rgb(190 222 255 / .85), rgb(190 222 255 / 0)); }
.b5 { width: 50%; height: 220px; left: 25%; top: 44%; background: radial-gradient(closest-side, rgb(255 255 255 / .85), rgb(255 255 255 / 0)); }
.b6 { width: 38%; height: 340px; right: -12%; top: 50%; background: radial-gradient(closest-side, #f4f9ff, rgb(244 249 255 / 0)); }
.b7 { width: 20%; height: 140px; left: 4%; top: 52%; background: radial-gradient(closest-side, rgb(150 198 248 / .85), rgb(150 198 248 / 0)); }
.b8 { width: 56%; height: 230px; left: -10%; top: 62%; background: radial-gradient(closest-side, rgb(250 252 255 / .9), rgb(250 252 255 / 0)); }
.stars { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 33vw 140px 2px rgb(255 255 255 / .9), 71vw 218px 3px #fff, 16vw 280px 1px rgb(255 255 255 / .7), 94vw 340px 2px rgb(255 255 255 / .8), 58vw 96px 1px rgb(255 255 255 / .6), 84vw 120px 1px rgb(255 255 255 / .6), 8vw 180px 1px rgb(255 255 255 / .7); }
.hero-in { position: relative; width: var(--wrap); margin: 0 auto; }
.badge > span { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; border-radius: 999px; background: rgb(13 42 110 / .34); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 8px 24px rgb(10 30 70 / .18); font-size: 14px; font-weight: 450; color: rgb(255 255 255 / .92); }
.badge-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: #fff; color: #141414; font-weight: 500; white-space: nowrap; flex-shrink: 0; transition: background-color 120ms var(--ease); }
.badge-chip:hover { background: #eef3fb; }
h1 { margin: 56px auto 0; max-width: 900px; font: 500 clamp(40px, 5.7vw, 81.6px)/1 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.lede { max-width: 480px; margin: 34px auto 0; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; color: rgb(255 255 255 / .94); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero .cta { justify-content: center; }
.cta.center { justify-content: center; margin-top: 56px; }

/* ── The app window in the hero ──────────────────────────────────────── */
.app { position: relative; display: grid; grid-template-columns: 266px 1fr; width: min(1340px, 100% - 2 * clamp(12px, 3vw, 40px)); height: 640px; margin: 48px auto 0; border-radius: 14px 14px 0 0; background: var(--app); box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 30px 80px rgb(13 42 110 / .35); color: var(--app-ink); text-align: left; font-size: 13px; overflow: hidden; }
.app::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(rgb(255 255 255 / 0), #fff); pointer-events: none; }
.app-side { padding: 16px 12px; border-right: 1px solid var(--app-line); }
.app-tools { display: flex; justify-content: center; gap: 14px; color: var(--app-dim); }
.app-new { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--app-line); font-weight: 500; }
.app-new kbd { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: var(--app-3); font: 500 11px/1.4 var(--text); color: var(--app-dim); }
.app-group { display: flex; justify-content: space-between; margin: 20px 6px 6px; font-size: 12px; color: var(--app-dim); }
.app-row { display: grid; grid-template-columns: 1fr auto; padding: 7px 8px; border-radius: 7px; }
.app-row.on { background: var(--app-3); }
.app-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row small { grid-row: 2; font-size: 11.5px; color: var(--app-dim); }
.app-row em { grid-row: 1; grid-column: 2; font-style: normal; font-size: 11.5px; color: var(--app-dim); }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--app-line); white-space: nowrap; overflow: hidden; }
.app-bar > b { font-weight: 600; margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 7px; background: var(--app-3); font-size: 12px; font-weight: 500; color: var(--app-ink); white-space: nowrap; }
.chip.ghost { background: none; color: #c9c9ce; }
.chip .i { width: 13px; height: 13px; }
.app-chat { flex: 1; display: flex; flex-direction: column; gap: 18px; width: min(640px, 100% - 40px); margin: 0 auto; padding: 22px 0; }
.msg p + p { margin-top: 8px; }
.msg.you { align-self: flex-end; max-width: 78%; padding: 11px 14px; border-radius: 12px; background: var(--app-3); line-height: 1.5; }
.who { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.who time { margin-left: auto; font-weight: 400; font-size: 11.5px; color: var(--app-dim); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: var(--app-3); font-size: 11px; font-weight: 500; color: #bdbdc2; }
.msg > p:not(.who) { padding-left: 30px; line-height: 1.55; color: #dcdce0; }
.step { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--app-dim) !important; }
.step .i { width: 14px; height: 14px; }
.table { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin: 10px 0 0 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--app-line); font-size: 12px; overflow: hidden; }
.table span { padding: 7px 10px; border-top: 1px solid var(--app-line); color: #d5d5da; font-variant-numeric: tabular-nums; }
.table span:nth-child(-n + 4) { border-top: 0; background: var(--app-2); color: var(--app-dim); font-weight: 500; }
.up { color: #5fd08b !important; }
.down { color: #f08a7e !important; }
.app-compose { width: min(640px, 100% - 40px); margin: 0 auto 12px; padding: 12px 12px 10px; border-radius: 12px; background: var(--app-2); box-shadow: inset 0 0 0 1px var(--app-line); color: var(--app-dim); }
.app-compose > div { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.send { width: 28px; height: 28px; margin-left: auto; border-radius: 50%; background: #ededed; }
.app-status { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-top: 1px solid var(--app-line); font-size: 12px; color: var(--app-dim); }
.app-status > span:last-child { display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #5fd08b; box-shadow: 0 0 0 3px rgb(95 208 139 / .18); }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Faces ───────────────────────────────────────────────────────────── */
.face { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; font: 600 14px/1 var(--display); color: #fff; }
.face.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 10.5px; }
.face.lg { width: 60px; height: 60px; border-radius: 18px; font-size: 26px; box-shadow: 0 12px 30px rgb(40 40 90 / .16); }
.f-aimee { background: #0b0b0c; }
.f-saraa { background: #8b6ee8; }
.f-bold { background: #e58bb0; }
.f-tuya { background: #e0a050; }
.f-nomin { background: #5b86e5; }
.f-you { background: #6b6b72; }

/* ── Sections ────────────────────────────────────────────────────────── */
.sec { width: var(--wrap); margin: 0 auto; padding: 120px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2 { font: 400 clamp(34px, 3.4vw, 48px)/1.06 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.dim { color: var(--muted); }
.sub { max-width: 600px; margin-top: 18px; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faces { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-bottom: 28px; }
.faces .face:nth-child(odd) { transform: translateY(-14px); }
.new { display: flex; align-items: center; gap: 10px; width: max-content; margin: 0 auto 26px; padding: 4px 12px 4px 5px; border-radius: 999px; background: #eeedfb; color: #4b3fb7; font-weight: 500; font-size: 15px; }
.new span { padding: 3px 9px; border-radius: 999px; background: #5d4fe0; color: #fff; font-size: 13px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(0 0 0 / .04); font-weight: 500; }

/* Cards: rows of 60/40 and 40/60, as the reference's plates. */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 64px 18px; margin-top: 64px; }
.card { grid-column: span 2; min-width: 0; }
.card.wide { grid-column: span 3; }
.card h3 { margin: 28px 2px 0; font: 500 20px/1.2 var(--text); letter-spacing: -.02em; }
.card > p { max-width: 560px; margin: 10px 2px 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.plate { position: relative; height: 400px; border-radius: 14px; overflow: hidden; }
.violet { background: linear-gradient(#3b3a9e 0%, #7b6fd6 48%, #e9a6c9 100%); }
.sky-plate { background: linear-gradient(#2f6ccb 0%, #5b97e2 55%, #a8caef 100%); }
.plate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 30% at 20% 8%, rgb(255 255 255 / .22), transparent 70%), radial-gradient(40% 24% at 80% 4%, rgb(255 255 255 / .18), transparent 70%); }
.win { position: absolute; inset: 36px 32px 0; padding: 18px; border-radius: 12px 12px 0 0; background: var(--app); box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 20px 50px rgb(20 20 60 / .35); color: var(--app-ink); font-size: 13px; overflow: hidden; }
.win .msg > p:not(.who) { padding-left: 28px; }
.win-title { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-weight: 600; }
.win-title span { font-weight: 400; color: var(--app-dim); }
.win-title time { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--app-dim); }
.cap { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--app-dim); }
.cap:first-child { margin-top: 0; }
.room { display: grid; grid-template-columns: 170px 1fr; padding: 0; }
.room-side { padding: 18px 12px; border-right: 1px solid var(--app-line); }
.room-side p:not(.cap) { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: #c9c9ce; }
.room-side p.on { background: var(--app-3); color: var(--app-ink); }
.room-side .i { width: 14px; height: 14px; color: var(--app-dim); }
.mate span { display: grid; line-height: 1.2; }
.mate small { font-size: 11px; color: var(--app-dim); }
.room-main { display: flex; flex-direction: column; gap: 18px; padding: 0 18px 18px; }
.room-title { height: 46px; display: flex; align-items: center; margin: 0 -18px; padding: 0 18px; border-bottom: 1px solid var(--app-line); font-weight: 600; }
.at { color: #a99bff; font-weight: 500; }
.together { display: flex !important; align-items: center; gap: 6px; padding: 9px 12px !important; margin-left: 28px; border-radius: 9px; background: #232042; box-shadow: inset 0 0 0 1px rgb(169 155 255 / .25); color: var(--app-dim) !important; font-size: 12.5px; }
.together b { color: var(--app-ink); font-weight: 500; margin: 0 4px; }
.file { display: inline-flex !important; align-items: center; gap: 6px; margin-left: 28px; padding: 3px 8px !important; border-radius: 6px; background: var(--app-3); font: 12px var(--mono); color: #c9c9ce !important; }
.profile .who.big { gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--app-line); }
.profile .who.big > span:nth-child(2) { display: grid; line-height: 1.3; font-weight: 600; font-size: 15px; }
.profile .who.big small { font-weight: 400; font-size: 12px; color: var(--app-dim); }
.profile .who.big .chip { margin-left: auto; }
.profile p:not(.cap):not(.who) { display: flex; flex-wrap: wrap; gap: 6px; }
.profile .chip.ghost { box-shadow: inset 0 0 0 1px var(--app-line); }
.seg { display: inline-flex !important; gap: 0 !important; padding: 3px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--app-line); }
.seg span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 7px; font-size: 12px; color: var(--app-dim); }
.seg span.on { background: rgb(95 208 139 / .12); color: #6fdc98; box-shadow: inset 0 0 0 1px rgb(95 208 139 / .35); }
.seg .i { width: 13px; height: 13px; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--app-2); }
.li + .li { margin-top: 8px; }
.li > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.li b { font-weight: 500; }
.li small { font-size: 12px; color: var(--app-dim); }
.li .end { display: grid; justify-items: end; gap: 4px; margin-left: auto; grid-auto-flow: row; }
.li .end:has(.mini) { grid-auto-flow: column; gap: 6px; }
.li > .i { color: var(--app-dim); }
.li.hi { box-shadow: inset 0 0 0 1px rgb(95 208 139 / .4); background: #182019; }
.toggle { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #3a3a40; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.on { background: #4fbf7c; }
.toggle.on::after { left: 16px; }
.mini { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--app-3); font-size: 12px; font-weight: 500; color: var(--app-ink); white-space: nowrap; }
.mini.dark { background: #ededed; color: #111; }
.ok { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12.5px; color: #6fdc98; }
.ok .i { width: 14px; height: 14px; }
.note { padding: 12px; border-radius: 10px; background: var(--app-2); }
.note + .note { margin-top: 10px; }
.note .who .i { width: 13px; height: 13px; color: var(--app-dim); }
.note .who { gap: 6px; font-weight: 500; }
.bubble { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--app-3); line-height: 1.5; color: #dcdce0; }
.bubble.reply small { display: block; margin-bottom: 3px; font-size: 11.5px; color: var(--app-dim); }
.note .ok { margin-top: 10px; }
.doc { font-size: 13px; }
.line { padding: 6px 10px 6px 14px; border-left: 2px solid transparent; font-family: var(--mono); font-size: 12px; color: #c9c9ce; }
.line.del { border-color: #e06c5f; background: rgb(224 108 95 / .12); text-decoration: line-through; text-decoration-color: rgb(224 108 95 / .6); }
.line.add { border-color: #4fbf7c; background: rgb(79 191 124 / .1); }
.comment { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 9px; background: #262315; box-shadow: inset 0 0 0 1px rgb(224 170 80 / .35); }
.comment span:last-child { margin-left: auto; font-size: 12px; color: #e0aa50; }
.win-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--app-line); font-size: 12px; color: var(--app-dim); }
.warn { display: flex; gap: 8px; margin: 14px 0; padding: 12px; border-radius: 10px; background: #262315; box-shadow: inset 0 0 0 1px rgb(224 170 80 / .35); color: #e8d3a8; line-height: 1.5; }
.warn .i { color: #e0aa50; margin-top: 2px; }

/* Connections: tiles drifting around the heading. */
.connect { position: relative; padding-top: 290px; padding-bottom: 150px; }
.tiles { position: absolute; inset: 110px 0 0; pointer-events: none; }
.tile { position: absolute; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 14px 34px rgb(30 40 80 / .12); color: var(--ink); }
.tile .i { width: 30px; height: 30px; stroke-width: 1.6; }
.t1 { left: 8%; top: 20px; transform: rotate(-6deg); width: 80px; height: 80px; }
.t2 { left: 26%; top: 0; transform: rotate(4deg); color: #5b86e5; }
.t3 { left: 46%; top: -10px; transform: rotate(-3deg); color: #8b6ee8; }
.t4 { left: 66%; top: 6px; transform: rotate(5deg); color: #3f9a62; }
.t5 { right: 6%; top: 30px; transform: rotate(-5deg); color: #e0a050; }
.t6 { left: 2%; top: 300px; transform: rotate(5deg); color: #e58bb0; filter: blur(1px); opacity: .85; }
.t7 { left: 18%; top: 210px; transform: rotate(-4deg); color: #c9a227; width: 56px; height: 56px; filter: blur(1.5px); opacity: .8; }
.t8 { right: 18%; top: 220px; transform: rotate(6deg); width: 56px; height: 56px; filter: blur(1.5px); opacity: .8; }
.t9 { right: 2%; top: 330px; transform: rotate(-4deg); color: #5b86e5; }
.t10 { left: 12%; bottom: 40px; transform: rotate(4deg); color: #8b6ee8; }
.t11 { left: 48%; bottom: 0; transform: rotate(-6deg); color: #e58bb0; }
.t12 { right: 12%; bottom: 50px; transform: rotate(3deg); color: #3f9a62; }
.connect h2, .connect .sub, .connect .pill, .connect .fine { position: relative; }
.wide-pill { display: flex; width: min(300px, 100%); justify-content: center; height: 56px; margin: 30px auto 0; font-size: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgb(0 0 0 / .06); }
.wide-pill .i { width: 22px; height: 22px; }
.fine { max-width: 470px; margin-top: 26px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Mid band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; width: var(--wrap); margin: 140px auto 0; padding: 28px 32px; border-radius: 10px; background: linear-gradient(90deg, #2a60c2 0%, #4a88db 100%); color: #fff; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.band b { font-weight: 500; }
.band .cta { margin: 0; gap: 12px; }

/* Shipped and FAQ: a heading on the left, rows on the right. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.split h2 { font-size: clamp(40px, 4vw, 56px); line-height: 1.02; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--link); font-weight: 450; font-size: 17px; }
.more .i { transition: transform 160ms var(--ease); }
.more:hover .i { transform: translateX(3px); }
.log { border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.log time { font: 13px var(--mono); color: var(--muted); }
.log b { font-weight: 450; }
.log span { font: 13px var(--mono); color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.stat .plate { display: flex; flex-direction: column; justify-content: space-between; height: 300px; padding: 24px; color: #fff; }
.stat .k { position: relative; font: 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .85); }
.stat .v { position: relative; font: 500 96px/1 var(--display); letter-spacing: -.05em; }
.stat h3 { margin-top: 26px; font: 500 20px/1.2 var(--text); letter-spacing: -.02em; }
.stat p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.own { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.own > p:first-child { max-width: 580px; }
.links { display: flex; gap: 24px; font: 13.5px var(--mono); }
.links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); border-bottom: 1px solid rgb(11 11 12 / .3); padding-bottom: 3px; height: max-content; }
.links a:hover { border-color: var(--ink); }
.links .i { width: 13px; height: 13px; }
.faq { padding-top: 140px; }
.qs { border-top: 1px solid var(--line); }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 500 18px/1.35 var(--text); letter-spacing: -.015em; cursor: pointer; list-style: none; border-radius: 4px; transition: color 120ms var(--ease); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: #3b3b40; }
.q-icon { color: var(--muted); transition: transform 200ms var(--ease); }
details[open] .q-icon { transform: rotate(45deg); }
details p { max-width: 640px; padding-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 240ms var(--ease), content-visibility 240ms allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Close: the sky again, with every platform. */
.close { position: relative; margin: 140px 22px 0; padding: 120px 0 110px; border-radius: 10px; background: linear-gradient(#2a60c2 0%, #4a88db 45%, #9cc3ee 100%); color: #fff; overflow: hidden; }
.c1 { width: 40%; height: 260px; left: -6%; top: 10%; background: radial-gradient(closest-side, rgb(255 255 255 / .55), rgb(255 255 255 / 0)); }
.c2 { width: 34%; height: 220px; right: -4%; top: 18%; background: radial-gradient(closest-side, rgb(230 242 255 / .6), rgb(230 242 255 / 0)); }
.c3 { width: 46%; height: 240px; left: 28%; bottom: -60px; background: radial-gradient(closest-side, rgb(255 255 255 / .7), rgb(255 255 255 / 0)); }
.c4 { width: 24%; height: 160px; left: 20%; top: 40%; background: radial-gradient(closest-side, rgb(220 236 255 / .5), rgb(220 236 255 / 0)); }
.c5 { width: 30%; height: 200px; right: 8%; bottom: 0; background: radial-gradient(closest-side, rgb(247 251 255 / .6), rgb(247 251 255 / 0)); }
.close-in { position: relative; width: var(--wrap); margin: 0 auto; }
.close h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.05em; }
.dim-light { color: rgb(255 255 255 / .72); }
.close .sub { color: rgb(255 255 255 / .92); }
.close .cta.center { margin-top: 34px; gap: 10px; }
.close .btn { height: 48px; padding: 0 18px; }
.mono { margin-top: 22px; font: 13px var(--mono); color: rgb(255 255 255 / .85); }
.mono a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.foot { margin-top: 70px; padding: 80px 48px 32px; background: var(--foot); color: var(--ink-2); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1040px; margin: 0 auto; }
.foot-brand .nav-brand { color: var(--ink); font-size: 24px; }
.foot-brand p:last-child { max-width: 300px; margin-top: 18px; line-height: 1.55; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav p { margin-bottom: 6px; color: var(--ink); font-weight: 500; }
.foot nav a, .foot-end a { width: max-content; transition: color 120ms var(--ease); }
.foot nav a:hover, .foot-end a:hover { color: var(--ink); }
.foot-end { display: flex; justify-content: space-between; align-items: center; max-width: 1040px; margin: 80px auto 0; }
.foot-end a { display: inline-flex; align-items: center; gap: 6px; }

/* Reveals, where the browser can tie them to scrolling. */
@supports (animation-timeline: view()) {
  .card, .stat, .pills, .faces, .log li, .band { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ── Narrower screens ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; gap: 56px; }
  .card, .card.wide { grid-column: auto; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .tiles .tile:nth-child(n + 7) { display: none; }
}
@media (max-width: 640px) {
  .nav-brand { font-size: 18px; }
  .nav-end .btn-light { padding: 0 12px; }
  .nav-end { gap: 8px; }
  .hero { padding-top: 104px; }
  .badge { gap: 8px; padding-left: 14px; }
  .badge-tail { display: none; }
  .faces { gap: 12px; }
  .face.lg { width: 52px; height: 52px; border-radius: 15px; font-size: 22px; }
  h1 { margin-top: 40px; }
  .lede, .sub { font-size: 17px; }
  .cta .btn-lg { flex: 1 1 100%; }
  .app { height: 560px; margin-top: 40px; }
  .app-bar .chip.ghost:nth-of-type(n + 3) { display: none; }
  .msg.you { max-width: 92%; }
  .sec { padding-top: 96px; }
  .plate { height: 380px; }
  .win { inset: 24px 14px 0; padding: 14px; }
  .room { grid-template-columns: 1fr; }
  .room-side { display: none; }
  .li .end small { display: none; }
  .connect { padding-top: 220px; }
  .tile { width: 52px; height: 52px; border-radius: 13px; }
  .tile .i { width: 24px; height: 24px; }
  .t1 { width: 60px; height: 60px; }
  .t2, .t4 { top: 0; }
  .band { padding: 24px; font-size: 17px; }
  .band .cta, .band .btn { width: 100%; }
  .log li { grid-template-columns: 64px 1fr; }
  .log li span { display: none; }
  .close { margin: 100px 10px 0; padding: 90px 0 80px; }
  .close .btn { flex: 1 1 calc(50% - 10px); }
  .foot { padding: 60px 20px 28px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-end { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .card, .stat, .pills, .faces, .log li, .band { animation: none !important; }
  .spin { animation: none !important; }
}
