/* ────────────────────────────────────────────────────────────────────────────
   kb0 — terminal editorial
   A developer magazine printed on a terminal: Bricolage Grotesque display,
   Instrument Sans body, JetBrains Mono soul. Dark, green, unhurried.
──────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #08090a;
  --bg-elev: #0d0f10;
  --bg-card: #121415;
  --border: #1e2123;
  --border-bright: #2b2f31;
  --text: #f2f4f3;
  --text-dim: #9aa39e;
  --text-faint: #677069;
  --accent: #22c55e;
  --accent-soft: #86efac;
  --accent-dim: #16a34a;
  --red: #f87171;
  --display: 'Bricolage Grotesque', 'Instrument Sans', sans-serif;
  --sans: 'Instrument Sans', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(34, 197, 94, 0.28); color: var(--text); }

/* ─── atmosphere ──────────────────────────────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 50% at 70% -6%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 75% 50% at 70% -6%, #000 18%, transparent 74%);
  opacity: 0.22;
}
.grid-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 46% 34% at 50% -4%, rgba(34, 197, 94, 0.09), transparent 70%);
}
/* film grain — barely there, kills the flatness */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.018 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

/* ─── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 10, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 62px;
}
.logo {
  font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.logo:hover { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--text-dim); text-decoration: none;
  transition: color 0.14s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-here { color: var(--accent); }
.nav-gh { font-family: var(--mono); font-size: 12.5px !important; }
.nav-signin {
  font-family: var(--sans); font-size: 13px !important; font-weight: 600 !important;
  color: #04140a !important; background: var(--accent);
  padding: 7px 15px; border-radius: 9px; border: 1px solid var(--accent-dim);
  transition: filter 0.15s, box-shadow 0.15s;
}
.nav-signin:hover { filter: brightness(1.1); box-shadow: 0 0 20px -6px rgba(34, 197, 94, 0.55); }

/* ─── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  padding: 12px 22px; border-radius: 11px; text-decoration: none; cursor: pointer;
  transition: filter 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--accent); color: #04140a; border: 1px solid var(--accent-dim);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 0 30px -8px rgba(34, 197, 94, 0.6); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border-bright);
}
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--accent); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── reveal on scroll ────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.07s; }
.rv-d2 { transition-delay: 0.14s; }
.rv-d3 { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── hero ────────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 104px 24px 96px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border-bright); border-radius: 100px;
  padding: 7px 14px; margin-bottom: 34px;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 8.4vw, 92px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.99;
  max-width: 880px;
  animation: rise 0.7s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.grad {
  background: linear-gradient(94deg, var(--accent) 4%, var(--accent-soft) 52%, var(--accent) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .subtitle {
  margin-top: 26px; max-width: 560px;
  font-size: 17.5px; line-height: 1.65; color: var(--text-dim);
  animation: rise 0.7s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .subtitle strong { color: var(--text); font-weight: 600; }
.hero .cta-row { margin-top: 38px; animation: rise 0.7s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both; }

.install {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 30px;
  background: var(--bg-elev); border: 1px solid var(--border-bright); border-radius: 12px;
  padding: 13px 8px 13px 18px;
  animation: rise 0.7s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.install code { font-family: var(--mono); font-size: 13.5px; color: var(--text); }
.install code::before { content: '$ '; color: var(--accent); }
.install code::after {
  content: ''; display: inline-block; width: 8px; height: 15px; margin-left: 7px;
  background: var(--accent); vertical-align: text-bottom;
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero-aside {
  margin-top: 18px; font-size: 13.5px; color: var(--text-faint);
  animation: rise 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-aside a { color: var(--accent); text-decoration: none; }
.hero-aside a:hover { text-decoration: underline; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ─── editorial statement ─────────────────────────────────────────────────── */
.statement {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 110px;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start;
}
.statement-rule {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); padding-top: 8px; border-top: 1px solid var(--border-bright);
}
.statement p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(21px, 2.9vw, 30px); line-height: 1.38; letter-spacing: -0.015em;
  color: var(--text-dim);
}
.statement p em { font-style: normal; color: var(--text); }
.statement p .grad { font-weight: 600; }

