/* Persona — home. A mission-control look: deep ink, a phosphor accent for "running", ember for "needs you",
   a hairline grid and soft glows. Light and dark follow the system. */

@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #f1e6da;
  --bg-2: #e8d9c9;
  --panel: rgba(255, 252, 248, .66);
  --panel-solid: #fffaf5;
  --line: rgba(60, 40, 25, .12);
  --line-2: rgba(60, 40, 25, .24);
  --ink: #1a1410;
  --ink-2: #4a3d34;
  --ink-3: #7d6d61;
  --acc: #e2582a;
  --acc-text: #a8401a;
  --acc-ink: #1a1410;
  --acc-soft: rgba(226, 88, 42, .13);
  --mark: rgba(242, 140, 100, .34);
  --btn-bg: #fffdfb;
  --btn-ink: #1a1410;
  --btn-edge: #1a1410;
  --ok: #3d8f57;
  --hot: #d6333a;
  --ai: #6d55e0;
  --outline: #1a1410;
  --glow-1: rgba(242, 160, 120, .2);
  --glow-2: rgba(255, 214, 170, .55);
  --shadow: 0 30px 80px -30px rgba(80, 45, 20, .35);
  --display: "Unbounded", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140f0d;
    --bg-2: #1d1613;
    --panel: rgba(38, 29, 25, .62);
    --panel-solid: #211915;
    --line: rgba(255, 230, 210, .09);
    --line-2: rgba(255, 230, 210, .18);
    --ink: #faf6f2;
    --ink-2: #c9bcb2;
    --ink-3: #8f8178;
    --acc: #ff8a5c;
    --acc-text: #ff9a70;
    --acc-ink: #1a1410;
    --acc-soft: rgba(255, 138, 92, .13);
    --mark: rgba(255, 138, 92, .30);
    --btn-bg: #faf6f2;
    --btn-ink: #1a1410;
    --btn-edge: #000000;
    --ok: #74d18f;
    --hot: #ff6b6b;
    --ai: #b7a4ff;
    --outline: #faf6f2;
    --glow-1: rgba(255, 120, 70, .16);
    --glow-2: rgba(120, 80, 60, .28);
    --shadow: 0 40px 120px -40px rgba(0, 0, 0, .85);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.7 var(--body); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
