/* ==========================================================================
   HALIDRA — site.css
   Shared stylesheet for index.html, specs.html, 404.html.
   Built on top of halidra-colors.css — tokens only, no hard-coded hex
   except inside the Safelight glow gradient (per brief).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* -------------------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  color: var(--text-primary);
}

p { margin: 0 0 var(--space-4); color: var(--text-secondary); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}
@media (min-width: 768px) {
  .container { padding-left: var(--space-8); padding-right: var(--space-8); }
}

/* -------------------------------------------------------------------------
   Skip link / focus rings
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -60px;
  background: var(--brand);
  color: var(--text-inverse);
  padding: var(--space-2) var(--space-4);
  z-index: var(--z-top);
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
}
.skip-link:focus { top: var(--space-3); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------------------
   Safelight motifs: glow, grain, crystal watermark
   ------------------------------------------------------------------------- */
.safelight-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 72% 52%, var(--glow-brand) 0%, rgba(80, 15, 15, .10) 45%, transparent 75%);
}

.grain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .28;
}

.crystal-watermark {
  position: absolute;
  z-index: 0;
  opacity: .08;
  pointer-events: none;
  color: var(--brand);
}
.crystal-watermark svg { width: 100%; height: 100%; display: block; }

.crystal-mark { color: var(--brand); flex-shrink: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: var(--space-3);
}

.rule {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--brand);
  margin-bottom: var(--space-4);
}

/* -------------------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-4);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand svg { width: 18px; height: 28px; }
.nav-brand span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .14em;
  color: var(--text-primary);
}
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 479px) {
  .nav-actions .btn-primary { display: none; }
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--border-strong); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline-block; }

.nav-burger {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
@media (min-width: 900px) { .nav-burger { display: none; } }

.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu.is-open { display: block; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
}
.mobile-menu a { text-decoration: none; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--text-primary); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius-none);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: white; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-text); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
/* Pre-launch: checkout isn't live yet */
.btn:disabled,
.btn:disabled:hover { background: var(--brand-dim); color: var(--brand-text); border-color: var(--brand-dark); cursor: not-allowed; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
  text-align: center;
}
.hero .crystal-watermark { top: -40px; right: -60px; width: 320px; height: 496px; }
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow { display: flex; justify-content: center; }
.hero-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 13vw, 128px);
  letter-spacing: -.01em;
  line-height: .92;
  margin: var(--space-2) 0 0;
}
.hero-tag {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--brand-text);
  font-size: clamp(22px, 4vw, 32px);
  margin: var(--space-4) 0 0;
}
.hero-desc {
  max-width: 620px;
  margin: var(--space-5) auto 0;
  font-size: 18px;
  color: var(--text-secondary);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-shot {
  position: relative;
  z-index: 2;
  margin: var(--space-16) auto 0;
  max-width: 1040px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.hero-shot img { width: 100%; height: auto; }

/* -------------------------------------------------------------------------
   Proof strip
   ------------------------------------------------------------------------- */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-4);
  padding: var(--space-10) 0;
  text-align: center;
}
@media (min-width: 700px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 68px);
  line-height: .9;
  color: var(--text-primary);
}
.proof-label {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------------- */
.section { position: relative; padding: var(--space-20) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: var(--space-10); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(32px, 5vw, 48px);
}
.section-head p { margin-top: var(--space-4); font-size: 18px; }

/* Philosophy section */
.philosophy { text-align: center; }
.philosophy .big-numeral {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 12vw, 160px);
  line-height: .85;
  color: var(--text-primary);
}
.philosophy-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 3.4vw, 28px);
  color: var(--brand-text);
  max-width: 700px;
  margin: var(--space-6) auto 0;
}
.philosophy-meta {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--text-dim);
}

/* -------------------------------------------------------------------------
   Features
   ------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: none; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .feature.flip .feature-media { order: 2; }
  .feature.flip .feature-copy { order: 1; }
}
.feature-copy h3 { font-size: clamp(26px, 4vw, 34px); margin-bottom: var(--space-4); }
.feature-copy p { font-size: 17px; }
.feature-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.feature-list li {
  position: relative;
  padding-left: var(--space-5);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--brand);
}
.feature-media {
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  overflow: hidden;
}
.feature-media img { width: 100%; height: auto; }
.feature-media-flat {
  border: 1px solid var(--border);
  background: var(--surface-inset);
  padding: var(--space-10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media-flat .crystal-mark { width: 90px; height: 140px; opacity: .7; }

/* -------------------------------------------------------------------------
   Comparison
   ------------------------------------------------------------------------- */
.compare-options {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}
@media (min-width: 700px) { .compare-options { grid-template-columns: repeat(4, 1fr); } }
.compare-card {
  border: 1px solid var(--border);
  padding: var(--space-6) var(--space-5);
  background: var(--surface);
  text-align: center;
}
.compare-card.is-yes { border-color: var(--brand); background: var(--brand-ghost); }
.compare-mark { font-family: var(--font-display); font-weight: 900; font-size: 34px; }
.compare-card .compare-mark { color: var(--text-dim); }
.compare-card.is-yes .compare-mark { color: var(--brand); }
.compare-card h4 { font-size: 19px; margin-top: var(--space-3); }
.compare-card p { font-size: 14px; margin-top: var(--space-2); }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); }
table.compare-table { width: 100%; min-width: 560px; }
.compare-table th, .compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-secondary); }
.compare-table tr.is-halidra td { color: var(--text-primary); font-weight: 700; background: var(--brand-ghost); }
.compare-table tr.is-halidra td:first-child { color: var(--brand-text); }
.compare-table .ok { color: var(--brand-text); }
.compare-table .no { color: var(--text-dim); }

