/* leonote.app — one stylesheet.
   Order: fonts, tokens, base, header, hero + app window, sections, footer,
   motion. Colours come from the app's own palette (web/styles/app.css). */

/* ── fonts (self-hosted, same files the app ships; SIL OFL 1.1) ── */
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../assets/fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); }

/* ── tokens ── */
:root {
  --bg: #0e0e10; --bg-2: #121214; --surface: #18181b; --surface-2: #202024;
  --line: #2a2a30; --line-2: #35353d;
  --text: #ececef; --text-2: #b8b8bf; --text-3: #86868f; --text-4: #5d5d66;
  --accent: #e0a84a; --accent-fg: #17120a; --accent-text: var(--accent);
  --agent: #a78bfa; --ok: #4cc38a; --danger: #ef6461; --warn: #e8a33d; --info: #5b9cf6;
  --shadow: 0 30px 80px -20px #000c, 0 0 0 1px #ffffff0a;
  --font: "Inter Variable", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Charter, Georgia, serif;
  --mono: "JetBrains Mono Variable", "Cascadia Code", Consolas, monospace;
  --r: 14px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #faf8f3; --bg-2: #f3f0e8; --surface: #ffffff; --surface-2: #f4f2ec;
  --line: #e4dfd3; --line-2: #d3cdbf;
  --text: #18181b; --text-2: #3f3f46; --text-3: #71717a; --text-4: #a1a1aa;
  --accent-fg: #17120a; --accent-text: color-mix(in srgb, var(--accent) 62%, #000);
  --agent: #7c5cf0;
  --shadow: 0 30px 70px -24px #4a3a1a40, 0 0 0 1px #00000010;
  color-scheme: light;
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .35s, color .35s; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: .08em .38em; border-radius: 5px; color: var(--accent-text); white-space: nowrap; }
kbd { display: inline-block; min-width: 1.7em; text-align: center; padding: .1em .45em; margin: 0 .12em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text-2); font-size: .78em; }
s { color: var(--text-3); font-weight: 400; margin-left: .35em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-fg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 1; }
:root[data-theme="light"] #dust { opacity: .35; }
main, .ftr { position: relative; z-index: 1; }

