/* AKENO website design system (public pages, sign-in and account area).
   The admin area keeps akeno.css and its own layout; nothing here is loaded there.
   No inline styles anywhere: the Content-Security-Policy allows only this file (style-src 'self'). */

@font-face {
  font-family: "Inter Var"; src: url("/static/font-inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  /* surfaces: very dark navy, raised in small steps */
  --bg: #05070f; --bg-1: #090e1b; --bg-2: #0d1424; --bg-3: #121b30; --bg-input: #080d19;
  --line: rgba(140, 156, 210, .12); --line-2: rgba(140, 156, 210, .2); --line-3: rgba(140, 156, 210, .32);
  /* text (all AA on --bg and --bg-2) */
  --text: #edf0fa; --text-2: #aab3cb; --text-3: #8690ab;
  /* accents */
  --violet: #8b6dff; --violet-hi: #b3a0ff; --violet-lo: #5a3ce0; --violet-rgb: 139, 109, 255;
  --cyan: #4fd8ff; --cyan-hi: #9be9ff; --cyan-rgb: 79, 216, 255;
  --blue: #5b8dff; --blue-rgb: 91, 141, 255;
  --magenta: #d77bff; --magenta-rgb: 215, 123, 255;
  --green: #3ddc97; --green-rgb: 61, 220, 151;
  --amber: #f5c451; --amber-rgb: 245, 196, 81;
  --red: #ff6b81; --red-rgb: 255, 107, 129;
  --grad-brand: linear-gradient(100deg, #4fd8ff 0%, #6f8bff 42%, #a48bff 72%, #d38bff 100%);
  --grad-primary: linear-gradient(180deg, #7457f7, #5a3ce0);
  /* shape, depth, motion */
  --r-xs: 8px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .035);
  --shadow-2: 0 24px 48px -24px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: .16s; --t: .28s;
  /* type */
  --font: "Inter Var", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, "SF Mono", Menlo, "DejaVu Sans Mono", monospace;
  /* layout */
  --container: 1200px; --gutter: clamp(16px, 4vw, 32px); --header-h: 68px;
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------------------------------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.site {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  font-feature-settings: "cv11", "ss01"; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(var(--violet-rgb), .16), transparent 62%),
    radial-gradient(820px 520px at 4% 2%, rgba(var(--cyan-rgb), .07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
}
.site img, .site svg, .site picture { display: block; max-width: 100%; }
:where(.site) figure { margin: 0; }
.page-main:focus { outline: none; }
.site img { height: auto; }
.site a { color: var(--cyan-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site a:hover { color: var(--text); }
.site :focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }
.site ::selection { background: rgba(var(--violet-rgb), .45); color: #fff; }
.site h1, .site h2, .site h3, .site h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.site h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); letter-spacing: -.028em; }
.site h2 { font-size: 1.3rem; }
.site h3 { font-size: 1.06rem; font-weight: 650; letter-spacing: -.012em; }
.site p { margin: 0 0 .9em; }
.site code, .site .mono { font-family: var(--mono); font-size: .9em; font-variant-ligatures: none; }
.site code { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.site .icon { flex: none; width: 20px; height: 20px; }
.site .icon.sm { width: 16px; height: 16px; } .site .icon.lg { width: 24px; height: 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bg-3); color: var(--text) !important;
  padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------------------------------------- layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.page-main { flex: 1 0 auto; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(56px, 7vw, 96px); }
.page-main.narrow { max-width: calc(560px + 2 * var(--gutter)); }
.page-main.bleed { max-width: none; padding: 0; }
.section { padding-block: var(--section-y); position: relative; }
.section + .section { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-hi); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--grad-brand); }
.section-title { font-size: clamp(1.9rem, 1.15rem + 2.4vw, 2.9rem) !important; line-height: 1.08 !important;
  letter-spacing: -.032em !important; margin-bottom: 16px !important; text-wrap: balance; }
.section-lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); color: var(--text-2); max-width: 62ch; margin: 0; text-wrap: pretty; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(5, 7, 15, .62); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.site-header.scrolled, .site-header[data-open] { border-bottom-color: var(--line); background: rgba(5, 7, 15, .86); }
.site-header .bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none;
  font-weight: 750; letter-spacing: .06em; font-size: 1.12rem; flex: none; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a, .nav-links .linkish { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .95rem;
  transition: color var(--t-fast), background-color var(--t-fast); }
.nav-links a:hover, .nav-links .linkish:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links form { margin: 0; }
.nav-links .linkish { background: none; border: 0; font: inherit; font-weight: 550; font-size: .95rem; cursor: pointer; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); }
.lang-switch a { min-width: 36px; min-height: 30px; display: inline-grid; place-items: center; padding: 0 8px;
  border-radius: 999px; font-size: .78rem; font-weight: 650; letter-spacing: .06em; color: var(--text-3); text-decoration: none; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .09); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; place-items: center; padding: 0;
  border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.site-header[data-open] .nav-toggle .i-open { display: none; }
.site-header[data-open] .nav-toggle .i-close { display: block; }
.nav-panel { display: contents; }

/* small screens: a menu panel (site-nojs.css keeps every link visible when JavaScript is off) */
@media (max-width: 899px) {
  .nav-toggle { display: grid; }
  .nav-panel { display: none; position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 24px; background: rgba(7, 10, 20, .97);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .site-header[data-open] .nav-panel { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a, .nav-links .linkish { min-height: 48px; font-size: 1.02rem; width: 100%; }
  .nav-links form { width: 100%; }
  .nav-actions { margin: 14px 0 0; flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 auto; min-height: 48px; }
  .nav-actions .lang-switch { order: -1; width: 100%; justify-content: center; }
  .nav-actions .lang-switch a { flex: 1; min-height: 40px; }
}

/* ---------------------------------------------------------------------------------------------- buttons */
.site :where(.btn, button:not(.nav-toggle):not(.icon-btn):not(.linkish)) {
  --btn-h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: var(--btn-h);
  padding: 0 18px; font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  box-shadow: var(--shadow-1); cursor: pointer; text-decoration: none; white-space: nowrap; position: relative;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast);
}
.site :where(.btn, button:not(.nav-toggle):not(.icon-btn):not(.linkish)):hover {
  background: rgba(255, 255, 255, .085); border-color: var(--line-3); color: var(--text); }
.site :where(.btn, button:not(.nav-toggle):not(.icon-btn):not(.linkish)):active { transform: translateY(1px); }
.site a.btn, .site a.btn:hover { color: var(--text); text-decoration: none; }
.site .btn.primary, .site button.primary {
  color: #fff; background: var(--grad-primary); border-color: rgba(190, 175, 255, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(116, 87, 247, .8); }
.site .btn.primary:hover, .site button.primary:hover {
  background: linear-gradient(180deg, #8166ff, #6243ec); border-color: rgba(205, 192, 255, .55); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -12px rgba(124, 92, 255, .95); }
.site .btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-2); }
.site .btn.ghost:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.site .btn.lg { --btn-h: 52px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.site .btn.xl { --btn-h: 60px; padding: 0 26px 0 22px; border-radius: 14px; }
.site .btn.block, .site button.block { width: 100%; }
.site .btn.small, .site button.small { --btn-h: 34px; padding: 0 12px; font-size: .86rem; }
.site .btn.danger, .site button.danger { color: #ffd5dc; border-color: rgba(var(--red-rgb), .45); background: rgba(var(--red-rgb), .08); }
.site .btn.danger:hover, .site button.danger:hover { background: rgba(var(--red-rgb), .16); border-color: rgba(var(--red-rgb), .7); }
.site .btn.link, .site button.link { --btn-h: auto; background: none; border: 0; box-shadow: none; color: var(--cyan-hi);
  padding: 2px 4px; text-decoration: underline; text-underline-offset: 3px; }
.site button:disabled, .site .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-stack { display: grid; text-align: left; gap: 1px; }
.btn-stack .btn-meta { font-size: .78rem; font-weight: 500; opacity: .82; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; flex: none;
  border-radius: var(--r-xs); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text-2);
  cursor: pointer; transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast); }
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .09); border-color: var(--line-3); }
.icon-btn .i-done { display: none; color: var(--green); }
.icon-btn.done .i-done { display: block; } .icon-btn.done .i-copy { display: none; }
/* loading state while a form is sent */
.site .is-loading { color: transparent !important; pointer-events: none; }
.site .is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------------------------------- pills & badges */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 550; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  text-decoration: none; white-space: nowrap; }
.site a.pill { color: var(--text-2); }
.site a.pill:hover { color: var(--text); border-color: var(--line-3); background: rgba(255, 255, 255, .07); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .16); }
.dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(var(--amber-rgb), .14); }
.dot.info { background: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .14); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem;
  font-weight: 550; color: var(--text-2); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
