/* ==========================================================================
   deka — site stylesheet
   Dark editorial × terminal. Geologica for display and text, Cormorant
   Garamond italic for accents, JetBrains Mono for labels and numbers.
   ========================================================================== */

@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/geologica-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/geologica-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/jetbrains-mono-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/jetbrains-mono-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

:root {
  color-scheme: dark;
  --void: #07070a;
  --void-2: #0a0a0e;
  --surface: #0e0e13;
  --surface-2: #121219;
  --surface-3: #181820;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);

  --ink: #f3f2ef;
  --ink-2: #b9b8c0;
  --ink-3: #75747f;
  --ink-4: #43424b;

  --acc: #ff7a45;
  --acc-2: #ffa47c;
  --acc-3: #ffd2bd;
  --acc-deep: #e2492a;
  --acc-dim: rgba(255, 122, 69, .14);
  --acc-glow: rgba(255, 122, 69, .28);

  --mint: #5ef2c6;
  --mint-dim: rgba(94, 242, 198, .12);
  --rose: #ff5d73;
  --rose-dim: rgba(255, 93, 115, .12);
  --amber: #ffc861;
  --amber-dim: rgba(255, 200, 97, .12);
  --azure: #7cc7ff;

  --display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; position: relative; overflow-x: hidden;
  background: var(--void); color: var(--ink);
  font: 400 16px/1.55 var(--display);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--acc); color: var(--void); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 14px; height: 14px; }
.ic-lg { width: 24px; height: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--acc); color: var(--void); border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- background layers ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg > * { position: absolute; inset: 0; }
.bg-canvas { width: 100%; height: 100%; opacity: .9; }
.bg-aurora {
  background:
    radial-gradient(ellipse 60% 45% at 18% 0%, rgba(255, 122, 69, .13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(124, 199, 255, .07), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(170, 110, 255, .06), transparent 70%);
  animation: aurora 22s var(--ease-in-out) infinite alternate;
}
@keyframes aurora { to { transform: translate3d(0, 2.5%, 0) scale(1.06); filter: hue-rotate(-12deg); } }
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 0%, transparent 78%);
}
.bg-noise {
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.bg-vignette { background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .65) 100%); }

