/* Cache — website.
   The page is a Mac's screen: the bar along the top is a menu bar, and the notch in
   the middle of it is the product. Every value below is the app's own
   (Cache/Support/Theme.swift) or the launch film's (frame.md). */

:root {
  /* the notch and the greys on it */
  --notch: #000;
  --chip: #222;
  --card: #323232;
  --code: #262626;
  --tile: #0d0d0f;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.62);
  --ink-3: rgba(255, 255, 255, 0.38);
  --hair: rgba(255, 255, 255, 0.12);
  --hair-2: rgba(255, 255, 255, 0.3);
  --warn: #ff453a;
  /* the icon's gradient — the only colour Cache owns */
  --sky: #5cb4fc;
  --royal: #3858f4;
  --indigo: #5233e5;
  --violet: #743af0;
  --lilac: #ac76fb;
  --lavender: #f2eefa;

  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* set by site.js: app points → CSS pixels, and the menu bar height */
  --k: 1;
  --bar: 37px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ———————————————————— type ———————————————————— */

.display { font-family: var(--display); font-weight: 700; font-size: clamp(46px, 7vw, 120px); line-height: 0.98; letter-spacing: -0.045em; }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 96px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 60px); line-height: 1.06; letter-spacing: -0.025em; }
.lede { font-size: clamp(19px, 1.65vw, 25px); line-height: 1.38; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; }
.sub { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--ink-2); font-weight: 500; letter-spacing: -0.008em; }
.eyebrow { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.fine { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.fine a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.w { display: inline-block; white-space: pre; }
.display, .h1, .h2, .quote, .stack, .lede, .sub, .tile p { text-wrap: balance; }

/* ———————————————————— buttons ———————————————————— */

.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.2s var(--ease), background 0.2s; }
.btn:active { transform: scale(0.96); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8ed; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-ghost small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 18px; }
.btn svg { flex: none; }

/* ———————————————————— the menu bar ———————————————————— */

.bar { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: var(--bar); display: flex; align-items: center; justify-content: space-between; padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right)); background: rgba(22, 22, 24, 0.8); -webkit-backdrop-filter: saturate(1.4) blur(20px); backdrop-filter: saturate(1.4) blur(20px); font: 500 13px/1 var(--text); transition: background 0.5s var(--ease); }
.bar.is-glass { background: rgba(18, 14, 64, 0.32); -webkit-backdrop-filter: saturate(1.6) blur(24px); backdrop-filter: saturate(1.6) blur(24px); }
.bar-l, .bar-r { display: flex; align-items: center; gap: 22px; }
.bar-r { gap: 16px; }
.brand { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.brand img { width: 18px; height: 18px; }
.bar-link { color: rgba(255, 255, 255, 0.86); transition: color 0.2s; }
.bar-link:hover { color: #fff; }
.bar-l .bar-link { transition: color 0.2s, opacity 0.3s var(--ease); }
.bar.is-covered .bar-l .bar-link { opacity: 0; pointer-events: none; }
.bar-gh { display: flex; align-items: center; gap: 6px; }
.bar-cta { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 12.5px; }
.bar-cta:hover { background: #e8e8ed; }
@media (max-width: 1023px) { .bar-link:not(.bar-gh) { display: none; } .bar-gh span { display: none; } }
@media (max-width: 640px) { .bar-gh { display: none; } }

/* ———————————————————— the notch (built in app points, scaled by --k) ———————————————————— */

.nt { position: fixed; z-index: 70; top: 0; left: 50%; width: 1040px; height: 313px; margin-left: -520px; transform: scale(var(--k)); transform-origin: 50% 0; pointer-events: none; }
.nt-mask { position: absolute; inset: 0; background: #000; }
.nt-lens { position: absolute; left: 515.3px; top: 13.8px; width: 9.4px; height: 9.4px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #2a3350 0%, #0f1320 45%, #05060a 100%); }
.nt-peek { position: absolute; top: 0; left: 345.5px; width: 349px; height: 37px; }
.nt-glimpse { position: absolute; left: 14px; top: 7.5px; width: 22px; height: 22px; border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); opacity: 0; }
.nt-glimpse > * { position: absolute; inset: 0; }
.nt-label { position: absolute; right: 16px; top: 0; height: 37px; display: flex; align-items: center; font: 600 11.5px/1 var(--text); color: rgba(255, 255, 255, 0.9); opacity: 0; }
.nt-panel { position: absolute; left: 20px; top: 0; width: 1000px; height: 290px; opacity: 0; transform-origin: 50% 0; }
.nt-pointer { position: absolute; left: 0; top: 0; width: 18px; height: 27px; opacity: 0; transform-origin: 2px 2px; }

/* panel: top bar */
.p-top { position: absolute; left: 34px; right: 34px; top: 0; height: 49px; display: flex; align-items: center; justify-content: space-between; }
.p-search { position: relative; display: flex; align-items: center; gap: 10px; width: 361px; height: 26px; font: 400 17px/1 var(--text); }
.p-mag { position: relative; width: 16px; height: 16px; flex: none; }
.p-magw { position: absolute; left: 0; top: 0; opacity: 0; }
.p-ph { color: rgba(255, 255, 255, 0.42); }
.p-q { position: absolute; left: 26px; top: 0; height: 26px; display: flex; align-items: center; white-space: pre; }
.p-caret { display: inline-block; width: 1.7px; height: 20px; margin-left: 1px; border-radius: 1px; background: #fff; opacity: 0; }
.p-buttons { display: flex; gap: 8px; }
.p-round { width: 34px; height: 34px; border-radius: 50%; background: #323232; display: flex; align-items: center; justify-content: center; }
.p-undo { position: absolute; right: 160px; top: 7.5px; height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 4px 0 14px; border-radius: 999px; background: #222; font: 500 13px/1 var(--text); color: var(--ink-2); white-space: nowrap; opacity: 0; transform-origin: 100% 50%; }
.p-undo b { display: flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }

/* panel: chips */
.p-chips { position: absolute; left: 34px; top: 59px; height: 38px; display: flex; gap: 8px; white-space: nowrap; }
.p-chip { position: relative; height: 38px; padding: 0 16px; border-radius: 999px; background: #222; display: flex; align-items: center; font: 500 15px/1 var(--text); }
.p-chip .l { position: relative; z-index: 2; display: flex; gap: 7px; color: rgba(255, 255, 255, 0.92); }
.p-chip .l i { font-style: normal; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.p-chip .l.dk { position: absolute; left: 16px; top: 0; height: 38px; align-items: center; color: #000; opacity: 0; }
.p-chip .l.dk i { color: rgba(0, 0, 0, 0.45); }
.p-pill { position: absolute; z-index: 1; top: 0; height: 38px; border-radius: 19px; background: #fff; }
.p-plus { width: 38px; height: 38px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; flex: none; }

/* panel: the strip */
.p-strip { position: absolute; left: 0; top: 115px; width: 1000px; height: 161px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); }
.p-track { position: absolute; left: 34px; top: 4px; height: 153px; }
.slot { position: absolute; top: 0; width: 204px; height: 153px; }

/* cards — ClipCardView */
.card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: var(--card); }
.card .edge { position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); pointer-events: none; }
.card .sel { position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 2px #fff; opacity: 0; }
.card .fill, .card .scrim { position: absolute; inset: 0; }
.card .foot { position: absolute; left: 12px; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 6px; font: 500 12px/1 var(--text); color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.card .foot .sz { margin-left: auto; }
.card .src { width: 18px; height: 18px; border-radius: 4.7px; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; flex: none; }
.card .txt { position: absolute; left: 13px; right: 13px; bottom: 34.5px; font: 500 14px/1.36 var(--text); color: rgba(255, 255, 255, 0.95); }
.card .code { position: absolute; left: 13px; right: 13px; top: 13px; font: 400 12px/1.5 var(--mono); color: rgba(255, 255, 255, 0.88); white-space: pre; }
.card .lnk { position: absolute; left: 13px; top: 13px; }
.card .host { position: absolute; left: 13px; right: 13px; bottom: 58.5px; font: 600 16px/1.1 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .path { position: absolute; left: 13px; right: 13px; bottom: 33.5px; font: 400 12px/1.3 var(--text); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .hex { position: absolute; left: 13px; bottom: 34.5px; font: 600 16px/1 var(--text); font-variant-numeric: tabular-nums; }
.card .fname { position: absolute; left: 13px; right: 13px; bottom: 34.5px; font: 600 14px/1.3 var(--text); }
.card .ficon { position: absolute; left: 9px; top: 9px; }
.corner { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; }
.cbtn { width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; }
.trash { position: absolute; top: 8px; left: 8px; opacity: 0; }
.trash.is-warn { background: var(--warn); box-shadow: none; }

/* the receipt everyone searches for — a 480 × 360 screenshot */
.receipt { position: absolute; left: 0; top: 0; width: 480px; height: 360px; background: #fff; color: #0b0b0b; transform-origin: 0 0; overflow: hidden; }
.receipt .rh { position: absolute; left: 30px; top: 22px; font: 700 34px/1 var(--display); letter-spacing: 0.06em; }
.receipt .rs { position: absolute; left: 30px; top: 63px; font: 500 15px/1 var(--text); color: #555; }
.receipt .ro { position: absolute; left: 30px; top: 88px; font: 500 17px/1 var(--mono); }
.receipt .rl { position: absolute; left: 30px; right: 30px; border-top: 2px dashed #c9c9c9; }
.receipt .ri, .receipt .rt { position: absolute; left: 30px; right: 30px; display: flex; justify-content: space-between; font: 400 17px/1 var(--mono); }
.receipt .rt { font: 500 20px/1 var(--mono); }
.ocr { position: absolute; border-radius: 7px; border: 2px solid rgba(172, 118, 251, 0.9); background: rgba(172, 118, 251, 0.1); opacity: 0; }
.ocr.hit { background: rgba(172, 118, 251, 0.32); }

/* ———————————————————— the story (one sticky stage) ———————————————————— */

.story { position: relative; }
.stage { position: relative; }
.screen, .scene-ui, .flood, .flash { display: none; }
.beats { position: relative; }

html.is-timeline .story { height: 1050vh; }
html.is-timeline .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
html.is-timeline .screen { display: block; position: absolute; inset: 0; transform: translateY(100%); will-change: transform; }
html.is-timeline .scene-ui { display: block; position: absolute; inset: 0; pointer-events: none; }
html.is-timeline .flood { display: block; position: absolute; inset: 0; background: #000; clip-path: inset(0 50% 100% 50%); }
html.is-timeline .flash { display: block; position: absolute; inset: 0; background: #fff; opacity: 0; }
html.is-timeline .beats { position: absolute; inset: 0; }
html.is-timeline .beat { position: absolute; left: 0; right: 0; top: 50%; padding: 0 24px; text-align: center; opacity: 0; will-change: opacity, transform; pointer-events: none; }
html.is-timeline .beat.is-live { pointer-events: auto; }
html.is-timeline .beat-film { display: none; }
html.is-timeline [data-beat="problem"] .line-b { position: absolute; left: 0; right: 0; top: 0; }
html.is-timeline [data-beat="problem"] .h1 { position: relative; }

.wall { position: absolute; inset: 0; background:
  radial-gradient(60% 45% at 50% 0%, rgba(92, 180, 252, 0.42), rgba(92, 180, 252, 0) 72%),
  radial-gradient(70% 95% at 6% 38%, rgba(72, 141, 251, 0.55), rgba(72, 141, 251, 0) 70%),
  radial-gradient(75% 100% at 96% 30%, rgba(116, 58, 240, 0.8), rgba(116, 58, 240, 0) 70%),
  radial-gradient(65% 75% at 70% 92%, rgba(172, 118, 251, 0.3), rgba(172, 118, 251, 0) 70%),
  linear-gradient(180deg, #3858f4 0%, #4637e3 30%, #36229f 62%, #1e1360 100%); }
.dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 40, 0) 30%, rgba(10, 6, 40, 0.45) 100%); }

.beat .eyebrow { margin-bottom: 18px; }
.beat .badge { margin-bottom: 20px; }
.beat .sub { max-width: 640px; margin: 22px auto 0; }
.beat-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.beat-hero .eyebrow { margin-bottom: 20px; }
.beat-hero .lede { max-width: 700px; margin: 26px auto 34px; }
.beat-hero .fine { margin-top: 22px; }
html.is-timeline .beat-hero { opacity: 1; transform: translate3d(0, -50%, 0); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.js .beat-hero > * { animation: rise 1.1s var(--ease) both; }
.js .beat-hero > :nth-child(2) { animation-delay: 0.08s; }
.js .beat-hero > :nth-child(3) { animation-delay: 0.16s; }
.js .beat-hero > :nth-child(4) { animation-delay: 0.26s; }
.js .beat-hero > :nth-child(5) { animation-delay: 0.36s; }
.js .beat-hero > :nth-child(6) { animation-delay: 0.44s; }

/* keycaps — the film's */
.keys { position: absolute; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; opacity: 0; }
kbd, .key { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 80px; padding: 0 18px; border-radius: 16px; background: linear-gradient(180deg, #1d1d1f 0%, #121213 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 1.5px 0 rgba(255, 255, 255, 0.08), 0 10px 22px rgba(0, 0, 0, 0.45); font: 500 39px/1 var(--display); color: #fff; }
.clipslot { position: absolute; left: 50%; top: 0; width: 204px; height: 153px; margin-left: -102px; transform-origin: 50% 0; }
.clipslot .ring { position: absolute; inset: -10px; border-radius: 24px; border: 1px dashed rgba(255, 255, 255, 0.18); }
.clipslot .slot { opacity: 0; }

/* the preview window — ClipDetailView, screenshot layout */
.preview { position: absolute; left: 130px; top: 300px; width: 780px; height: 440px; border-radius: 24px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transform-origin: 50% 0; opacity: 0; overflow: hidden; }
.pv-head { position: absolute; left: 0; right: 0; top: 0; height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--hair); }
.pv-icon { width: 30px; height: 30px; border-radius: 9px; background: #222; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-title { font: 600 14px/1.2 var(--text); }
.pv-meta { font: 400 11.5px/1.2 var(--text); color: var(--ink-2); margin-top: 2px; white-space: nowrap; }
.pv-sp { flex: 1; }
.pv-btn { height: 28px; padding: 0 14px; border-radius: 999px; background: #222; display: flex; align-items: center; font: 600 12px/1 var(--text); white-space: nowrap; }
.pv-btn.pri { background: #fff; color: #000; }
.pv-round { width: 28px; height: 28px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-body { position: absolute; left: 0; right: 0; top: 62px; bottom: 0; display: flex; }
.pv-pic { position: relative; flex: 1; border-right: 1px solid var(--hair); }
.pv-shot { position: absolute; left: 18px; top: 18px; width: 444px; height: 333px; border-radius: 12px; overflow: hidden; }
.pv-text { width: 300px; padding: 18px; }
.pv-text .eyebrow { font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 12px; }
.pv-text p { font: 400 12.5px/1.75 var(--text); color: rgba(255, 255, 255, 0.9); white-space: pre; }
.pv-text mark { background: rgba(172, 118, 251, 0.45); color: #fff; border-radius: 3px; padding: 0 1px; }

/* ———————————————————— static story (phones, tablets, reduced motion) ———————————————————— */

html:not(.is-timeline) .beats { display: flex; flex-direction: column; align-items: center; gap: 0; padding: calc(max(var(--bar), 44px) + 56px) 20px 40px; text-align: center; }
html:not(.is-timeline) .beat { width: 100%; max-width: 760px; padding: 56px 0; }
html:not(.is-timeline) .beat-hero { padding-top: 24px; }
html:not(.is-timeline) .beat .sub { margin-top: 16px; }
html:not(.is-timeline) [data-beat="problem"] .line-b { display: block; color: var(--ink-3); }
html:not(.is-timeline) .beat-film { padding: 8px 0 24px; }
.film-inline { width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--hair); }
.film-inline video { width: 100%; height: 100%; object-fit: cover; }
.beat-film figcaption { margin-top: 14px; }

/* ———————————————————— sections after the story ———————————————————— */

.section { position: relative; padding: clamp(96px, 14vw, 180px) 24px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* privacy */
.stack { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 104px); line-height: 1.04; letter-spacing: -0.04em; text-align: center; }
.stack span { display: block; color: rgba(255, 255, 255, 0.28); transition: color 0.8s var(--ease); }
.stack span.is-lit { color: #fff; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(64px, 8vw, 110px); }
.tile { position: relative; padding: 30px 26px 32px; border-radius: 28px; background: var(--tile); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.tile .ico { width: 40px; height: 40px; border-radius: 11px; background: #1c1c1e; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.tile h3 { font: 600 21px/1.2 var(--display); letter-spacing: -0.015em; margin-bottom: 10px; }
.tile p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.tile code { font: 500 13px var(--mono); color: #fff; }
@media (max-width: 1023px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid4 { grid-template-columns: 1fr; } }

/* keyboard */
.kb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; max-width: 980px; margin: clamp(56px, 7vw, 96px) auto 0; padding: 0; }
.kb > div { display: flex; align-items: center; gap: 22px; padding: 16px 0; border-top: 1px solid var(--hair); }
.kb dt { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.kb dt span { color: var(--ink-3); font-size: 22px; }
.kb dd { margin: 0; font-size: 17px; color: var(--ink-2); font-weight: 500; }
.kb kbd { min-width: 48px; height: 48px; padding: 0 12px; border-radius: 11px; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.45); }
.kb kbd.word { font: 500 14px/1 var(--text); letter-spacing: 0.02em; }
@media (max-width: 860px) { .kb { grid-template-columns: 1fr; } .kb dt { min-width: 160px; } }

/* the details */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.bento .tile { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.bento .art { position: relative; flex: 1; min-height: 230px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bento .copy { padding: 0 28px 30px; }
.bento .tile.wide { grid-column: span 2; }
@media (max-width: 1023px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .tile.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .tile.wide { grid-column: span 1; } .bento .tile { min-height: 0; } }
.mini { position: relative; transform-origin: 50% 50%; }
.notation { display: grid; gap: 6px; width: 260px; }
.notation div { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border-radius: 10px; background: #1c1c1e; }
.notation b { width: 40px; font: 600 10.5px/1 var(--text); letter-spacing: 0.06em; color: var(--ink-3); }
.notation span { font: 400 13px/1 var(--mono); }
.chips-art { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 300px; }
.chips-art .p-chip.on { background: #fff; }
.chips-art .p-chip.on .l { color: #000; }
.chips-art .p-chip.on .l i { color: rgba(0, 0, 0, 0.45); }
.peek-art { width: 349px; height: 37px; position: relative; }
.peek-art .nt-glimpse, .peek-art .nt-label { opacity: 1; }
.peek-art svg.shape { position: absolute; left: 0; top: 0; }
.menubar-art { position: absolute; left: 0; right: 0; top: 0; height: 24px; background: rgba(18, 14, 64, 0.4); display: flex; align-items: center; gap: 14px; padding: 0 14px; font: 500 11px/1 var(--text); color: rgba(255, 255, 255, 0.9); }
.flatpanel { position: absolute; left: 50%; top: 24px; width: 300px; height: 150px; margin-left: -150px; background: #000; border-radius: 0 0 22px 22px; padding: 14px; }
.flatpanel i { display: block; height: 10px; border-radius: 5px; background: #222; margin-bottom: 10px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; width: 300px; height: 52px; padding: 0 16px; border-radius: 12px; background: #1c1c1e; font-size: 14px; font-weight: 500; }
.switch { width: 38px; height: 22px; border-radius: 11px; background: #30d158; position: relative; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

/* open source */
.quote { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.6vw, 76px); line-height: 1.06; letter-spacing: -0.032em; max-width: 1040px; margin: 22px auto 0; }
.oss .sub { max-width: 700px; margin: 28px auto 40px; }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 56px 0 0; }
.facts li { display: flex; align-items: baseline; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--tile); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.facts b { font: 600 20px/1 var(--display); color: #fff; letter-spacing: -0.01em; }

/* download */
.dl { text-align: center; background: radial-gradient(60% 55% at 50% 38%, rgba(82, 51, 229, 0.28), rgba(82, 51, 229, 0) 70%), #000; }
.dl .icon { width: 132px; height: 132px; margin: 0 auto 30px; }
.dl .display { display: inline-flex; align-items: center; gap: 16px; }
.ver { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 12px; background: #1c1c1e; font: 600 22px/1 var(--display); letter-spacing: 0; }
.dl .tagline { margin: 22px 0 40px; font: 600 clamp(24px, 2.6vw, 40px)/1.1 var(--display); letter-spacing: -0.025em; }
.dl .fine { margin-top: 18px; }
.first-launch { max-width: 620px; margin: 44px auto 0; text-align: left; border-radius: 18px; background: var(--tile); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.first-launch summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.first-launch summary::-webkit-details-marker { display: none; }
.first-launch summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-2); }
.first-launch[open] summary::after { content: "–"; }
.first-launch > div { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; }
.first-launch ol { margin: 0 0 14px; padding-left: 20px; }
.first-launch li { margin: 6px 0; }
.first-launch code { font: 500 13px var(--mono); color: #fff; background: #1c1c1e; padding: 2px 6px; border-radius: 6px; }

/* footer */
.site-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; max-width: 1120px; margin: 0 auto; padding: 36px 24px 48px; border-top: 1px solid var(--hair); color: var(--ink-3); font-size: 13px; }
.foot-l { display: flex; align-items: center; gap: 10px; }
.foot-l img { width: 20px; height: 20px; }
.foot-l strong { color: #fff; font-weight: 600; }
.foot-l a, .foot-r a { color: var(--ink-2); }
.foot-l a:hover, .foot-r a:hover { color: #fff; }
.foot-r { display: flex; flex-wrap: wrap; gap: 22px; }

/* the film */
.film { width: min(1120px, 92vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.film::backdrop { background: rgba(0, 0, 0, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px var(--hair); }
.film-close { position: absolute; right: 0; top: -52px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; }
.film-close:hover { background: rgba(255, 255, 255, 0.24); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
