/* GPUhire.eu — styles. Tokens follow the "Tokens & components" style guide. */

/* Geist and Geist Mono (SIL Open Font License), self-hosted: variable fonts, one file covers all weights. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-mono-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0B10;
  --surface: #14141C;
  --surface-2: #111118;
  --featured: #17142A;
  --selected: #24203F;
  --chip: #1C1C27;
  --chip-line: #2E2E3E;
  --line: #262633;
  --line-soft: #1F1F2A;
  --line-strong: #33334A;
  --line-featured: #3A3460;
  --line-featured-soft: #2A2545;
  --text: #ECECF2;
  --text-2: #C9C9D6;
  --muted: #A9A9B8;
  --faint: #8A8A9C;
  --accent: #9D8CFF;
  --on-accent: #0B0B10;
  --available: #3DDC84;

  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-pill: 999px;
  --r-featured: 20px;
  --r-card: 16px;
  --r-tab: 12px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.link-accent { color: var(--accent); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 14px 24px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent); font-weight: 600; line-height: 1.2;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); font-weight: 400; }
.btn-secondary:hover { border-color: var(--muted); filter: none; }
.btn-sm { padding: 12px 18px; }
.btn-lg { padding: 16px 28px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 20px 0; font-size: 14px;
}
.logo { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.logo:hover { text-decoration: none; }
.logo .prompt { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; flex: 1 1 auto; justify-content: center; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px 24px; }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px;
  font-family: var(--mono); font-size: 12px;
}
.lang a { border-radius: var(--r-pill); padding: 6px 10px; color: var(--muted); }
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--selected); color: var(--text); }

@media (max-width: 860px) {
  .nav { order: 10; flex-basis: 100%; justify-content: flex-start; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .site-header { gap: 12px 16px; }
  .header-actions { gap: 12px; flex-wrap: wrap; margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 48px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--available); box-shadow: 0 0 10px var(--available); flex: none; }
.hero h1 {
  font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600;
  max-width: 900px; text-wrap: balance;
}
.hero .price-line { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.hero .lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .fine { font-size: 13px; color: var(--muted); }

.terminal-stage { display: flex; justify-content: center; margin-bottom: 120px; }
.terminal {
  width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px -20px var(--selected);
}
.terminal-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.terminal-body {
  margin: 0; padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.8;
  color: var(--text-2); white-space: pre; overflow-x: auto;
}
.terminal-body .host, .cmd .host { color: var(--accent); }

/* ---------- Sections ---------- */
.section { display: flex; flex-direction: column; gap: 32px; padding-bottom: 120px; scroll-margin-top: 24px; }
.h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-intro p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); }
@media (max-width: 600px) {
  .section { padding-bottom: 88px; gap: 24px; }
  .h2 { font-size: 30px; }
}

.card-featured {
  background: var(--featured); border: 1px solid var(--accent); border-radius: var(--r-featured);
  padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-featured);
  padding: clamp(24px, 4vw, 40px);
}