.display { font-family: var(--serif); font-weight: 480; letter-spacing: -.022em; line-height: 1.04; font-variation-settings: "opsz" 144; text-wrap: balance; }
.display em { font-style: italic; font-weight: 420; color: var(--accent-text); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.kicker { font: 600 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.kicker.violet { color: var(--agent); }
.body { color: var(--text-2); font-size: 1.06rem; max-width: 56ch; margin-top: 20px; }
.center { text-align: center; margin-inline: auto; justify-content: center; }
.fine { color: var(--text-3); font-size: .86rem; margin-top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .82em 1.35em; border-radius: 12px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #fff) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 82%, #000) 100%); color: var(--accent-fg); box-shadow: 0 1px 0 #ffffff55 inset, 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-gold:hover { box-shadow: 0 1px 0 #ffffff66 inset, 0 14px 40px -8px color-mix(in srgb, var(--accent) 85%, transparent); transform: translateY(-1px); }
.btn-gold s { color: inherit; opacity: .55; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { padding: .5em .95em; font-size: .88rem; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* ── header ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.hdr.is-stuck { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 6px 11px; border-radius: 8px; color: var(--text-3); font-size: .9rem; transition: color .15s, background .15s; }
.nav a:hover, .nav a.is-here { color: var(--text); background: var(--surface-2); }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.i-sun, :root[data-theme="light"] .i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: block; }
.burger { display: none; }

/* ── hero ── */
.hero { position: relative; padding: 138px 0 40px; text-align: center; }
.hero-glow { position: absolute; inset: -10% -20% auto; height: 760px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(30% 36% at 72% 12%, #a78bfa1c, transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1 var(--mono); letter-spacing: .06em; color: var(--text-2); padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 2.4s infinite; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); margin-top: 28px; }
.lede { color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 64ch; margin: 26px auto 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }

/* the app window */
.win { position: relative; margin: 64px auto 0; max-width: 1080px; text-align: left; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px -30px color-mix(in srgb, var(--accent) 35%, transparent); overflow: hidden; font-size: 13px; line-height: 1.45; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 0 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.win-logo img { border-radius: 4px; }
.win-space { display: flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; background: var(--surface-2); color: var(--text-2); font-size: 12px; }
.win-tabs { display: flex; align-items: center; gap: 3px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; padding: 0 4px; }
.win-tabs::-webkit-scrollbar { display: none; }
.tg { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; flex: none; }
.tg-blue { background: #5b9cf62e; color: #8bbaff; } .tg-green { background: #4cc38a2a; color: #6fdca6; }
:root[data-theme="light"] .tg-blue { color: #2563c9; } :root[data-theme="light"] .tg-green { color: #1c8a57; }
.tab { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; color: var(--text-3); flex: none; font-size: 12.5px; transition: background .15s, color .15s; }
.tab:hover { background: var(--surface); color: var(--text-2); }
.tab.is-on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.win-ctl { display: flex; margin-left: auto; }
.win-ctl i { width: 40px; height: 40px; position: relative; opacity: .5; }
.win-ctl i::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1px; background: var(--text-2); transform: translate(-50%, -50%); }
.win-ctl i:nth-child(2)::before { height: 9px; background: none; border: 1px solid var(--text-2); }
.win-ctl i:nth-child(3)::before { transform: translate(-50%, -50%) rotate(45deg); width: 13px; box-shadow: 0 0 0 0 transparent; }
.win-ctl i:nth-child(3)::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 13px; height: 1px; background: var(--text-2); transform: translate(-50%, -50%) rotate(-45deg); }

.win-body { display: grid; grid-template-columns: 210px 1fr; height: 400px; }
.side { border-right: 1px solid var(--line); padding: 10px 8px; overflow: hidden; background: var(--bg); }
.side-h { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); padding: 10px 8px 5px; }
.row { display: flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 6px; color: var(--text-2); white-space: nowrap; }
.row span { margin-left: auto; color: var(--text-4); font-size: 11px; }
.row em { font: normal 9.5px var(--mono); color: var(--text-4); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: auto; }
.row.fold { font-weight: 550; color: var(--text); }
.row.fold b { width: 9px; height: 9px; border-radius: 3px; background: var(--fc); flex: none; }
.row.sub { padding-left: 26px; position: relative; }
.row.sub::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.row.is-on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); }
.row.tagrow { color: var(--text-3); }
.row .i { color: var(--accent-text); }

.views { position: relative; min-width: 0; }
.view { position: absolute; inset: 0; display: none; }
.view.is-on { display: grid; animation: viewIn .35s ease both; }
.view[data-view="note"] { grid-template-columns: 1fr 200px; }
.doc { padding: 26px 34px; overflow: hidden; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.doc p { margin-top: 10px; }
.doc-h1 { font: 650 24px/1.2 var(--font); letter-spacing: -.02em; color: var(--text); }
.doc-meta { display: flex; gap: 6px; }
.tag { font-size: 11.5px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.wl { color: var(--accent-text); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); cursor: pointer; }
.callout { margin-top: 14px; padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--info); background: #5b9cf614; color: var(--text-2); font-size: 13.5px; }
.callout strong { display: block; color: var(--info); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.src { font: 650 17px/1.3 var(--font); color: var(--text); margin-top: 18px !important; }
.syn { color: var(--text-4); font-family: var(--mono); font-weight: 400; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -.18em; margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
.chk { display: flex; align-items: center; gap: 9px; margin-top: 6px !important; }
.chk i { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--text-4); flex: none; }
.chk.is-done { color: var(--text-4); text-decoration: line-through; }
.chk.is-done i { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2.5px var(--bg-2); }
.det { border-left: 1px solid var(--line); padding: 14px 12px; background: var(--bg); }
.det-h { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); margin: 8px 0 6px; }
.det-i { padding: 5px 8px; border-radius: 6px; color: var(--text-2); font-size: 12.5px; }
.det-i:hover { background: var(--surface-2); }
.det-i.dim { color: var(--text-3); } mark { background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

.graph { width: 100%; height: 100%; display: block; }
.graph-ui { position: absolute; left: 14px; top: 12px; display: flex; gap: 6px; }
.pill { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.pill.gold { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

.tv { padding: 22px 28px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tv-seg { display: flex; gap: 4px; margin-bottom: 8px; }
.tv-seg span { padding: 5px 12px; border-radius: 8px; color: var(--text-3); }
.tv-seg .is-on { background: var(--surface-2); color: var(--text); }
.tk { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.tk small { display: block; color: var(--text-3); font-size: 12px; margin-top: 1px; }
.tk i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c, var(--text-4)); margin-top: 2px; flex: none; }
.p-h { --c: var(--danger); } .p-m { --c: var(--warn); } .p-l { --c: var(--info); }
.tk.is-agent { border-color: color-mix(in srgb, var(--agent) 55%, transparent); animation: agentFlash 3.2s ease-in-out infinite; }
.tk.is-agent b { color: var(--agent); font-weight: 600; }
.tv-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tv-foot span { font-size: 12px; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }

.pv { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 26px 30px; width: 100%; align-items: start; }
.pv-art { aspect-ratio: 1; border-radius: 14px; background: radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 35%, #7a3f1d 75%, #24121a); display: flex; align-items: flex-end; padding: 18px; box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.pv-t { font: 650 18px/1.25 var(--font); color: var(--text); letter-spacing: -.01em; }
.pv-s { color: var(--text-3); margin-top: 4px; font-size: 12.5px; }
.pv-bar { height: 4px; border-radius: 9px; background: var(--surface-2); margin: 16px 0; overflow: hidden; }
.pv-bar b { display: block; height: 100%; width: 59%; background: var(--accent); border-radius: 9px; animation: play 24s linear infinite; }
.q { display: flex; gap: 12px; padding: 7px 10px; border-radius: 8px; color: var(--text-2); }
.q span { color: var(--text-4); width: 12px; } .q em { margin-left: auto; font-style: normal; color: var(--text-4); font-size: 12px; }
.q.is-on { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); }

.eq { display: flex; align-items: flex-end; gap: 4px; height: 56px; width: 100%; }
.eq i { flex: 1; border-radius: 3px 3px 0 0; background: #fff; opacity: .85; height: 30%; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--n, 0) * -173ms); animation-duration: calc(760ms + var(--n, 0) * 53ms); }
.eq i:nth-child(1){--n:1}.eq i:nth-child(2){--n:5}.eq i:nth-child(3){--n:2}.eq i:nth-child(4){--n:8}.eq i:nth-child(5){--n:3}.eq i:nth-child(6){--n:9}.eq i:nth-child(7){--n:4}.eq i:nth-child(8){--n:7}.eq i:nth-child(9){--n:1}.eq i:nth-child(10){--n:6}.eq i:nth-child(11){--n:2}.eq i:nth-child(12){--n:8}.eq i:nth-child(13){--n:3}.eq i:nth-child(14){--n:9}.eq i:nth-child(15){--n:5}.eq i:nth-child(16){--n:1}.eq i:nth-child(17){--n:7}.eq i:nth-child(18){--n:4}.eq i:nth-child(19){--n:6}.eq i:nth-child(20){--n:2}
.eq-s { width: 12px; height: 11px; gap: 2px; display: inline-flex; margin-right: 7px; } .eq-s i { background: var(--accent); border-radius: 1px; }

.win-status { display: flex; align-items: center; gap: 16px; height: 28px; padding: 0 14px; border-top: 1px solid var(--line); background: var(--bg); color: var(--text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.win-status .ok { color: var(--ok); } .grow { flex: 1; }
.np { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.win-cap { margin-top: 16px; color: var(--text-4); font-size: .82rem; }

/* ── facts ── */
.facts { padding: 56px 0 24px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--surface) 60%, transparent); overflow: hidden; }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 480 2.3rem/1 var(--serif); letter-spacing: -.02em; color: var(--accent-text); }
.fact span { display: block; color: var(--text-3); font-size: .9rem; margin-top: 10px; line-height: 1.45; }

/* ── sections ── */
.sect { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sect.alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 80%, transparent) 12%, color-mix(in srgb, var(--bg-2) 80%, transparent) 88%, transparent); }
.replaces, .opens, .yours, .more, .pricing, .final { text-align: center; }
.stack { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin-top: 56px; }
.stack-col { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.stack-col span { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); font-size: .9rem; transition: border-color .2s, color .2s, transform .2s; }
.stack-col span:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.stack-arrow { color: var(--accent-text); font-size: 1.6rem; }
.stack-one { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
.stack-one img { border-radius: 22px; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--accent) 45%, transparent)); animation: float 6s ease-in-out infinite; }
.stack-one b { font: 480 2rem/1.1 var(--serif); margin-top: 10px; }
.stack-one span { color: var(--text-3); font-size: .92rem; }

.feat-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feat-in.flip .feat-copy { order: 2; }
.ticks { margin-top: 26px; display: grid; gap: 13px; text-align: left; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: .98rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .48em; width: 13px; height: 7px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg) translateY(-2px); }
.ticks.violet li::before { border-color: var(--agent); }
.ticks b { color: var(--text); font-weight: 600; }

.card { border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, #ffffff0d, transparent 35%); }

.slash { padding: 22px; font-size: 14px; }
.slash-line { font-size: 16px; padding: 4px 4px 14px; color: var(--text); min-height: 42px; }
.slash-menu { border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: var(--bg-2); display: grid; gap: 2px; }
.slash-menu li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); transition: opacity .2s, background .15s; }
.slash-menu li.is-hid { display: none; }
.slash-menu li.is-sel { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); }
.ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-2); font: 600 11px var(--mono); color: var(--text-2); }

