:root {
  --bg: #0a0b0d;
  --bg-soft: #111317;
  --panel: #15171b;
  --panel-strong: #1c1e22;
  --ink: #ece9e2;
  --ink-soft: #c6c0b5;
  --muted: #918c82;
  --line: rgba(236, 233, 226, .15);
  --accent: #f2b544;
  --accent-soft: #ffcb67;
  --accent-ink: #17120a;
  --warn: #e8ae72;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 56px));
  --radius: 8px;
}

html[data-theme="light"] {
  --bg: #f5f2ea;
  --bg-soft: #ece7dc;
  --panel: #fffdf8;
  --panel-strong: #eee9df;
  --ink: #1b1915;
  --ink-soft: #4e493f;
  --muted: #746e64;
  --line: rgba(27, 25, 21, .16);
  --accent: #8a5600;
  --accent-soft: #7d4a00;
  --accent-ink: #fffaf2;
  --warn: #8f4c1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 18px; }
code, .pending-code, .eyebrow, .feature-index, .release-source-label, .panel-kicker, .pending-chip, .hero-meta b, .download-card dt, .changelog-date, .node-number { font-family: var(--mono); }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 72px; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); transition: background .2s ease, border-color .2s ease; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { display: block; width: 28px; height: 28px; }
.main-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-github) { transition: color .2s ease; }
.main-nav > a:not(.nav-github):hover, .main-nav > a[aria-current="page"] { color: var(--ink); }
.nav-github { padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-soft); transition: border-color .2s ease, color .2s ease; }
.nav-github:hover { border-color: var(--accent); color: var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 12px; margin-left: 4px; padding-left: 15px; border-left: 1px solid var(--line); }
.tool-button, .language-switcher button { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 500 11px var(--mono); }
.tool-button:hover, .language-switcher button:hover, .language-switcher button.is-active { color: var(--accent); }
.theme-toggle { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.theme-toggle svg { grid-area: 1 / 1; width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .18s ease, transform .25s ease; }
.theme-icon-moon { opacity: 0; transform: rotate(-20deg) scale(.8); }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
html[data-theme="light"] .theme-icon-sun { opacity: 0; transform: rotate(20deg) scale(.8); }
html[data-theme="light"] .theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.language-switcher { display: inline-flex; align-items: center; gap: 4px; }
.language-switcher span { color: var(--line); }
.menu-button { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 7px 0; background: var(--ink); }

.hero { position: relative; min-height: 750px; display: flex; flex-direction: column; align-items: center; padding: 100px 0 65px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 77% 48%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 27%), var(--bg); }
.hero-grid-overlay { position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, black, transparent 90%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 8%; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dark { color: var(--accent-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 24px; font: 400 clamp(51px, 7vw, 94px)/.91 "DM Serif Display", Georgia, serif; letter-spacing: -.065em; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
h2 { margin-bottom: 15px; font: 400 clamp(34px, 4.2vw, 60px)/.98 "DM Serif Display", Georgia, serif; letter-spacing: -.055em; }
h3 { letter-spacing: -.03em; }
.hero-description { max-width: 485px; margin-bottom: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.62; }
.hero-description strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 11px 15px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.button-quiet { border-color: var(--line); color: var(--ink-soft); }
.button-quiet:hover { border-color: var(--accent); color: var(--accent); }
.command-card { position: relative; max-width: 610px; margin-top: 34px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--panel) 88%, transparent); }
.command-card::after { content: ""; position: absolute; top: -1px; left: 18px; width: 78px; height: 1px; background: var(--accent); }
.command-card-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.command-card-head button { padding: 0; border: 0; background: transparent; color: var(--accent); cursor: pointer; font: 10px var(--mono); }
.command-card code { display: block; overflow-x: auto; color: var(--ink); font: 500 13px/1.65 var(--mono); white-space: pre; }
.prompt-mark { color: var(--accent); }
.copy-feedback { min-height: 15px; margin-top: 8px; color: var(--accent); font: 10px var(--mono); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 27px; color: var(--muted); font: 10px var(--mono); }
.hero-meta span { display: flex; flex-direction: column; gap: 3px; }
.hero-meta b { color: var(--muted); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.hero-meta strong { color: var(--ink-soft); font-weight: 500; }
.hero-meta .meta-pending { flex-direction: row; align-items: center; color: var(--warn); }
.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.eye-stage { position: relative; z-index: 3; width: min(100%, 560px); aspect-ratio: 1.28; display: grid; place-items: center; }
.eye-stage svg { width: 100%; overflow: visible; }
.eye-outline { fill: color-mix(in srgb, var(--accent) 8%, transparent); stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 740; stroke-dashoffset: 740; animation: drawEye 2.2s ease forwards; }
.eye-inner { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, var(--ink)); stroke-width: 1; opacity: .7; }
.eye-iris { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); stroke-width: 1; animation: irisBreath 3.6s ease-in-out infinite; }
.eye-core { fill: var(--accent); animation: corePulse 3.6s ease-in-out infinite; }
.eye-scan { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 9 17; opacity: .52; animation: scan 5s linear infinite; }
.eye-points { fill: var(--accent); opacity: .8; }
@keyframes drawEye { to { stroke-dashoffset: 0; } }
@keyframes irisBreath { 50% { transform: scale(1.06); transform-origin: 280px 180px; opacity: .8; } }
@keyframes corePulse { 50% { transform: scale(1.35); transform-origin: 280px 180px; box-shadow: 0 0 20px var(--accent); } }
@keyframes scan { to { stroke-dashoffset: -130; } }
.visual-orbit { position: absolute; z-index: 1; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 50%; }
.visual-orbit--one { width: 560px; height: 230px; transform: rotate(-20deg); animation: orbitOne 11s linear infinite; }
.visual-orbit--two { width: 480px; height: 350px; border-color: color-mix(in srgb, var(--ink-soft) 21%, transparent); transform: rotate(33deg); animation: orbitTwo 15s linear infinite reverse; }
@keyframes orbitOne { to { transform: rotate(340deg); } }
@keyframes orbitTwo { to { transform: rotate(-327deg); } }
.visual-label { position: absolute; z-index: 4; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.visual-label--top { top: 17%; left: 8%; }
.visual-label--bottom { right: 6%; bottom: 16%; }
.visual-label--bottom span { color: var(--accent); }
.visual-note { position: absolute; z-index: 4; top: 44%; right: -1%; padding-left: 11px; border-left: 1px solid var(--accent); color: var(--ink-soft); font: 11px/1.25 var(--mono); }
.signal-line { position: relative; z-index: 2; height: 1px; margin-top: 42px; background: var(--line); }
.signal-line i { position: absolute; top: 0; display: block; width: 6px; height: 1px; background: var(--accent); animation: signalTravel 5s linear infinite; }
.signal-line i:nth-child(2) { animation-delay: 1.6s; }.signal-line i:nth-child(3) { animation-delay: 3.2s; }
@keyframes signalTravel { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0; } }