/* legacy status badges (account pages) */
.site .badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; letter-spacing: 0; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text-2);
  white-space: nowrap; vertical-align: middle; }
.site .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.site .badge.ok::before { background: var(--green); } .site .badge.warn::before { background: var(--amber); }
.site .badge.fail::before { background: var(--red); } .site .badge.info::before { background: var(--cyan); }

/* ---------------------------------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 30% 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(140, 156, 210, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(140, 156, 210, .055) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 78%); }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1.42fr) minmax(340px, .78fr); } }
.hero-kicker { margin-bottom: 26px; }
.hero-title { font-size: clamp(2.45rem, 1.3rem + 4.2vw, 4.25rem) !important; line-height: 1.03 !important;
  letter-spacing: -.042em !important; font-weight: 750 !important; margin: 0 0 24px !important; text-wrap: balance; }
.hero-title span { display: block; }
.hero-lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; margin: 0 0 32px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--text-3); font-size: .86rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--green); width: 16px; height: 16px; }

/* release ledger: the real release data next to the headline */
.ledger { position: relative; border-radius: var(--r-lg); padding: 22px 22px 18px; background: linear-gradient(180deg, rgba(18, 27, 48, .82), rgba(10, 15, 28, .82));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ledger::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--violet-rgb), .9), rgba(var(--cyan-rgb), .9), transparent); }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ledger-head a { font-size: .85rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ledger-version { margin: 0 0 14px; font-size: 1.05rem; color: var(--text-2); font-weight: 550; }
.ledger-version strong { display: block; font-size: 2.2rem; line-height: 1.05; color: var(--text); font-weight: 720;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ledger-list { margin: 0; display: grid; gap: 0; font-size: .875rem; }
.ledger-list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.ledger-list dt { color: var(--text-3); font-weight: 500; }
.ledger-list dd { margin: 0; color: var(--text); min-width: 0; display: flex; align-items: flex-start; gap: 7px; }
.ledger-list dd .icon { width: 16px; height: 16px; margin-top: 2px; }
.ledger-list .ok .icon { color: var(--green); } .ledger-list .warn .icon { color: var(--amber); }
.hash { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hash code { border: 0; background: none; padding: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.ledger-empty { color: var(--text-2); margin: 0; }

/* secondary feature navigation + product shot */
.showcase { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.module-nav { position: relative; z-index: 2; display: flex; justify-content: center; margin: 0 auto -22px; max-width: 100%; }
.module-nav ul { display: flex; gap: 4px; margin: 0; padding: 5px; list-style: none; border-radius: 999px; overflow-x: auto;
  scrollbar-width: none; background: rgba(12, 18, 33, .88); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); scroll-snap-type: x proximity; }
.module-nav ul::-webkit-scrollbar { display: none; }
.module-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 12px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-size: .88rem; font-weight: 550; white-space: nowrap; scroll-snap-align: start;
  transition: color var(--t-fast), background-color var(--t-fast); }
.module-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.module-nav .icon { width: 17px; height: 17px; color: var(--violet-hi); }
.shot-frame { position: relative; padding: clamp(6px, .8vw, 10px); border-radius: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 40px 120px -40px rgba(var(--violet-rgb), .55), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.shot-frame::after { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--violet-rgb), .95), rgba(var(--cyan-rgb), .95), transparent); }
.shot-frame img { width: 100%; border-radius: clamp(9px, 1vw, 13px); background: var(--bg-1); }
.showcase .shot-frame { padding-top: clamp(30px, 3vw, 34px); }
.showcase::before { content: ""; position: absolute; inset: 14% 8% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--violet-rgb), .38), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(var(--cyan-rgb), .18), transparent 70%);
  filter: blur(48px); pointer-events: none; }