/* ---------- layout ---------- */
.shell { position: relative; z-index: 2; padding-top: var(--header-h); outline: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.tag::before { content: ""; width: 24px; height: 1px; background: var(--acc); }
.tag .num { color: var(--acc); }
.title {
  font-weight: 400; font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -.035em; line-height: .98;
  margin-bottom: 24px; text-wrap: balance;
}
.title-md { font-size: clamp(32px, 4.2vw, 60px); }
.title-sm { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.title em, .em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink-2); letter-spacing: -.01em; }
.accent { color: var(--acc); }
.lede { max-width: 680px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lede { max-width: 520px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(7, 7, 10, .55); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: background .4s var(--ease-out), height .4s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(7, 7, 10, .86); }
.header-inner { height: 100%; max-width: calc(var(--max) + 80px); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-block; flex: none; white-space: nowrap; color: var(--ink); font-size: 31px; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.brand-d { display: inline-block; width: .66em; height: .78em; vertical-align: -.04em; margin-right: -.055em; overflow: visible; }
.brand-word { letter-spacing: inherit; }
.big-mark { color: var(--ink); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.account-slot { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 14px; color: var(--ink-2);
  transition: border-color .2s, background .2s;
}
.user-chip:hover, .user-chip[aria-expanded="true"] { border-color: var(--line-strong); background: rgba(255, 255, 255, .06); color: var(--ink); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--display); color: var(--void);
  background: radial-gradient(circle at 30% 30%, var(--acc-3), var(--acc) 55%, var(--acc-deep));
}
.user-email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 6px; z-index: 120;
  background: rgba(18, 18, 25, .96); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: pop .18s var(--ease-out);
}
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); text-align: left; }
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible { background: rgba(255, 255, 255, .06); color: var(--ink); outline: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 90; padding: 24px var(--pad);
  background: rgba(7, 7, 10, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  animation: fade .25s var(--ease-out);
}
.mobile-nav nav { display: grid; }
.mobile-nav a { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 26px; letter-spacing: -.03em; }
.mobile-nav a .num { font: 500 12px var(--mono); color: var(--acc); width: 28px; }
.mobile-nav a .ic { margin-left: auto; color: var(--ink-3); }
@keyframes fade { from { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font: 500 15px/1 var(--display); letter-spacing: -.005em; border: 1px solid transparent;
  transition: transform .3s var(--ease-out), background .25s, border-color .25s, color .25s, box-shadow .3s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { transition: transform .35s var(--ease-out); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, var(--acc-2), var(--acc) 60%); color: #1a0d07; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 164, 124, .5) inset, 0 10px 30px -10px var(--acc-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 210, 189, .7) inset, 0 14px 36px -10px rgba(255, 122, 69, .5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.btn-danger { border-color: rgba(255, 93, 115, .35); color: #ffb3bd; background: var(--rose-dim); }
.btn-danger:hover { border-color: var(--rose); color: #fff; }
.btn-success { border-color: rgba(94, 242, 198, .35); color: var(--mint); background: var(--mint-dim); cursor: default; }
.btn-success:hover .ic { transform: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: rgba(255, 255, 255, .25); border-top-color: var(--ink);
  animation: spin .8s linear infinite;
}
.btn-primary.is-loading::after { border-color: rgba(26, 13, 7, .25); border-top-color: #1a0d07; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--ink-2); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--ink); border-color: var(--line); }
.link { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.link:hover { color: var(--acc-2); border-color: var(--acc); }

/* ---------- surfaces ---------- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .3s, transform .4s var(--ease-out), background .3s;
}
.card-hover:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.card-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 69, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card-glow:hover::before { opacity: 1; }
.panel { background: rgba(14, 14, 19, .82); border: 1px solid var(--line-2); border-radius: var(--radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.eyebrow { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- badges & status ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255, 255, 255, .03); white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge-ok { color: var(--mint); border-color: rgba(94, 242, 198, .3); background: var(--mint-dim); }
.badge-warn { color: var(--amber); border-color: rgba(255, 200, 97, .3); background: var(--amber-dim); }
.badge-bad { color: var(--rose); border-color: rgba(255, 93, 115, .3); background: var(--rose-dim); }
.badge-acc { color: var(--acc-2); border-color: rgba(255, 122, 69, .35); background: var(--acc-dim); }
.badge-live::before { animation: pulse 1.8s ease-in-out infinite; box-shadow: 0 0 0 0 currentColor; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .025); font-size: 13.5px; color: var(--ink-2); margin-bottom: 32px; }
.hero-eyebrow .badge { height: 22px; }
.hero-title { font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); letter-spacing: -.045em; line-height: .95; margin-bottom: 30px; }
.hero-title > span { display: block; }
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; }
.hero-title .stroke { color: transparent; -webkit-text-stroke: 1.2px rgba(243, 242, 239, .55); }
.hero-title .accent { color: var(--acc); font-weight: inherit; }
.hero-lede { max-width: 560px; font-size: clamp(16px, 1.4vw, 19.5px); line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 4vw, 56px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta b { display: block; margin-bottom: 8px; font: 400 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); text-transform: none; }
.hero-meta b small { font-size: .55em; color: var(--ink-3); margin-left: 2px; }

/* terminal panel */
.terminal { position: relative; overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.terminal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(255, 122, 69, .05)); }
.term-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.term-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); }
.term-head .dot.live { background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.term-head strong { margin-left: 8px; font-weight: 500; color: var(--ink-2); }
.term-head em { margin-left: auto; font-style: normal; color: var(--ink-3); }
.term-body { padding: 18px; min-height: 330px; font: 400 13px/1.75 var(--mono); color: var(--ink-2); }
.term-line { display: flex; gap: 10px; white-space: pre-wrap; word-break: break-word; opacity: 0; transform: translateY(4px); animation: termin .4s var(--ease-out) forwards; }
.term-line .p { color: var(--acc); flex: none; }
.term-line .ok { color: var(--mint); }
.term-line .dim { color: var(--ink-3); }
.term-line .hl { color: var(--ink); }
@keyframes termin { to { opacity: 1; transform: none; } }
.term-cursor { display: inline-block; width: 8px; height: 15px; background: var(--acc); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.term-foot div { padding: 14px 18px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.term-foot div + div { border-left: 1px solid var(--line); }
.term-foot b { display: block; margin-top: 4px; font: 500 14px/1.2 var(--mono); color: var(--ink); letter-spacing: 0; text-transform: none; }
.term-foot b.ok { color: var(--mint); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 10, 14, .6); padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.marquee-item b { color: var(--ink); font-weight: 500; }
.marquee-item .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(10, 10, 14, .45); }
.feature { position: relative; padding: clamp(26px, 3vw, 40px); min-height: 280px; display: flex; flex-direction: column; transition: background .4s; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: rgba(255, 255, 255, .02); }
.feature .glyph { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--acc); background: var(--acc-dim); border: 1px solid rgba(255, 122, 69, .22); margin-bottom: auto; }
.feature .glyph .ic { width: 24px; height: 24px; }
.feature .num { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); margin: 40px 0 14px; text-transform: uppercase; }
.feature h3 { font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 12px; }
.feature h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink-2); }
.feature p { color: var(--ink-2); font-size: 15px; }

/* ---------- steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.step { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 14, 19, .55); }
.step::after { content: ""; position: absolute; top: 46px; right: -15px; width: 16px; height: 1px; background: linear-gradient(90deg, var(--acc), transparent); }
.step:last-child::after { display: none; }
.step-num { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.step-num span { font: 400 44px/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 239, .35); }
.step-num .ic { color: var(--acc); width: 22px; height: 22px; }
.step h3 { font-weight: 500; font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- addon cards ---------- */
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon-card { display: flex; flex-direction: column; min-height: 320px; overflow: hidden; }
.addon-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.addon-icon {
  --a: var(--acc); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--a);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%), rgba(255, 255, 255, .03);
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--a) 60%, transparent);
}
.addon-icon .ic { width: 26px; height: 26px; }
.addon-icon.lg { width: 84px; height: 84px; border-radius: 24px; }
.addon-icon.lg .ic { width: 38px; height: 38px; stroke-width: 1.6; }
.addon-card h3 { font-weight: 500; font-size: 24px; letter-spacing: -.03em; margin-bottom: 6px; }
.addon-card .cat { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.addon-card p { color: var(--ink-2); font-size: 15px; }
.addon-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.addon-card .meta { font: 500 12px/1.4 var(--mono); color: var(--ink-3); }
.addon-card .go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.addon-card:hover .go { background: var(--acc); border-color: var(--acc); color: var(--void); transform: rotate(45deg); }
.addon-card.soon { border-style: dashed; background: transparent; justify-content: center; align-items: flex-start; }
.addon-card.soon .addon-icon { --a: var(--ink-3); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* catalog toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { color: var(--void); background: var(--ink); border-color: var(--ink); }
.search { position: relative; }
.search input { height: 42px; width: min(320px, 80vw); padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-size: 14.5px; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: rgba(255, 122, 69, .6); box-shadow: 0 0 0 4px var(--acc-dim); }
.search .ic { position: absolute; left: 15px; top: 12px; color: var(--ink-3); }
.empty { padding: 56px 24px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- addon page ---------- */
.addon-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.crumbs { display: flex; gap: 10px; align-items: center; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 36px; }
.crumbs a:hover { color: var(--ink); }
.addon-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.addon-hero h1 { font-weight: 400; font-size: clamp(44px, 6vw, 88px); letter-spacing: -.045em; line-height: .95; margin: 28px 0 22px; }
.install-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; }
.install-card .price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.install-card .price b { font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.install-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.install-state { margin-top: 14px; display: grid; gap: 10px; }
.install-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.install-progress i { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.install-progress i.done { background: var(--mint); }
.install-progress i.active::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--acc); animation: slide 1.1s var(--ease-in-out) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.install-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.install-labels .on { color: var(--ink); }
.facts { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.highlights div { padding: 22px 20px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.highlights b { display: block; margin-bottom: 8px; font: 400 26px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); text-transform: none; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--ink-2); }
.check-list .ic { color: var(--mint); margin-top: 3px; }
.ol-list { list-style: none; counter-reset: ol; display: grid; gap: 0; }
.ol-list li { counter-increment: ol; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ol-list li::before { content: counter(ol, decimal-leading-zero); font: 500 13px/1.6 var(--mono); color: var(--acc); }
.changelog { display: grid; gap: 14px; }
.changelog article { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.changelog h4 { font: 500 14px/1.4 var(--mono); }
.changelog time { display: block; font: 400 12px var(--mono); color: var(--ink-3); margin-top: 4px; }
.changelog ul { list-style: none; display: grid; gap: 6px; color: var(--ink-2); }
.changelog li::before { content: "— "; color: var(--ink-4); }

/* ---------- pricing ---------- */
.period-switch { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); }
.period-switch button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.period-switch button[aria-checked="true"] { color: var(--void); }
.period-switch button .save { font: 500 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: var(--acc-dim); color: var(--acc-2); letter-spacing: .04em; transition: background .3s, color .3s; }
.period-switch button[aria-checked="true"] .save { background: rgba(7, 7, 10, .15); color: var(--void); }
.period-switch .thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: left .45s var(--ease-out), width .45s var(--ease-out); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); }
.plan.featured { border-color: rgba(255, 122, 69, .35); background: radial-gradient(120% 80% at 100% 0%, rgba(255, 122, 69, .12), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.plan-name { font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price .amount { font-size: clamp(48px, 5vw, 72px); font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--ink-3); font-size: 15px; }
.plan-total { margin-top: 12px; min-height: 24px; font: 400 13.5px/1.6 var(--mono); color: var(--ink-3); }
.plan-total s { color: var(--ink-4); }
.plan-total b { color: var(--mint); font-weight: 500; }
.plan-desc { margin: 22px 0 26px; color: var(--ink-2); }
.plan .check-list { margin-bottom: 32px; }
.plan .btn { margin-top: auto; }
.renew-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 122, 69, .25); background: var(--acc-dim); color: var(--ink-2); font-size: 14.5px; }
.renew-note .ic { color: var(--acc); margin-top: 2px; }
.renew-note b { color: var(--ink); font-weight: 500; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.compare td:first-child { color: var(--ink-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare .ic { margin: 0 auto; color: var(--mint); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 10, 14, .45); }

/* ---------- faq ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease-out), background .3s, border-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--acc); border-color: var(--acc); transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--void); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--acc-2); }
.faq .answer { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 820px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px); border-radius: 28px; border: 1px solid rgba(255, 122, 69, .25); background: radial-gradient(80% 120% at 0% 0%, rgba(255, 122, 69, .18), transparent 55%), radial-gradient(70% 100% at 100% 100%, rgba(124, 199, 255, .08), transparent 60%), var(--surface); }
.cta-band .title { max-width: 820px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-band .big-mark { position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; opacity: .08; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span, .field-label { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025); color: var(--ink); font: inherit; font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375747f' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { background: var(--surface-2); }
.input::placeholder, .field input::placeholder { color: var(--ink-4); }
.input:hover, .field input:hover, .field select:hover { border-color: var(--line-strong); }
.input:focus, .field input:focus, .field select:focus { outline: none; border-color: rgba(255, 122, 69, .65); box-shadow: 0 0 0 4px var(--acc-dim); background: rgba(255, 255, 255, .04); }
.field input[aria-invalid="true"] { border-color: rgba(255, 93, 115, .7); box-shadow: 0 0 0 4px var(--rose-dim); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field .err-text { font-size: 13px; color: #ff9aa8; }
.input-wrap { position: relative; }
.input-wrap .icon-btn { position: absolute; right: 6px; top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.msg:empty { display: none; }
.msg.err { color: #ffc1c9; background: var(--rose-dim); border: 1px solid rgba(255, 93, 115, .3); }
.msg.ok { color: #c6fbe9; background: var(--mint-dim); border: 1px solid rgba(94, 242, 198, .28); }
.msg.info { color: var(--ink-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.check .box .ic { width: 14px; height: 14px; stroke-width: 2.6; color: var(--void); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease-out); }
.check input:checked + .box { background: var(--acc); border-color: var(--acc); }
.check input:checked + .box .ic { opacity: 1; transform: none; }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px var(--acc-dim); border-color: var(--acc); }
.check.invalid .box { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-dim); }
.check a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 46px; height: 26px; border-radius: 999px; background: var(--ink-4); position: relative; transition: background .25s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .35s var(--ease-out); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + .track { background: var(--acc); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px var(--acc-dim); }
.switch input:disabled + .track { opacity: .5; }

.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:hover { border-color: var(--line-strong); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); margin-top: 2px; display: grid; place-items: center; transition: border-color .2s; }
.radio-card .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); transform: scale(0); transition: transform .25s var(--ease-out); }
.radio-card:has(input:checked) { border-color: rgba(255, 122, 69, .6); background: var(--acc-dim); }
.radio-card input:checked + .dot { border-color: var(--acc); }
.radio-card input:checked + .dot::after { transform: scale(1); }
.radio-card input:focus-visible + .dot { box-shadow: 0 0 0 4px var(--acc-dim); }
.radio-card b { display: block; font-weight: 500; margin-bottom: 3px; }
.radio-card small { color: var(--ink-3); font-size: 13.5px; }
.radio-card .tagline { margin-left: auto; }

/* segmented (plans in checkout) */
.seg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; gap: 4px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); text-align: left; transition: border-color .2s, background .2s; }
.seg span b { font-weight: 500; font-size: 15px; }
.seg span small { font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.seg span small.save { color: var(--mint); }
.seg label:hover span { border-color: var(--line-strong); }
.seg input:checked + span { border-color: rgba(255, 122, 69, .65); background: var(--acc-dim); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px var(--acc-dim); }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: clamp(40px, 6vw, 88px) var(--pad); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); overflow: hidden; }
.auth-side .big-mark { position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; opacity: .06; }
.auth-main { display: grid; place-items: center; padding: clamp(32px, 5vw, 72px) var(--pad); }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.auth-card .sub { color: var(--ink-3); margin-bottom: 30px; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; border: 1px solid var(--line-2); margin-bottom: 28px; background: rgba(255, 255, 255, .02); }
.tabs a, .tabs button { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .2s, background .2s; }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { background: var(--ink); color: var(--void); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pw-meter i { height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--rose); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--amber); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--mint); }
.pw-meter[data-score="4"] i { background: var(--mint); }
.quote-list { list-style: none; display: grid; gap: 18px; margin-top: 40px; }
.quote-list li { display: flex; gap: 14px; color: var(--ink-2); }
.quote-list .ic { color: var(--acc); margin-top: 3px; }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.checkout-step { padding: clamp(22px, 2.6vw, 32px); }
.checkout-step + .checkout-step { margin-top: 14px; }
.checkout-step h2 { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 19px; letter-spacing: -.02em; margin-bottom: 20px; }
.checkout-step h2 .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--mono); border: 1px solid var(--line-strong); color: var(--ink-2); }
.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; }
.summary .rows { display: grid; gap: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.summary .rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary .rows dt { color: var(--ink-3); }
.summary .rows dd { margin: 0; text-align: right; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 20px; }
.summary .total b { font-size: 36px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.summary .fine { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.done-card { text-align: left; }
.done-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--mint-dim); color: var(--mint); border: 1px solid rgba(94, 242, 198, .3); margin-bottom: 26px; }
.done-icon .ic { width: 30px; height: 30px; stroke-width: 2.2; }

/* ---------- connect ---------- */
.method-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.method-tab { display: grid; gap: 6px; padding: 18px; text-align: left; border-radius: 14px; border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.method-tab:hover { border-color: var(--line-strong); }
.method-tab[aria-selected="true"] { border-color: rgba(255, 122, 69, .6); background: var(--acc-dim); }
.method-tab .ic { color: var(--acc); margin-bottom: 8px; width: 22px; height: 22px; }
.method-tab b { font-weight: 500; font-size: 15.5px; }
.method-tab small { color: var(--ink-3); font-size: 13px; }
.code-block { position: relative; margin-top: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #0a0a0e; overflow: hidden; }
.code-block .code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.code-block pre { margin: 0; padding: 16px; overflow-x: auto; font: 400 13px/1.7 var(--mono); color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.code-block pre .c { color: var(--ink-3); }
.connect-status { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.connect-status .ring { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.connect-status .ring::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--acc); animation: spin 1.1s linear infinite; }
.connect-status.ok .ring { border-color: rgba(94, 242, 198, .5); color: var(--mint); background: var(--mint-dim); }
.connect-status.ok .ring::before { display: none; }
.connect-status b { display: block; font-weight: 500; }
.connect-status small { color: var(--ink-3); font-size: 13.5px; }
.vtimeline { list-style: none; display: grid; gap: 0; position: relative; }
.vtimeline li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 32px; }
.vtimeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--line-2); }
.vtimeline li:last-child::before { display: none; }
.vtimeline .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font: 500 13px/1 var(--mono); background: var(--void); position: relative; z-index: 1; }
.vtimeline li.done .n { background: var(--mint-dim); border-color: rgba(94, 242, 198, .5); color: var(--mint); }
.vtimeline li.current .n { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 0 5px var(--acc-dim); }
.vtimeline h3 { font-weight: 500; font-size: 19px; letter-spacing: -.02em; margin: 8px 0 8px; }
.vtimeline p { color: var(--ink-2); font-size: 15px; }