.graph-card { aspect-ratio: 1 / .92; background: var(--bg-2); }
.graph-legend { position: absolute; left: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-3); }
.graph-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 6px; }

.pal { padding: 0; font-size: 14px; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
.pal-in .i { color: var(--text-3); } .pal-in kbd:first-of-type { margin-left: auto; }
.pal-chips { display: flex; gap: 6px; padding: 10px 16px; overflow: hidden; }
.pal-chips span { font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--text-3); }
.pal-chips .is-on { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 600; }
.pal-list { padding: 4px 8px 10px; min-height: 236px; }
.pal-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; color: var(--text-2); animation: fadeUp .25s ease both; }
.pal-list li:first-child { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); }
.pal-list small { margin-left: auto; color: var(--text-4); font: 11px var(--mono); }
.pal-list u { text-decoration: none; color: var(--accent-text); font-weight: 650; }

.qa { padding: 24px; }
.qa-l { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin-bottom: 10px; }
.qa-in { width: 100%; font: 15px var(--mono); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 13px 14px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.qa-in:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.qa-out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line); min-height: 52px; font-size: 14.5px; }
.qa-out .ring { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c, var(--text-4)); flex: none; }
.qa-out .t { color: var(--text); margin-right: auto; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--text-3)) 18%, transparent); color: var(--c, var(--text-2)); font-weight: 550; animation: pop .25s ease both; }
.qa-help { margin-top: 12px; color: var(--text-3); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.qa-help code { margin-left: 8px; } .qa-help code:first-child { margin-left: 0; }
.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-top: 22px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--accent) calc(var(--v) * 100%), var(--surface-2)); }