.shot-caption { margin: 14px 0 0; text-align: center; color: var(--text-3); font-size: .8rem; }

/* ---------------------------------------------------------------------------------------------- feature bento */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-dlss, .f-desktop, .f-dock { grid-column: span 2; } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .f-dlss { grid-column: span 4; } .f-boost { grid-column: span 2; }
  .f-bench { grid-column: span 2; } .f-desktop { grid-column: span 4; } .f-dock { grid-column: span 6; }
}
.feature { --accent-rgb: var(--violet-rgb); --accent-2-rgb: var(--cyan-rgb);
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)), var(--bg-1);
  border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 260px at 0% 0%, rgba(var(--accent-rgb), .13), transparent 70%); }
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .85), transparent 38%, transparent 62%, rgba(var(--accent-2-rgb), .65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity var(--t) var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 30px 60px -36px rgba(var(--accent-rgb), .55); }
.feature:hover::after, .feature:target::after { opacity: 1; }
.f-boost { --accent-rgb: var(--cyan-rgb); --accent-2-rgb: var(--blue-rgb); }
.f-bench { --accent-rgb: var(--blue-rgb); --accent-2-rgb: var(--cyan-rgb); }
.f-desktop { --accent-rgb: var(--magenta-rgb); --accent-2-rgb: var(--violet-rgb); }
.f-dock { --accent-rgb: var(--cyan-rgb); --accent-2-rgb: var(--magenta-rgb); }
.feature-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none;
  color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.feature-kicker { font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.feature h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem) !important; letter-spacing: -.025em !important; margin: 0 0 10px !important; }
.feature-text { color: var(--text-2); margin: 0 0 18px; max-width: 58ch; text-wrap: pretty; }
.feature-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .82rem; color: var(--text-3); }
.feature-note .icon { width: 16px; height: 16px; margin-top: 2px; }
.feature-visual { margin-top: auto; padding-top: 22px; }
.feature.split-card { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .feature.split-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .feature.split-card .feature-visual { padding-top: 0; } }
/* screenshot that bleeds out of the card's lower right corner */
.peek { position: relative; margin: auto calc(-1 * clamp(22px, 2.4vw, 30px)) calc(-1 * clamp(22px, 2.4vw, 30px)) 0; }
.peek .shot { border-radius: 12px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0;
  box-shadow: -20px -20px 60px -30px rgba(var(--accent-rgb), .5); width: 100%; }