/* ─── sections ────────────────────────────────────────────────────────────── */
.sec { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.sec-num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.sec h2 {
  font-family: var(--display); font-size: clamp(30px, 4.6vw, 46px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06;
}
.sec-sub { max-width: 640px; font-size: 16px; line-height: 1.65; color: var(--text-dim); margin-bottom: 44px; }
.sec-sub code, .sec-sub em { color: var(--text); font-style: normal; }
.sec-sub code { font-family: var(--mono); font-size: 0.9em; }
.sec-sub a { color: var(--accent); text-decoration: none; }
.sec-sub a:hover { text-decoration: underline; }

/* ─── terminal ────────────────────────────────────────────────────────────── */
.terminal {
  background: #060707;
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px; border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-bright); }
.terminal-title {
  margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.terminal-body {
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #c9d3cc;
  padding: 20px 22px; overflow-x: auto; white-space: pre;
}
.t-dim { color: var(--text-faint); }
.t-kw { color: #7dd3fc; }
.t-str { color: var(--accent-soft); }
.t-fn { color: #fbbf24; }
.t-prop { color: #93c5fd; }
.t-num { color: #f0abfc; }
.t-accent { color: var(--accent); }

.copy-btn {
  font-family: var(--mono); font-size: 11px; padding: 5px 12px; border-radius: 7px;
  border: 1px solid var(--border-bright); background: var(--bg-elev); color: var(--text-faint);
  cursor: pointer; transition: color 0.12s, border-color 0.12s; flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent-dim); }
.copy-btn.copied { color: var(--accent); border-color: var(--accent-dim); }

/* ─── how it works ────────────────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.how-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; }
.how-steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px;
  padding: 17px 0; border-bottom: 1px solid var(--border);
}
.how-steps li:last-child { border-bottom: none; }
.how-steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.25); border-radius: 9px;
  width: 38px; height: 38px; display: grid; place-items: center; align-self: center;
}
.how-k { font-weight: 600; font-size: 14.5px; }
.how-v { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.how-v code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }
.how-foot { margin-top: 36px; max-width: 640px; font-size: 14.5px; line-height: 1.65; color: var(--text-faint); }
.how-foot a { color: var(--accent); text-decoration: none; }
.how-foot a:hover { text-decoration: underline; }

/* ─── split cards (git, cloud, audit) ─────────────────────────────────────── */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.split { display: grid; gap: 14px; align-content: stretch; }
.split-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 38%), var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px;
}
.split-label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.split-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.split-card li {
  font-size: 13.5px; color: var(--text-dim); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.split-card li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-dim);
}
.split-card code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }

/* ─── tabs ────────────────────────────────────────────────────────────────── */
.tabs-bar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; padding: 8px 16px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-faint);
  cursor: pointer; transition: color 0.13s, border-color 0.13s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-color: var(--accent-dim); background: var(--bg-card); }
.tab-ico { width: 15px; height: 15px; }
.tab-ico-stroke { fill: none; stroke: currentColor; stroke-width: 1.5; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ─── tools ticker ────────────────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; gap: 44px; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--mono); font-size: 13.5px; color: var(--text-faint); white-space: nowrap;
}
.ticker-track span b { color: var(--accent); font-weight: 500; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-cap {
  max-width: var(--maxw); margin: 14px auto 0; padding: 0 24px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-faint); text-align: center;
}
.ticker-cap a { color: var(--text-dim); text-decoration: none; }
.ticker-cap a:hover { color: var(--accent); }

/* ─── highlight bands ─────────────────────────────────────────────────────── */
.band {
  position: relative; margin: 56px 0; padding: 104px 24px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(34, 197, 94, 0.09), transparent 70%),
    var(--bg-elev);
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
}
.band::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6;
}
.band-inner { max-width: var(--maxw); margin: 0 auto; }
.band h2 {
  font-family: var(--display); font-size: clamp(30px, 4.6vw, 46px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06; text-align: center;
}
.band .sec-sub { margin: 16px auto 0; text-align: center; }
.eyebrow {
  display: block; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

/* vs cards */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; margin-top: 46px; }
.vs-card { border-radius: 16px; padding: 30px 32px; }
.vs-card h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.vs-card p { font-size: 14.5px; line-height: 1.65; }
.vs-card-bad { background: var(--bg-card); border: 1px solid var(--border); }
.vs-card-bad h3 { color: var(--red); }
.vs-card-bad p { color: var(--text-dim); }
.vs-card-good {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.07), transparent 60%), var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 50px -20px rgba(34, 197, 94, 0.25);
}
.vs-card-good h3 { color: var(--accent); }
.vs-card-good p { color: var(--text-dim); }
.vs-divider {
  align-self: center; font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  border: 1px solid var(--border-bright); border-radius: 100px; padding: 8px 13px;
}