.eqc { padding: 24px; }
.eqc-top { height: 150px; border-radius: 12px; padding: 16px; display: flex; align-items: flex-end; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); }
.eq-l { height: 100%; } .eq-l i { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent)); opacity: 1; }
.eqc-bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; }
.eqc-bands label { display: flex; flex-direction: column; align-items: center; gap: 10px; font: 11px var(--mono); color: var(--text-3); }
.eqc-bands input { writing-mode: vertical-lr; direction: rtl; height: 120px; width: 22px; accent-color: var(--accent); cursor: grab; }
.eqc-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; justify-content: center; }
.eqc-pre button { padding: 5px 13px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); transition: all .15s; }
.eqc-pre button:hover { border-color: var(--accent); }
.eqc-pre .is-on { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 600; }

.ftypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 52px; text-align: left; }
.ftypes div { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s; }
.ftypes div:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.ftypes b { font: 600 .84rem var(--mono); color: var(--accent-text); display: block; }
.ftypes span { display: block; color: var(--text-2); font-size: .92rem; margin-top: 8px; line-height: 1.5; }

.feed { padding: 18px 18px 8px; min-height: 330px; }
.feed-h { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--agent); box-shadow: 0 0 12px var(--agent); animation: pulse 1.8s ease-in-out infinite; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 11px 6px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); animation: feedIn .5s ease both; }
.feed li:last-child { border: 0; }
.feed li b { color: var(--agent); font: 600 12px var(--mono); }
.feed li time { color: var(--text-4); font-size: 11.5px; }
.feed li.is-new { background: linear-gradient(90deg, color-mix(in srgb, var(--agent) 16%, transparent), transparent); border-radius: 8px; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; text-align: left; }
.tri-c { padding: 30px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.tri-c .i { width: 28px; height: 28px; color: var(--accent-text); }
.tri-c h3 { font: 600 1.12rem/1.3 var(--font); margin: 18px 0 8px; }
.tri-c p { color: var(--text-2); font-size: .96rem; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 52px; text-align: left; }
.b { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.b h3 { font: 600 1rem/1.3 var(--font); } .b p { color: var(--text-3); font-size: .9rem; margin-top: 6px; line-height: 1.5; }
.b-accent { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.swatches { display: flex; gap: 8px; margin-top: 14px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; background: var(--s); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); transition: transform .15s; }
.swatches button:hover { transform: scale(1.15); } .swatches button.is-on { box-shadow: 0 0 0 2px var(--s); }

.marq { margin-top: 72px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq-in { display: flex; gap: 34px; width: max-content; animation: marquee 60s linear infinite; color: var(--text-3); font-size: .88rem; white-space: nowrap; }
.marq:hover .marq-in { animation-play-state: paused; }

.plans { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 340px); gap: 18px; justify-content: center; align-items: stretch; margin-top: 52px; text-align: left; }
.plan { padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.plan-main { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 70%); box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--accent) 55%, transparent); }
.plan-tag { align-self: flex-start; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--accent); color: var(--accent-fg); }
.plan-tag.muted { background: var(--surface-2); color: var(--text-3); }
.plan h3 { font: 600 1.2rem var(--font); margin-top: 20px; }
.price { font: 480 4.6rem/1 var(--serif); letter-spacing: -.03em; margin-top: 10px; display: flex; align-items: flex-start; }
.price .cur { font-size: 1.8rem; margin-top: .35em; color: var(--text-3); }
.price s { font-size: 1.5rem; margin-top: .5em; letter-spacing: 0; }
.price.small { font-size: 2.6rem; padding: .38em 0; color: var(--text-2); }
.plan-sub { color: var(--text-3); font-size: .9rem; margin-top: 6px; }
.plan .ticks { margin: 24px 0 28px; }
.plan .btn { margin-top: auto; }
.plan .fine { text-align: center; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-weight: 550; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--font); color: var(--accent-text); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { padding: 0 4px 22px; color: var(--text-2); max-width: 68ch; animation: fadeUp .3s ease both; }

