/* Unth Recover — marketing site. Only theme.js (CSP script-src 'self'). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-wght-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #05070b;
  --bg-2: #080b11;
  --surface: #0c1017;
  --surface-2: #111622;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --text-2: #b4bccb;
  --muted: #7f8aa0;
  --ok: #34e3a0;
  --ok-2: #22c3e6;
  --ok-soft: rgba(52, 227, 160, 0.12);
  --bad: #ff6178;
  --bad-soft: rgba(255, 97, 120, 0.12);
  --warn: #ffbe5c;
  --violet: #8b7bff;
  --radius: 16px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --line-3: rgba(255, 255, 255, 0.22);
  --ok-3: #7ff5cf;
  --on-ok: #03140d;
  --tint: rgba(255, 255, 255, 0.03);
  --tint-2: rgba(255, 255, 255, 0.06);
  --topbar: rgba(5, 7, 11, 0.72);
  --glow: 0.18;
  color-scheme: dark;
}
/* Light theme: the system setting unless dark was chosen, or light was chosen
   (theme.js sets data-theme from the unth_theme cookie). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfcfd; --bg-2: #f3f5f8; --surface: #ffffff; --surface-2: #eef1f5;
    --line: rgba(15, 23, 42, 0.09); --line-2: rgba(15, 23, 42, 0.15); --line-3: rgba(15, 23, 42, 0.26);
    --text: #0b1220; --text-2: #3b4558; --muted: #687287;
    --ok: #0ea371; --ok-2: #0891b2; --ok-3: #10b9a0; --ok-soft: rgba(14, 163, 113, 0.1);
    --bad: #e11d48; --bad-soft: rgba(225, 29, 72, 0.08); --warn: #b45309; --violet: #6d5df5;
    --on-ok: #ffffff; --tint: rgba(15, 23, 42, 0.025); --tint-2: rgba(15, 23, 42, 0.05); --topbar: rgba(251, 252, 253, 0.82);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #fbfcfd; --bg-2: #f3f5f8; --surface: #ffffff; --surface-2: #eef1f5;
  --line: rgba(15, 23, 42, 0.09); --line-2: rgba(15, 23, 42, 0.15); --line-3: rgba(15, 23, 42, 0.26);
  --text: #0b1220; --text-2: #3b4558; --muted: #687287;
  --ok: #0ea371; --ok-2: #0891b2; --ok-3: #10b9a0; --ok-soft: rgba(14, 163, 113, 0.1);
  --bad: #e11d48; --bad-soft: rgba(225, 29, 72, 0.08); --warn: #b45309; --violet: #6d5df5;
  --on-ok: #ffffff; --tint: rgba(15, 23, 42, 0.025); --tint-2: rgba(15, 23, 42, 0.05); --topbar: rgba(251, 252, 253, 0.82);
  color-scheme: light;
}
/* The product window and the terminal stay dark in both themes. */
.window, .terminal {
  --bg: #05070b; --bg-2: #080b11; --surface: #0c1017; --surface-2: #111622;
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6; --text-2: #b4bccb; --muted: #7f8aa0;
  --ok: #34e3a0; --ok-2: #22c3e6; --ok-soft: rgba(52, 227, 160, 0.12); --on-ok: #03140d;
  color: var(--text);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--topbar); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 16px; }
.brand svg { width: 28px; height: 28px; }
.top nav { display: flex; align-items: center; gap: 24px; flex: 1; font-size: 14px; color: var(--text-2); }
.top nav a { text-decoration: none; transition: color .15s; }
.top nav a:hover { color: var(--text); }
.top .actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; }
.lang:hover { color: var(--text); background: var(--surface-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line-2); color: var(--text); background: var(--tint);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--tint-2); border-color: var(--line-3); }
.btn.primary {
  color: var(--on-ok); border-color: transparent;
  background: linear-gradient(135deg, var(--ok) 0%, var(--ok-3) 50%, var(--ok-2) 100%);
  box-shadow: 0 0 0 1px rgba(52, 227, 160, .35), 0 8px 30px -8px rgba(52, 227, 160, .55);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(52, 227, 160, .5), 0 12px 36px -8px rgba(52, 227, 160, .7); }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 40px; isolation: isolate; overflow-x: clip; }