/* -------------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------------- */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  position: relative;
}
.pricing-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 120px);
  line-height: .85;
  color: var(--text-primary);
}
.pricing-tag {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--brand-text);
  font-size: 22px;
  margin-top: var(--space-3);
}
.pricing-sub {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pricing-specs {
  list-style: none;
  margin: var(--space-8) 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: left;
}
.pricing-card .btn { width: 100%; }
.pricing-note { margin-top: var(--space-4); font-size: 13px; color: var(--text-dim); }

/* -------------------------------------------------------------------------
   Proven band
   ------------------------------------------------------------------------- */
.proven-band {
  position: relative;
  text-align: center;
  padding: var(--space-20) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.proven-band h2 { font-size: clamp(34px, 6vw, 56px); }
.proven-band p { max-width: 560px; margin: var(--space-4) auto var(--space-8); font-size: 17px; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-10) 0 var(--space-8);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: var(--space-2); }
.footer-brand span { font-family: var(--font-display); font-weight: 900; letter-spacing: .14em; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .03em;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-6);
  font-size: 13px;
  color: var(--text-dim);
}

/* -------------------------------------------------------------------------
   Specs page
   ------------------------------------------------------------------------- */
.specs-header {
  position: relative;
  padding: var(--space-16) 0 var(--space-10);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.specs-header h1 { font-size: clamp(38px, 7vw, 64px); }
.specs-header p { max-width: 620px; margin-top: var(--space-4); font-size: 17px; }

.specs-layout {
  display: grid;
  gap: var(--space-10);
  padding: var(--space-10) 0 var(--space-20);
}
@media (min-width: 980px) {
  .specs-layout { grid-template-columns: 240px 1fr; align-items: start; }
}

.specs-toc {
  position: static;
  border: 1px solid var(--border);
  background: var(--surface);
}
@media (min-width: 980px) {
  .specs-toc { position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow-y: auto; }
}
.specs-toc summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.specs-toc summary::-webkit-details-marker { display: none; }
.specs-toc summary .caret { transition: transform var(--transition-fast); color: var(--text-dim); }
.specs-toc[open] summary .caret { transform: rotate(90deg); }
@media (min-width: 980px) {
  .specs-toc summary { display: none; }
  .specs-toc { display: block; }
}
.specs-toc nav { padding: 0 0 var(--space-4); }
.specs-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.specs-toc li { counter-increment: toc; }
.specs-toc a {
  display: flex;
  gap: var(--space-2);
  text-decoration: none;
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
}
.specs-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--text-dim);
}
.specs-toc a:hover, .specs-toc a.is-active { color: var(--text-primary); border-left-color: var(--brand); background: var(--brand-ghost); }

.specs-main { min-width: 0; }
.specs-section {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 84px;
}
.specs-section:first-child { border-top: none; padding-top: 0; }
.specs-section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.specs-section h2 .sec-no { font-family: var(--font-mono); font-size: 16px; color: var(--brand-text); font-weight: 400; }
.specs-section > p.lede { margin-top: var(--space-4); font-size: 16px; max-width: 760px; }
.specs-section h3 { font-size: 19px; margin: var(--space-8) 0 var(--space-3); color: var(--text-primary); }

.spec-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-item {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: var(--space-4) var(--space-5);
}
.spec-item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-item dd {
  margin: var(--space-1) 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-primary);
}

.table-scroll + .table-scroll { margin-top: var(--space-5); }
table.spec-table { width: 100%; min-width: 620px; font-size: 14px; }
.spec-table caption { caption-side: top; text-align: left; padding: var(--space-3) var(--space-5); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--text-dim); background: var(--surface); border-bottom: 1px solid var(--border); }
.spec-table th, .spec-table td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
}
.spec-table td { color: var(--text-secondary); }
.spec-table td code, .spec-table td.mono { font-family: var(--font-mono); color: var(--text-primary); font-size: 13px; }
.spec-table tbody tr:hover { background: var(--surface-raised); }
.spec-table .yes { color: var(--brand-text); font-weight: 700; }
.spec-table .no { color: var(--text-dim); }

kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 7px;
  background: var(--surface-inset);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  box-shadow: 0 1px 0 var(--border-strong);
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}
.badge-tier1 { color: var(--status-ok-text); border-color: var(--status-ok); }
.badge-tier2 { color: var(--brand-text); border-color: var(--brand); }

.callout {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--brand);
  background: var(--surface);
  padding: var(--space-5);
  margin-top: var(--space-6);
  font-size: 15px;
  color: var(--text-secondary);
}
.callout strong { color: var(--text-primary); }

.fr-id { font-family: var(--font-mono); color: var(--brand-text); font-size: 13px; white-space: nowrap; }

/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(100px, 22vw, 240px);
  line-height: .85;
  color: var(--text-primary);
}
.error-page p { margin: var(--space-4) auto var(--space-8); max-width: 420px; }

/* -------------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.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;
}