.final { padding-bottom: 120px; }
.final-ico { margin: 0 auto 28px; border-radius: 26px; filter: drop-shadow(0 24px 50px color-mix(in srgb, var(--accent) 50%, transparent)); animation: float 6s ease-in-out infinite; }

/* ── footer ── */
.ftr { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.ftr-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.ftr-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.ftr-brand img { border-radius: 6px; } .ftr-brand small { color: var(--text-3); font-weight: 400; } .ftr-brand small a { text-decoration: underline; text-underline-offset: 3px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; color: var(--text-3); font-size: .92rem; }
.ftr-nav a:hover, .ftr-brand a:hover { color: var(--accent-text); }
.ftr-fine { grid-column: 1 / -1; color: var(--text-4); font-size: .8rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #26262b; color: #ececef; border: 1px solid #3a3a42; padding: 12px 18px; border-radius: 12px; font-size: .92rem; box-shadow: 0 20px 50px -10px #000a; transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: #e0a84a; text-decoration: underline; text-underline-offset: 3px; }

/* ── motion ── */
.rise { opacity: 0; animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .36s; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .rise { opacity: 1; transform: none; animation: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes feedIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes eq { from { height: 12%; } to { height: calc(38% + var(--n, 1) * 6.5%); } }
@keyframes play { from { width: 59%; } to { width: 100%; } }
@keyframes float { 50% { transform: translateY(-9px) rotate(1.5deg); } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes agentFlash { 0%, 60%, 100% { background: var(--surface); } 12% { background: color-mix(in srgb, var(--agent) 18%, var(--surface)); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── responsive ── */
@media (max-width: 1000px) {
  .nav { position: fixed; inset: 60px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hdr-act { margin-left: auto; } .burger { display: grid; }
  .feat-in { grid-template-columns: 1fr; } .feat-in.flip .feat-copy { order: 0; }
  .ftypes, .bento { grid-template-columns: repeat(2, 1fr); }
  .tri { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stack { grid-template-columns: 1fr; justify-items: center; } .stack-col { justify-content: center; } .stack-arrow { transform: rotate(90deg); } .stack-one { align-items: center; text-align: center; }
}
@media (max-width: 760px) {
  .hero { padding-top: 110px; }
  .win-body { grid-template-columns: 1fr; height: 380px; } .side, .det, .win-space, .win-ctl, .tg { display: none; }
  .view[data-view="note"] { grid-template-columns: 1fr; } .doc { padding: 20px; }
  .pv { grid-template-columns: 1fr; padding: 18px; } .pv-art { aspect-ratio: auto; height: 84px; padding: 12px; } .pv-art .eq { height: 100%; }
  .tv { padding: 16px; } .win-status .path, .win-status span:nth-last-child(-n+2) { display: none; }
  .plans { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; } .ftr-nav { justify-content: flex-start; }
  .hdr .btn-sm { display: none; }
}
@media (max-width: 480px) { .ftypes, .bento, .facts-in { grid-template-columns: 1fr; } .fact { border-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  #dust { display: none; }
}

/* ── spaces demo ── */
.display em.v { color: var(--agent); }
.spc { font-size: 13.5px; --sc: var(--accent); }
.spc-bar { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; scrollbar-width: none; }
.spc-bar button { display: flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; color: var(--text-3); border: 1px solid transparent; white-space: nowrap; transition: all .18s; }
.spc-bar button:hover { color: var(--text); background: var(--surface-2); }
.spc-bar button.is-on { color: var(--text); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.spc-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 12px 0; min-height: 84px; align-content: flex-start; }
.spc-tabs span { padding: 6px 11px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); animation: spcIn .32s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k) * 35ms); }
.spc-tabs span.g { background: color-mix(in srgb, var(--sc) 20%, transparent); color: var(--sc); font-weight: 600; font-size: 11.5px; padding: 7px 9px; }
.spc-tabs span.on { box-shadow: inset 0 -2px 0 var(--sc); color: var(--text); }
.spc-body { margin: 12px; padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); min-height: 150px; animation: spcIn .4s ease both; }
.spc-body h4 { margin: 0 0 12px; font: 650 18px/1.2 var(--font); letter-spacing: -.01em; }
.spc-body i { display: block; height: 8px; border-radius: 9px; background: var(--surface-2); margin-top: 10px; }
.spc-foot { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; padding: 4px 16px 14px; color: var(--text-3); font-size: 12.5px; }
@keyframes spcIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* ── shortcut tooltips ── */
.tips { display: flex; justify-content: center; gap: 6px; margin: 56px auto 0; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); width: max-content; max-width: 100%; box-shadow: var(--shadow); }
.tips button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); font-size: 17px; transition: background .15s, color .15s; }
.tips button:hover, .tips button.is-tip { background: var(--surface-2); color: var(--accent-text); }
.tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: #26262b; color: #ececef; border: 1px solid #3a3a42; font-size: 12.5px; box-shadow: 0 12px 30px -8px #000a; transition: opacity .16s, transform .16s; z-index: 5; }
.tip kbd { background: #35353d; border-color: #4a4a54; color: #ececef; margin: 0 1px; }
.tips button:hover .tip, .tips button.is-tip .tip { opacity: 1; transform: translate(-50%, 0); }
.tips:hover button.is-tip:not(:hover) { background: none; color: var(--text-2); }
.tips:hover button.is-tip:not(:hover) .tip { opacity: 0; }
.tips-cap { text-align: center; color: var(--text-4); font-size: .82rem; margin-top: 12px; }
@media (max-width: 480px) {
  .tips button { width: 36px; height: 36px; }
  .tips button:nth-child(-n+2) .tip { left: 0; transform: none; }
  .tips button:nth-last-child(-n+3) .tip { left: auto; right: 0; transform: none; }
}
.spc-bar button.is-on .i { color: var(--c); }
.tv-foot span, .st-i { display: inline-flex; align-items: center; gap: 6px; }
.tv-foot .i { color: var(--warn); }

/* ── backdrop: drifting aurora + a faint dot grid behind everything ── */
body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: 0; }
body::before { inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--text) 22%, transparent) 1px, transparent 1.2px); background-size: 28px 28px;
  mask-image: radial-gradient(90% 70% at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 0%, transparent 75%); }