code, pre, .mono { font-family: var(--mono); }
code { font-size: .88em; padding: .1em .4em; border-radius: 6px; background: var(--bg-2); color: var(--ink); }
pre code { padding: 0; background: none; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.hl { color: inherit; background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; }

/* ── atmosphere ── */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky .grid {
  position: absolute; inset: -2px;
  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 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.g1 { width: 720px; height: 720px; left: -160px; top: -260px; background: var(--glow-1); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 620px; height: 620px; right: -200px; top: 120px; background: var(--glow-2); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(90px, 60px) scale(1.12); } }
.grain {
  position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── top bar ── */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: .02em; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.top nav a:hover { color: var(--ink); }
.ver {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  font: 500 12px/1 var(--mono); color: var(--ink-2); padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 999px;
}
.ver .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
@media (max-width: 760px) { .top nav { display: none; } .ver { margin-left: auto; } }

main { position: relative; }

/* ── hero ── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) clamp(18px, 4vw, 48px) clamp(40px, 6vw, 80px);
}
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; color: var(--ink-2); }
.kicker .mono { font-size: 12px; letter-spacing: .24em; color: var(--acc-text); }
.led { --c: var(--ok); width: 8px; height: 8px; border-radius: 50%; background: var(--c); animation: ping 2.4s var(--ease) infinite; flex: none; }
.led.hot { --c: var(--acc); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
h1 { font-size: clamp(38px, 6.2vw, 82px); font-family: var(--display); }
h1 .line { display: block; }
.lede { max-width: 620px; margin: 26px 0 30px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); }

.install { max-width: 680px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); backdrop-filter: blur(10px); box-shadow: var(--shadow); overflow: hidden; }
.install-tabs { display: flex; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid var(--line); }
.install-tabs button {
  font: 500 12.5px/1 var(--mono); color: var(--ink-3); background: none; border: 0; padding: 10px 14px 11px; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.install-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.install-body { position: relative; }
.install pre { margin: 0; padding: 18px 96px 18px 18px; font-size: 13.5px; line-height: 1.6; overflow-x: auto; white-space: pre; scrollbar-width: none; }
.install pre::-webkit-scrollbar { display: none; }
.pr { color: var(--acc-text); user-select: none; margin-right: 6px; }
.ph { color: var(--hot); }
.cm { color: var(--ink-3); }
.copy {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font: 600 12px/1 var(--mono); white-space: nowrap; padding: 9px 12px; border-radius: 10px; cursor: pointer;
  color: var(--btn-ink); background: var(--btn-bg); border: 2px solid var(--btn-edge); box-shadow: 2px 2px 0 var(--btn-edge); transition: transform .2s var(--ease), filter .2s;
}
.copy:hover { filter: brightness(1.06); }
.copy:active { transform: translateY(-50%) scale(.96); }
.copy.done { background: var(--ok); color: #fff; }

.platforms { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.platforms li { font: 500 12px/1 var(--mono); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }

/* stage */
.hero-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px dashed var(--line-2); border-radius: 50%; }
.o1 { width: 520px; height: 520px; animation: spin 60s linear infinite; }
.o2 { width: 380px; height: 380px; border-style: solid; border-color: var(--line); animation: spin 90s linear infinite reverse; }
.o1::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 16px var(--acc); }
@keyframes spin { to { transform: rotate(360deg); } }
.device {
  position: relative; margin: 0; width: min(290px, 70vw); aspect-ratio: 460 / 1000; border-radius: 42px; padding: 9px;
  background: linear-gradient(145deg, #2a2f2c, #0b0d0c); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-4deg) translateY(var(--py, 0)); transition: transform .6s var(--ease);
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; }
.console {
  position: absolute; right: -10px; bottom: 70px; width: 300px; border-radius: 14px; overflow: hidden;
  background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--ink-3); }
.console-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.console-bar span { margin-left: 6px; white-space: nowrap; }
.console-log { list-style: none; margin: 0; padding: 10px 12px 12px; font: 12px/1.5 var(--mono); color: var(--ink-2); min-height: 106px; }
.console-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 0; animation: logIn .5s var(--ease) both; }
.console-log b { font-weight: 600; margin-right: 8px; }
.t-ok { color: var(--ok); } .t-hot { color: var(--acc-text); } .t-ai { color: var(--ai); }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.chip-float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; white-space: nowrap;
  background: var(--panel-solid); border: 1px solid var(--line-2); font-size: 13px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.c1 { left: 0; top: 110px; } .c2 { left: 30px; bottom: 30px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: 560px; }
  .console { right: 0; }
}
@media (max-width: 520px) {
  .hero-stage { min-height: 500px; }
  .o1 { width: 380px; height: 380px; } .o2 { width: 280px; height: 280px; }
  .console { width: 250px; bottom: 30px; }
  .c1 { top: 40px; }
  .c2 { display: none; }
  .install pre { font-size: 12.5px; }
}

/* ── marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font: 500 15px/1 var(--display); color: var(--ink-3); white-space: nowrap; letter-spacing: .02em; }
.marquee span:nth-child(3n+1) { color: var(--ink-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── numbers ── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1280px; margin: 0 auto; padding: 56px clamp(18px, 4vw, 48px); gap: 24px; }
.numbers div { display: flex; gap: 14px; align-items: flex-start; padding-left: 18px; border-left: 1px solid var(--line-2); }
.numbers b { font: 800 clamp(40px, 5vw, 64px)/.9 var(--display); color: var(--ink); }
.numbers span { font-size: 15px; font-weight: 600; line-height: 1.45; padding-top: 4px; }
.numbers em { font: 400 12px/1.5 var(--mono); color: var(--ink-3); font-style: normal; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

/* ── chapters ── */
.chapter { max-width: 1280px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(18px, 4vw, 48px) 0; scroll-margin-top: 60px; }
.chapter-head { max-width: 860px; margin-bottom: 44px; }
.idx { font-size: 12px; letter-spacing: .2em; color: var(--acc-text); margin: 0 0 14px; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
.sub { color: var(--ink-2); font-size: 17px; margin: 20px 0 0; max-width: 760px; }

/* architecture */
.arch {
  position: relative; border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(10px, 2vw, 26px);
  background: radial-gradient(ellipse at 50% 45%, var(--acc-soft), transparent 60%), var(--panel);
  box-shadow: var(--shadow); overflow-x: auto;
}
.arch svg { display: block; width: 100%; min-width: 820px; height: auto; font-family: var(--body); }
.arch .wires path { stroke: var(--line-2); stroke-width: 1.5; }
.arch .wires-lit use { stroke: url(#wire); stroke-width: 2; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.arch .packets circle { fill: var(--acc); filter: drop-shadow(0 0 6px var(--acc)); }
.arch .packets circle.hot { fill: var(--ok); filter: drop-shadow(0 0 6px var(--ok)); }
.arch .packets circle.ai { fill: var(--ai); filter: drop-shadow(0 0 6px var(--ai)); }
.arch .col-label text { font: 600 12px var(--mono); fill: var(--ink-3); letter-spacing: .2em; }
.arch .node rect { fill: var(--panel-solid); stroke: var(--line-2); transition: stroke .25s, fill .25s; }
.arch .node text { font-size: 15px; font-weight: 600; fill: var(--ink); }
.arch .node text.small { font: 400 11.5px var(--mono); fill: var(--ink-3); }
.arch .node:hover rect { stroke: var(--acc); }
.arch .infra rect { stroke-dasharray: 4 4; }
.arch .hub rect:not(.hub-halo) { fill: var(--panel-solid); stroke: var(--ink); stroke-width: 2.5; }
.arch .hub-halo { fill: var(--acc); opacity: .12; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .32; } }
.arch .hub-title { font: 800 30px var(--display); fill: var(--ink); }
.arch .hub-sub { font: 400 12px var(--mono); fill: var(--ink-3); }
.arch .hub-chips rect { fill: var(--bg-2); stroke: none; }
.arch .hub-chips text { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.arch .wire-label text { font: 500 11.5px var(--mono); fill: var(--ink-3); }
.arch-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.arch-notes article { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.arch-notes h3 { font-size: 17px; margin: 6px 0 8px; }
.arch-notes p:last-child { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.tag { margin: 0; font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 980px) { .arch-notes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .arch-notes { grid-template-columns: 1fr; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cell {
  position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s;
}
.cell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--acc-soft), transparent 60%);
}
.cell:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cell:hover::before { opacity: 1; }
.cell h3 { font-size: 20px; margin: 10px 0 10px; }
.cell p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cell.xl { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; }
.cell.xl h3 { font-size: clamp(24px, 2.4vw, 32px); }
.cell.tall { grid-row: span 2; display: flex; flex-direction: column; }
.cell.wide { grid-column: span 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.shot { margin: 0; justify-self: center; width: 100%; max-width: 250px; aspect-ratio: 460 / 1000; border-radius: 30px; overflow: hidden; border: 6px solid #111; box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.sm { max-width: 200px; margin-top: auto; padding-top: 0; transform: translateY(42px); }
.cell.tall { padding-bottom: 0; }
.cell.tall > p { margin-bottom: 22px; }
.mini-chat { margin-top: 18px; display: grid; gap: 8px; font-size: 13.5px; }
.mini-chat p { margin: 0; display: flex; }
.mini-chat span { padding: 8px 12px; border-radius: 14px; max-width: 90%; }
.mini-chat .me { justify-content: flex-end; }
.mini-chat .me span { background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12.5px; }
.mini-chat .ctx { justify-content: flex-end; }
.mini-chat .ctx span { padding: 4px 10px; font: 500 11.5px var(--mono); color: var(--ink-3); border: 1px dashed var(--line-2); }
.mini-chat .bot span { background: var(--bg-2); color: var(--ink); }
.mini-chat em { font-style: normal; margin-left: 6px; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.xl { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell.xl, .cell.wide { grid-column: auto; }
  .cell.xl { grid-template-columns: 1fr; }
  .cell.tall { grid-row: auto; }
}

/* screens reel */
.reel {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px clamp(18px, 4vw, 48px) 30px;
  margin: 0 calc(-1 * clamp(18px, 4vw, 48px)); scrollbar-width: none; outline: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel figure { flex: none; margin: 0; width: 230px; scroll-snap-align: start; }
.reel picture { display: block; aspect-ratio: 460 / 1000; border-radius: 30px; overflow: hidden; border: 6px solid #111; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.reel figure:hover picture { transform: translateY(-8px) rotate(-1deg); }
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.reel figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* quick start */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "n h" "n p" "n c"; column-gap: 20px;
  padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel);
}
.step-n { grid-area: n; font: 800 46px/1 var(--display); color: var(--btn-bg); -webkit-text-stroke: 2px var(--btn-edge); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--btn-edge); }
.steps h3 { grid-area: h; font-size: 20px; }
.steps p { grid-area: p; margin: 8px 0 14px; color: var(--ink-2); font-size: 15px; }
.steps .cmd { grid-area: c; position: relative; min-width: 0; }
.steps pre { margin: 0; padding: 14px 92px 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; overflow-x: auto; scrollbar-width: none; }
.steps pre::-webkit-scrollbar { display: none; }
.steps .copy { right: 8px; padding: 7px 10px; font-size: 11.5px; }
.start-note { margin: 18px 0 0; color: var(--ink-3); font-size: 14px; }
@media (max-width: 560px) { .steps li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "h" "p" "c"; } .step-n { font-size: 34px; margin-bottom: 8px; } }

/* privacy vault */
.vault {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(28px, 4vw, 56px); border-radius: 32px;
  background: var(--panel-solid);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.vault-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vault-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.vault-list li:last-child { border-bottom: 0; }
.vault-list b { font: 600 12.5px/1.9 var(--mono); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 860px) { .vault { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vault-list li { grid-template-columns: 1fr; gap: 2px; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--mono); color: var(--acc); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.faq a { color: var(--acc-text); }

/* final */
.final { text-align: center; padding: clamp(90px, 12vw, 160px) 20px; }
.final h2 { font-size: clamp(32px, 5vw, 64px); font-family: var(--display); }
.btn {
  display: inline-flex; align-items: center; margin-top: 34px; padding: 15px 26px; border-radius: 14px; white-space: nowrap;
  font-weight: 700; text-decoration: none; color: var(--btn-ink); background: var(--btn-bg); border: 2.5px solid var(--btn-edge); box-shadow: 4px 4px 0 var(--btn-edge);
  transition: transform .25s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-edge); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 26px clamp(18px, 4vw, 48px); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.brand-sm { display: flex; align-items: center; gap: 8px; font: 800 14px var(--display); color: var(--ink); }
.brand-sm img { border-radius: 5px; }
.foot nav { margin-left: auto; display: flex; gap: 18px; }
.foot nav a { text-decoration: none; white-space: nowrap; }
.foot nav a:hover { color: var(--ink); }
.muted { color: var(--ink-3); }

/* ── motion ── */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-copy .rise:nth-child(1) { animation-delay: .05s; }
.hero-copy .rise:nth-child(2) { animation-delay: .15s; }
.hero-copy .rise:nth-child(3) { animation-delay: .28s; }
.hero-copy .rise:nth-child(4) { animation-delay: .4s; }
.hero-copy .rise:nth-child(5) { animation-delay: .5s; }
.hero-stage.rise { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  .arch .packets { display: none; }
}