.shot-card { border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), .6); width: 100%; }
.feature figcaption, .figure-caption { margin-top: 10px; font-size: .78rem; color: var(--text-3); }
.peek figcaption { margin: 0 0 10px; padding-right: clamp(22px, 2.4vw, 30px); }

/* FPS Booster: preview of real settings, before they change */
.demo { border-radius: var(--r-md); background: rgba(3, 6, 14, .55); border: 1px solid var(--line); padding: 14px; font-size: .84rem; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--text-2); font-weight: 600; }
.demo-head span { display: inline-flex; align-items: center; gap: 7px; }
.demo-head .icon { width: 16px; height: 16px; color: rgb(var(--accent-rgb)); }
.demo-label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.change-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.change-list li { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.change-name { display: block; color: var(--text); font-weight: 550; margin-bottom: 6px; }
.change-values { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-3); }
.change-values .now { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.change-values .after { color: var(--cyan-hi); font-weight: 600; }
.change-values .icon { width: 14px; height: 14px; color: var(--text-3); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fake-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; font-size: .78rem; font-weight: 600;
  color: var(--text-2); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.fake-btn.primary { color: #fff; background: var(--grad-primary); border-color: rgba(190, 175, 255, .35); }
.fake-btn .icon { width: 14px; height: 14px; }

/* Benchmarks: an abstract frame-time trace (no values) */
.segmented { display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.segmented span { padding: 4px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; color: var(--text-3); }
.segmented span.on { background: rgba(255, 255, 255, .09); color: var(--text); }
.trace { width: 100%; height: auto; margin: 6px 0 8px; overflow: visible; }
.trace .grid-line { stroke: rgba(140, 156, 210, .12); stroke-width: 1; }
.trace .area { fill: url(#trace-fill); }
.trace .line { fill: none; stroke: url(#trace-stroke); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trace .low { stroke: rgba(var(--amber-rgb), .7); stroke-width: 1; stroke-dasharray: 4 4; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend .tag i { width: 8px; height: 2px; border-radius: 2px; background: var(--cyan); display: inline-block; }
.legend .tag i.l1 { background: var(--amber); } .legend .tag i.l2 { background: rgba(var(--amber-rgb), .5); } .legend .tag i.ft { background: var(--violet-hi); }

/* Dock & widgets: a glass dock on an abstract wallpaper */
.desk { position: relative; border-radius: var(--r-md); min-height: 210px; overflow: hidden; display: grid; place-items: end center; padding: 20px;
  background: radial-gradient(420px 240px at 72% 30%, rgba(var(--magenta-rgb), .55), transparent 70%),
              radial-gradient(380px 220px at 18% 80%, rgba(var(--cyan-rgb), .28), transparent 70%),
              linear-gradient(160deg, #1a1240, #0b0f24 60%, #071224); border: 1px solid var(--line-2); }
.dock { display: flex; align-items: flex-end; gap: 8px; padding: 9px 10px; margin: 0; list-style: none; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 40px -16px rgba(0, 0, 0, .7); }
.dock li { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff;
  background: linear-gradient(160deg, rgba(var(--violet-rgb), .9), rgba(var(--blue-rgb), .75)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform var(--t) var(--ease); transform-origin: bottom center; }
.dock li:nth-child(2) { background: linear-gradient(160deg, rgba(var(--cyan-rgb), .9), rgba(var(--blue-rgb), .7)); }
.dock li:nth-child(3) { background: linear-gradient(160deg, rgba(var(--magenta-rgb), .9), rgba(var(--violet-rgb), .75)); }
.dock li:nth-child(4) { background: linear-gradient(160deg, #3a4767, #232c45); }
.dock li:nth-child(5) { background: linear-gradient(160deg, rgba(var(--amber-rgb), .85), rgba(var(--red-rgb), .7)); }
.dock li.running::after { content: ""; position: absolute; bottom: -7px; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .85; }
.dock li .icon { width: 22px; height: 22px; }
.dock li.sep { width: 1px; height: 34px; padding: 0; margin: 0 2px; border-radius: 0; background: rgba(255, 255, 255, .2); box-shadow: none; align-self: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dock li:not(.sep):hover { transform: scale(1.22) translateY(-4px); }
  .dock li:not(.sep):hover + li:not(.sep), .dock li:not(.sep):has(+ li:hover) { transform: scale(1.1) translateY(-2px); }
}
.widget-types { margin-top: 16px; }

/* ---------------------------------------------------------------------------------------------- licenses */
.tiers { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)), var(--bg-1); border: 1px solid var(--line);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.tier:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tier-name { margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tier-value { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; line-height: 1; }
.tier-value strong { font-size: clamp(2.6rem, 2.2rem + 1.2vw, 3.3rem); font-weight: 720; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tier-value span { color: var(--text-2); font-weight: 550; }
.tier-value .icon { width: 64px; height: 64px; margin: -6px 0 -6px -6px; stroke-width: 1.5; color: var(--violet-hi); }
.tier-text { color: var(--text-3); font-size: .9rem; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.tier.featured { background: linear-gradient(180deg, rgba(var(--violet-rgb), .14), rgba(var(--cyan-rgb), .04) 70%), var(--bg-1);
  border-color: rgba(var(--violet-rgb), .45); box-shadow: 0 30px 70px -40px rgba(var(--violet-rgb), .8); }
.tier.featured .tier-value strong { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .92rem; }
.facts .icon { color: var(--cyan-hi); margin-top: 2px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.cta-row p { margin: 0 auto 0 0; color: var(--text-2); font-weight: 550; }

/* ---------------------------------------------------------------------------------------------- download */
.release-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px);
  background: radial-gradient(700px 320px at 100% 0%, rgba(var(--violet-rgb), .18), transparent 70%),
              radial-gradient(600px 300px at 0% 100%, rgba(var(--cyan-rgb), .08), transparent 70%), var(--bg-1);
  border: 1px solid var(--line-2); }
.release-panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.release-panel-head .section-title { margin: 0 !important; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.meta-line .pill { white-space: normal; max-width: 100%; line-height: 1.35; padding-block: 5px; }
.dl-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl-tile { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); min-width: 0;
  background: rgba(5, 8, 17, .6); border: 1px solid var(--line-2); }
.dl-tile-head { display: flex; gap: 14px; align-items: flex-start; }
.dl-tile-head .feature-icon { --accent-rgb: var(--violet-rgb); }
.dl-tile.portable .feature-icon { --accent-rgb: var(--cyan-rgb); }
.dl-tile h3 { margin: 0 0 2px !important; font-size: 1.12rem !important; }
.dl-file { color: var(--text-3); font-size: .86rem; font-family: var(--mono); overflow-wrap: anywhere; }
.dl-facts { margin: 0; display: grid; gap: 8px; font-size: .86rem; }
.dl-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: start; }
.dl-facts dt { color: var(--text-3); }
.dl-facts dd { margin: 0; color: var(--text); min-width: 0; display: flex; gap: 7px; align-items: flex-start; }
.dl-facts dd .icon { width: 16px; height: 16px; margin-top: 2px; }
.dl-facts .ok .icon { color: var(--green); } .dl-facts .warn .icon { color: var(--amber); }
.dl-tile .btn { margin-top: auto; }
.release-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; }
.release-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.notes-box { margin-top: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.notes-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px;
  cursor: pointer; font-weight: 600; color: var(--text-2); border-radius: var(--r-md); min-height: 48px; }
.notes-box > summary::-webkit-details-marker { display: none; }
.notes-box > summary .icon { transition: transform var(--t-fast) var(--ease); }
.notes-box[open] > summary .icon { transform: rotate(90deg); }
.notes-box > summary:hover { color: var(--text); }
.notes-body { padding: 0 16px 16px; }
.site .release-notes { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; color: var(--text-2); margin: 0; }
.empty-state { text-align: center; padding: clamp(28px, 5vw, 56px) 16px; }
.empty-state .feature-icon { margin: 0 auto 16px; }
.empty-state p { color: var(--text-2); max-width: 52ch; margin: 0 auto 18px; }

/* download page */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.page-hero .hero-title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem) !important; margin-bottom: 16px !important; }
.explain-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .explain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .panel-wide { grid-column: 1 / -1; } }
.section-tight { padding-top: 8px !important; }
/* one recommended download; further options folded away */
.dl-main { display: grid; gap: 28px 44px; grid-template-columns: minmax(0, 1fr); padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: radial-gradient(720px 340px at 0% 0%, rgba(var(--violet-rgb), .2), transparent 70%),
              radial-gradient(600px 300px at 100% 100%, rgba(var(--cyan-rgb), .08), transparent 70%), var(--bg-1);
  box-shadow: 0 40px 90px -56px rgba(var(--violet-rgb), .6); }
@media (min-width: 900px) { .dl-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.dl-main-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.pill.rec { color: var(--violet-hi); border-color: rgba(var(--violet-rgb), .38); background: rgba(var(--violet-rgb), .1); font-weight: 600; }
.dl-main .feature-icon { --accent-rgb: var(--violet-rgb); width: 52px; height: 52px; border-radius: 14px; }
.dl-main h3 { margin: 0 0 2px !important; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem) !important; letter-spacing: -.02em; }
.dl-main-text { margin: 0; color: var(--text-2); max-width: 44ch; font-size: 1.05rem; }
.dl-main .fine { margin: 0; }
.dl-main-facts { min-width: 0; padding: 22px; border-radius: var(--r-lg); background: rgba(5, 8, 17, .6); border: 1px solid var(--line); }
.dl-main-facts .dl-facts { gap: 12px; font-size: .9rem; }
.hash.wrap { align-items: flex-start; }
.hash.wrap code { white-space: normal; overflow-wrap: anywhere; line-height: 1.55; padding-top: 1px; }
.facts-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.adv-box { margin-top: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .015);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.adv-box:hover, .adv-box[open] { border-color: var(--line-2); }
.adv-box[open] { background: rgba(255, 255, 255, .025); }
.site .adv-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px; padding: 12px 20px; border-radius: var(--r-lg); color: var(--text-2); font-weight: 500; }
.adv-box > summary::-webkit-details-marker { display: none; }
.adv-sum { display: flex; align-items: center; gap: 14px; min-width: 0; }
.adv-sum > .icon { flex: none; color: var(--text-3); }
.adv-title { display: block; color: var(--text-2); font-weight: 600; transition: color var(--t-fast); }
.adv-sub { display: block; color: var(--text-3); font-size: .84rem; }
.adv-box > summary:hover .adv-title, .adv-box[open] .adv-title { color: var(--text); }
.adv-box .chev { flex: none; color: var(--text-3); transition: transform var(--t-fast) var(--ease); }
.adv-box[open] .chev { transform: rotate(90deg); }
.adv-body { display: grid; gap: 18px 32px; grid-template-columns: minmax(0, 1fr); padding: 4px 20px 20px; }
@media (min-width: 900px) { .adv-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; padding-left: 58px; } }
.adv-text { min-width: 0; }
.adv-text p { color: var(--text-2); }
.adv-text .fine { margin-bottom: 8px; }
.panel { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--bg-1); border: 1px solid var(--line); min-width: 0; }
.panel h2, .panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem !important; margin-bottom: 12px !important; }
.panel h2 .icon, .panel h3 .icon { color: var(--violet-hi); }
.panel p { color: var(--text-2); }
.panel p:last-child { margin-bottom: 0; }
.code-line { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--r-sm); background: var(--bg-input);
  border: 1px solid var(--line-2); min-width: 0; margin: 0 0 12px; }
.code-line code { flex: 1; min-width: 0; border: 0; background: none; padding: 0; color: var(--text); font-size: .82rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); margin: 0 0 14px;
  border: 1px solid rgba(var(--amber-rgb), .35); background: rgba(var(--amber-rgb), .07); color: var(--text); font-size: .92rem; }
.callout .icon { color: var(--amber); margin-top: 1px; }
.callout.ok { border-color: rgba(var(--green-rgb), .35); background: rgba(var(--green-rgb), .07); }
.callout.ok .icon { color: var(--green); }
.callout.info { border-color: rgba(var(--cyan-rgb), .3); background: rgba(var(--cyan-rgb), .06); }
.callout.info .icon { color: var(--cyan); }
.fine { color: var(--text-3); font-size: .84rem; }

/* ---------------------------------------------------------------------------------------------- privacy band */
.privacy { display: grid; gap: 18px 28px; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--green-rgb), .06), transparent 50%), var(--bg-1); }
.privacy .feature-icon { --accent-rgb: var(--green-rgb); width: 48px; height: 48px; }
.privacy h2 { margin: 0 0 4px !important; font-size: 1.15rem !important; }
.privacy p { margin: 0; color: var(--text-2); }
@media (max-width: 560px) { .privacy { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------------------------------- auth pages */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .auth.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.auth-aside { display: none; position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 5vw, 72px);
  border-right: 1px solid var(--line);
  background: radial-gradient(700px 420px at 0% 0%, rgba(var(--violet-rgb), .24), transparent 65%),
              radial-gradient(520px 360px at 100% 100%, rgba(var(--cyan-rgb), .12), transparent 65%), var(--bg-1); }
.auth-aside::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(140, 156, 210, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 156, 210, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 75%); }
@media (min-width: 980px) { .auth.duo .auth-aside { display: flex; flex-direction: column; justify-content: center; } }
.auth-aside-inner { max-width: 460px; margin-left: auto; width: 100%; }
.auth-aside h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.7rem) !important; line-height: 1.05 !important; letter-spacing: -.035em !important; margin-bottom: 14px !important; }
.auth-aside .lead { color: var(--text-2); font-size: 1.05rem; margin-bottom: 28px; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(var(--violet-rgb), .14); border: 1px solid rgba(var(--violet-rgb), .35); color: var(--violet-hi); }
.check-list .tick .icon { width: 15px; height: 15px; }
.auth-aside .shot-frame { margin-top: 40px; padding: 6px; box-shadow: 0 30px 80px -40px rgba(var(--violet-rgb), .6); }
.auth-aside figcaption { margin-top: 10px; font-size: .78rem; color: var(--text-3); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 6vw, 72px) var(--gutter); }
.auth-card { width: 100%; max-width: 440px; }
.auth.single .auth-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), var(--bg-1); box-shadow: var(--shadow-2); }
.auth-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px;
  background: rgba(var(--violet-rgb), .12); border: 1px solid rgba(var(--violet-rgb), .35); color: var(--violet-hi); }
