:root {
  --bg: #0b0d10;
  --bg-2: #0f1216;
  --surface: #14171c;
  --surface-2: #1a1e24;
  --surface-3: #252a32;
  --border: #22272e;
  --border-strong: #343a44;
  --text: #e6e8eb;
  --muted: #8b93a0;
  --dim: #5f6771;
  --accent: #d9b36a;
  --accent-hi: #ecd29a;
  --accent-2: #9a7540;
  --ok: #2fb36b;
  --danger: #d9463f;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1180px;
  --r: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code, pre { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { width: min(1280px, 100% - 32px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font: 500 11px/1 var(--mono); letter-spacing: .06em;
}
.lang span { padding: 6px 9px; border-radius: 999px; color: var(--dim); transition: all .2s; }
html[lang="en"] .lang [data-l="en"], html[lang="fr"] .lang [data-l="fr"] { background: var(--surface-3); color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
  white-space: nowrap; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--accent); color: var(--bg); box-shadow: 0 6px 24px -8px rgba(217,179,106,.6); }
.btn.primary:hover { background: var(--accent-hi); }
.btn.ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 300px at 18% 18%, rgba(217,179,106,.10), transparent 70%),
    radial-gradient(700px 380px at 85% 8%, rgba(154,117,64,.10), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 0%, transparent 75%);
}
.hero-text { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(20,23,28,.7);
  font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .02em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(217,179,106,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(217,179,106,0); } }

h1, h2, h3 { margin: 0; letter-spacing: -.03em; font-weight: 600; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: .98; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
h1 em { font-size: 1.08em; }
.lede { max-width: 620px; margin: 28px 0 0; font-size: clamp(17px, 2vw, 19px); color: var(--muted); line-height: 1.55; }
.lede strong { color: var(--text); font-weight: 600; }

.hero-cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.cmd {
  display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  font-size: 13.5px; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
}
.cmd code { white-space: nowrap; overflow-x: auto; scrollbar-width: none; color: var(--text); }
.cmd code::-webkit-scrollbar { display: none; }
.prompt { color: var(--accent); font-family: var(--mono); user-select: none; }
.copy {
  flex: none; border: 1px solid var(--border-strong); background: var(--surface-2); border-radius: 8px;
  padding: 7px 12px; font: 500 12px/1 var(--mono); color: var(--muted); transition: all .2s;
}
.copy:hover { color: var(--text); border-color: var(--muted); }
.copy.done { color: var(--ok); border-color: var(--ok); }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fine { margin: 0; font: 400 12.5px/1.6 var(--mono); color: var(--dim); }
.fine a { color: var(--muted); }
.fine.center { text-align: center; margin-top: 28px; }

/* the device */
.stage { position: relative; z-index: 1; margin: 72px auto 0; width: min(1360px, 100% - 32px); perspective: 1800px; }
.glow {
  position: absolute; left: 10%; right: 10%; top: 30%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217,179,106,.28), transparent);
  filter: blur(40px); pointer-events: none;
}
.edge {
  position: relative; padding: clamp(6px, 1vw, 14px); border-radius: clamp(10px, 1.4vw, 20px);
  background: linear-gradient(180deg, #2a2e35, #15181c 40%, #0d0f12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 1px 0 rgba(255,255,255,.12) inset, 0 50px 120px -30px rgba(0,0,0,.9), 0 30px 60px -40px rgba(217,179,106,.35);
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 22deg)) scale(var(--scale, .94));
  will-change: transform;
}
.edge-screen { position: relative; aspect-ratio: 2560 / 720; overflow: hidden; border-radius: clamp(3px, .5vw, 6px); background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s ease, transform 1.4s ease; transform: scale(1.015); }
.shot.is-on { opacity: 1; transform: none; }
.edge-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, transparent 28%, transparent 70%, rgba(255,255,255,.03));
}
.touch { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2px solid rgba(236,210,154,.9); opacity: 0; pointer-events: none; }
.touch.go { animation: tap 1.1s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8); } }
.edge-foot { width: 16%; height: clamp(10px, 1.6vw, 22px); margin: 0 auto; background: linear-gradient(#1b1e23, #0d0f12); border-radius: 0 0 10px 10px; }

.caption { margin: 22px 0 0; text-align: center; font: 400 12px var(--mono); color: var(--dim); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pager button {
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s; position: relative; overflow: hidden;
}
.pager button small { font: 400 11px var(--mono); color: var(--dim); margin-left: 4px; }
.pager button.is-on { color: var(--text); border-color: var(--accent-2); }
.pager button.is-on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); animation: fill var(--rotate, 7s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.ticker { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; width: min(var(--max), 100% - 40px); margin: 64px auto 0; padding: 22px 0; border-top: 1px solid var(--border); }
.ticker-label { flex: none; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.ticker-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-run { display: flex; gap: 36px; width: max-content; animation: run 48s linear infinite; }
.ticker-run span { font: 400 13px var(--mono); color: var(--muted); white-space: nowrap; }
.ticker-run span::before { content: '◆'; color: var(--accent-2); font-size: 8px; margin-right: 12px; vertical-align: 2px; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.kicker { margin: 0 0 16px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; max-width: 21ch; }
.sub { max-width: 640px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr minmax(40px, .8fr) 1fr minmax(40px, .8fr) 1fr minmax(40px, .8fr) 1fr; align-items: center; margin: 64px 0 56px; }
.node {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 22px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border);
}
.node.accent { border-color: var(--accent-2); box-shadow: 0 0 40px -12px rgba(217,179,106,.4); }
.node b { font-size: 15px; font-weight: 600; }
.node span { font: 400 11.5px var(--mono); color: var(--dim); }
.node-ico { height: 44px; display: grid; place-items: center; margin-bottom: 8px; color: var(--accent); }
.node-ico svg { width: 56px; }
.node-ico img { width: 40px; }
.node-ico.mono { font: 500 18px var(--mono); }
.node-ico.grid4 { grid-template-columns: repeat(2, 16px); gap: 4px; }
.node-ico.grid4 i { width: 16px; height: 16px; border-radius: 4px; background: var(--surface-3); border: 1px solid var(--border-strong); }
.node-ico.grid4 i:first-child { background: var(--accent); border-color: var(--accent); }
.link { position: relative; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--border-strong)); }
.link i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: packet 2.6s cubic-bezier(.5,0,.5,1) infinite; }
.link:nth-of-type(4) i { animation-delay: .6s; animation-direction: reverse; }
.link:nth-of-type(6) i { animation-delay: 1.2s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.link label { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font: 400 10.5px var(--mono); color: var(--dim); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--border); }
.steps .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); font: 500 12px var(--mono); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.card { display: flex; flex-direction: column; padding: 20px 20px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--border-strong); }
.card { grid-column: span 2; }
.card.wide { grid-column: 1 / -1; }
.card.half { grid-column: span 3; }
.card h3 { font-size: 21px; letter-spacing: -.02em; margin: 6px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--dim); margin: 22px 0 0; }
.card.wide > :not(.mock) { max-width: 720px; }