.section { padding: 125px 0; border-bottom: 1px solid var(--line); }
.section-intro { margin-bottom: 55px; }
.split-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8%; align-items: start; }
.section-intro h2 { max-width: 710px; }
.section-intro p { max-width: 580px; color: var(--muted); font-size: 15px; }
.resources-section, .download-section, .faq-section { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card { position: relative; min-height: 290px; display: flex; flex-direction: column; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.feature-card::before { content: ""; position: absolute; top: -22px; right: -22px; width: 100px; height: 100px; border: 1px solid var(--line); border-radius: 50%; transition: transform .35s ease, border-color .35s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); }
.feature-card:hover::before { transform: scale(1.7); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.feature-card--tall { min-height: 335px; }
.feature-index { color: var(--accent); font-size: 11px; }
.feature-icon { margin-top: auto; margin-bottom: 24px; color: var(--accent); font-size: 57px; line-height: 1; }
.feature-card h3 { max-width: 280px; margin: 0 0 8px; font-size: 20px; line-height: 1.12; }
.feature-copy { margin: 0; color: var(--muted); font: 11px/1.45 var(--mono); }
.feature-detail { display: block; margin-top: 7px; font: 10px/1.4 var(--mono); opacity: .82; }

.install-section, .capacity-section, .how-section, .security-section { background: var(--bg); }
.install-layout { display: grid; grid-template-columns: 190px 1fr; gap: 38px; }
.install-main { min-width: 0; }
.platform-tabs { display: flex; flex-direction: column; gap: 5px; }
.platform-tab { position: relative; display: flex; justify-content: space-between; padding: 12px 13px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: 13px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.platform-tab::after { content: "→"; opacity: 0; transition: opacity .2s ease; }
.platform-tab:hover, .platform-tab.is-active { border-color: var(--line); background: var(--panel); color: var(--ink); }
.platform-tab.is-active { color: var(--accent); }
.platform-tab.is-active::after { opacity: 1; }
.platform-panel { display: none; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.platform-panel.is-active { display: block; animation: panelIn .25s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.panel-kicker { color: var(--accent); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.panel-header h3 { max-width: 430px; margin: 8px 0 0; font-size: 21px; font-weight: 500; }
.pending-chip { padding: 5px 7px; border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent); color: var(--warn); font-size: 9px; letter-spacing: .08em; }
.command-card--large { max-width: none; margin-top: 0; }
.requirements-row { display: flex; justify-content: space-between; gap: 18px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font: 11px var(--mono); }
.requirements-row strong { font-weight: 500; text-align: right; }
.requirements-row strong { max-width: 72%; line-height: 1.5; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.quick-step { min-height: 132px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.quick-step > span { color: var(--accent); font: 12px var(--mono); }
.quick-step div { display: flex; flex-direction: column; gap: 9px; margin-top: 26px; }
.quick-step b { font-size: 13px; font-weight: 600; }
.quick-step code { color: var(--warn); font-size: 10px; line-height: 1.4; }

.download-section { color: var(--ink); }
.download-card-shell { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.download-tabs { display: flex; gap: 5px; padding: 12px 16px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.download-tab { min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 5px 5px 0 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; }
.download-tab:hover, .download-tab.is-active { color: var(--ink); }
.download-tab.is-active { border-color: var(--line); background: var(--panel); color: var(--accent); }
.download-panel { padding: clamp(24px, 5vw, 48px); }
.download-panel[hidden] { display: none; }
.download-panel > h3 { margin: 34px 0 10px; font-size: clamp(27px, 4vw, 42px); }
.download-panel > p { max-width: 760px; color: var(--muted); font-size: 14px; }
.portable-downloads { display: grid; gap: 8px; margin: 26px 0; padding: 0; list-style: none; }
.portable-download { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-soft); }
.portable-download > div { display: grid; gap: 5px; min-width: 0; }
.portable-download strong { font-size: 13px; font-weight: 600; }
.portable-download strong span { margin-left: 5px; color: var(--muted); font: 10px var(--mono); }
.portable-download code { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.portable-pending { flex: 0 0 auto; color: var(--warn); font: 10px var(--mono); }
.portable-install { padding-top: 18px; border-top: 1px solid var(--line); }
.portable-install h4 { margin: 0 0 12px; font-size: 13px; }
.portable-install p { margin: 7px 0; color: var(--muted); font: 11px/1.6 var(--mono); }
.portable-install p::before { content: "› "; color: var(--accent); }
.release-source { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.release-source-label { color: var(--accent-soft); font-size: 10px; }
.release-source code { flex: 1; overflow: hidden; color: var(--warn); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-card { position: relative; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.source-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.source-license { color: var(--accent); font: 11px var(--mono); }
.source-card h3 { margin: 34px 0 10px; font-size: clamp(27px, 4vw, 42px); }
.source-card > p { max-width: 680px; color: var(--muted); font-size: 14px; }
.source-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 26px 0 30px; }
.source-card-actions .text-action { margin-left: 0; }
.source-release { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 11px var(--mono); }
.source-release strong { color: var(--ink); font-weight: 500; }
.capacity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.capacity-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.capacity-card--desktop { grid-row: span 2; }
.capacity-index { color: var(--accent); font: 9px var(--mono); letter-spacing: .1em; }
.capacity-card h3 { margin: 18px 0 14px; font-size: 18px; }
.capacity-card p, .capacity-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.capacity-card p { margin: 10px 0 0; }
.capacity-note { grid-column: 1 / -1; margin: 7px 0 0; padding: 15px 18px; border-left: 2px solid var(--warn); background: color-mix(in srgb, var(--panel) 60%, transparent); }
.text-action { color: var(--accent-soft); font: 11px var(--mono); white-space: nowrap; }
.text-action:hover { color: var(--ink); }
.download-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.download-card { min-height: 250px; display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.download-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.download-card-head { display: grid; grid-template-columns: 31px 1fr 17px; align-items: start; gap: 9px; }
.platform-symbol { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font: 13px var(--mono); }
.download-card h3 { margin: 0 0 3px; font-size: 15px; }
.download-arrow { color: var(--accent-soft); font-size: 18px; }
.download-card dl { margin: 26px 0 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-card dl div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.download-card dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.download-card dd { max-width: 125px; overflow: hidden; margin: 0; color: var(--ink-soft); font: 10px var(--mono); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.download-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.download-foot span { font: 9px var(--mono); }
.download-foot a { color: var(--accent-soft); pointer-events: none; }
.checksum-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 11px; }
.checksum-note p { margin: 0; }
.checksum-note strong { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }
.checksum-note code { color: var(--warn); }
.check-icon { color: var(--accent-soft); }

.architecture-card { position: relative; min-height: 300px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 30px; padding: 44px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.architecture-lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.architecture-lines path { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1; stroke-dasharray: 5 10; animation: dashMove 8s linear infinite; }
.architecture-lines circle { fill: var(--accent); animation: nodePulse 2.5s ease-in-out infinite; }
@keyframes dashMove { to { stroke-dashoffset: -120; } }
@keyframes nodePulse { 50% { opacity: .3; } }
.architecture-node { position: relative; z-index: 1; min-height: 115px; display: flex; flex-direction: column; justify-content: center; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--panel) 90%, transparent); }
.architecture-node--core { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.node-number { color: var(--accent); font-size: 9px; }
.architecture-node b { margin-top: 17px; font-size: 15px; }
.architecture-node small { margin-top: 4px; color: var(--warn); font: 9px var(--mono); line-height: 1.3; }
.mini-eye { margin-top: 5px; color: var(--accent); font-size: 31px; line-height: .85; }
.architecture-caption { display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); letter-spacing: .15em; }

.day-section { background: var(--bg-soft); }
.console-window { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.console-titlebar { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.console-dots i:first-child { background: #e68170; }.console-dots i:nth-child(2) { background: #e6bf66; }.console-dots i:nth-child(3) { background: #88ba76; }
.console-titlebar-spacer { justify-self: end; width: 29px; }
.console-panel { margin: 0; padding: 5px 24px 10px; list-style: none; }
.console-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.console-row:last-child { border-bottom: 0; }
.console-row.is-visible { animation: consoleReveal .4s ease both; }
.console-row:nth-child(2) { animation-delay: 50ms; }.console-row:nth-child(3) { animation-delay: 100ms; }.console-row:nth-child(4) { animation-delay: 150ms; }.console-row:nth-child(5) { animation-delay: 200ms; }.console-row:nth-child(6) { animation-delay: 250ms; }.console-row:nth-child(7) { animation-delay: 300ms; }.console-row:nth-child(8) { animation-delay: 350ms; }
.console-time { padding-top: 1px; color: var(--muted); font: 11px var(--mono); }
.console-message { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.console-message strong { color: var(--accent); font: 10px var(--mono); letter-spacing: .04em; }
.console-row[data-speaker="argus"] .console-message strong { color: var(--warn); }
.console-message span { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.console-input-line { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 0 24px; border-top: 1px solid var(--line); color: var(--accent); font: 11px var(--mono); }
.console-input-line strong { width: 54px; color: var(--warn); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.console-typewriter { display: inline-block; flex: 0 0 auto; width: 0; overflow: hidden; white-space: nowrap; animation: consoleTypewriter 1.4s steps(12, end) .4s forwards; }
html[lang="pt-BR"] .console-typewriter { width: 0; animation: consoleTypewriter 1.4s steps(10, end) .4s forwards; }
.console-input-line i { display: inline-block; width: 7px; height: 15px; flex: 0 0 7px; background: var(--accent); animation: consoleCaret 1s steps(1, end) infinite; }
@keyframes consoleTypewriter { to { width: 12ch; } }
html[lang="pt-BR"] .console-typewriter { animation-name: consoleTypewriterPt; }
@keyframes consoleTypewriterPt { to { width: 10ch; } }
@keyframes consoleCaret { 50% { opacity: 0; } }
@keyframes consoleReveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.security-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; }
.security-cards { display: grid; gap: 10px; }
.security-card { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.security-card--notice { border-color: color-mix(in srgb, var(--warn) 58%, var(--line)); }
.security-icon { color: var(--accent); font-size: 25px; line-height: 1; }
.security-card--notice .security-icon { color: var(--warn); }
.security-card h3 { margin: 0 0 6px; font-size: 15px; }
.security-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; }
.faq-chevron { width: 10px; height: 10px; flex: 0 0 10px; margin-right: 7px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; color: var(--accent); transform: rotate(45deg); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.faq-item button[aria-expanded="true"] .faq-chevron { transform: rotate(135deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1); }
.faq-answer p { overflow: hidden; max-width: 680px; margin: 0; padding: 0 32px 0 0; color: var(--muted); font-size: 13px; opacity: 0; transform: translateY(-5px); transition: padding .35s ease, opacity .25s ease, transform .35s ease; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: 21px; opacity: 1; transform: translateY(0); }

.pending-section { padding-top: 70px; background: var(--bg-soft); }
.pending-card { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 62px); border: 1px solid color-mix(in srgb, var(--warn) 42%, var(--line)); border-radius: var(--radius); background: radial-gradient(circle at 83% 25%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 20%), var(--panel); }
.pending-card::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 430px; height: 430px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 50%; box-shadow: 0 0 0 45px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 90px color-mix(in srgb, var(--accent) 3%, transparent); pointer-events: none; }
.pending-card > * { position: relative; z-index: 1; }
.pending-card-top { display: flex; justify-content: space-between; gap: 20px; }
.pending-card-top .eyebrow { margin-bottom: 0; }
.pending-code { color: var(--muted); font-size: 10px; }
.pending-card h2 { max-width: 690px; margin-top: 57px; }
.pending-card > p { max-width: 610px; color: var(--muted); }
.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; }
.benchmark-card { min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--panel) 72%, transparent); }
.benchmark-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.benchmark-card-head span:first-child { color: var(--accent); font: 11px var(--mono); }
.benchmark-card-head span:last-child { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }
.benchmark-card h3 { margin-bottom: 8px; font-size: clamp(19px, 2vw, 23px); line-height: 1.15; }
.benchmark-scope { min-height: 3em; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.benchmark-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.benchmark-metrics > div { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 5px; background: color-mix(in srgb, var(--bg-soft) 68%, transparent); }
.benchmark-metrics dt { color: var(--muted); font: 9px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.benchmark-metrics dd { margin: 6px 0 0; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.benchmark-limit { min-height: 82px; margin-bottom: 17px; padding-left: 12px; border-left: 2px solid var(--warn); }
.benchmark-limit strong { color: var(--warn); font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.benchmark-limit p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.benchmark-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; font-weight: 700; }
.benchmark-link:hover { color: var(--ink); }
.pending-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 34px 0; border-top: 1px solid var(--line); }
.pending-grid div { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pending-grid span { color: var(--accent); font: 10px var(--mono); }
.pending-grid p { margin: 0; color: var(--warn); font: 11px var(--mono); }

.site-footer { padding: 0 0 23px; background: var(--bg); }
.footer-main { min-height: 145px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.footer-main p { margin: 0; color: var(--muted); font: 15px var(--mono); }
.footer-top { color: var(--accent); font: 13px var(--mono); }
.footer-top span { color: var(--muted); font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 20px; color: var(--muted); font-size: 10px; }
.footer-bottom p { max-width: 780px; margin: 0; }
.footer-bottom nav { display: flex; gap: 16px; white-space: nowrap; }
.footer-bottom a:hover { color: var(--accent); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 90; max-width: min(420px, calc(100% - 44px)); padding: 13px 15px; border: 1px solid var(--accent); border-radius: 5px; background: var(--panel-strong); color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.25); font: 11px/1.45 var(--mono); opacity: 0; transform: translateY(130%); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.changelog-page { min-height: 70vh; padding: 110px 0 130px; background: var(--bg-soft); }
.changelog-hero { max-width: 800px; margin-bottom: 75px; }
.back-link { display: block; width: fit-content; margin-bottom: 75px; color: var(--accent); font: 11px var(--mono); }
.changelog-hero h1 { margin-bottom: 20px; }
.changelog-hero p { max-width: 600px; color: var(--muted); }
.changelog-list { border-top: 1px solid var(--line); }
.changelog-entry { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.changelog-date { color: var(--muted); font-size: 11px; }
.changelog-version { display: flex; align-items: center; gap: 12px; color: var(--accent); font: 12px var(--mono); }
.changelog-version i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.changelog-body h2 { max-width: 680px; margin: 18px 0 10px; font-size: clamp(24px, 3vw, 40px); }
.changelog-body p { color: var(--muted); font-size: 13px; }
.changelog-note { display: flex; gap: 12px; margin-top: 35px; padding: 17px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.changelog-note > span { color: var(--accent); font-weight: 700; }
.changelog-note p { margin: 0; }

@media (max-width: 950px) {
  :root { --shell: min(100% - 40px, 700px); }
  .main-nav { gap: 14px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .install-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 80px; }
  .hero-visual { min-height: 390px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--tall { min-height: 290px; }
  .download-grid { grid-template-columns: repeat(3, 1fr); }
  .download-card:last-child { grid-column: span 3; min-height: auto; }
  .security-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 32px); }
  .site-header, .nav-wrap { min-height: 65px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 11px 2px; }
  .nav-github { margin-top: 5px; text-align: center; }
  .nav-tools { justify-content: space-between; margin: 8px 0 0; padding: 13px 2px 0; border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 84px 0; }
  .hero { min-height: auto; padding-top: 70px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-visual { min-height: 330px; margin: 20px -15px 0; }
  .eye-stage { width: 100%; }
  .visual-orbit--one { width: 95%; height: 150px; }
  .visual-orbit--two { width: 85%; height: 240px; }
  .visual-label--top { top: 5%; left: 8%; }.visual-label--bottom { bottom: 4%; right: 7%; }.visual-note { right: 2%; top: 40%; }
  .split-intro, .install-layout, .security-layout { grid-template-columns: 1fr; gap: 26px; }
  .section-intro { margin-bottom: 38px; }
  .platform-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .platform-tab { min-width: 0; padding: 10px 8px; font-size: 11px; text-align: center; }
  .platform-tab::after { display: none; }
  .install-steps { grid-template-columns: 1fr; }
  .quick-step { min-height: auto; }.quick-step div { margin-top: 15px; }
  .release-source { align-items: flex-start; flex-wrap: wrap; }.release-source code { flex-basis: calc(100% - 70px); }.text-action { margin-left: 23px; }
  .download-tabs { padding-inline: 9px; }.download-tab { flex: 1; padding-inline: 8px; font-size: 11px; }.portable-download { align-items: flex-start; flex-direction: column; gap: 9px; }
  .download-grid { grid-template-columns: 1fr 1fr; }.download-card:last-child { grid-column: span 2; }.download-card { min-height: 230px; }
  .capacity-grid { grid-template-columns: 1fr; }.capacity-card--desktop { grid-row: auto; }.capacity-note { grid-column: auto; }.source-card-actions { align-items: flex-start; flex-direction: column; }
  .architecture-card { grid-template-columns: 1fr 1fr; min-height: 0; gap: 10px; padding: 15px; }.architecture-lines { display: none; }.architecture-node { min-height: 120px; }.architecture-node--core { grid-column: span 2; order: -1; }.architecture-caption { display: none; }
  .console-titlebar { padding-inline: 14px; }.console-panel { padding-inline: 16px; }
  .benchmark-grid { grid-template-columns: 1fr; }
  .benchmark-scope, .benchmark-limit { min-height: 0; }
  .pending-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-main { min-height: 160px; grid-template-columns: 1fr auto; }.footer-main p { grid-column: 1 / -1; grid-row: 2; align-self: start; }.footer-bottom { flex-direction: column; gap: 15px; }.footer-bottom nav { flex-wrap: wrap; white-space: normal; }
  .changelog-page { padding-top: 70px; }.back-link { margin-bottom: 55px; }.changelog-entry { grid-template-columns: 1fr; gap: 12px; padding: 27px 0; }
}

@media (max-width: 430px) {
  .hero-actions .button { flex: 1; }.hero-meta { display: grid; grid-template-columns: 1fr 1fr; }.hero-meta .meta-pending { grid-column: span 2; }
  .feature-grid { grid-template-columns: 1fr; }.feature-card, .feature-card--tall { min-height: 260px; }
  .download-grid { grid-template-columns: 1fr; }.download-card:last-child { grid-column: auto; }
  .benchmark-metrics { grid-template-columns: 1fr; }
  .console-row { grid-template-columns: 43px minmax(0, 1fr); gap: 9px; }
  .console-message { grid-template-columns: 46px minmax(0, 1fr); gap: 8px; }
  .console-message span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Glassmorphism layer — depth, translucency and motion */
body::before,
body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .16; }
body::before { top: 12vh; right: -8vw; width: 34vw; height: 34vw; background: var(--accent); animation: auroraFloat 14s ease-in-out infinite alternate; }
body::after { bottom: 8vh; left: -12vw; width: 28vw; height: 28vw; background: #b86a38; animation: auroraFloat 18s ease-in-out infinite alternate-reverse; }
.hero::before { content: ""; position: absolute; z-index: 0; top: 16%; right: 14%; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 25%, transparent), transparent 68%); filter: blur(26px); opacity: .32; animation: heroGlow 8s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 0 42%, color-mix(in srgb, var(--accent) 4%, transparent) 50%, transparent 58%); background-size: 220% 100%; animation: glassSweep 12s ease-in-out infinite; }

.site-header,
.command-card,
.feature-card,
.platform-panel,
.quick-step,
.download-card,
.architecture-card,
.architecture-node,
.security-card,
.benchmark-card,
.console-window,
.pending-card,
.changelog-note,
.release-source { border-color: color-mix(in srgb, var(--ink) 18%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 68%, transparent), color-mix(in srgb, var(--panel-strong) 43%, transparent)); box-shadow: inset 0 1px 0 color-mix(in srgb, white 12%, transparent), 0 18px 55px color-mix(in srgb, #000 20%, transparent); backdrop-filter: blur(22px) saturate(135%); -webkit-backdrop-filter: blur(22px) saturate(135%); }
.site-header { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.command-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 20%, color-mix(in srgb, var(--accent) 12%, transparent) 50%, transparent 80%); background-size: 220% 100%; animation: glassSheen 8s ease-in-out infinite; }
.command-card > * { position: relative; z-index: 1; }
.feature-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 12%, color-mix(in srgb, white 22%, transparent) 48%, transparent 72%); background-size: 240% 100%; opacity: 0; transition: opacity .35s ease; }
.feature-card:hover::after, .download-card:hover::after { opacity: .7; animation: glassSheen 1.7s ease both; }
.hero-visual::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%); filter: blur(34px); animation: visualBreath 6s ease-in-out infinite; }
.visual-orbit--one, .visual-orbit--two { box-shadow: 0 0 35px color-mix(in srgb, var(--accent) 12%, transparent); }
.button-quiet, .nav-github, .tool-button { background: color-mix(in srgb, var(--panel) 42%, transparent); backdrop-filter: blur(12px); }
.theme-toggle { background: transparent; backdrop-filter: none; }
.theme-toggle:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pending-card { background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 76%, transparent), color-mix(in srgb, var(--accent) 7%, var(--panel))); }

.js-tilt { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px)); transition: transform .22s ease-out, border-color .25s ease, box-shadow .25s ease; transform-style: preserve-3d; }
.js-tilt:hover { --lift: -5px; box-shadow: inset 0 1px 0 color-mix(in srgb, white 16%, transparent), 0 24px 70px color-mix(in srgb, #000 28%, transparent); }

@keyframes auroraFloat { 0% { transform: translate3d(-3%, -2%, 0) scale(.92); } 50% { transform: translate3d(5%, 6%, 0) scale(1.08); } 100% { transform: translate3d(-2%, 3%, 0) scale(.98); } }
@keyframes heroGlow { 0%, 100% { transform: scale(.86); opacity: .2; } 50% { transform: scale(1.16); opacity: .45; } }
@keyframes visualBreath { 0%, 100% { transform: scale(.86); opacity: .22; } 50% { transform: scale(1.08); opacity: .55; } }
@keyframes glassSweep { 0%, 18% { background-position: 170% 0; } 52%, 100% { background-position: -40% 0; } }
@keyframes glassSheen { from { background-position: 160% 0; } to { background-position: -60% 0; } }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .hero::before, .hero::after, .command-card::before, .hero-visual::before, .feature-card:hover::after { animation: none !important; }
  .js-tilt { transform: none !important; }
  .console-typewriter { width: 12ch; animation: none !important; }
  html[lang="pt-BR"] .console-typewriter { width: 10ch; }
  .console-input-line i { animation: none !important; opacity: 1 !important; }
}

/* Licensing pages */
.license-page { min-height: 72vh; padding: 88px 0 110px; background: var(--bg-soft); }
.license-hero { max-width: 820px; margin-bottom: 48px; }
.license-hero h1 { margin: 14px 0 20px; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.055em; line-height: .98; }
.license-hero > p { max-width: 680px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.license-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.license-panel, .license-card, .pending-note { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.license-panel { padding: 26px; }
.license-message { min-height: 1.5em; color: var(--muted); }
.license-message.is-error { color: #cf6e57; }
.license-message.is-success { color: var(--accent); }
.license-table-wrap { overflow-x: auto; }
.license-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.license-table th, .license-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.license-table thead th { color: var(--accent); font-size: 13px; }
.license-table tbody th { color: var(--ink); font-weight: 600; }
.license-table td { color: var(--muted); }
.pending-note { margin: 26px auto 0; padding: 24px 28px; }
.pending-note h2 { margin: 0 0 9px; font-size: 20px; }
.pending-note p { color: var(--muted); line-height: 1.65; }
.pending-label, .license-step { color: var(--accent); font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.terminal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.terminal-grid--secondary { margin-top: 18px; }
.license-card { padding: 26px; }
.license-card h2 { margin: 12px 0; font-size: 21px; }
.license-card p { color: var(--muted); line-height: 1.7; }
.text-link { color: var(--accent); }
.license-command { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.license-command code { color: var(--ink); font: 13px var(--mono); }
.license-command button, .one-time-key button, .account-list button { border: 0; background: transparent; color: var(--accent); cursor: pointer; font: 12px var(--mono); }
.account-shell { max-width: 920px; }
.account-auth { max-width: 540px; }
.account-modes { display: flex; gap: 10px; margin-bottom: 22px; }
.account-modes button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.account-modes button.is-active { border-color: var(--accent); color: var(--ink); }
.account-auth form, .key-create-form { display: grid; gap: 10px; }
.account-auth label, .key-create-form label { margin-top: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.account-auth input, .key-create-form input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; }
.field-hint { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.account-dashboard[hidden], .license-table-wrap[hidden], .one-time-key[hidden] { display: none; }
.account-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.account-toolbar p { color: var(--muted); overflow-wrap: anywhere; }
.account-block { margin-top: 18px; }
.account-block h2 { margin: 0 0 10px; font-size: 21px; }
.account-block > p { color: var(--muted); line-height: 1.6; }
.key-create-form { grid-template-columns: 1fr auto; align-items: end; margin: 22px 0; }
.key-create-form label { grid-column: 1 / -1; }
.account-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.account-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.account-list li > span { min-width: 0; }
.one-time-key { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 6px; }
.one-time-key code { overflow-wrap: anywhere; color: var(--ink); font: 12px/1.6 var(--mono); }
.site-footer .footer-bottom > a { color: var(--accent); }
@media (max-width: 760px) {
  .license-page { padding: 64px 0 78px; }
  .terminal-grid { grid-template-columns: 1fr; }
  .license-panel, .license-card { padding: 20px; }
  .account-toolbar { align-items: flex-start; }
  .key-create-form { grid-template-columns: 1fr; }
  .key-create-form label { grid-column: auto; }
  .account-list li { align-items: flex-start; }
}
