:root {
  --bg: #F5F2EB;
  --text: #111009;
  --muted: color-mix(in srgb, var(--text) 60%, #999);
  --accent: #111009;
  --border: #111009;
  --display: 'Unbounded', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --font-mono: var(--mono);
  --font-size-xs: 0.72rem;
  --font-size-sm: 0.85rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.15rem;
  --font-size-xl: 1.35rem;
  --font-size-2xl: clamp(1.5rem, 2.5vw, 2rem);
  --font-size-3xl: clamp(2rem, 4vw, 3.2rem);
  --font-size-hero: clamp(2rem, 5.5vw, 6.5rem);
  --lh-tight: 0.92;
  --lh-snug: 1.15;
  --lh-base: 1.6;
  --lh-loose: 1.8;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;
  --ls-tight: -0.03em;
  --ls-normal: 0.01em;
  --ls-wide: 0.08em;
  --ls-wider: 0.15em;
  --section-gap: clamp(3rem, 7vw, 7rem);
  --content-pad-x: clamp(1rem, 4vw, 3rem);
  --card-pad: clamp(1.25rem, 2.5vw, 2rem);
  --max-w: 1200px;
  --max-w-narrow: 720px;
  --max-w-wide: 1400px;
  --space-1: .5rem;
  --space-2: .85rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 3.25rem;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: var(--mono), "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--font-size-base);
  line-height: var(--lh-base);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
body { min-height: 100vh; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
#bg-canvas { position: fixed; inset: 0; z-index: 0; opacity: .12; pointer-events: none; width: 100%; max-width: 100%; }
.site-shell { position: relative; z-index: 1; width: 100%; max-width: 100%; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; margin: 0; }
h1 { font-size: var(--font-size-hero); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--font-size-3xl); line-height: var(--lh-snug); letter-spacing: var(--ls-normal); }
h3 { font-size: var(--font-size-xl); font-weight: var(--fw-bold); }
small, .caption, .label, .field-label {
  font-size: var(--font-size-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}
code, .mono { font-family: var(--font-mono); }
main {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--content-pad-x);
  box-sizing: border-box;
}
.site-shell main > section {
  margin-block: var(--section-gap);
  padding-block: 0;
}
.site-shell main > section:first-child {
  margin-top: 0;
  padding-top: clamp(3rem, 6vw, 5rem);
}
.site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}
.reveal { opacity: 0; transform: translateY(20px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.outline { -webkit-text-stroke: 1px var(--text); color: transparent; }
.stats { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin: 0; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stats article { border: 2px solid var(--border); padding: var(--card-pad); }
.stats p { margin: var(--space-1) 0 0; color: var(--muted); font-size: var(--font-size-sm); }
.counter { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--space-1); font-family: var(--font-mono); }
.plan-card > p {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
@media (max-width: 1280px) { :root { --content-pad-x: clamp(1rem, 3.5vw, 2.5rem); } }
@media (max-width: 768px) { :root { --space-6: 2.5rem; --space-5: 2rem; --font-size-hero: clamp(1.65rem, 8.5vw, 2.4rem); } }
@media (max-width: 480px) { html { font-size: 15px; } :root { --space-6: 2rem; --content-pad-x: 1rem; } }