.navbar-mock { background: #0b0d10; }
.navbar-mock, .touch-mock { height: 300px; }
.navbar-mock video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.diskmap { background: #101317; }
.diskmap img { display: block; width: 100%; height: auto; }
.mock { position: relative; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; min-height: 200px; }
.window { min-height: 0; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #121418; border-bottom: 1px solid var(--border); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f47; }
.win-bar i:nth-child(1) { background: #ec6a5e; } .win-bar i:nth-child(2) { background: #f4bf4f; } .win-bar i:nth-child(3) { background: #61c554; }
.win-bar span { flex: 1; text-align: center; margin-right: 50px; font: 400 12px var(--mono); color: var(--dim); }
.win-tabs { position: absolute; top: 46px; right: 14px; z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(11,13,16,.85); border: 1px solid var(--border-strong); backdrop-filter: blur(8px); }
.win-tabs button, .code-tabs button, .filters button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; color: var(--muted); transition: all .2s; }
.win-tabs button.is-on, .code-tabs button.is-on, .filters button.is-on { background: var(--accent); color: var(--bg); font-weight: 600; }
#admin-shot { width: 100%; transition: opacity .35s; }

/* navbar mock: a touch on the compact Claude widget opens it full size */

/* touch mock */
.touch-mock { display: grid; place-items: center; background: radial-gradient(100% 80% at 50% 20%, #14211a, var(--bg)); }
.tm-tile { width: 86%; padding: 14px; border-radius: 12px; background: rgba(20,23,28,.85); border: 1px solid var(--border); }
.tm-tile small { font: 500 10px var(--mono); letter-spacing: .12em; color: var(--muted); }
.tm-btns { display: grid; gap: 8px; margin-top: 10px; }
.tm-btns span { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 9px; background: var(--surface-2); color: var(--accent); font-size: 12px; }
.tm-btns b { color: var(--text); font-size: 14px; font-weight: 600; }
.pressable { animation: press 3.2s ease-in-out infinite; }
@keyframes press { 0%, 38%, 62%, 100% { background: var(--surface-2); transform: none; } 45%, 55% { background: var(--accent); transform: scale(.97); } }
@keyframes pressText { 45%, 55% { color: var(--bg); } }
.pressable b { animation: pressText 3.2s ease-in-out infinite; }
.finger { position: absolute; left: 34%; top: 40%; width: 34px; height: 34px; border-radius: 50%; background: rgba(236,210,154,.35); border: 2px solid rgba(236,210,154,.9); animation: finger 3.2s ease-in-out infinite; }
@keyframes finger { 0% { transform: translate(60px, 70px) scale(1.2); opacity: 0; } 30% { opacity: 1; transform: translate(0, 0) scale(1.2); } 45%, 55% { transform: scale(.85); opacity: 1; } 75% { transform: scale(1.2); opacity: 0; } 100% { opacity: 0; } }

/* theme gallery: real captures of one page in every theme */
.gallery { padding: 14px; min-height: 0; }
.gallery-screen { aspect-ratio: 2560 / 720; border-radius: 8px; overflow: hidden; background: #000; }
.gallery-screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.th-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.th-chips button { display: flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; color: var(--muted); transition: all .2s; }
.th-chips button i { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 3px var(--bgc) inset, 0 0 0 1px rgba(255,255,255,.12); }
.th-chips button.is-on { border-color: var(--accent-2); color: var(--text); background: var(--surface-2); }

/* consent + backup */
.consent, .backup { padding: 16px; font-size: 13px; }
.cs-head, .bk-file { display: flex; align-items: center; gap: 12px; }
.cs-head b, .bk-file b { display: block; font-size: 14px; }
.cs-head small, .bk-file small { font: 400 11px var(--mono); color: var(--dim); }
.cs-ico, .bk-zip { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--accent); font-size: 18px; }
.bk-zip { font: 600 10px var(--mono); }
.cs-q { margin: 14px 0 6px; color: var(--muted); }
.consent ul, .backup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.backup ul { margin-top: 16px; }
.consent li, .backup li { display: flex; align-items: center; gap: 10px; }
.consent code { font-size: 12px; color: var(--accent); }
li > i.ok, li > i.no { flex: none; width: 16px; height: 16px; border-radius: 50%; position: relative; }
li > i.ok { background: rgba(47,179,107,.18); } li > i.ok::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; color: var(--ok); font-style: normal; }
li > i.no { background: rgba(217,70,63,.16); } li > i.no::after { content: '✕'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; color: var(--danger); font-style: normal; }
.cs-btn { display: inline-block; margin-top: 14px; padding: 7px 16px; border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 600; }

/* widgets */
.w-head { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 56px; align-items: center; }
.w-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(217,179,106,.35); max-height: 520px; }
.w-shot img { width: 100%; }
.filters { display: inline-flex; gap: 4px; padding: 4px; margin-top: 36px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.filters small { font: 400 11px var(--mono); opacity: .7; margin-left: 2px; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; min-height: 200px; }
.w { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; animation: win .45s ease both; }
.w:hover { border-color: var(--border-strong); transform: translateY(-2px); }
@keyframes win { from { opacity: 0; transform: translateY(8px); } }
.w-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.w b { font-size: 15px; font-weight: 600; }
.w p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.w .badge { flex: none; font: 500 10px var(--mono); letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.badge.core { color: var(--muted); background: var(--surface-2); }
.badge.sietch { color: var(--accent); background: rgba(217,179,106,.1); }
.w .meta { margin-top: auto; padding-top: 8px; font: 400 11px var(--mono); color: var(--dim); }

/* privacy */
.invariants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.inv { padding: 26px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.inv::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); opacity: .7; }
.inv .n { font: 400 44px/1 var(--serif); font-style: italic; color: var(--accent); }
.inv h3 { font-size: 18px; margin: 18px 0 8px; letter-spacing: -.01em; }
.inv p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* build */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; color: var(--text); font-size: 15.5px; }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: rgba(217,179,106,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23d9b36a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.code { border-radius: 18px; background: #0d0f13; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.code-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--border); background: #111317; }
.code-tabs button { font-family: var(--mono); font-size: 12px; }
.code pre { display: none; margin: 0; padding: 22px 24px; font-size: 13.5px; line-height: 1.75; overflow-x: auto; color: #c9ced6; }
.code pre.is-on { display: block; }
.code .k { color: #e3c383; } .code .s { color: #8fc79a; } .code .n { color: #e59a6a; } .code .p { color: var(--muted); }
.code .t { color: #7fb0d9; } .code .c { color: var(--dim); font-style: italic; } .code .f { color: #c8a2e8; }

/* install */
.install { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.term { position: relative; border-radius: 16px; background: #0b0c0f; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.term pre { margin: 0; padding: 20px 22px 24px; font-size: 13.5px; line-height: 1.85; overflow-x: auto; color: var(--text); }
.term .c { color: var(--dim); } .term .ok { color: var(--ok); }
.term .copy { position: absolute; top: 46px; right: 14px; }
.after { list-style: none; counter-reset: a; padding: 0; margin: 0; display: grid; gap: 18px; }
.after li { counter-increment: a; position: relative; padding-left: 44px; color: var(--muted); font-size: 15px; }
.after li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); font: 500 12px var(--mono); color: var(--accent); }
.after b { color: var(--text); font-weight: 600; }
.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--border-strong); background: var(--surface-2); font: 600 12px var(--mono); color: var(--text); }
.soon-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.soon-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--border-strong); background: var(--surface); opacity: .78; cursor: not-allowed; min-width: 0; }
.soon-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--accent); font-size: 18px; }
.soon-ic.mono { font: 500 16px var(--mono); }
.soon-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.soon-txt b { font-weight: 600; overflow-wrap: anywhere; }
.soon-txt b code { font: 500 14px var(--mono); }
.soon-txt small { color: var(--muted); font-size: 13px; }
.soon-tag { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.soon-card.live { opacity: 1; cursor: default; border-style: solid; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
a.soon-card.live { cursor: pointer; border-color: color-mix(in srgb, var(--accent) 55%, var(--border-strong)); }
a.soon-card.live:hover { transform: translateY(-2px); background: var(--surface-2); border-color: var(--accent); }
.soon-card .copy { position: static; flex: none; }
.source { margin-top: 48px; border: 1px solid var(--border) !important; border-radius: 16px; padding: 0 22px; background: var(--surface); }
.source summary { font-size: 16px; }
.source .install { margin-top: 8px; }
.source .reqs { margin: 24px 0 24px; }
.soon-note { grid-column: 1 / -1; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.soon-row + .install { margin-top: 18px; }
@media (max-width: 760px) { .soon-row { grid-template-columns: 1fr; } }
.reqs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.reqs span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font: 400 12px var(--mono); color: var(--muted); }

/* faq */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { margin-top: 40px; border-top: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 26px var(--display); color: var(--accent); transition: transform .3s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 22px; color: var(--muted); max-width: 640px; }

/* final */
.final { position: relative; padding: clamp(90px, 12vw, 160px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.final::before { content: ''; position: absolute; left: 50%; top: 100%; width: 1100px; height: 700px; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(217,179,106,.22), transparent); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final img { margin-bottom: 28px; filter: drop-shadow(0 18px 40px rgba(217,179,106,.3)); }
.final .sub { margin-bottom: 36px; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 56px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--muted); }
.foot nav a { text-decoration: none; } .foot nav a:hover { color: var(--text); }
.foot .fine { flex-basis: 100%; }

/* responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card.half { grid-column: auto; }
  .invariants { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .install, .w-head { grid-template-columns: 1fr; gap: 40px; }
  .w-shot { max-height: 420px; }
}
@media (max-width: 720px) {
  .wrap, .wrap.narrow, .ticker { width: calc(100% - 32px); }
  .nav-actions .ghost { display: none; }
  .hero { padding-top: 48px; }
  .cmd { width: 100%; }
  .stage { margin-top: 48px; }
  .bento, .invariants, .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; justify-items: stretch; }
  .link { width: 2px; height: 44px; margin: 0 auto; }
  .link i { left: -3px; animation-name: packetV; }
  .link label { left: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .win-tabs { position: static; margin: 8px; }
  .pager small { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn.small { padding: 0 12px; font-size: 13px; }
  /* the strip is 3.5:1; on a phone, show a window of it that pans across */
  .edge-screen { aspect-ratio: 4 / 3; }
  .shot { object-fit: cover; object-position: 0 50%; animation: pan 16s ease-in-out infinite alternate; }
}
@keyframes pan { to { object-position: 100% 50%; } }
@keyframes packetV { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }

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

/* 404: one centred block, no script (the CSP allows none inline, and the page needs none) */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound .lede { margin-inline: auto; }
.notfound .lede.fr { margin-top: 8px; font-size: 16px; color: var(--dim); }
.notfound .hero-buttons { margin-top: 36px; }