.auth-card h1 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.15rem) !important; letter-spacing: -.03em !important; margin-bottom: 8px !important; }
.auth-sub { color: var(--text-2); margin: 0 0 26px; }
.auth-foot { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .94rem; }
.auth-foot a { font-weight: 600; }

/* ---------------------------------------------------------------------------------------------- forms */
.form-stack { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.site label { display: block; font-weight: 600; color: var(--text-2); font-size: .9rem; margin: 0; }
.site .field label { margin: 0; }
.site input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .site select, .site textarea {
  width: 100%; min-height: 46px; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-input);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 14px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast); }
.site input::placeholder, .site textarea::placeholder { color: rgba(170, 179, 203, .55); }
.site input:hover:not(:focus), .site select:hover:not(:focus), .site textarea:hover:not(:focus) { border-color: var(--line-3); }
.site input:focus, .site select:focus, .site textarea:focus { outline: none; border-color: rgba(var(--violet-rgb), .9);
  box-shadow: 0 0 0 4px rgba(var(--violet-rgb), .22), inset 0 1px 2px rgba(0, 0, 0, .3); background: #0a1020; }
.site input[aria-invalid="true"] { border-color: rgba(var(--red-rgb), .7); }
.site select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab3cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.site input[type="checkbox"] { width: 18px; height: 18px; margin: 0 8px 0 0; accent-color: var(--violet); }
.site textarea { min-height: 100px; resize: vertical; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 52px !important; }
.input-wrap .icon-btn { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 36px; height: 34px; border: 0; background: transparent; }
.input-wrap .icon-btn:hover { background: rgba(255, 255, 255, .07); }
.input-wrap .icon-btn .i-hide { display: none; }
.input-wrap .icon-btn[aria-pressed="true"] .i-hide { display: block; }
.input-wrap .icon-btn[aria-pressed="true"] .i-show { display: none; }
.site .hint, .field-hint { color: var(--text-3); font-size: .84rem; margin: 0; }
.rules { display: grid; gap: 4px; margin: 2px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--text-3); }
.rules li { display: flex; gap: 7px; align-items: center; transition: color var(--t-fast); }
.rules li .icon { width: 15px; height: 15px; opacity: .55; }
.rules li.met { color: var(--green); } .rules li.met .icon { opacity: 1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.form-actions .btn, .form-actions button { min-height: 48px; }
.link-quiet { color: var(--text-2) !important; text-decoration: none; font-weight: 550; font-size: .9rem; }
.link-quiet:hover { color: var(--text) !important; text-decoration: underline; }

/* alerts & flash messages */
.alert, .site .flash { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; margin: 0 0 20px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 500; font-size: .94rem; line-height: 1.5; }
.alert .icon { margin-top: 1px; }
.alert.error, .site .flash.error { border-color: rgba(var(--red-rgb), .45); background: rgba(var(--red-rgb), .08); }
.alert.error .icon { color: var(--red); }
.alert.ok, .site .flash.ok { border-color: rgba(var(--green-rgb), .4); background: rgba(var(--green-rgb), .07); }
.alert.ok .icon { color: var(--green); }
.alert.warn, .site .flash.warn { border-color: rgba(var(--amber-rgb), .45); background: rgba(var(--amber-rgb), .07); }
.alert.warn .icon { color: var(--amber); }
.site .flash.info { border-color: rgba(var(--cyan-rgb), .35); background: rgba(var(--cyan-rgb), .06); }
.site .flash { display: block; }
.flash-wrap { padding-top: 20px; }
.page-main.bleed > .flash-wrap { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter) 0; }
.flash-wrap .alert { margin: 0; }
.page-main > .flash-wrap { padding: 0 0 4px; }