body::after { inset: -20%; filter: blur(90px); opacity: .55;
  background: radial-gradient(28% 24% at 18% 30%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
              radial-gradient(24% 22% at 82% 62%, #a78bfa24, transparent 70%),
              radial-gradient(22% 20% at 60% 90%, #5b9cf61c, transparent 70%);
  animation: aurora 40s ease-in-out infinite alternate; }
:root[data-theme="light"] body::after { opacity: .4; }
@keyframes aurora { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg); } 50% { transform: translate3d(3%, 4%, 0) rotate(6deg); } 100% { transform: translate3d(5%, -3%, 0) rotate(-5deg); } }
.ftr-fine a, .plan .fine a, .faq details p a { text-decoration: underline; text-underline-offset: 3px; }
.ftr-fine a:hover, .plan .fine a:hover, .faq details p a:hover { color: var(--accent-text); }

/* ── the command palette this page advertises ────────────────────────────
   The shortcut strip claims Ctrl P opens a command palette. On this page it
   actually does. Built from the same tokens as everything else so it reads as
   the app arriving early rather than a widget bolted on. */
.cmdk[hidden] { display: none !important; }   /* the class sets display,
   which outranks the UA sheet's [hidden] rule — without this, closing does nothing */
.cmdk { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: clamp(60px, 12vh, 140px) 16px 16px; }
.cmdk-back { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 62%, #000 38%); backdrop-filter: blur(6px); }
.cmdk-box { position: relative; width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 40px 90px -20px #000b; overflow: hidden; animation: cmdkIn .18s ease both; }
@keyframes cmdkIn { from { opacity: 0; transform: translateY(-8px) scale(.985); } }

.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmdk-i { color: var(--text-3); display: flex; }
.cmdk-in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: 16px var(--font); }
.cmdk-in input::placeholder { color: var(--text-4); }

.cmdk-list { list-style: none; margin: 0; padding: 6px; max-height: min(52vh, 380px); overflow-y: auto; }
.cmdk-list li { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 9px; color: var(--text-2); cursor: pointer; }
.cmdk-list li small { margin-left: auto; color: var(--text-4); font: 11px var(--mono); }
.cmdk-list li u { text-decoration: none; color: var(--accent-text); font-weight: 600; }
.cmdk-list li.is-at { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--text); }
.cmdk-list li.is-empty { cursor: default; color: var(--text-4); }
/* the one entry that is in no list */
.cmdk-list li.is-secret { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.cmdk-list li.is-secret small { color: var(--accent-text); }

/* ── and what it finds ── */
.secret-note { place-items: center; padding: 16px; }
.note-box { position: relative; width: min(520px, 100%); max-height: 86vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--accent); border-radius: 14px; box-shadow: 0 40px 90px -20px #000b; animation: cmdkIn .22s ease both; }
.note-box header { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.note-path { font: 12px var(--mono); color: var(--text-3); }
.note-x { margin-left: auto; background: none; border: 0; color: var(--text-3); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.note-x:hover { color: var(--text); }
.note-body { padding: 20px 22px 24px; }
.note-body h3 { margin: 0 0 12px; font: 600 1.35rem var(--serif); color: var(--text); }
.note-body p { margin: 0 0 12px; color: var(--text-2); line-height: 1.6; }
.note-pass { font: 13px var(--mono); color: var(--text-3); }
.note-pass b { color: var(--accent-text); }
.note-cta { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .cmdk-box, .note-box { animation: none; }
}