.hero::before { /* grid */
  content: ""; position: absolute; inset: -64px 0 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero::after { /* glow */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(52, 227, 160, .18), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(139, 123, 255, .14), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-copy { text-align: center; max-width: 1000px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--tint); font-size: 13px; color: var(--text-2); text-decoration: none;
}
.eyebrow .pill { background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 1px 8px; font-weight: 600; font-size: 12px; }
.eyebrow:hover { border-color: var(--line-3); }
h1 {
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 750; margin: 22px 0 22px;
}
.grad {
  background: linear-gradient(100deg, var(--ok) 0%, var(--ok-3) 35%, var(--ok-2) 65%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 680px; margin: 0 auto; line-height: 1.55; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.cta-note span + span::before { content: "·"; margin: 0 8px; color: var(--line-2); }

/* ---------- product window ---------- */
.stage { position: relative; margin: 64px auto 0; max-width: 1080px; }
.stage::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 40%, rgba(52,227,160,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.window {
  border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #0d121b, #090c12);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(52, 227, 160, .35);
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a303c; }
.window-bar .title { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.window-bar .tag { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.window-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.run { padding: 26px 28px; border-right: 1px solid var(--line); }
.run h4, .proof h4 { margin: 0 0 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.steps-live { list-style: none; margin: 0; padding: 0; position: relative; }
.steps-live li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; position: relative;
  opacity: 0; animation: rise .5s cubic-bezier(.2,.7,.2,1) forwards;
}
.steps-live li:nth-child(1) { animation-delay: .25s; }
.steps-live li:nth-child(2) { animation-delay: .65s; }
.steps-live li:nth-child(3) { animation-delay: 1.05s; }
.steps-live li:nth-child(4) { animation-delay: 1.45s; }
.steps-live li:nth-child(5) { animation-delay: 1.85s; }
.steps-live li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 38px; bottom: -12px; width: 2px; background: linear-gradient(var(--ok), rgba(52,227,160,.15)); }
.tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(52,227,160,.35); }
.tick svg { width: 14px; height: 14px; }
.steps-live b { font-weight: 600; font-size: 14.5px; display: block; }
.steps-live small { color: var(--muted); font-size: 12.5px; }
.steps-live time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.proof { padding: 26px 28px; background: radial-gradient(120% 80% at 100% 0%, rgba(52,227,160,.07), transparent 60%); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp th { text-align: left; font-weight: 500; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; padding: 0 0 10px; }
.cmp td { padding: 9px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.cmp td:first-child { font-family: var(--sans); color: var(--text); font-size: 13.5px; }
.cmp td.eq { color: var(--ok); text-align: right; }
.verdict {
  margin-top: 22px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(52,227,160,.16), rgba(34,195,230,.08)); border: 1px solid rgba(52,227,160,.35);
  opacity: 0; animation: stamp .6s cubic-bezier(.2,.9,.25,1.25) 2.35s forwards;
}
.verdict .seal { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ok); color: var(--on-ok); flex: none; box-shadow: 0 0 30px rgba(52,227,160,.55); }
.verdict .seal svg { width: 22px; height: 22px; }
.verdict strong { display: block; font-size: 16px; letter-spacing: .08em; }
.verdict span { font-size: 12.5px; color: var(--text-2); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .steps-live li, .verdict { animation: none; opacity: 1; } html { scroll-behavior: auto; } }
.caption { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 22px; letter-spacing: -0.02em; font-weight: 700; }
.facts span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
section.block { padding: 120px 0 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ok); letter-spacing: .02em; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 720; margin: 14px 0 18px; max-width: 820px; }
.sub { color: var(--text-2); font-size: 18px; max-width: 680px; margin: 0; }
.center { text-align: center; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }

/* problem */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.problem { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.problem .x { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bad-soft); color: var(--bad); margin-bottom: 18px; }
.problem .x svg { width: 16px; height: 16px; }
.problem h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.problem p { margin: 0; color: var(--text-2); font-size: 15px; }
.problem code { color: var(--text); background: var(--tint-2); padding: 1px 6px; border-radius: 5px; }

/* how */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.timeline li { position: relative; padding: 0 0 34px 60px; counter-increment: s; }
.timeline li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ok); background: var(--ok-soft); border: 1px solid rgba(52,227,160,.3);
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 2px; background: var(--line); }
.timeline h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.timeline p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.terminal { border-radius: var(--radius); border: 1px solid var(--line-2); background: #070a0f; overflow: hidden; position: sticky; top: 96px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.terminal pre { margin: 0; padding: 22px 22px 26px; font-family: var(--mono); font-size: 13px; line-height: 1.85; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.terminal .p { color: var(--ok); user-select: none; }
.terminal .c { color: #5d677a; }
.terminal .o { color: var(--ok); }
.terminal .v { color: #b9a9ff; }
.terminal .w { color: var(--text); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden; padding: 28px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile.wide { grid-column: span 3; }
.tile.hero-tile { grid-column: span 4; background: radial-gradient(90% 120% at 100% 0%, rgba(52,227,160,.12), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.tile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ok); background: var(--ok-soft); border: 1px solid rgba(52,227,160,.25); margin-bottom: 20px; }
.tile .ico.v { color: var(--violet); background: rgba(139,123,255,.12); border-color: rgba(139,123,255,.28); }
.tile .ico.b { color: var(--ok-2); background: rgba(34,195,230,.12); border-color: rgba(34,195,230,.28); }
.tile .ico svg { width: 20px; height: 20px; }
.tile h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: var(--tint); }
.mini-cmp { margin-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12.5px; }
.mini-cmp div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--tint); color: var(--text-2); }
.mini-cmp div b { display: block; color: var(--text); font-size: 15px; margin-top: 2px; }
.mini-cmp .eq { color: var(--ok); font-size: 18px; border: none; background: none; padding: 0; }

/* privacy diagram */
.flow { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.node { padding: 30px 28px; }
.node + .node { border-left: 1px solid var(--line); }
.node h3 { margin: 12px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.node p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.node ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.node li { padding: 6px 0 6px 24px; position: relative; }
.node li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.node li.no::before { border: none; width: 12px; height: 2px; top: 15px; background: var(--bad); transform: none; }
.node.mid { background: radial-gradient(80% 100% at 50% 0%, rgba(52,227,160,.09), transparent 70%); }
.badge-s { display: inline-flex; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.wire { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.wire::before, .wire::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ok) 0 6px, transparent 6px 12px); opacity: .6; }

/* pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-top: 28px; position: relative; }
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle label { padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.billing-toggle label .save { margin-left: 6px; color: var(--ok); font-size: 12px; }
#bm:checked ~ .billing-toggle label[for="bm"], #by:checked ~ .billing-toggle label[for="by"] { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
#bm:focus-visible ~ .billing-toggle label[for="bm"], #by:focus-visible ~ .billing-toggle label[for="by"] { outline: 2px solid var(--ok); outline-offset: 2px; }
.price-y { display: none; }
#by:checked ~ .plans .price-m { display: none; }
#by:checked ~ .plans .price-y { display: block; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.plan.featured { border-color: rgba(52,227,160,.5); background: radial-gradient(120% 60% at 50% 0%, rgba(52,227,160,.12), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: 0 30px 80px -40px rgba(52,227,160,.5); }
.plan .ribbon { position: absolute; top: -11px; left: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; color: var(--on-ok); background: linear-gradient(135deg, var(--ok), var(--ok-2)); }
.plan h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text-2); }
.plan .amount { margin: 14px 0 2px; font-size: 44px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.plan .amount small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.plan .per { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.plan .servers { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); font-size: 14px; }
.plan .servers b { font-size: 15px; }
.plan .servers span { display: block; color: var(--muted); font-size: 12.5px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; font-size: 14.5px; color: var(--text-2); flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { border-color: var(--muted); }
.soon-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); margin-left: 6px; white-space: nowrap; }
.plan .btn { width: 100%; }
.plan .fine { text-align: center; color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.enterprise { margin-top: 16px; display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; padding: 24px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; }
.enterprise h3 { margin: 0 0 4px; font-size: 18px; }
.enterprise p { margin: 0; color: var(--text-2); font-size: 15px; }
.all-plans { margin-top: 22px; display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; color: var(--text-2); font-size: 14px; }
.all-plans span { display: inline-flex; align-items: center; gap: 8px; }
.all-plans span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* faq */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 600; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--ok); }
.faq details p { margin: 0 0 22px; color: var(--text-2); font-size: 15.5px; }

/* final cta */
.final { margin: 120px 0 0; padding: 72px 32px; border-radius: 28px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(52,227,160,.3);
  background: radial-gradient(60% 120% at 50% 0%, rgba(52,227,160,.2), transparent 70%), radial-gradient(50% 100% at 100% 100%, rgba(139,123,255,.15), transparent 70%), var(--bg-2); }
.final h2 { margin: 0 auto 14px; }
.final .sub { margin: 0 auto; }

/* footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--text); font-size: 13px; font-weight: 600; }
footer a { display: block; text-decoration: none; padding: 4px 0; }
footer a:hover { color: var(--text); }
footer .brand { margin-bottom: 12px; color: var(--text); }
footer p { margin: 0; max-width: 300px; }

/* legal pages */
.doc { max-width: 760px; padding: 64px 0 0; }
.doc h1 { font-size: 40px; }
.doc p { color: var(--text-2); }
.draft { background: rgba(255,190,92,.1); color: var(--warn); border: 1px solid rgba(255,190,92,.3); border-radius: 12px; padding: 12px 16px; margin: 16px 0 24px; }

:focus-visible { outline: 2px solid var(--ok); outline-offset: 3px; border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide, .tile.hero-tile { grid-column: span 1; }
  .tile.hero-tile { grid-column: span 2; }
}
@media (max-width: 860px) {
  .top nav { display: none; }
  .window-body { grid-template-columns: 1fr; }
  .run { border-right: none; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: none; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .problems { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 32px; }
  .terminal { position: static; }
  .flow { grid-template-columns: 1fr; }
  .node + .node { border-left: none; border-top: 1px solid var(--line); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  section.block { padding-top: 88px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 64px; }
  .top .actions .btn:not(.primary) { display: none; }
  .plans, .bento { grid-template-columns: 1fr; }
  .tile.hero-tile { grid-column: span 1; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: none; border-top: 1px solid var(--line); }
  .run, .proof { padding: 20px; }
  .final { padding: 52px 20px; }
  footer .wrap { grid-template-columns: 1fr; }
  .mini-cmp { grid-template-columns: 1fr; }
  .mini-cmp .eq { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 560px) {
  .brand span { white-space: nowrap; }
  .top .wrap { gap: 12px; }
  .top .actions { gap: 6px; }
  .top .actions .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .eyebrow { font-size: 12px; white-space: nowrap; padding-right: 10px; }
  .eyebrow .pill { white-space: nowrap; }
  .plan .per { min-height: 0; }
}
@media (max-width: 400px) { .lang { display: none; } }
footer .copy { margin-top: 16px; }

/* theme toggle (shown only when theme.js runs) */
.theme-btn { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--tint); color: var(--text-2); cursor: pointer; place-items: center; padding: 0; }
.js .theme-btn { display: inline-grid; }
.theme-btn:hover { color: var(--text); border-color: var(--line-3); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .moon { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="dark"]) .theme-btn .moon { display: block; }
}
