:root {
  --bg: #08090f;
  --bg-2: #0d0f19;
  --surface: #12141f;
  --surface-2: #181b2a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0fb;
  --muted: #9ba0b9;
  --faint: #6c7190;
  --accent: #b7bbff;
  --accent-2: #7f86ff;
  --accent-ink: #11132a;
  --warm: #ff9b6a;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Inter, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: .88em; background: rgba(183, 187, 255, .1); color: var(--accent); padding: .1em .4em; border-radius: 6px; }
::selection { background: rgba(127, 134, 255, .45); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

kbd {
  display: inline-grid; place-items: center;
  min-width: 1.7em; height: 1.7em; padding: 0 .4em; margin: 0 .12em;
  font: 600 .72em/1 -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(#2a2d40, #1d1f2e);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  vertical-align: .12em;
}

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(180deg, #e3e5ff, #b7bbff);
  box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 10px 30px -8px rgba(127,134,255,.7), 0 1px 0 rgba(255,255,255,.6) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 16px 40px -8px rgba(127,134,255,.9), 0 1px 0 rgba(255,255,255,.6) inset; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.24); }
.btn-sm { height: 36px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; border-radius: 16px; }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.linkish { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(183,187,255,.35); text-underline-offset: 3px; }
.linkish:hover { text-decoration-color: var(--accent); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 9, 15, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); margin-right: auto; }
.nav nav a { transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.gh { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.gh:hover { color: var(--text); border-color: var(--line-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -64px 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 340px at 50% 10%, rgba(127,134,255,.28), transparent 70%),
    radial-gradient(500px 400px at 15% 40%, rgba(56,98,255,.14), transparent 70%),
    radial-gradient(500px 400px at 85% 45%, rgba(255,155,106,.08), transparent 70%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font-size: 13px; color: var(--muted); transition: border-color .2s, color .2s;
}
.badge:hover { color: var(--text); border-color: rgba(183,187,255,.4); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 3px rgba(110,231,168,.2); }
.badge-arrow { transition: transform .2s; }
.badge:hover .badge-arrow { transform: translateX(3px); }
.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(33px, 8.6vw, 88px);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 700;
}
.grad {
  background: linear-gradient(92deg, #c9ccff 0%, #8f96ff 45%, #ffb08a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; }
.lede kbd { font-size: .8em; }
.cta-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.fine { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* ---------- Demo scene ---------- */
.demo-wrap { margin-top: 64px; }
.try-label { display: flex; justify-content: center; margin-bottom: 18px; }
.try-label > * { vertical-align: middle; }
.try-label {
  align-items: center; gap: 10px; font-size: 14px; color: var(--muted);
}
.try-label kbd { font-size: .78em; }
.try-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(127,134,255,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127,134,255,0); } 100% { box-shadow: 0 0 0 0 rgba(127,134,255,0); } }

.scene {
  position: relative; overflow: hidden;
  height: 640px; border-radius: 28px;
  background: #0a1b6b url(assets/wallpaper.jpg) center / cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 120px -30px rgba(40,60,255,.45), 0 30px 60px -30px #000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  user-select: none; -webkit-user-select: none;
}
.menubar {
  position: absolute; inset: 0 0 auto; height: 30px; z-index: 3;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  font-size: 13px; color: rgba(255,255,255,.92);
  background: rgba(10, 16, 60, .35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mb-apple { width: 13px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.6 1.3-.1 1.8-.8 3.3-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.3 3.1-2.5 1-1.4 1.4-2.8 1.4-2.9 0 0-2.7-1-2.7-4.1zM11.6 3c.7-.8 1.2-2 1-3.1-1 0-2.2.7-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.2-.6 2.9-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.6 1.3-.1 1.8-.8 3.3-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.3 3.1-2.5 1-1.4 1.4-2.8 1.4-2.9 0 0-2.7-1-2.7-4.1zM11.6 3c.7-.8 1.2-2 1-3.1-1 0-2.2.7-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.2-.6 2.9-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mb-spacer { flex: 1; }
.mb-stash { display: grid; place-items: center; width: 26px; height: 22px; border-radius: 5px; }
.mb-stash:hover, .scene:not(.palette-open) .mb-stash { background: rgba(255,255,255,.18); }
.mb-stash img { border-radius: 4px; }

.editor {
  position: absolute; left: 5%; top: 62px; width: 40%; bottom: 40px; z-index: 1;
  border-radius: 14px; overflow: hidden;
  background: #fbfbfd; color: #1d1e26;
  box-shadow: 0 30px 60px -20px rgba(0,0,30,.6), 0 0 0 1px rgba(0,0,0,.08);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), filter .5s;
}
.scene.palette-open .editor { filter: brightness(.9); }
.editor-bar { height: 40px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid #e6e6ee; background: #f3f3f7; font-size: 13px; color: #6b6d7c; }
.editor-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.editor-bar i:nth-child(2) { background: #febc2e; }
.editor-bar i:nth-child(3) { background: #28c840; margin-right: 12px; }
.editor-bar span { font-weight: 600; }
.doc { padding: 22px 26px; overflow-y: auto; font-size: 14px; line-height: 1.6; flex: 1; scrollbar-width: thin; }
.doc p + p { margin-top: 10px; }
.doc-h { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.caret { display: inline-block; width: 2px; height: 1.15em; background: #4c5bff; vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pasted { animation: pasteIn .9s var(--ease); border-radius: 6px; }
@keyframes pasteIn { 0% { background: rgba(76, 91, 255, .25); transform: translateY(6px); opacity: 0; } 30% { opacity: 1; transform: none; } 100% { background: transparent; } }
.doc pre { margin: 0; padding: 10px 12px; background: #f0f1f7; border-radius: 8px; font: 12.5px/1.55 var(--mono); white-space: pre-wrap; color: #2b2f55; }
.doc .d-link { color: #3b4cf0; text-decoration: underline; }
.doc .d-color { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; padding: 3px 10px 3px 4px; border-radius: 8px; background: #f0f1f7; }
.doc .d-color i { width: 18px; height: 18px; border-radius: 5px; background: var(--c); }
.doc .d-file { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #f0f1f7; font-weight: 600; font-size: 13px; }
.doc .d-shot { width: 220px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.doc .fieldv { background: rgba(76,91,255,.12); color: #3440c9; border-radius: 4px; padding: 0 3px; }

/* palette */
.palette {
  position: absolute; z-index: 2;
  right: 5%; top: 50%; width: min(600px, 52%); height: 520px;
  transform: translateY(-46%) scale(.96); opacity: 0; pointer-events: none;
  display: flex; flex-direction: column;
  color: #f2f2f6;
  background: rgba(58, 58, 68, .78);
  backdrop-filter: blur(40px) saturate(170%); -webkit-backdrop-filter: blur(40px) saturate(170%);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 .5px rgba(0,0,0,.6), 0 40px 80px -20px rgba(0,0,20,.7);
  transition: opacity .22s var(--ease), transform .3s var(--ease);
}
.palette.open { opacity: 1; transform: translateY(-50%) scale(1); pointer-events: auto; }
.p-search { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; color: rgba(255,255,255,.7); }
.p-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  font: 400 22px/1.2 -apple-system, BlinkMacSystemFont, sans-serif; color: #fff; letter-spacing: -.01em;
  caret-color: #b7bbff;
}
.p-search input::placeholder { color: rgba(255,255,255,.38); }
.p-count { font-size: 13px; color: rgba(255,255,255,.55); white-space: nowrap; }
.p-tabs { display: flex; gap: 4px; padding: 0 14px 12px; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
.p-tabs::-webkit-scrollbar { display: none; }
.p-tab { flex: none; padding: 5px 12px; border-radius: 99px; font-size: 13.5px; color: rgba(255,255,255,.72); transition: background .15s, color .15s; }
.p-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.p-tab[aria-selected="true"] { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }

.p-body { flex: 1; min-height: 0; display: flex; }
.p-list { position: relative; flex: 1; min-width: 0; overflow-y: auto; padding: 6px 10px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.p-detail { display: none; }
.p-body.split .p-list { flex: 0 0 46%; border-right: 1px solid rgba(255,255,255,.08); }
.p-body.split .p-detail { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 14px 16px; overflow-y: auto; }
.p-group { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); padding: 12px 10px 6px; display: flex; gap: 6px; align-items: center; }
.p-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: default;
  transition: background .12s;
}
.p-item:hover { background: rgba(255,255,255,.05); }
.p-item[aria-selected="true"] { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.p-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; font-weight: 700; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.p-ico.spark { background: none; color: var(--warm); font-size: 30px; font-weight: 400; line-height: 1; }
.p-ico.term { background: #1a1b22; color: #8ff0a4; font: 700 13px var(--mono); }
.p-ico.link { background: #f4f4f8; color: #22232c; }
.p-ico.swatch { background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; }
.p-ico.file { background: #e9edf8; color: #3b4aa8; font-size: 12px; }
.p-ico.prompt { background: none; color: #b7bbff; }
.p-ico.shot { background: #1c1d25; overflow: hidden; padding: 4px; }
.p-main { flex: 1; min-width: 0; }
.p-title { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.p-title mark { background: rgba(183,187,255,.28); color: #fff; border-radius: 3px; padding: 0 1px; }
.p-title.mono { font-family: var(--mono); font-size: 13px; }
.p-meta { font-size: 12px; color: rgba(255,255,255,.52); display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; }
.p-meta .pin-i { color: #b7bbff; }
.p-key { flex: none; font-size: 12px; color: rgba(255,255,255,.42); font-variant-numeric: tabular-nums; }
.p-item[aria-selected="true"] .p-key { color: rgba(255,255,255,.85); }
.p-empty { padding: 48px 20px; text-align: center; color: rgba(255,255,255,.55); font-size: 14px; }
.p-empty b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }

.p-foot { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.62); }
.p-foot span { display: flex; align-items: center; gap: 5px; }
.p-foot em { font-style: normal; }
.p-foot kbd { background: rgba(255,255,255,.1); border: 0; font-size: 11px; color: rgba(255,255,255,.8); height: 20px; margin: 0; }
.p-foot .accent { color: #b7bbff; font-weight: 600; }
.p-foot .spacer { flex: 1; }

/* screenshot thumbnails + detail */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 0; }
.shot { min-width: 0; border-radius: 12px; padding: 6px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; cursor: default; }
.shot[aria-selected="true"] { background: rgba(255,255,255,.12); box-shadow: 0 0 0 2px rgba(183,187,255,.6) inset; }
.shot b { display: block; font-size: 12px; font-weight: 600; padding: 6px 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-shot { background: #16171e; border-radius: 6px; font: 5.2px/1.5 var(--mono); color: #cfd2e6; padding: 10px 7px 7px; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.term-shot::before { content: ""; position: absolute; top: 3px; left: 5px; width: 3px; height: 3px; border-radius: 50%; background: #ff5f57; box-shadow: 5px 0 #febc2e, 10px 0 #28c840; }
.term-shot .r { color: #ff9b6a; } .term-shot .g { color: #7ee2a0; } .term-shot .y { color: #f3d27a; }
.term-shot div { white-space: nowrap; }
.d-shot .term-shot, .p-detail .term-shot { font-size: 8px; padding: 18px 12px 12px; }
.p-detail .term-shot::before { top: 6px; left: 8px; width: 5px; height: 5px; box-shadow: 8px 0 #febc2e, 16px 0 #28c840; }
.detail-title { font-size: 15px; font-weight: 600; margin-top: 14px; }
.detail-meta { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 4px; }
.prompt-body { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.85); background: rgba(0,0,0,.18); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.prompt-body .fieldv { background: rgba(183,187,255,.2); color: #dfe1ff; border-radius: 5px; padding: 1px 5px; }
.prompt-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prompt-fields span { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.detail-hint { margin-top: auto; padding-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); }

.reopen {
  position: absolute; z-index: 2; right: 5%; top: 50%; transform: translateY(-50%) scale(.95);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 16px; font-size: 15px; font-weight: 600;
  color: #fff; background: rgba(40, 42, 60, .6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 20px 40px -10px rgba(0,0,20,.6);
  opacity: 0; pointer-events: none; transition: opacity .3s .15s, transform .3s .15s var(--ease);
}
.reopen .kbds kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); }
.scene:not(.palette-open) .reopen { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); animation: bob 2.4s 1s ease-in-out infinite; }
.reopen:hover { background: rgba(60, 62, 90, .7); }
@keyframes bob { 50% { transform: translateY(calc(-50% - 5px)); } }
.toast {
  position: absolute; left: 50%; bottom: 20px; z-index: 4; transform: translate(-50%, 20px);
  padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: #fff;
  background: rgba(20,22,34,.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 10px 30px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--faint); }

/* ---------- Sections ---------- */
.section { padding: 130px 0 0; }
.section-head { max-width: 620px; }
.section-head.center { text-align: center; margin: 0 auto; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 16px; }
.section h2, .closing h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; }
.dim { color: var(--faint); }
.section-head > p:not(.small) { margin-top: 20px; font-size: 18px; color: var(--muted); }
.small { font-size: 14px; color: var(--faint); margin-top: 14px; }

.center { text-align: center; }
.section-head.center .small, p.small.center { margin-left: auto; margin-right: auto; }

/* shared: switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: var(--muted); user-select: none; -webkit-user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.14); transition: background .25s; }
.sw-thumb { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.switch input:checked + .sw-track { background: #34c759; }
.switch input:checked + .sw-track .sw-thumb { transform: translateX(16px); }
.switch input:focus-visible + .sw-track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Trust row ---------- */
.trust { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; margin-top: 64px; padding: 0 8px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.ti-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: radial-gradient(circle at 30% 20%, rgba(183,187,255,.22), rgba(183,187,255,.06)); box-shadow: 0 0 0 1px rgba(183,187,255,.18) inset; }
.trust-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.trust-item span:not(.ti-ico) { display: block; font-size: 13.5px; color: var(--faint); }

/* ---------- Stage + window system ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px;
  padding: clamp(20px, 4vw, 44px); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 100px -50px rgba(40,60,255,.5);
}
.stage::before { content: ""; position: absolute; inset: -20px; z-index: -2; background: url(assets/wallpaper.jpg) var(--pos, center) / cover; filter: var(--f, none); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 0%, transparent 30%, rgba(6,7,14,.55)), linear-gradient(180deg, rgba(8,9,15,.15), rgba(8,9,15,.45)); }
.stage-blue { --pos: 30% 40%; }
.stage-violet { --pos: 70% 30%; --f: hue-rotate(38deg) saturate(1.1); }
.stage-teal { --pos: 20% 70%; --f: hue-rotate(-28deg) saturate(.95); }
.stage-indigo { --pos: 85% 70%; --f: hue-rotate(18deg) brightness(.9); }
.stage-gray { --pos: 40% 50%; --f: grayscale(1) brightness(.45) contrast(1.1); }

.win {
  position: relative; width: 100%; max-width: 560px; overflow: hidden; border-radius: 18px; color: #f2f2f6;
  background: rgba(46, 46, 58, .78); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 .5px rgba(0,0,0,.6), 0 30px 70px -20px rgba(0,0,20,.75);
}
.win-bar { height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.tl { display: flex; gap: 7px; }
.tl i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.tl i:nth-child(2) { background: #febc2e; } .tl i:nth-child(3) { background: #28c840; }
.win-title { font-weight: 600; color: rgba(255,255,255,.85); }
.win-extra { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.5); }
.win-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 10px 8px 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12.5px; color: rgba(255,255,255,.55); }
.win-btn { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(183,187,255,.18); box-shadow: 0 0 0 1px rgba(183,187,255,.35) inset; transition: background .2s; animation: pop .3s var(--ease); }
.win-btn:hover { background: rgba(183,187,255,.28); }
.win-btn kbd { margin: 0; height: 20px; font-size: 10.5px; background: rgba(255,255,255,.12); border: 0; color: #fff; }
.win-btn.ok { background: rgba(52,199,89,.25); box-shadow: 0 0 0 1px rgba(52,199,89,.5) inset; }
.win-btn[hidden] { display: none; }
.win-sm { max-width: 420px; }
.win-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; color: rgba(255,255,255,.4); }
.win-body { padding: 12px; }

/* ---------- Why ---------- */
.why { margin-top: 48px; }
.why-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .2s, box-shadow .2s, transform .2s var(--ease), opacity .3s; }
.chip:hover { background: rgba(183,187,255,.1); box-shadow: 0 0 0 1px rgba(183,187,255,.45) inset; transform: translateY(-2px); }
.chip kbd { margin: 0 0 0 2px; height: 28px; min-width: 38px; border-radius: 99px; font-size: 11px; color: var(--accent); background: rgba(183,187,255,.12); border: 0; }
.chip-sw { width: 14px; height: 14px; border-radius: 4px; background: #7c83ff; }
.chip[aria-pressed="true"] { opacity: .45; transform: none; pointer-events: none; }
.chip[aria-pressed="true"] kbd { color: #6ee7a8; background: rgba(110,231,168,.12); font-size: 0; }
.chip[aria-pressed="true"] kbd::after { content: "✓"; font-size: 13px; line-height: 1; }
.chip.hit { animation: chipHit .45s var(--ease); }
@keyframes chipHit { 40% { transform: scale(.94); box-shadow: 0 0 0 2px var(--accent-2) inset; } }

.why-lanes { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 12px; font-size: 15px; font-weight: 600; }
.lane-stat { font-size: 13.5px; font-weight: 500; color: var(--faint); }
.lane-stat b { font-size: 22px; font-weight: 700; margin-right: 3px; font-variant-numeric: tabular-nums; }
.lane-stat.bad b { color: #ff8f8f; }
.lane-stat.good b { color: #6ee7a8; }
.lane-stat b.bump { animation: bump .4s var(--ease); display: inline-block; }
@keyframes bump { 40% { transform: scale(1.35); } }
.lane .stage { min-height: 360px; align-items: start; }
.lane .win { align-self: center; }
.lane-note { padding: 12px 6px 0; font-size: 13.5px; color: var(--faint); }
.lane-note kbd { font-size: .72em; }
.slot { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; font-size: 14px; min-width: 0; }
.slot > .it { animation: dropIn .45s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px); } }
.slot-empty { font-size: 13.5px; color: rgba(255,255,255,.4); padding: 6px 4px; }
.it { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; }
.it-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.it-t.mono { font-family: var(--mono); font-size: 12.5px; }
.it-i { flex: none; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.1); }
.it-i.l { background: #f4f4f8; color: #1d1e26; }
.it-i.t { background: #16171e; color: #8ff0a4; font-family: var(--mono); font-size: 10.5px; }
.it-i.c { background: #7c83ff; }
.it-i.s { color: var(--warm); background: rgba(255,155,106,.14); font-size: 15px; }
.ghosts { display: flex; flex-direction: column; gap: 2px; height: 180px; overflow: hidden; padding-top: 10px; }
.ghost { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13px; color: rgba(255,255,255,.45); animation: ghostAway 2.6s var(--ease) forwards; }
.ghost .it-t { text-decoration: line-through; text-decoration-color: rgba(255,143,143,.7); }
.ghost::after { content: "gone"; flex: none; font-size: 11px; font-weight: 700; color: #ff8f8f; background: rgba(255,143,143,.12); padding: 2px 8px; border-radius: 6px; }
@keyframes ghostAway { 0% { opacity: 0; transform: translateY(-16px); } 12% { opacity: 1; transform: none; } 70% { opacity: .9; transform: none; } 100% { opacity: 0; transform: translateY(24px); } }
.kept { display: flex; flex-direction: column; gap: 4px; height: 246px; }
.kept .it { padding: 8px 10px; border-radius: 10px; animation: stackIn .45s var(--ease); }
.kept .it:first-child { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.kept .it kbd { margin: 0; font-size: 10.5px; background: none; border: 0; color: rgba(255,255,255,.45); }
@keyframes stackIn { from { opacity: 0; transform: translateY(-10px); } }
.why-reset-row { text-align: center; margin-top: 18px; min-height: 26px; }

/* ---------- Features ---------- */
.feat-head { text-align: center; max-width: 820px; margin: 0 auto; }
.feat-head h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.feat-head > p { margin: 22px auto 0; max-width: 600px; font-size: 18.5px; color: var(--muted); }
.feat-index { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feat-index a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border-radius: 18px; transition: background .25s, transform .25s var(--ease); }
.feat-index a:hover { background: rgba(255,255,255,.04); transform: translateY(-3px); }
.fi-ico { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; color: var(--accent); background: radial-gradient(circle at 30% 20%, rgba(183,187,255,.24), rgba(183,187,255,.06)); box-shadow: 0 0 0 1px rgba(183,187,255,.2) inset; }
.feat-index b { font-size: 15.5px; }
.feat-index small { font-size: 13px; color: var(--faint); }

.row { margin-top: 120px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; scroll-margin-top: 100px; }
.row.flip { grid-template-columns: 1.15fr .85fr; }
.row.flip .row-copy { order: 2; }
.row-num { display: block; font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; background: linear-gradient(180deg, #b7bbff, rgba(183,187,255,.08) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row-copy .kicker { margin-bottom: 10px; }
.row-copy h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.row-copy p { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 460px; }
.row-copy kbd { font-size: .74em; }
.row .stage { min-height: 460px; }

/* prompts window */
.win-prompts { max-width: 600px; }
.pe { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }
.pe-side { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.12); }
.pe-side button { text-align: left; padding: 9px 10px; border-radius: 9px; transition: background .15s; }
.pe-side button:hover { background: rgba(255,255,255,.05); }
.pe-side button b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.85); }
.pe-side button small { font-size: 11.5px; color: rgba(255,255,255,.45); }
.pe-side button[aria-selected="true"] { background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.pe-side button[aria-selected="true"] b { color: #fff; }
.pe-main { padding: 14px 16px 16px; min-width: 0; }
.pe-fields { display: flex; flex-direction: column; gap: 8px; }
.pe-field { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 10px; }
.pe-field span { font: 600 11.5px var(--mono); color: var(--accent); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pe-field input { width: 100%; min-width: 0; height: 34px; padding: 0 11px; border-radius: 8px; border: 0; outline: 0; font: inherit; font-size: 13.5px; color: #fff; background: rgba(0,0,0,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; transition: box-shadow .2s, background .2s; }
.pe-field input:focus { background: rgba(0,0,0,.3); box-shadow: 0 0 0 2px var(--accent-2) inset; }
.pe-out-label { margin-top: 16px; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }
.pe-out { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.9); }
.pe-out .fv { background: rgba(183,187,255,.2); color: #e2e4ff; border-radius: 5px; padding: 1px 5px; transition: background .3s; }
.pe-out .fv.flash { background: rgba(127,134,255,.6); }
.pe-out .fv.empty { background: rgba(255,155,106,.18); color: #ffc7ad; }

/* gallery window */
.gal-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 12px; min-height: 300px; }
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.gal-thumb { min-width: 0; padding: 5px; border-radius: 10px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; text-align: left; transition: background .15s, box-shadow .15s; }
.gal-thumb b { display: block; font-size: 11px; font-weight: 600; padding: 5px 2px 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-thumb[aria-pressed="true"] { background: rgba(255,255,255,.12); box-shadow: 0 0 0 2px rgba(183,187,255,.65) inset; }
.gal-thumb.new { animation: thumbIn .6s var(--ease); }
@keyframes thumbIn { from { opacity: 0; transform: scale(.6); } }
.gal-thumb .term-shot { font-size: 3.6px; padding: 8px 5px 5px; }
.gal-thumb .term-shot::before { top: 3px; left: 4px; width: 2.5px; height: 2.5px; box-shadow: 4px 0 #febc2e, 8px 0 #28c840; }
.gal-preview { border-radius: 12px; padding: 12px; background: rgba(0,0,0,.2); display: flex; flex-direction: column; min-width: 0; }
.gal-preview .term-shot { font-size: 7.4px; padding: 18px 12px 12px; animation: zoomIn .35s var(--ease); }
.gal-preview .term-shot::before { top: 6px; left: 8px; width: 5px; height: 5px; box-shadow: 8px 0 #febc2e, 16px 0 #28c840; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.gal-preview b { margin-top: 12px; font-size: 14px; }
.gal-preview small { font-size: 12px; color: rgba(255,255,255,.55); }
.gal-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.gal-flash.go { animation: flash .5s ease-out; }
@keyframes flash { 10% { opacity: .85; } 100% { opacity: 0; } }
.win .switch { color: rgba(255,255,255,.6); font-size: 12px; }

/* links window */
.lk { padding: 16px; }
.lk-lbl { display: block; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.lk-lbl2 { margin: 0 0 8px; }
.lk-raw { padding: 14px 16px; border-radius: 12px; background: rgba(0,0,0,.3); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; min-height: 92px; }
.lk-raw .lk-lbl { margin-bottom: 6px; }
.lk-raw code { display: block; background: none; padding: 0; color: #a9aed3; font-size: 13.5px; word-break: break-all; line-height: 1.55; }
.lk-raw code::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.lk-raw.done code::after { display: none; }
.lk-arrow { display: grid; place-items: center; height: 34px; }
.lk-arrow span { width: 2px; height: 22px; background: linear-gradient(rgba(255,255,255,.1), var(--accent)); position: relative; }
.lk-arrow span::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }
.lk-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; opacity: .2; transform: scale(.98); transition: opacity .4s, transform .5s var(--ease); }
.lk-card.show { opacity: 1; transform: none; }
.lk-card > div { flex: 1; min-width: 0; }
.lk-card b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-card small { font-size: 12.5px; color: rgba(255,255,255,.55); }
.lk-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: #f4f4f8; color: #1d1e26; }
.lk-key { margin: 0; background: none; border: 0; color: rgba(255,255,255,.6); }
.lk-dots { display: flex; gap: 8px; padding-right: 6px; }
.lk-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); transition: width .3s var(--ease), background .3s; }
.lk-dots button[aria-selected="true"] { width: 26px; background: var(--accent); }

/* pins window: same palette as the hero demo */
.win.pal { max-width: 540px; border-radius: 24px; background: rgba(58, 58, 68, .78); backdrop-filter: blur(40px) saturate(170%); -webkit-backdrop-filter: blur(40px) saturate(170%); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 .5px rgba(0,0,0,.6), 0 40px 80px -20px rgba(0,0,20,.7); outline: none; }
.win.pal:focus-visible { box-shadow: 0 0 0 2px var(--accent) inset, 0 40px 80px -20px rgba(0,0,20,.7); }
.p-ph { flex: 1; min-width: 0; display: flex; align-items: center; font: 400 21px/1.2 -apple-system, BlinkMacSystemFont, sans-serif; color: rgba(255,255,255,.38); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.p-ph::before { content: ""; width: 2px; height: 24px; margin-right: 2px; background: #b7bbff; animation: blink 1.1s steps(1) infinite; }
.pal .p-list { overflow: visible; padding: 6px 10px 10px; }
.pal .p-item { cursor: default; }
.pal .p-item.pulse { animation: rowPulse .5s var(--ease); }
@keyframes rowPulse { 40% { background: rgba(183,187,255,.28); } }
.pin-btn { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: rgba(255,255,255,.45); opacity: 0; transition: opacity .15s, color .2s, background .2s, transform .2s; }
.p-item:hover .pin-btn, .p-item[aria-selected="true"] .pin-btn, .pin-btn:focus-visible { opacity: 1; }
.pin-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.pin-btn[aria-pressed="true"] { color: #b7bbff; }
.pin-btn:active { transform: scale(.85); }
.pal .p-key { min-width: 26px; text-align: right; }
@media (hover: none) { .pin-btn { opacity: 1; } }

/* extras */
.extras { margin-top: 120px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.extra { padding: 36px 32px 8px; display: flex; flex-direction: column; gap: 10px; }
.extra + .extra { border-left: 1px solid var(--line); }
.extra:first-child { padding-left: 0; }
.extra:last-child { padding-right: 0; }
.ex-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; color: var(--accent); background: rgba(183,187,255,.1); margin-bottom: 6px; }
.extra h4 { font-size: 18px; letter-spacing: -.01em; }
.extra > p { font-size: 15px; color: var(--muted); }
.extra kbd { font-size: .74em; }
.plain-demo { margin-top: 10px; position: relative; height: 50px; width: 100%; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line) inset; text-align: left; cursor: pointer; }
.plain-demo span { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); transition: opacity .35s, transform .35s var(--ease); }
.plain-demo .plain { opacity: 0; transform: translateY(-20%); font-size: 15px; color: #e5e7f5; }
.plain-demo.is-plain .rich { opacity: 0; transform: translateY(-80%); }
.plain-demo.is-plain .plain { opacity: 1; transform: translateY(-50%); }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.type { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line) inset; font-family: var(--mono); font-size: 12px; }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.meter { margin-top: 18px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 1.6s var(--ease) .3s; }
.reveal.in .meter span { width: var(--w); }

/* ---------- Keyboard ---------- */
.kb-card { margin: 48px auto 0; max-width: 980px; padding: clamp(14px, 3vw, 32px); border-radius: 32px; background: linear-gradient(180deg, #1a1c2a, #0f111a); box-shadow: 0 0 0 1px var(--line) inset, 0 60px 120px -60px rgba(127,134,255,.5); container-type: inline-size; }
.kb-display { height: 64px; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(14px, 3cqi, 28px); border-radius: 16px; background: #06070c; box-shadow: 0 0 0 1px var(--line) inset; padding: 0 16px; }
.kb-combo { display: flex; gap: 4px; }
.kb-combo kbd { font-size: 15px; min-width: 32px; height: 32px; background: linear-gradient(#b7bbff, #8f96ff); color: var(--accent-ink); border-color: transparent; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.kb-action { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-action.idle { color: var(--faint); font-weight: 500; }
.kb { --u: calc(100cqi / 15.2); display: flex; flex-direction: column; gap: calc(var(--u) * .12); }
.kb-row { display: flex; gap: calc(var(--u) * .12); }
.key {
  flex: 0 0 calc(var(--u) * var(--w, 1) - var(--u) * .12);
  height: calc(var(--u) * .92); border-radius: calc(var(--u) * .14);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: calc(var(--u) * .1) calc(var(--u) * .14);
  min-width: 0; overflow: hidden; white-space: nowrap;
  font-size: max(7px, calc(var(--u) * .24)); color: #8d92ad;
  background: linear-gradient(180deg, #252838, #1c1e2b); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 2px 0 #0b0c12;
  transition: background .12s, transform .12s, color .12s, box-shadow .12s;
}
.kb-row:last-child .key:not(.c) { font-size: max(7px, calc(var(--u) * .2)); }
.key.c { justify-content: center; align-items: center; font-size: max(10px, calc(var(--u) * .34)); }
.key.rel { color: #d7daf5; box-shadow: 0 0 0 1px rgba(183,187,255,.28) inset, 0 2px 0 #0b0c12; }
.key.down { background: linear-gradient(180deg, #b7bbff, #8f96ff); color: var(--accent-ink); transform: translateY(2px); box-shadow: 0 0 24px rgba(127,134,255,.6), 0 0 0 0 #0b0c12; }
.key.half { height: calc(var(--u) * .44); }
.arrows { min-width: 0; flex: 0 0 calc(var(--u) * 3 - var(--u) * .12); display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: calc(var(--u) * .06); height: calc(var(--u) * .92); }
.arrows .key { height: auto; flex: none; font-size: max(8px, calc(var(--u) * .24)); }
.arrows .up { grid-column: 2; grid-row: 1; }
.kb-list { margin: 20px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.kb-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: var(--muted); text-align: left; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: background .2s, color .2s, box-shadow .2s; }
.kb-item:hover { color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.kb-item.hit { color: var(--text); background: rgba(127,134,255,.16); box-shadow: 0 0 0 1px rgba(183,187,255,.4) inset; }
.kb-item .kk { flex: none; display: flex; gap: 2px; }
.kb-item kbd { font-size: 11px; min-width: 22px; height: 22px; margin: 0; }
#keyboard .small { max-width: 620px; margin-top: 24px; }

/* ---------- Privacy ---------- */
.priv { margin-top: 56px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.boundary {
  position: relative; border-radius: 32px; padding: 72px 36px 36px; min-height: 420px;
  display: grid; grid-template-columns: auto 64px 1fr; grid-template-rows: 1fr auto; gap: 28px 12px; align-items: center; align-content: center;
  background: radial-gradient(500px 300px at 30% 30%, rgba(127,134,255,.14), transparent 70%);
  outline: 2px dashed rgba(183,187,255,.35); outline-offset: -14px;
}
.bd-label { position: absolute; top: 30px; left: 36px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.bd-label::before { content: ""; width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 2px; }
.bd-app { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.bd-app img { border-radius: 14px; box-shadow: 0 16px 40px -8px rgba(127,134,255,.7); }
.bd-flow { display: flex; justify-content: space-between; align-items: center; }
.bd-flow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .25; }
.priv.in-view .bd-flow i { animation: flow 1.4s ease-in-out infinite; }
.priv.in-view .bd-flow i:nth-child(2) { animation-delay: .2s; }
.priv.in-view .bd-flow i:nth-child(3) { animation-delay: .4s; }
@keyframes flow { 40% { opacity: 1; transform: scale(1.3); } }
.bd-net { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
.bd-files { padding: 16px; border-radius: 16px; background: #06070c; box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bd-files code { background: none; padding: 0; color: var(--faint); font-size: 12px; word-break: break-all; }
.bd-file { display: flex; align-items: center; gap: 10px; font: 13.5px var(--mono); padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); position: relative; overflow: hidden; }
.bd-file span { color: var(--accent); font-weight: 700; }
.bd-file small { margin-left: auto; font: 11px -apple-system, sans-serif; color: #6ee7a8; }
.bd-file::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(183,187,255,.18), transparent); transform: translateX(-100%); }
.priv.in-view .bd-file::after { animation: write 2.8s ease-in-out infinite; }
.priv.in-view .bd-file:nth-of-type(2)::after { animation-delay: 1.4s; }
@keyframes write { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.bd-net { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-width: 0; }
.bd-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,143,143,.5) 0 6px, transparent 6px 12px); position: relative; }
.bd-x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #ff8f8f; background: #1a1215; box-shadow: 0 0 0 1px rgba(255,143,143,.4) inset; }
.bd-cloud { display: flex; flex-direction: column; align-items: center; font-size: 30px; line-height: 1; color: var(--faint); opacity: .6; }
.bd-cloud small { font-size: 11px; margin-top: 4px; }
.bd-note { flex-basis: 100%; margin-top: 4px; font-size: 12.5px; color: var(--faint); }
.bd-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.bd-count b { font-size: 22px; color: #6ee7a8; font-variant-numeric: tabular-nums; }

.settings { border-radius: 24px; padding: 8px 8px 12px; background: #24252f; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 40px 80px -30px #000; display: flex; flex-direction: column; }
.set-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.set-dots { display: flex; gap: 6px; }
.set-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.set-dots i:nth-child(2) { background: #febc2e; } .set-dots i:nth-child(3) { background: #28c840; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.035); margin-top: 6px; cursor: default; }
label.set-row { cursor: pointer; }
.set-row.col { flex-direction: column; align-items: stretch; }
.set-row b { display: block; font-size: 14.5px; font-weight: 600; }
.set-row small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; transition: color .3s; }
.set-row small.warn { color: #ffc7ad; }
.seg { flex: none; display: flex; padding: 3px; border-radius: 10px; background: rgba(0,0,0,.3); }
.seg button { padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg button[aria-checked="true"] { background: rgba(255,255,255,.14); color: #fff; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.app-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-size: 13px; background: rgba(255,255,255,.07); animation: pop .3s var(--ease); }
.app-chip em { font-style: normal; font-size: 11px; color: #6ee7a8; }
.app-chip button { color: var(--faint); font-size: 15px; line-height: 1; }
.app-chip button:hover { color: #fff; }
.app-add { padding: 6px 10px; border-radius: 9px; font-size: 13px; color: var(--accent); box-shadow: 0 0 0 1px rgba(183,187,255,.3) inset; }
.set-foot { margin-top: auto; padding: 12px 12px 0; font-size: 11.5px; color: var(--faint); }
.honest { max-width: 780px; margin: 28px auto 0; font-size: 14px; color: var(--faint); }
.text-link { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 600; }
.text-link.inline, .honest .text-link { margin-top: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Install ---------- */
.install { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.install .steps { margin-top: 32px; }
.install-card { border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, 0 40px 100px -50px rgba(127,134,255,.5); padding: 10px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.04); }
.tabs button { flex: 1; height: 40px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset, 0 4px 12px rgba(0,0,0,.3); }
.tab-panel { padding: 18px 12px 12px; }
#t-dmg { text-align: center; }
#t-dmg .btn { margin-top: 20px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(183,187,255,.12); }
.steps li span { padding-top: 2px; }
.steps b { color: var(--text); font-weight: 600; }
.dmg { width: 100%; min-height: 234px; text-align: left; border-radius: 14px; background: #ececf1; color: #1d1e26; box-shadow: 0 20px 50px -20px #000; position: relative; }
.dmg-bar { border-radius: 14px 14px 0 0; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #dcdce3; font-size: 12.5px; font-weight: 600; color: #55576a; }
.dmg-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dmg-bar i:nth-child(2) { background: #febc2e; } .dmg-bar i:nth-child(3) { background: #28c840; margin-right: auto; }
.dmg-bar span { margin-right: auto; transform: translateX(-24px); }
.dmg-body { height: 200px; display: flex; align-items: center; justify-content: space-around; padding: 0 20px; }
.dmg-app, .dmg-apps { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.dmg-app img { border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.dmg-arrow { font-size: 34px; color: #9a9cb0; }
.folder { width: 96px; height: 76px; border-radius: 10px; position: relative; background: linear-gradient(#6cb8ff, #3a8ef0); display: grid; place-items: center; }
.folder::before { content: ""; position: absolute; top: -8px; left: 0; width: 40px; height: 14px; border-radius: 6px 6px 0 0; background: #5aa9f7; z-index: -1; }
.dmg-apps { isolation: isolate; }
.folder-a { font-size: 34px; font-weight: 800; color: rgba(255,255,255,.85); }
.dmg-done { position: absolute; top: 46px; right: 14px; padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; background: #34c759; color: #fff; opacity: 0; }
.dmg.is-playing .dmg-app img { animation: drag 4.2s var(--ease) infinite; }
.dmg.is-playing .folder { animation: gulp 4.2s ease infinite; }
.dmg.is-playing .dmg-done { animation: done 4.2s ease infinite; }
@keyframes drag {
  0%, 12% { transform: none; opacity: 1; }
  18% { transform: translateY(-6px) scale(1.06); }
  48% { transform: translate(var(--dx, 220px), -10px) scale(.9); opacity: 1; }
  54% { transform: translateX(var(--dx, 220px)) scale(.5); opacity: 0; }
  88% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes gulp { 0%, 50% { transform: none; } 56% { transform: scale(1.12); } 64%, 100% { transform: none; } }
@keyframes done { 0%, 54% { opacity: 0; transform: translateY(-4px); } 60%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.term { position: relative; border-radius: 14px; overflow: hidden; background: #06070c; box-shadow: 0 0 0 1px var(--line) inset; }
.term-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #16171f; font-size: 12.5px; color: var(--faint); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.term-body { margin: 0; padding: 16px 18px; min-height: 190px; overflow-x: auto; font: 13px/1.8 var(--mono); color: #dfe2f5; white-space: pre; }
.term-body .pr { color: var(--faint); user-select: none; -webkit-user-select: none; }
.term-body .ok { color: #6ee7a8; } .term-body .dim2 { color: var(--faint); }
.term-body .cur { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.copy { position: absolute; top: 4px; right: 6px; padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .2s; }
.copy:hover { background: rgba(255,255,255,.14); }
.copy.done { color: #6ee7a8; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 600; position: relative; transition: color .2s; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255,255,255,.05) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%239ba0b9' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .35s var(--ease), background-color .2s; }
.questions details[open] summary::after { transform: rotate(45deg); background-color: rgba(183,187,255,.15); }
.questions summary:hover { color: var(--accent); }
.questions .ans { overflow: hidden; }
.questions .ans p { padding: 0 44px 24px 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Closing ---------- */
.closing { position: relative; margin-top: 150px; padding: 110px 0 140px; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.closing-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 50% 100%, rgba(127,134,255,.32), transparent 70%), radial-gradient(400px 300px at 50% 20%, rgba(127,134,255,.12), transparent 70%); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.bigkeys { display: flex; gap: 14px; cursor: pointer; border-radius: 24px; padding: 8px; }
.bk {
  position: relative; width: 104px; height: 104px; border-radius: 22px; display: grid; place-items: center;
  font-size: 44px; font-weight: 500; color: #eef0fb;
  background: linear-gradient(180deg, #2c2f44, #1b1d2b);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 0 #0c0d15, 0 20px 40px -10px rgba(0,0,0,.8);
  transition: transform .12s, box-shadow .12s, background .2s, color .2s;
}
.bk small { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--faint); font-weight: 500; }
.bk.down { transform: translateY(6px); background: linear-gradient(180deg, #c3c6ff, #8f96ff); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 2px 0 #3d3f7a, 0 0 60px rgba(127,134,255,.7); }
.bk.down small { color: rgba(17,19,42,.6); }
.bigkeys:hover .bk { background: linear-gradient(180deg, #32354c, #1f2130); }
.bk-hint { margin-top: 20px; font-size: 14px; color: var(--faint); }
.closing h2 { margin-top: 36px; }
.closing-sub { font-size: 19px; color: var(--muted); margin-top: 18px; }
.cta-row.center { justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--faint); }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { color: var(--text); font-size: 16px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }
.copy-note { margin-left: auto; }

/* mobile sticky CTA */
.mobile-cta { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav nav { display: none; }
  .nav-actions { margin-left: auto; }
  .install, .faq { grid-template-columns: 1fr; gap: 40px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 24px 32px; justify-content: stretch; }
  .row, .row.flip { grid-template-columns: 1fr; margin-top: 96px; }
  .row.flip .row-copy { order: 0; }
  .row-copy p { max-width: 640px; }
  .priv { grid-template-columns: 1fr; }
  .editor { width: 44%; left: 3%; }
  .palette { right: 3%; width: 54%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 48px; }
  .demo-wrap { margin-top: 44px; }
  .try-label { font-size: 13px; text-align: center; }
  .try-label .try-text kbd { display: none; }
  .scene { height: 560px; border-radius: 20px; }
  .mb-hide { display: none; }
  .editor { left: 12px; right: 12px; width: auto; top: 44px; bottom: 12px; }
  .scene.palette-open .editor { filter: brightness(.7); }
  .palette { left: 10px; right: 10px; width: auto; height: 470px; top: auto; bottom: 10px; transform: translateY(24px) scale(.98); }
  .palette.open { transform: none; }
  .p-search input { font-size: 18px; }
  .hide-sm { display: none !important; }
  .p-body.split { flex-direction: column; }
  .p-body.split .p-list { flex: 1 1 auto; border-right: 0; }
  .p-body.split .p-detail { display: none; }
  .reopen { left: 50%; right: auto; top: auto; bottom: 24px; transform: translateX(-50%); }
  .scene:not(.palette-open) .reopen { transform: translateX(-50%); animation: none; }
  .reopen .kbds { display: none; }
  .toast { top: 44px; bottom: auto; transform: translate(-50%, -12px); white-space: normal; width: max-content; max-width: calc(100% - 32px); text-align: center; }
  .section { padding-top: 96px; }
  .trust { grid-template-columns: 1fr; gap: 18px; margin-top: 48px; }
  .why-lanes { grid-template-columns: 1fr; }
  .lane .stage { min-height: 0; }
  .ghosts { height: 110px; }
  .kept { height: auto; min-height: 120px; }
  .chip { height: 40px; font-size: 13.5px; }
  .feat-index { grid-template-columns: 1fr 1fr; }
  .row-num { font-size: 48px; }
  .row .stage { min-height: 0; padding: 16px; border-radius: 22px; }
  .pe { grid-template-columns: 1fr; }
  .p-ph { font-size: 17px; }
  .pal .p-foot span:first-child { display: none; }
  .pal .p-search { padding: 14px 14px 10px; }
  .win-foot > span:first-child { font-size: 11.5px; }
  .pe-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); scrollbar-width: none; }
  .pe-side button { flex: none; }
  .pe-field { grid-template-columns: 1fr; gap: 4px; }
  .pe-field span { text-align: left; }
  .extras { grid-template-columns: 1fr; }
  .extra, .extra:first-child, .extra:last-child { padding: 28px 0 4px; }
  .extra + .extra { border-left: 0; border-top: 1px solid var(--line); }
  .gal-body { grid-template-columns: 1fr; min-height: 0; }
  .gal-preview .term-shot { font-size: 6.2px; }
  .kb-item:nth-child(n+7) { display: none; }
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-display { height: 52px; }
  .kb-action { font-size: 14px; }
  .kb-combo kbd { font-size: 12px; min-width: 26px; height: 26px; }
  .kb-list { grid-template-columns: 1fr; }
  .boundary { grid-template-columns: 1fr; padding: 64px 24px 28px; justify-items: stretch; }
  .bd-flow { flex-direction: column; height: 44px; width: 7px; justify-self: center; }
  .bd-net { flex-wrap: wrap; justify-content: center; }
  .bd-line { flex-basis: 60px; }
  .set-row:not(.col) { flex-direction: column; align-items: flex-start; }
  label.set-row { flex-direction: row !important; align-items: center !important; }
  .bk { width: 78px; height: 78px; font-size: 32px; border-radius: 18px; }
  .dmg-body { height: 170px; }
  .dmg-app img { width: 64px; height: 64px; }
  .folder { width: 74px; height: 58px; }
  .copy-note { margin-left: 0; }
  .gh span { display: none; }
  .closing { margin-top: 110px; padding: 90px 0 120px; }
  body.not-mac { padding-bottom: 76px; }
  body.not-mac .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 10px 10px 10px 18px; border-radius: 16px; font-size: 14px; color: var(--muted);
    background: rgba(18, 20, 31, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px var(--line-2) inset, 0 10px 40px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  body.not-mac.show-mobile-cta .mobile-cta { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