/* cloud teaser / page helpers */
.band .duo { margin-top: 46px; text-align: left; }
.band .cta-row { justify-content: center; margin-top: 44px; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.chip {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  border: 1px solid var(--border-bright); border-radius: 100px; padding: 7px 15px;
}
.chip b { color: var(--accent); font-weight: 500; }

/* ─── cta band ────────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; margin-top: 64px; padding: 120px 24px 130px; text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(34, 197, 94, 0.18), transparent 70%),
    linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.045));
  border-top: 1px solid var(--border-bright);
}
.cta-band::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5;
}
.cta-band h2 {
  font-family: var(--display); font-size: clamp(32px, 5.4vw, 54px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.04; max-width: 760px; margin: 0 auto;
}
.cta-band-sub { margin: 20px auto 0; max-width: 560px; font-size: 16px; line-height: 1.65; color: var(--text-dim); }
.cta-band .install { margin-top: 36px; }
.cta-band .cta-row { justify-content: center; margin-top: 30px; }

/* ─── page hero (subpages) ────────────────────────────────────────────────── */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px 72px; }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(40px, 7vw, 76px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.0; max-width: 820px;
  animation: rise 0.7s 0.06s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero .subtitle {
  margin-top: 24px; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--text-dim);
  animation: rise 0.7s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero .eyebrow { text-align: left; animation: rise 0.7s both; }
.page-hero .cta-row { margin-top: 36px; animation: rise 0.7s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* dashboard tour cards */
.tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 38%), var(--bg-card);
  border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  transition: border-color 0.18s, transform 0.18s;
}
.tour-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.tour-ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(34, 197, 94, 0.1); color: var(--accent); margin-bottom: 18px;
}
.tour-ico svg { width: 19px; height: 19px; }
.tour-card h3 { font-family: var(--display); font-size: 17.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.tour-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }

/* numbered start steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s3; }
.steps3 > div {
  counter-increment: s3; position: relative;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
}
.steps3 > div::before {
  content: '0' counter(s3);
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.25); border-radius: 8px; padding: 4px 9px;
  display: inline-block; margin-bottom: 16px;
}
.steps3 h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 7px; }
.steps3 p { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }
.steps3 code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }

/* ─── footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 44px 24px 36px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-license { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }

/* ─── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .how-grid, .duo { grid-template-columns: 1fr; }
  .statement { grid-template-columns: 1fr; gap: 24px; padding-bottom: 80px; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-divider { justify-self: center; }
  .tour, .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-gh):not(.nav-signin) { display: none; }
  .hero { padding: 72px 20px 64px; }
  .sec { padding: 72px 20px; }
  .band { padding: 80px 20px; }
  .install { width: 100%; justify-content: space-between; }
  .install code { font-size: 12px; }
  .terminal-body { font-size: 12px; }
}

/* ─── pricing ─────────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 38%), var(--bg-card);
  border: 1px solid var(--border); border-radius: 18px; padding: 32px 30px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.07), transparent 55%), var(--bg-card);
  box-shadow: 0 0 60px -22px rgba(34, 197, 94, 0.35);
}
.price-tag {
  position: absolute; top: -12px; right: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: #04140a; font-weight: 600;
  padding: 4px 11px; border-radius: 100px;
}
.price-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.price-card.featured .price-name { color: var(--accent); }
.price-amount { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.price-for { font-size: 13.5px; color: var(--text-dim); margin: 10px 0 22px; line-height: 1.5; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; flex: 1; }
.price-list li { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; padding-left: 22px; position: relative; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
.price-list li.soon::before { content: '→'; color: var(--text-faint); }
.price-list li.soon { color: var(--text-faint); }
.price-list code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }
.price-card .btn { justify-content: center; }
.price-ent {
  margin: 36px auto 0; max-width: 640px; text-align: center;
  font-size: 14px; color: var(--text-faint); line-height: 1.6;
}
.price-ent a { color: var(--accent); text-decoration: none; }
.price-ent a:hover { text-decoration: underline; }

.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 13px;
  padding: 18px 22px; transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--border-bright); }
.faq summary { font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.faq details code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }

@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ─── legal pages ─────────────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 0 24px 96px; }
.legal-updated { font-family: var(--mono); font-size: 12px; color: var(--text-faint); margin-bottom: 40px; }
.legal h2 {
  font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em;
  margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal p { font-size: 14.5px; line-height: 1.75; color: var(--text-dim); margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 2px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 14.5px; line-height: 1.65; color: var(--text-dim); padding-left: 18px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-dim); }
.legal strong { color: var(--text); font-weight: 600; }
.legal code { font-family: var(--mono); font-size: 0.88em; color: var(--text); }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