/* ---------------------------------------------------------------------------------------------- account area (shared markup) */
.site .card { background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .006)), var(--bg-1);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); box-shadow: none; min-width: 0; }
.site .card.flat { box-shadow: none; }
.site .card h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.15rem; letter-spacing: -.015em; }
.site .card form + form { margin-top: 12px; }
.site .card label { margin: 14px 0 7px; }
.site .card .field label { margin: 0; }
.site .stat { font-size: 1.9rem; font-weight: 750; letter-spacing: -.03em; }
.site .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.site .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site .split { display: grid; gap: 22px; grid-template-columns: 220px minmax(0, 1fr); }
@media (max-width: 860px) { .site .split { grid-template-columns: 1fr; } .site .grid.two { grid-template-columns: 1fr; } }
.site .stack > * + * { margin-top: 18px; }
.site .row { display: flex; gap: 10px 12px; flex-wrap: wrap; align-items: center; }
.site .row.end { justify-content: flex-end; }
.site .row > h1 { margin-bottom: 0; }
.site .page-main > .row:first-child { margin-bottom: 24px; }
.site .spacer { flex: 1; }
.site .dim { color: var(--text-2); }
.site .muted { color: var(--text-3); font-size: .9em; }
.site .mt { margin-top: 14px; } .site .mt-s { margin-top: 10px; } .site .mt-l { margin-top: 20px; }
.site .wrap-any { overflow-wrap: anywhere; } .site .nowrap { white-space: nowrap; } .site .narrow-cell { max-width: 340px; }
.site .inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.site .inline > input { flex: 1 1 160px; min-height: 38px; padding: 6px 10px; }
.site .inline > .btn, .site .inline > button { flex: 0 0 auto; }
.site form.inline-form { display: inline; margin: 0; }
.site .code-input { font-family: var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
.site .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(0, 0, 0, .12); }
.site table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.site th, .site td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.site th { color: var(--text-3); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .02); }
.site tr:last-child td { border-bottom: 0; }
.site tbody tr:hover { background: rgba(255, 255, 255, .02); }
.site dl.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 20px; margin: 0; }
.site dl.kv dt, .site dl.kv dd { padding: 9px 0; border-top: 1px solid var(--line); }
.site dl.kv dt { color: var(--text-3); }
.site dl.kv dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.site dl.kv dt:first-of-type, .site dl.kv dd:first-of-type { border-top: 0; }
.site .pager { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.site .codes { font-family: var(--mono); font-size: 1rem; background: var(--bg-input); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 14px 16px; line-height: 1.9; white-space: pre-wrap; user-select: all; }
.site .qr { background: #fff; padding: 12px; border-radius: 14px; display: inline-block; margin: 6px 0 4px; }
.site .qr svg { display: block; width: 200px; height: 200px; }
.site details summary { cursor: pointer; color: var(--text-2); font-weight: 600; }
.site .empty { padding: 2.5rem 1rem; text-align: center; }

/* error & message pages */
.status-code { font-size: clamp(4rem, 3rem + 5vw, 7rem); font-weight: 760; line-height: .9; letter-spacing: -.06em; margin: 0 0 18px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------------------------------------- footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent), var(--bg); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-block: clamp(40px, 6vw, 64px) 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); } }
.footer-brand p { color: var(--text-3); max-width: 38ch; margin: 14px 0 0; font-size: .92rem; }
.footer-col h2 { font-size: .78rem !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px !important; font-weight: 650 !important; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--text-2); text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 20px 0 28px; border-top: 1px solid var(--line);
  color: var(--text-3); font-size: .82rem; }
