/* Beacon site. One cool-grey family; Beacon's status colours (green, amber,
   red) mean status everywhere; green is also the single accent (links, focus).
   Radii: buttons and chips are pills, cards 20, screenshots 14, small parts 8. */

/* Geist and Geist Mono (SIL Open Font License, assets/fonts/OFL.txt), served
   from this site so visitors' browsers never contact a font service */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
}
:root {
  --bg: #0A0C0F;
  --surface: #111419;
  --surface-2: #161A21;
  --line: #1F242C;
  --line-2: #2A303B;
  --text: #EEF1F5;
  --muted: #9AA3B2;
  --faint: #6B7383;
  --green: #22C55E;
  --red: #EF4444;
  --amber: #F59E0B;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --r-card: 20px;
  --r-shot: 14px;
  --r-small: 8px;
  --wrap: 1180px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: rgba(34, 197, 94, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: 0.88em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 860px); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font: 600 15px/1 var(--font); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent;
  transition: transform 140ms var(--ease), background-color 200ms var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.text-link {
  color: var(--green); text-decoration: none; font-weight: 500;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 160ms var(--ease); }
.nav-links a:hover { color: var(--text); }

/* --------------------------------------------------------------- hero */
.hero { padding: clamp(48px, 9vh, 104px) 0 clamp(64px, 10vh, 120px); overflow-x: clip; }   /* the light's glow mustn't widen the page on phones */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.038em; }
.hero h1 em { font-style: normal; color: var(--faint); }
.lede { margin-top: 26px; max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; color: var(--faint); font-size: 13.5px; }

/* The stage: a stack light beside the app, lit by the current status */
.stage {
  --glow: var(--green);
  position: relative; display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "tower window" "picker picker" "caption caption";
  column-gap: clamp(20px, 3vw, 40px); row-gap: 18px; align-items: end;
}
.stage-floor {
  position: absolute; inset: 8% -10% 10% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 46% at 18% 62%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  transition: background 600ms var(--ease);
}
.stage[data-state="running"] { --glow: var(--red); }
.stage[data-state="paused"] { --glow: var(--amber); }