/* Why */
.eu-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.eu-head h3 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.eu-head p { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.eu-item { border-top: 1px solid var(--line-featured); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.eu-item strong { font-weight: 600; }
.eu-item span { font-size: 14px; color: var(--muted); }

.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.stat .value { font-family: var(--mono); font-size: 40px; font-weight: 700; line-height: 1.2; }
.stat .label { font-size: 14px; color: var(--muted); }

.feature {
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.feature svg { flex: none; }
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.icon { stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* What you can run */
.uc { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.uc-tabs { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.uc-tab {
  font-size: 15px; text-align: left; cursor: pointer; min-height: 48px; padding: 12px 16px;
  border-radius: var(--r-tab); border: 1px solid var(--line-soft); background: transparent; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.uc-tab:hover { color: var(--text); border-color: var(--line-strong); }
.uc-tab[aria-selected="true"] { background: var(--selected); color: var(--text); border-color: var(--accent); }
.uc-tab .num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.uc-panel {
  flex: 999 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-featured); padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 24px;
}
.uc-panel[hidden] { display: none; }
.uc-panel h3 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.uc-panel p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  font-family: var(--mono); font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--chip); border: 1px solid var(--chip-line); color: var(--text-2);
}
.cmd {
  margin: auto 0 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--text-2);
  overflow-x: auto; white-space: pre;
}
.note-dashed {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 14px; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px 20px;
}
.note-dashed .mono { color: var(--text); }

/* Hardware */
.hw { display: block; }
.hw > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; }
.hw > summary::-webkit-details-marker { display: none; }
.hw-title { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.hw-title h2 { font-size: 28px; font-weight: 600; }
.hw-title span { font-size: 14px; color: var(--muted); }
.hw-line { flex: 999 1 560px; font-family: var(--mono); font-size: 13px; color: var(--text-2); line-height: 2; }
.pill-toggle {
  font-size: 14px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--accent); display: inline-flex; align-items: center;
}
.hw > summary:hover .pill-toggle { border-color: var(--accent); }
.hw .when-open { display: none; }
.hw[open] .when-open { display: inline; }
.hw[open] .when-closed { display: none; }
.spec-grid {
  margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; column-gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
}
.spec-grid div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.spec-grid dt { flex: 0 0 120px; color: var(--muted); }
.spec-grid dd { flex: 1; margin: 0; font-family: var(--mono); color: var(--text); }
.spec-source { margin-top: 16px; font-size: 12px; color: var(--faint); }

/* Pricing */
.offer-prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; }
.offer-prices .k { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.offer-prices .v { font-family: var(--mono); font-weight: 700; line-height: 1; }
.offer-prices .v-big { font-size: 64px; color: var(--accent); }
.offer-prices .v-big small { font-size: 22px; color: var(--text-2); }
.offer-prices .v-mid { font-size: 40px; }
.offer-prices .v-mid small { font-size: 18px; color: var(--muted); }
.offer-prices .s { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 420px) { .offer-prices .v-big { font-size: 52px; } }
.offer-copy { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.offer-copy .small { font-size: 13px; color: var(--muted); }
.card-featured h3 { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }

.ex-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ex-table th {
  text-align: left; font-weight: 400; font-size: 12px; color: var(--muted);
  padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-featured);
}
.ex-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-featured-soft); font-family: var(--mono); white-space: nowrap; }
.ex-table td:first-child { font-family: var(--sans); }
.ex-table .std { color: var(--muted); }
.ex-table .save { color: var(--accent); }
.ex-note { padding-top: 8px; font-size: 12px; color: var(--faint); }

.calc { display: flex; flex-direction: column; gap: 24px; }
.calc .eyebrow { color: var(--muted); }
.calc-days { display: flex; flex-direction: column; gap: 12px; }
.calc-days label { font-size: 14px; color: var(--text-2); }
.calc-row { display: flex; align-items: center; gap: 12px; }
.step-btn {
  font-size: 20px; cursor: pointer; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); line-height: 1;
}
.step-btn:hover { border-color: var(--accent); }
.calc-row input[type="range"] { flex: 1; min-width: 0; accent-color: var(--accent); height: 44px; }
.days-out { flex: none; min-width: 84px; text-align: right; font-family: var(--mono); font-size: 18px; }
@media (max-width: 420px) { .days-out { min-width: 64px; font-size: 15px; } }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }

.strip { display: flex; flex-direction: column; gap: 6px; }
.strip-row { display: flex; align-items: center; gap: 10px; }
.strip-row[hidden] { display: none; }
.strip-label { flex: none; width: 44px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.strip-cells { flex: 1; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.strip-cells span { height: 14px; border-radius: 3px; background: var(--line-strong); }
.strip-cells span.on { background: var(--accent); }
.strip-cells span.off { visibility: hidden; }
.strip-more { padding-left: 54px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.strip-more[hidden] { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 8px 0 0 54px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--line-strong); }
.legend i.on { background: var(--accent); }

.total { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.total .k { font-size: 13px; color: var(--muted); }
.total .net { font-family: var(--mono); font-size: 56px; font-weight: 700; line-height: 1; }
@media (max-width: 420px) { .total .net { font-size: 44px; } }
.total .gross { font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.total .saving { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.total .saving[hidden] { display: none; }
.total .saving strong { color: var(--accent); }
.calc .btn { align-self: flex-start; }

.price-small { font-size: 13px; line-height: 1.6; color: var(--faint); max-width: 860px; }

/* How it works */
.step {
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.step-n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--selected); color: var(--accent);
  font-family: var(--mono); font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-weight: 600; font-size: 17px; }
.step p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; }
.after-note { font-size: 14px; color: var(--muted); }

/* Business + FAQ preview */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.biz { display: flex; flex-direction: column; gap: 20px; }
.biz > p { font-size: 16px; color: var(--text-2); line-height: 1.6; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist svg { flex: none; margin-top: 2px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.faq-list { display: flex; flex-direction: column; }
.qa { border-bottom: 1px solid var(--line); }
.qa > summary {
  list-style: none; cursor: pointer; font-size: 16px; min-height: 56px; padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after {
  content: "+"; color: var(--accent); font-family: var(--mono); font-size: 18px; flex: none;
}
.qa[open] > summary::after { content: "\2212"; }
.qa > summary:hover { color: #fff; }
.qa-body { padding: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.all-link { padding-top: 20px; font-size: 15px; color: var(--accent); }

/* Final CTA */
.cta {
  padding: 96px 0 120px; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 24px; border-top: 1px solid var(--line-soft);
}
.cta h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 600; letter-spacing: -0.02em; max-width: 760px; text-wrap: balance; }
.cta p { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft); padding: 32px 0 48px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 24px; font-size: 13px; color: var(--faint);
}
.site-footer .legal { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.site-footer .legal .logo { font-size: 13px; font-weight: 400; color: var(--text); }
.site-footer .tm { font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.footer-links a:hover { color: var(--text); }
.footer-lang { font-family: var(--mono); }
.footer-lang a[aria-current="true"] { color: var(--text); }

/* ---------- FAQ page ---------- */
.faq-hero { padding: 72px 0 48px; display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.faq-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.faq-hero p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.faq-layout { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-bottom: 120px; }
.faq-index { flex: 1 1 200px; align-self: flex-start; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.faq-index a { padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.faq-index a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 900px) { .faq-index { position: static; } }
.faq-groups { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.faq-group { scroll-margin-top: 24px; }
.faq-group h2 { font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.faq-groups .qa > summary { font-size: 17px; min-height: 60px; padding: 16px 0; }
.faq-groups .qa { scroll-margin-top: 24px; }
.faq-groups .qa-body { padding-bottom: 20px; display: flex; flex-direction: column; gap: 16px; max-width: 680px; color: var(--text-2); line-height: 1.65; }

.os-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.os-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.os-tab {
  font-size: 14px; cursor: pointer; min-height: 44px; padding: 10px 18px; border: 0;
  border-bottom: 2px solid transparent; background: transparent; color: var(--muted);
}
.os-tab:hover { color: var(--text); }
.os-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.os-panel { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.os-panel[hidden] { display: none; }
.os-panel .where { font-size: 13px; color: var(--muted); }
.os-panel pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.9; color: var(--text); white-space: pre; overflow-x: auto; }

.cta-row {
  padding: 72px 0 96px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; border-top: 1px solid var(--line-soft);
}
.cta-row h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 600; max-width: 640px; }

/* ---- Legal pages (privacy policy) ---- */
.legal-body { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 56px; max-width: 820px; }
.legal-section { scroll-margin-top: 24px; display: flex; flex-direction: column; gap: 16px; color: var(--text-2); line-height: 1.65; }
.legal-section h2 { font-size: 28px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-section code { font-family: var(--mono); font-size: 0.9em; }
.legal-section a { color: var(--accent); }
.legal-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-tab); }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal-table th {
  text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); background: var(--surface-2);
  padding: 12px 14px; border-bottom: 1px solid var(--line-strong); vertical-align: bottom;
}
.legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }

/* Terms: informal summary above the legal text */
.legal-tldr { background: var(--featured); border: 1px solid var(--line-featured); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); gap: 12px; }
.legal-tldr .small { font-size: 14px; color: var(--muted); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; margin: 0 auto; max-width: 720px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card);
  padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cookie-actions { display: flex; gap: 12px; flex: none; }