.footer-bottom .spacer { flex: 1; }
.footer-bottom a { color: var(--text-2); }

/* ---------------------------------------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .ledger, .showcase { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; } .hero-copy > :nth-child(5) { animation-delay: .2s; }
  .ledger { animation-delay: .22s; } .showcase { animation-delay: .3s; animation-duration: .9s; }
  /* one-shot reveal: site.js adds .reveal-on only when it can also reveal (content stays visible otherwise) */
  .reveal-on .reveal:not(.in) { opacity: 0; }
  .reveal-on .reveal.in { animation: rise .7s var(--ease) backwards; }
  .reveal-on .f-bench:not(.in) .trace .line { stroke-dashoffset: 100; }
  .trace .line { stroke-dasharray: 100; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .feature:hover, .tier:hover { transform: none; }
}

/* ---------------------------------------------------------------------------------------------- small screens */
@media (max-width: 899px) {
  .site-header .bar { gap: 16px; }
  .module-nav { justify-content: flex-start; }
  .module-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn.xl { justify-content: flex-start; }
  .ledger-list > div { grid-template-columns: 84px minmax(0, 1fr); }
  .module-nav { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .module-nav ul { border-radius: 14px; }
  .showcase .shot-frame { padding-top: 26px; }
  .dl-facts > div { grid-template-columns: 92px minmax(0, 1fr); }
  .dl-main-btn { width: 100%; }
  .dl-main-facts { padding: 16px; }
  .site .adv-box > summary { padding: 12px 16px; }
  .adv-body { padding: 4px 16px 16px; }
  .cta-row .btn { flex: 1 1 auto; }
  .form-actions .btn, .form-actions button { width: 100%; }
  .site th, .site td { padding: 10px 10px; }
}
@media (pointer: coarse) { .site .btn.small, .site button.small { --btn-h: 40px; } .lang-switch a { min-height: 36px; } }
@media print { .site-header, .site-footer, .module-nav { display: none; } body.site { background: #fff; color: #000; } }

/* ---------------------------------------------------------------------------------------------- auth details */
.auth.duo .auth-aside { order: -1; }
.site input.otp { font-family: var(--mono); font-size: 1.3rem; letter-spacing: .32em; text-align: center; }