/* ---------- account ---------- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px) 0 28px; }
.dash-head h1 { font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.dash-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.dash-tabs button { position: relative; padding: 14px 18px; font-size: 15px; color: var(--ink-3); white-space: nowrap; transition: color .2s; }
.dash-tabs button:hover { color: var(--ink); }
.dash-tabs button[aria-selected="true"] { color: var(--ink); }
.dash-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--acc); border-radius: 2px; box-shadow: 0 0 12px var(--acc); }
.dash-tabs .count { margin-left: 6px; font: 500 11px var(--mono); color: var(--acc); }
.dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }
.dash-col { display: grid; gap: 16px; }
.sub-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.ring-meter { position: relative; width: 156px; height: 156px; }
.ring-meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-meter circle { fill: none; stroke-width: 8; }
.ring-meter .track { stroke: var(--line-2); }
.ring-meter .bar { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out); }
.ring-meter .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-meter .center b { font-size: 40px; font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-meter .center span { font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; margin-top: 6px; }
.sub-card h2 { font-weight: 400; font-size: 30px; letter-spacing: -.035em; margin: 10px 0 6px; }
.sub-card .when { color: var(--ink-2); }
.countdown { display: flex; gap: 6px; margin-top: 16px; font-variant-numeric: tabular-nums; }
.countdown div { min-width: 56px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); text-align: center; }
.countdown b { display: block; font: 500 20px/1.1 var(--mono); }
.countdown span { font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.kv { display: grid; gap: 0; margin: 0; }
.kv div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: center; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title h3 { font-weight: 500; font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.card-title h3 .ic { color: var(--acc); }
.renew-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0 4px; border-top: 1px solid var(--line); margin-top: 18px; }
.renew-row p { font-size: 14px; color: var(--ink-3); }
.renew-row b { color: var(--ink); font-weight: 500; display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- seats ---------- */
.seat-list { display: grid; gap: 14px; }
.seat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: clamp(18px, 2vw, 24px); background: rgba(255, 255, 255, .015); }
.seat + .seat { margin-top: 0; }
.seat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.seat-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seat-plan { font-weight: 400; font-size: 21px; letter-spacing: -.03em; }
.seat-id { font-size: 11.5px; color: var(--ink-4); overflow-wrap: anywhere; }
.seat .sub-card { grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.seat .ring-meter { width: 108px; height: 108px; }
.seat .ring-meter .center b { font-size: 28px; }
.seat .countdown { margin-top: 12px; }
.seat .countdown div { min-width: 48px; padding: 6px 8px; }
.seat .countdown b { font-size: 17px; }
.seat-assign { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.seat-assign b { color: var(--ink-2); font-weight: 500; }
.seat-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.seat-hint { font-size: 13px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-size: 14.5px; color: var(--ink-2); }
.alert .ic { margin-top: 2px; }
.alert b { color: var(--ink); font-weight: 500; }
.alert .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.alert-warn { border-color: rgba(255, 200, 97, .3); background: var(--amber-dim); }
.alert-warn > .ic { color: var(--amber); }
.alert-bad { border-color: rgba(255, 93, 115, .3); background: var(--rose-dim); }
.alert-bad > .ic { color: var(--rose); }
.alert-acc { border-color: rgba(255, 122, 69, .3); background: var(--acc-dim); }
.alert-acc > .ic { color: var(--acc); }
.alert-ok { border-color: rgba(94, 242, 198, .3); background: var(--mint-dim); }
.alert-ok > .ic { color: var(--mint); }
.list { display: grid; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .grow b { display: block; font-weight: 500; }
.list-row .grow small { color: var(--ink-3); font-size: 13px; }
.list-row .amount { font-family: var(--mono); font-size: 14px; }
.dev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); flex: none; }
.dev-dot.on { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-dim); }
.skeleton { position: relative; overflow: hidden; background: rgba(255, 255, 255, .04); border-radius: 8px; min-height: 14px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- admin ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 20px; }
.stat .eyebrow { margin-bottom: 14px; }
.stat b { display: block; font-size: 36px; font-weight: 400; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat.warn b { color: var(--amber); }
.stat.bad b { color: var(--rose); }
.stat.acc b { color: var(--acc); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 0 14px 12px 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .2s; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, .015); }
.data-table .mono { font-size: 13px; }
.admin-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }

/* ---------- legal ---------- */
.prose { max-width: 820px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { color: var(--ink); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 48px 0 14px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.prose b { color: var(--ink); font-weight: 500; }

/* ---------- toast & modal ---------- */
.toasts { position: fixed; z-index: 400; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(22, 22, 30, .97); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); font-size: 14.5px; animation: toastin .4s var(--ease-out); }
.toast .ic { margin-top: 2px; }
.toast.ok .ic { color: var(--mint); }
.toast.err .ic { color: var(--rose); }
.toast.info .ic { color: var(--acc); }
.toast.out { animation: toastout .3s var(--ease-in-out) forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastout { to { opacity: 0; transform: translateY(8px); } }
.modal { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: min(520px, calc(100vw - 32px)); width: 100%; }
.modal::backdrop { background: rgba(3, 3, 5, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .25s var(--ease-out); }
.modal-card { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.modal-title { font-weight: 500; font-size: 22px; letter-spacing: -.025em; }
.modal-body { color: var(--ink-2); font-size: 15px; }
.modal-body p + p { margin-top: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); margin-top: 40px; background: rgba(7, 7, 10, .6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand .brand { font-size: 36px; }
.footer-brand p { color: var(--ink-3); margin-top: 18px; max-width: 320px; font-size: 14.5px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: var(--ink-2); }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--acc-2); }
.footer-title { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer-bottom .mono { font-size: 12px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-title > span { overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.js .hero-title > span > i { display: inline-block; font-style: inherit; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero-title.in > span > i { transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-content: center; text-align: center; gap: 20px; padding: 80px var(--pad); }
.nf .code { font-size: clamp(120px, 22vw, 280px); line-height: .85; letter-spacing: -.07em; font-weight: 300; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 242, 239, .35); }
.nf .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- model verification ---------- */
.fp-controls { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.fp-models { display: grid; gap: 14px; }
.fp-group { display: grid; gap: 8px; }
.fp-group .chips .chip { height: 34px; padding: 0 13px; font-size: 13.5px; }
.fp-langs button { height: 38px; padding: 0 16px; }
.fp-layout { display: grid; grid-template-columns: 1fr 330px; gap: 16px; align-items: start; }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fp-cell { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.fp-cell-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; }
.fp-cell-head b { font-weight: 500; }
.fp-cell-head .mono { font-size: 11px; }
.fp-q { font-size: 13px; color: var(--ink-3); line-height: 1.45; min-height: 38px; }
.fp-bars { list-style: none; display: grid; gap: 7px; margin-top: auto; }
.fp-bars li, .fp-near li { display: grid; grid-template-columns: minmax(0, 1fr) 1.1fr 40px; gap: 10px; align-items: center; font-size: 13.5px; }
.fp-ans { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-bars li.top .fp-ans { color: var(--ink); font-weight: 500; }
.fp-bars li:not(.top) .fp-ans { color: var(--ink-2); }
.fp-bars li.other .fp-ans { color: var(--ink-3); font-style: italic; }
.fp-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.fp-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--ink-3); transition: width .6s var(--ease-out); }
.fp-bars li.top .fp-bar i { background: linear-gradient(90deg, var(--acc-deep), var(--acc)); box-shadow: 0 0 12px var(--acc-glow); }
.fp-bars li.other .fp-bar i { background: var(--ink-4); }
.fp-pct, .fp-near .mono { font: 500 12px/1 var(--mono); color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.fp-side { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; }
.fp-near { list-style: none; display: grid; gap: 9px; }
.fp-near li { grid-template-columns: minmax(0, 1.3fr) 1fr 40px; }
.fp-near li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.fp-near li.claude .fp-bar i { background: var(--acc); }
.fp-near li.contrast .fp-bar i { background: var(--azure); }
.fp-near li.contrast span:first-child { color: var(--ink-2); }
.fp-sys { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.fp-sys p { margin-top: 8px; font: 400 12.5px/1.55 var(--mono); color: var(--ink-2); }
.fp-cite { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--ink-3); max-width: 980px; }
.tools-grid { grid-template-columns: repeat(4, 1fr); }
.tool-card { min-height: 0; }
.tool-card h3 { font-size: 19px; }
.tool-card p { font-size: 14px; }
@media (max-width: 1100px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .fp-layout { grid-template-columns: 1fr; } .fp-side { position: static; } }
@media (max-width: 720px) { .fp-grid, .tools-grid { grid-template-columns: 1fr; } .fp-langs { width: 100%; } .fp-langs button { flex: 1; padding: 0 6px; } }

/* ---------- plans: three columns, trial, premium ---------- */
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plan.premium { border-color: rgba(124, 199, 255, .28); background: radial-gradient(120% 80% at 100% 0%, rgba(124, 199, 255, .10), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.plan.premium .plan-name { color: var(--azure); }
.plan-price .amount { font-size: clamp(40px, 3.8vw, 60px); }
.period-switch button .save.main { background: var(--mint-dim); color: var(--mint); }
.period-switch button[aria-checked="true"] .save.main { background: rgba(7, 7, 10, .15); color: var(--void); }
.trial-note { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed rgba(94, 242, 198, .35); background: var(--mint-dim); color: var(--ink-2); font-size: 14.5px; }
.trial-note > .ic { color: var(--mint); flex: none; }
.trial-note b { color: var(--ink); font-weight: 500; }
.trial-note .btn { flex: none; margin-left: auto; }
.seg.seg-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans-3 { grid-template-columns: 1fr 1fr; } .plans-3 .plan.premium { grid-column: 1 / -1; } }
@media (max-width: 720px) { .plans-3 { grid-template-columns: 1fr; } .trial-note { flex-wrap: wrap; } .trial-note .btn { margin-left: 0; } .seg.seg-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.perk { padding: clamp(24px, 2.6vw, 34px); background: var(--void-2); transition: background .4s; }
.perk:hover { background: #0d0d12; }
.perk .glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--acc); background: var(--acc-dim); border: 1px solid rgba(255, 122, 69, .22); margin-bottom: 22px; }
.perk h3 { font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.perk p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1100px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .perks { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid, .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .account-slot .btn-ghost { display: none; }
  .user-email { display: none; }
  .hero-grid, .split, .addon-hero-grid, .checkout-grid, .auth-wrap { grid-template-columns: 1fr; }
  .install-card, .summary { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature { min-height: 0; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .plans, .addon-grid, .steps, .method-tabs { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-meta b { font-size: 26px; }
  .term-foot { grid-template-columns: 1fr 1fr; }
  .term-foot div:last-child { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .changelog article { grid-template-columns: 1fr; gap: 8px; }
  .field-row { grid-template-columns: 1fr; }
  .sub-card { grid-template-columns: 1fr; justify-items: start; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .period-switch { width: 100%; }
  .period-switch button { flex: 1; justify-content: center; padding: 0 10px; font-size: 13.5px; }
  .period-switch button .save { display: none; }
  .faq .answer { padding-right: 0; }
  .compare th, .compare td { padding: 14px 10px; font-size: 14px; }
  .seg { grid-template-columns: 1fr; }
  .renew-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .hero-title > span > i { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* admin: servers and account limits (deka-agent) */
.servers-card { margin-bottom: 24px; }
.server-block { border-top: 1px solid var(--line-2); padding: 16px 0 4px; }
.server-block:first-child { border-top: 0; padding-top: 0; }
.server-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.server-head b { font-size: 16px; }
.server-head .grow { flex: 1; }
.usage { min-width: 120px; }
.usage-bar { height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; margin: 4px 0 3px; }
.usage-bar i { display: block; height: 100%; background: var(--mint); }
.usage-bar i.warn { background: var(--amber); }
.usage-bar i.bad { background: var(--rose); }
.usage small, .acc-note { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.35; }

/* admin: Enterprise teams */
.mini-select { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 13.5px; }
.team { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: rgba(255, 255, 255, .015); }
.team > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; }
.team > summary::-webkit-details-marker { display: none; }
.team > summary b { font-weight: 500; font-size: 15.5px; }
.team-body { padding: 0 16px 16px; display: grid; gap: 14px; }
.team-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); }
.team-meta b { color: var(--ink-2); font-weight: 500; }
.team .data-table td, .team .data-table th { font-size: 13.5px; }
.lead-row select { flex: none; }
.harness-tabs { grid-template-columns: repeat(2, 1fr); margin-bottom: 36px; }
@media (max-width: 640px) { .harness-tabs { grid-template-columns: 1fr; } }