.tower { grid-area: tower; display: flex; flex-direction: column; align-items: center; width: clamp(78px, 8vw, 104px); padding-bottom: 6px; }
.tower-cap { width: 86%; height: 14px; border-radius: 6px 6px 3px 3px; background: linear-gradient(#3B414C, #2A2F38); }
.lens {
  position: relative; width: 100%; aspect-ratio: 1 / 0.95; margin-top: 6px; border-radius: 12px;
  background: var(--off); overflow: hidden;
  transition: background-color 260ms var(--ease), box-shadow 400ms var(--ease);
}
.lens i { position: absolute; left: 13%; top: 14%; width: 11%; height: 60%; border-radius: 99px; background: rgba(255, 255, 255, 0.10); transition: background-color 260ms var(--ease); }
.lens-red { --on: var(--red); --off: #2B1517; }
.lens-green { --on: var(--green); --off: #13261B; }
.lens.is-on { background: var(--on); box-shadow: 0 0 34px color-mix(in srgb, var(--on) 55%, transparent), 0 0 90px color-mix(in srgb, var(--on) 30%, transparent); }
.lens.is-on i { background: rgba(255, 255, 255, 0.42); }
.lens.is-blink { animation: blink 1.2s steps(1, end) infinite; }
@keyframes blink { 50% { background: var(--off); box-shadow: none; } }
.tower-pole { width: 14%; height: 34px; background: linear-gradient(90deg, #2A2F38, #3B414C, #2A2F38); }
.tower-base { width: 72%; height: 12px; border-radius: 6px; background: linear-gradient(#3B414C, #262A32); }

/* Screenshots stack in one grid cell and cross-fade */
.window {
  position: relative; margin: 0; display: grid;
  border-radius: var(--r-shot); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 12px 24px -12px rgba(0, 0, 0, 0.6);
  max-width: 400px; justify-self: start; width: 100%;
}
.stage .window { grid-area: window; }
.window .shot {
  grid-area: 1 / 1; width: 100%; height: auto;
  opacity: 0; transform: scale(1.015);
  transition: opacity 520ms var(--ease), transform 900ms var(--ease);
}
.window .shot.is-on { opacity: 1; transform: none; }
.window-wide { max-width: none; }

/* Until the real screenshots are added, a labelled frame stands in */
.window.is-missing { aspect-ratio: 380 / 560; }
.window-wide.is-missing { aspect-ratio: 10 / 7; }
.window.is-missing::after {
  content: attr(data-missing); position: absolute; inset: 14px;
  display: grid; place-items: center; text-align: center; padding: 20px;
  border: 1px dashed var(--line-2); border-radius: var(--r-small);
  color: var(--faint); font: 500 13px/1.5 var(--mono); white-space: pre-line; overflow-wrap: anywhere;
}
.window.is-missing .shot { visibility: hidden; }

.state-picker { grid-area: picker; display: flex; flex-wrap: wrap; gap: 8px; }
.state-picker button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font: 500 14px/1 var(--font); cursor: pointer;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), transform 140ms var(--ease);
}
.state-picker button:hover { color: var(--text); background: var(--surface-2); }
.state-picker button:active { transform: scale(0.97); }
.state-picker button[aria-pressed="true"] { color: var(--text); background: var(--surface-2); border-color: #3A414D; }
.stage-caption { grid-area: caption; color: var(--muted); font-size: 15px; min-height: 1.6em; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot + .dot { margin-left: -4px; }
.dot-green { background: var(--green); box-shadow: 0 0 10px color-mix(in srgb, var(--green) 70%, transparent); }
.dot-red { background: var(--red); box-shadow: 0 0 10px color-mix(in srgb, var(--red) 70%, transparent); }
.dot-amber { background: var(--amber); box-shadow: 0 0 10px color-mix(in srgb, var(--amber) 70%, transparent); }
.dot-blink { animation: dotblink 1.2s steps(1, end) infinite; }
@keyframes dotblink { 50% { opacity: 0.25; } }

/* ------------------------------------------------------------ problem */
.problem { padding: clamp(72px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.statement { font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--faint); font-weight: 500; text-wrap: pretty; }
.statement-strong { color: var(--text); margin-top: 0.7em; }

/* ----------------------------------------------------------- sections */
.section { padding: clamp(80px, 13vh, 150px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 7vh, 72px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -0.032em; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); }
.section-head-left { margin-left: 0; text-align: left; }

/* How it works: LightBurn -> Beacon -> outputs, the lines march like a frame */
.flow { margin: 0 auto clamp(40px, 6vh, 64px); max-width: 1000px; }
.flow-svg { width: 100%; height: auto; overflow: visible; }
.flow .march { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 7 9; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -32; } }
.flow .node rect { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.flow .node text { fill: var(--muted); font: 500 15px var(--font); text-anchor: middle; }
.flow .node-core rect { fill: var(--surface-2); stroke: var(--green); }
.flow .node-core text { fill: var(--text); font-size: 19px; font-weight: 600; }
.flow .node-out text { font-size: 14px; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 28px 32px; }
.mode h3 { font-size: 24px; letter-spacing: -0.02em; }
.mode-tag { margin-top: 6px; color: var(--green); font-size: 14px; font-weight: 500; }
.mode p:last-child { margin-top: 16px; color: var(--muted); font-size: 15.5px; }
.mode-best { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: var(--line-2); }

/* ---------------------------------------------------- status tour */
.tour { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.tour-sticky { position: sticky; top: calc(64px + 6vh); display: grid; justify-items: center; }
.window-tour { max-width: 380px; justify-self: center; }
/* The pill step: the pill alone, centred on the page colour it was captured on */
.window-tour .shot[data-state="pill"] { align-self: center; justify-self: center; width: auto; max-width: 82%; }
.window-tour[data-state="pill"] { background: var(--bg); transition: background-color 400ms var(--ease); }
.tour-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: 0.32; transition: opacity 400ms var(--ease); }
.step.is-active { opacity: 1; }
.step-name { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 500; }
.step h3 { margin-top: 14px; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.step p:last-child { margin-top: 16px; color: var(--muted); max-width: 30em; }

/* ------------------------------------------------------------- light */
.light-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.install { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 18px; }
.install li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; color: var(--muted); }
.install strong { color: var(--text); font-weight: 600; }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font: 500 14px var(--mono); color: var(--text); }
.kit { position: sticky; top: calc(64px + 4vh); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.kit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kit-head h3 { font-size: 22px; }
.kit-head p { color: var(--faint); font-size: 13px; }
.kit-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kit-table th, .kit-table td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.kit-table td { text-align: right; font-family: var(--mono); font-size: 14px; color: var(--muted); white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.kit-total th, .kit-total td { color: var(--text); font-weight: 600; border-top-color: var(--line-2); }
.kit-opt th { color: var(--faint); }
.kit-opt td { color: var(--faint); }
.pins {
  margin: 22px 0 18px; padding: 16px 18px; border-radius: var(--r-small);
  background: var(--bg); border: 1px solid var(--line); overflow-x: auto;
  font: 13px/1.75 var(--mono); color: var(--muted);
}
.pins span { color: var(--text); }

/* ---------------------------------------------------------- features */
.spec { border-bottom: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); padding: 44px 0; border-top: 1px solid var(--line); }
.spec-title h3 { font-size: 22px; }
.spec-title p { margin-top: 6px; color: var(--faint); font-size: 15px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.spec-list li { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.spec-list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 16px; }
.spec-list code { color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.spec-shot { grid-column: 2; grid-row: 1; max-width: 720px; }
.spec-shot + .spec-list { grid-column: 2; grid-row: 2; }

/* ---------------------------------------------------------- download */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.dl h3 { font-size: 26px; }
.dl-meta { margin: 6px 0 24px; color: var(--muted); font-size: 15px; }
.dl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-note { margin-top: 20px; color: var(--faint); font-size: 13.5px; }
.dl-more { text-align: center; margin-top: 28px; }
.safety { max-width: 920px; margin: 56px auto 0; padding: 22px 26px; border-radius: var(--r-card); border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); background: color-mix(in srgb, var(--amber) 6%, var(--bg)); }
.safety h3 { font-size: 17px; color: var(--amber); }
.safety p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
.footer-inner { display: grid; gap: 12px; }
.footer a { color: var(--muted); text-underline-offset: 3px; }
.footer-fine { font-size: 12.5px; max-width: 60em; }

/* ------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* The first screen animates in on load rather than waiting for a scroll */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 900ms var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ------------------------------------------------------------ smaller */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { max-width: 560px; }
  .modes { grid-template-columns: 1fr; }
  .light-grid { grid-template-columns: 1fr; }
  .kit { position: static; }
  .spec-row { grid-template-columns: 1fr; padding: 36px 0; }
  .spec-shot, .spec-shot + .spec-list { grid-column: 1; grid-row: auto; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav nav { margin-left: auto; }
  .tour { grid-template-columns: 1fr; gap: 0; }
  .tour-media { position: sticky; top: 64px; z-index: 2; padding: 12px 0 44px; background: linear-gradient(var(--bg) 86%, transparent); }
  .tour-sticky { position: static; }
  .window-tour { max-width: min(46vw, 210px); }
  .step { min-height: 52vh; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stage { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .tower { width: 64px; }
  .spec-list { grid-template-columns: 1fr; gap: 20px; }
  .dl-grid { grid-template-columns: 1fr; }
  .flow { overflow-x: auto; }
  .flow-svg { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms linear; }
  .js .hero .reveal { animation: none; }
  .window .shot { transform: none; transition: opacity 200ms linear; }
  .lens.is-blink, .dot-blink, .flow .march { animation: none; }
}

/* Real screenshots: the tall Settings capture stays narrow; the sample-data
   label sits on the Statistics shot */
.window-settings { max-width: 380px; }
.window figcaption {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(10, 12, 15, 0.82); border: 1px solid var(--line-2);
  color: var(--muted); font: 500 12px/1.4 var(--font);
}

/* ------------------------------------------------------------- legal */
.legal { padding: clamp(48px, 8vh, 88px) 0 clamp(72px, 10vh, 120px); }
.legal-wrap { max-width: 760px; }
.legal-head h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.035em; }
.legal-head p { margin-top: 10px; color: var(--faint); font-size: 14.5px; }
.legal .safety { margin: 36px 0 8px; }
.legal .safety h2 { font-size: 17px; color: var(--amber); letter-spacing: -0.01em; }
.legal section { padding-top: 48px; scroll-margin-top: 80px; }
.legal section h2 { font-size: 28px; letter-spacing: -0.025em; }
.legal section h3 { margin-top: 28px; font-size: 18px; letter-spacing: -0.01em; }
.legal section p, .legal section li { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal section ul { margin: 4px 0 0; padding-left: 1.2em; }
.legal section strong { color: var(--text); font-weight: 600; }
.legal section a, .dl-legal a, .kit-safety a { color: var(--text); text-underline-offset: 3px; }
.legal section a:hover { color: var(--green); }
.dl-legal { text-align: center; margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.kit-safety { margin-top: 16px; color: var(--faint); font-size: 13.5px; }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-item summary:hover { color: #fff; }
.faq-item p { padding: 0 4px 24px; max-width: 46em; color: var(--muted); }

/* ------------------------------------------------------------ guides */
.crumbs { margin-bottom: 22px; color: var(--faint); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 6px; }
.guide-lede { margin-top: 18px !important; color: var(--muted) !important; font-size: clamp(17px, 1.4vw, 19px) !important; line-height: 1.6; }
.legal section ol { margin: 4px 0 0; padding-left: 1.4em; }
.legal section ol li::marker { color: var(--faint); font-family: var(--mono); font-size: 14px; }
.legal section code { color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.guide-table { margin-top: 16px; }
.guide-table th { color: var(--muted); }
.guide-shot { max-width: 380px; margin: 28px 0 4px; }
.guide .safety { margin-top: 48px; }
.guide-cta { margin-top: 48px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.guide-cta h2 { font-size: 24px; }
.guide-cta p { margin-top: 6px; color: var(--muted); }
.guide-cta .cta-row { margin-top: 20px; }
.guide-more { padding-top: 40px; }
.guide-more h2 { font-size: 20px !important; }
.guide-more ul { list-style: none; padding: 0 !important; }
.guide-more a { color: var(--green) !important; text-decoration: none; font-weight: 500; }
.guide-more a:hover { text-decoration: underline; }
.guide-list { display: grid; gap: 14px; margin-top: 40px; }
.guide-card {
  display: block; padding: 26px 28px; border-radius: var(--r-card); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 140ms var(--ease);
}
.guide-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.guide-card:active { transform: scale(0.99); }
.guide-card h2 { font-size: 21px; letter-spacing: -0.02em; }
.guide-card p { margin: 8px 0 14px; color: var(--muted); font-size: 15.5px; }
.legal-head h1 { line-height: 1.06; }
.legal section h2, .guide-card h2, .guide-cta h2 { line-height: 1.2; }
.legal section pre code { background: none; border: 0; padding: 0; }
.legal section pre { margin-top: 16px; }
