/* Opportunity Radar — marketing site.
 *
 * The tokens below are the app's own, ported from lib/app/theme/app_colors.dart
 * rather than re-picked by eye. A landing page whose violet is two shades off
 * the product's violet reads as a different company, and nobody can say why.
 *
 * No build step, no framework, no external request. Everything the page needs
 * is on this origin, which is most of why it renders fast.
 */

/* ---------------------------------------------------------------- fonts -- */
/* Subset from the same TTFs the app bundles; see tool/build_web_fonts.py.
 * `swap` on purpose: text in a fallback face beats no text at all, and these
 * are small enough that the swap is rarely visible. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* 8px system, matching AppSpacing. */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 48px; --s10: 64px;
  --s11: 80px; --s12: 112px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 28px;
  --r-full: 999px;

  --content: 1120px;
  --prose: 68ch;

  /* One number, because three places depend on it: the bar itself, where the
   * collapsed menu hangs from, and how far an anchor has to scroll to clear
   * it. They were three literals, which is how a shorter header on a
   * landscape phone leaves the menu floating sixteen pixels adrift. */
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light is the default so a page with no JS and no dark preference still has
 * a complete palette; dark overrides only what changes. */
:root,
:root[data-theme='light'] {
  color-scheme: light;

  --bg-app: #F7F7F9;
  --bg-sunken: #F0F0F3;
  --bg-inverse: #101014;
  --surface-card: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-accent: #F3F3FC;
  --surface-hover: rgba(28, 28, 34, 0.04);

  --text-primary: #1C1C22;
  --text-secondary: #60606B;
  --text-tertiary: #8B8B96;
  --text-accent: #4A46A8;
  --text-on-accent: #FFFFFF;
  --text-on-inverse: #EEEEF1;

  --border-subtle: rgba(28, 28, 34, 0.06);
  --border-default: rgba(28, 28, 34, 0.10);
  --border-strong: rgba(28, 28, 34, 0.16);
  --border-focus: #7B77D1;

  --accent: #5B57C7;
  --accent-hover: #504CB5;
  --accent-pressed: #4A46A8;
  --accent-soft: #E8E7F9;

  --match-high: #1F8A5B;  --match-high-bg: #E7F6EE;
  --match-mid: #C47F17;   --match-mid-bg: #FBF0DC;
  --match-low: #8B8B96;   --match-low-bg: #F0F0F3;
  --danger: #C03538;
  --teal: #12888C;

  --shadow-sm: 0 1px 2px rgba(28,28,34,.05), 0 2px 8px rgba(28,28,34,.04);
  --shadow-md: 0 2px 4px rgba(28,28,34,.05), 0 8px 24px rgba(28,28,34,.06);
  --shadow-lg: 0 4px 8px rgba(28,28,34,.05), 0 24px 56px rgba(28,28,34,.10);
  --glow: 0 0 0 1px rgba(91,87,199,.18), 0 18px 48px rgba(91,87,199,.16);
}

:root[data-theme='dark'] {
  color-scheme: dark;

  --bg-app: #101014;
  --bg-sunken: #0B0B0E;
  --bg-inverse: #EEEEF1;
  --surface-card: #18181D;
  --surface-raised: #1F1F26;
  --surface-accent: #1C1C2A;
  --surface-hover: rgba(238, 238, 241, 0.05);

  --text-primary: #EEEEF1;
  --text-secondary: #A9A9B5;
  --text-tertiary: #71717E;
  --text-accent: #A3A0F2;
  --text-on-accent: #FFFFFF;
  --text-on-inverse: #101014;

  --border-subtle: rgba(238, 238, 241, 0.06);
  --border-default: rgba(238, 238, 241, 0.10);
  --border-strong: rgba(238, 238, 241, 0.16);
  --border-focus: #5B58B5;

  --accent: #6E6ADE;
  --accent-hover: #7D79E4;
  --accent-pressed: #5B58B5;
  --accent-soft: #26264A;

  --match-high: #2FB577;  --match-high-bg: #12291E;
  --match-mid: #D9962C;   --match-mid-bg: #2C2113;
  --match-low: #71717E;   --match-low-bg: #1C1C21;
  --danger: #F08A8C;
  --teal: #24A5AA;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.30), 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 2px 4px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.35), 0 24px 56px rgba(0,0,0,.45);
  --glow: 0 0 0 1px rgba(110,106,222,.30), 0 18px 48px rgba(110,106,222,.22);
}

/* Nobody has chosen: follow the system. Scoped to :root:not([data-theme]) so
 * an explicit choice always beats the media query, in both directions. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg-app: #101014;
    --bg-sunken: #0B0B0E;
    --bg-inverse: #EEEEF1;
    --surface-card: #18181D;
    --surface-raised: #1F1F26;
    --surface-accent: #1C1C2A;
    --surface-hover: rgba(238, 238, 241, 0.05);
    --text-primary: #EEEEF1;
    --text-secondary: #A9A9B5;
    --text-tertiary: #71717E;
    --text-accent: #A3A0F2;
    --text-on-inverse: #101014;
    --border-subtle: rgba(238, 238, 241, 0.06);
    --border-default: rgba(238, 238, 241, 0.10);
    --border-strong: rgba(238, 238, 241, 0.16);
    --border-focus: #5B58B5;
    --accent: #6E6ADE;
    --accent-hover: #7D79E4;
    --accent-pressed: #5B58B5;
    --accent-soft: #26264A;
    --match-high: #2FB577;  --match-high-bg: #12291E;
    --match-mid: #D9962C;   --match-mid-bg: #2C2113;
    --match-low: #71717E;   --match-low-bg: #1C1C21;
    --danger: #F08A8C;
    --teal: #24A5AA;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.30), 0 2px 8px rgba(0,0,0,.25);
    --shadow-md: 0 2px 4px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 4px 8px rgba(0,0,0,.35), 0 24px 56px rgba(0,0,0,.45);
    --glow: 0 0 0 1px rgba(110,106,222,.30), 0 18px 48px rgba(110,106,222,.22);
  }
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchored sections land below the sticky header rather than under it. */
  scroll-padding-top: calc(var(--header-h) + var(--s5));
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a { color: var(--text-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

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

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--accent); color: #fff; padding: var(--s3) var(--s5);
  border-radius: var(--r-md); font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: var(--s4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.h-section {
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 2.75rem);
  letter-spacing: -0.028em;
}
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.014em; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 0.72rem + 0.1vw, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  opacity: .55;
}

.num { font-family: var(--font-mono); font-weight: 500; font-feature-settings: 'tnum' 1; }

/* ---------------------------------------------------------------- layout -- */
.wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--s5), 4vw, var(--s8));
}

section { position: relative; }

.section {
  padding-block: clamp(var(--s10), 9vw, var(--s12));
}
.section--sunken { background: var(--bg-sunken); }
.section--tight { padding-block: clamp(var(--s9), 6vw, var(--s11)); }

.section-head { max-width: var(--prose); margin-bottom: clamp(var(--s8), 5vw, var(--s10)); }
.section-head .h-section { margin-block: var(--s4) var(--s4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--border-default) 18%, var(--border-default) 82%, transparent);
}

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 13px var(--s6);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  /* The hover surface is the button and nothing more — no bleed past the
   * rounded corners, which is what a transform-scaled hover does. */
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              box-shadow .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.16), 0 8px 22px -8px var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 14px 32px -10px var(--accent); }
.btn--primary:active { background: var(--accent-pressed); }

.btn--ghost {
  background: var(--surface-card);
  color: var(--text-primary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-raised); }

.btn--quiet {
  background: transparent;
  color: var(--text-secondary);
  padding-inline: var(--s4);
}
.btn--quiet:hover { background: var(--surface-hover); color: var(--text-primary); }

.btn--lg { padding: 15px var(--s7); font-size: 1rem; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  align-items: center;
}

.cta-note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  display: flex; align-items: center; gap: var(--s2);
}

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-app) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header[data-scrolled='true'] {
  border-bottom-color: var(--border-subtle);
  background: color-mix(in srgb, var(--bg-app) 92%, transparent);
}
/* No color-mix support: a solid bar is better than a transparent one that
 * lets the page scroll through the nav text. */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg-app); }
}

.header-inner {
  display: flex; align-items: center; gap: var(--s6);
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: var(--s3);
  /* Never the thing that overflows: the mark and the actions matter more
   * than the last few characters of the wordmark. */
  min-width: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em;
  color: var(--text-primary); text-decoration: none;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: var(--s1); }
.nav .nav-cta { display: none; }
.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav a:hover { color: var(--text-primary); background: var(--surface-hover); }

.header-actions { display: flex; align-items: center; gap: var(--s2); }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-default);
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.theme-toggle:hover { background: var(--surface-hover); color: var(--text-primary); border-color: var(--border-strong); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: block; }
}

/* Mobile navigation, driven by a checkbox so it works with JS disabled. */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-default);
  cursor: pointer;
  place-items: center;
  color: var(--text-secondary);
}
.nav-toggle-label:hover { background: var(--surface-hover); }

@media (max-width: 860px) {
  .nav .nav-cta { display: block; }
  .nav .nav-cta--primary { color: var(--text-accent); font-weight: 600; }
  .nav {
    position: absolute; inset-inline: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: var(--s3);
    display: none;
    /* The panel is positioned against a sticky header, so anything past the
     * bottom of the screen is unreachable — the page scrolls underneath it
     * rather than the menu scrolling. On a landscape phone seven items
     * already nearly fill the viewport. */
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav a { padding: var(--s3) var(--s4); font-size: 1rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle-label { display: grid; }
  .header-actions .btn--quiet { display: none; }
  .header-inner { gap: var(--s3); }
}

/* At phone widths the brand, the theme control, a CTA and a menu button do not
 * fit on one bar — the wordmark was being clipped by the toggle and the menu
 * button fell off the edge. The CTA is the one to drop: it is the first thing
 * in the menu, and the hero repeats it two hundred pixels below.
 *
 * Not on the legal pages. Their header has no menu and no nav, so there is
 * room for the button — and dropping it there left those pages with no way
 * into the app at all on a phone. */
@media (max-width: 560px) {
  .site-header:not(.site-header--plain) .header-actions .btn--primary { display: none; }
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  padding-block: clamp(var(--s10), 8vw, 108px) clamp(var(--s10), 8vw, var(--s12));
  overflow: hidden;
}

/* The radar wash. Two radial gradients and a rotating conic sweep — the same
 * shape as the app icon, at page scale. Purely decorative, so it is behind
 * aria-hidden and never intercepts a pointer. */
.hero-field {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: radial-gradient(120% 90% at 72% 34%, #000 30%, transparent 74%);
  -webkit-mask-image: radial-gradient(120% 90% at 72% 34%, #000 30%, transparent 74%);
}
.hero-field::before {
  content: '';
  position: absolute;
  top: -30%; right: -12%;
  width: min(980px, 96vw); aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      transparent 0 74px,
      color-mix(in srgb, var(--accent) 30%, transparent) 74px 75px);
  opacity: .8;
}
.hero-field::after {
  content: '';
  position: absolute;
  top: -30%; right: -12%;
  width: min(980px, 96vw); aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    color-mix(in srgb, var(--accent) 46%, transparent) 0deg,
    transparent 62deg, transparent 360deg);
  animation: sweep 7s linear infinite;
  opacity: .7;
}
@keyframes sweep { to { transform: rotate(1turn); } }

.hero-glow {
  position: absolute;
  top: -240px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-46%);
  background: radial-gradient(50% 50% at 50% 50%,
    color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(var(--s8), 5vw, var(--s10));
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s9); }
}

.hero h1 { margin-block: var(--s5) var(--s5); }
.hero .lede { margin-bottom: var(--s7); }

.hero-accent {
  /* The one gradient on the page, on the four words that carry the promise. */
  background: linear-gradient(96deg, var(--accent) 8%, var(--teal) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-proof {
  display: flex; flex-wrap: wrap;
  padding: 0;
  gap: var(--s3) var(--s6);
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--border-subtle);
}
.hero-proof li {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex; align-items: baseline; gap: var(--s2);
}
.hero-proof strong {
  font-family: var(--font-mono); font-weight: 500;
  color: var(--text-primary); font-size: 1rem;
}

/* -------------------------------------------------------- analysis card -- */
/* The product's actual output, rebuilt in HTML. A screenshot would have been
 * faster and would also be a 400KB image that says nothing to a crawler; this
 * is real text, indexable, and it reflows on a phone. */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.analysis {
  position: relative;
  padding: var(--s6);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg), var(--glow);
}

.analysis-chrome {
  display: flex; align-items: center; gap: var(--s2);
  padding-bottom: var(--s5);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--border-subtle);
}
.analysis-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.analysis-chrome small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  letter-spacing: .02em;
}

.analysis-top { display: flex; gap: var(--s5); align-items: flex-start; }
.analysis-title { flex: 1; min-width: 0; }
.analysis-title h3 { margin-bottom: var(--s2); font-size: 1.0625rem; }
.analysis-title p {
  font-size: 0.8125rem; color: var(--text-tertiary);
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3);
}

/* The score dial: a conic ring, filled to the score. */
.dial {
  position: relative;
  flex: 0 0 auto;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--match-high) calc(var(--score) * 1%), var(--border-subtle) 0);
  animation: dial-fill 1.1s var(--ease-out) both;
}
.dial::before {
  content: '';
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: var(--surface-card);
}
.dial b {
  position: relative;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 1.75rem; line-height: 1;
  color: var(--text-primary);
}
.dial i {
  position: relative;
  font-style: normal;
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--match-high);
}
@keyframes dial-fill { from { --score: 0; } }
@property --score { syntax: '<number>'; inherits: true; initial-value: 0; }

.dims { margin-top: var(--s6); display: grid; gap: var(--s3); }
.dim { display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s4); align-items: center; }
.dim dt { font-size: 0.8125rem; color: var(--text-secondary); }
.dim dd {
  font-family: var(--font-mono); font-size: 0.8125rem;
  color: var(--text-primary); text-align: right;
}
.dim .bar {
  grid-column: 1 / -1;
  height: 5px; border-radius: var(--r-full);
  background: var(--bg-sunken);
  overflow: hidden;
}
.dim .bar span {
  display: block; height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  animation: bar-grow .9s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes bar-grow { from { transform: scaleX(0); } }

.flags { margin-top: var(--s6); display: grid; gap: var(--s2); }
.flag {
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  line-height: 1.45;
  background: var(--match-mid-bg);
  color: var(--text-primary);
  border: 1px solid color-mix(in srgb, var(--match-mid) 22%, transparent);
}
.flag--danger { background: var(--match-low-bg); border-color: var(--border-default); }
.flag svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: var(--match-mid); }
.flag--danger svg { color: var(--text-tertiary); }

.analysis-price {
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4);
}
.analysis-price dt { font-size: 0.75rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.analysis-price dd { font-family: var(--font-mono); font-size: 1.375rem; color: var(--text-primary); }
.analysis-price .sub { font-size: 0.75rem; color: var(--text-tertiary); font-family: var(--font-sans); }

/* ----------------------------------------------------------------- steps -- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6);
  counter-reset: step;
}


.step {
  position: relative;
  padding: var(--s7) var(--s6) var(--s6);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.step:hover { border-color: var(--border-default); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  color: var(--text-accent);
  letter-spacing: .06em;
}
.step h3 { margin-block: var(--s4) var(--s3); }
.step p { color: var(--text-secondary); font-size: 0.9375rem; }

/* --------------------------------------------------------------- feature -- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--s5);
}
.feature {
  padding: var(--s6);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.feature:hover { border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--surface-accent);
  color: var(--text-accent);
  margin-bottom: var(--s5);
  border: 1px solid var(--border-subtle);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature h3 { margin-bottom: var(--s2); }
.feature p { color: var(--text-secondary); font-size: 0.9375rem; }

/* ------------------------------------------------------- dimension tabs -- */
/* Radio inputs and :checked siblings — the tabs work with JavaScript off. */
.dimtabs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(var(--s6), 4vw, var(--s9)); align-items: start; }

/* The radios have to be siblings of .dimtabs, not children, for the
 * `:checked ~` selectors below to reach the panels — so they cannot be hidden
 * with a descendant selector. They were, and seven radio buttons showed up
 * above the tab list. */
input[name='dim'] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  /* Not display:none — a hidden input is unfocusable, and the tab list would
   * stop working for anyone using a keyboard. */
}

.dimtab-list { display: grid; gap: var(--s1); }
.dimtab-list label {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.dimtab-list label:hover { background: var(--surface-hover); color: var(--text-primary); }
.dimtab-list label .idx {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--text-tertiary);
}
.dimtab-panel { display: none; }

.dimtab-panel h3 { font-size: 1.5rem; font-family: var(--font-display); letter-spacing: -0.02em; margin-bottom: var(--s4); }
.dimtab-panel p { color: var(--text-secondary); max-width: 56ch; }
.dimtab-panel .quote {
  margin-top: var(--s6);
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--surface-accent);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.dimtab-panel .quote b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; color: var(--text-accent); text-transform: uppercase; letter-spacing: .07em; margin-bottom: var(--s2); }

#d1:checked ~ .dimtabs-body #p1, #d2:checked ~ .dimtabs-body #p2,
#d3:checked ~ .dimtabs-body #p3, #d4:checked ~ .dimtabs-body #p4,
#d5:checked ~ .dimtabs-body #p5, #d6:checked ~ .dimtabs-body #p6,
#d7:checked ~ .dimtabs-body #p7 { display: block; animation: fade-in .3s var(--ease-out) both; }

#d1:checked ~ .dimtabs-body [for='d1'], #d2:checked ~ .dimtabs-body [for='d2'],
#d3:checked ~ .dimtabs-body [for='d3'], #d4:checked ~ .dimtabs-body [for='d4'],
#d5:checked ~ .dimtabs-body [for='d5'], #d6:checked ~ .dimtabs-body [for='d6'],
#d7:checked ~ .dimtabs-body [for='d7'] {
  background: var(--surface-accent);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
#d1:focus-visible ~ .dimtabs-body [for='d1'], #d2:focus-visible ~ .dimtabs-body [for='d2'],
#d3:focus-visible ~ .dimtabs-body [for='d3'], #d4:focus-visible ~ .dimtabs-body [for='d4'],
#d5:focus-visible ~ .dimtabs-body [for='d5'], #d6:focus-visible ~ .dimtabs-body [for='d6'],
#d7:focus-visible ~ .dimtabs-body [for='d7'] { outline: 2px solid var(--border-focus); outline-offset: 2px; }

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }

/* --------------------------------------------------------------- pricing -- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
  align-items: stretch;
}


.plan {
  display: flex; flex-direction: column;
  padding: var(--s7) var(--s6) var(--s6);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.plan--featured {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  box-shadow: var(--glow);
  position: relative;
}
.plan--featured:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: var(--glow), var(--shadow-md); }
.plan-badge {
  position: absolute; top: calc(-1 * var(--s3)); left: var(--s6);
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  background: var(--accent); color: #fff;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.plan h3 { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-tertiary); }
.plan-price { display: flex; align-items: baseline; gap: var(--s2); margin-block: var(--s4) var(--s2); }
.plan-price .amount { font-family: var(--font-mono); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--text-primary); letter-spacing: -0.02em; }
.plan-price .per { font-size: 0.875rem; color: var(--text-tertiary); }
.plan-sub { font-size: 0.875rem; color: var(--text-secondary); min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin-block: var(--s6); display: grid; gap: var(--s3); }
.plan li { display: flex; gap: var(--s3); font-size: 0.9375rem; color: var(--text-secondary); align-items: flex-start; }
.plan li svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--match-high); }
.plan li b { color: var(--text-primary); font-family: var(--font-mono); font-weight: 500; }
.plan .btn { margin-top: auto; width: 100%; }

.plan-foot {
  margin-top: var(--s8);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------------- faq -- */
.faq { display: grid; gap: var(--s3); max-width: var(--prose); margin-inline: auto; }

details.qa {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
details.qa:hover { border-color: var(--border-default); }
details.qa[open] { border-color: var(--border-default); }

details.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s5) var(--s6);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  transition: background-color .15s var(--ease);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { background: var(--surface-hover); }
details.qa summary::after {
  content: '';
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.6px solid var(--text-tertiary);
  border-bottom: 1.6px solid var(--text-tertiary);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease);
}
details.qa[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details.qa .qa-body { padding: 0 var(--s6) var(--s5); color: var(--text-secondary); }
details.qa .qa-body p + p { margin-top: var(--s3); }

/* -------------------------------------------------------------- final cta -- */
.final {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  padding: clamp(var(--s9), 7vw, var(--s11)) clamp(var(--s6), 5vw, var(--s10));
  text-align: center;
  background:
    radial-gradient(120% 140% at 50% -20%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%),
    var(--surface-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
}
.final::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% -10%,
    transparent 0 66px,
    color-mix(in srgb, var(--accent) 14%, transparent) 66px 67px);
  mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}
.final > * { position: relative; }
.final .lede { margin-inline: auto; margin-block: var(--s5) var(--s7); }
.final .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--s9) var(--s8);
  background: var(--bg-sunken);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--s8) var(--s6);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}

/* Anything a finger drives gets the full 44px, and that is not a width
 * question: an 820px tablet in portrait is a touch screen that no
 * `max-width: 780px` rule was ever going to reach. */
@media (max-width: 900px), (pointer: coarse) {
  .footer-grid ul a { padding-block: 11px; }
  .footer-bottom a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--s4);
}
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: var(--s1); }
/* Scoped to the list links, not to every `a` in the footer — the brand is one
 * too, and `display: inline-block` on it stacked the wordmark under the mark.
 *
 * The padding rather than the gap does the spacing, so the hit area is the
 * whole row and not just the 19px of text. A bare link here measured 19px
 * tall, under the 24px minimum, at every screen size. */
.footer-grid ul a {
  display: inline-block;
  padding-block: 5px;
}
.footer-grid a { color: var(--text-secondary); text-decoration: none; font-size: 0.9375rem; }
.footer-grid ul a:hover, .footer-bottom a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-about p { color: var(--text-tertiary); font-size: 0.875rem; max-width: 34ch; margin-top: var(--s4); }

/* A real address rather than a contact form: someone deciding whether to trust
 * a product with their client's job posts wants to see that a person is
 * reachable, and a form does not read as one. */
.footer-contact {
  display: inline-block;
  margin-top: var(--s3);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 2px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.footer-contact:hover { color: var(--text-primary); border-bottom-color: var(--text-tertiary); }

/* The same 44px rule the footer links follow — see the note there. */
@media (max-width: 900px), (pointer: coarse) {
  .footer-contact { margin-top: var(--s4); padding-bottom: 6px; }
}

.footer-bottom {
  margin-top: var(--s9);
  padding-top: var(--s6);
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  align-items: center; justify-content: space-between;
  font-size: 0.8125rem; color: var(--text-tertiary);
}

/* --------------------------------------------------- responsive layout -- */
/* Kept together, and kept *after* the base rules they override. A media query
 * adds no specificity, so one of these sitting next to the component it
 * modifies is silently beaten by any later declaration for the same selector —
 * which is exactly what happened to the tab strip and the card padding below.
 *
 * Breakpoints are where this layout actually breaks, not where a device is:
 *   980  the hero stops fitting two columns
 *   900  three columns of prose stop being readable
 *   860  the nav stops fitting on one line
 *   740  three pricing cards stop being comparable
 *   480  a phone
 */

/* Stacked, a three-column grid becomes three full-width cards holding forty
 * words each — on a tablet that is a 780px line length, which is unreadable,
 * and a page twice as long as it needs to be. Capping the column keeps the
 * measure sane and reads as a deliberate layout rather than a broken one. */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: var(--s4);
  }
  /* Centred only under a centred heading. Under a left-aligned one the cards
   * have to keep the same left edge, or the section reads as two blocks that
   * were laid out by different people. */
  .section-head--center + .steps { margin-inline: auto; }
  .step { padding: var(--s6) var(--s6) var(--s5); }
}

@media (max-width: 900px) {
  .dimtabs { grid-template-columns: 1fr; gap: var(--s6); }

  /* A vertical list of seven full-width rows stops reading as tabs and starts
   * reading as a menu — and it costs 300px of height before the content it is
   * supposed to be switching. Horizontally it is unmistakably a tab strip. */
  .dimtab-list {
    display: flex;
    gap: var(--s2);
    overflow-x: auto;
    /* No scroll-snap. With `snap-align: start` the snapport is the padding
     * box, so the browser immediately scrolled the strip by exactly the
     * inline padding and the first tab sat flush against the screen edge,
     * out of line with every other left edge on the page. */
    padding-bottom: var(--s2);
    /* Full-bleed, so the strip visibly runs past the edge instead of ending
     * flush with the text and looking like it simply fits. */
    margin-inline: calc(-1 * clamp(var(--s5), 4vw, var(--s8)));
    padding-inline: clamp(var(--s5), 4vw, var(--s8));
    scrollbar-width: none;
  }
  .dimtab-list::-webkit-scrollbar { display: none; }

  .dimtab-list label {
    flex: 0 0 auto;
    gap: var(--s2);
    padding: var(--s3) var(--s4);
    border-radius: var(--r-full);
    border-color: var(--border-subtle);
    background: var(--surface-card);
  }
  .dimtab-panel h3 { font-size: 1.3125rem; }
}

/* Pricing is the one grid worth keeping side by side as long as it fits: the
 * whole job of a pricing table is comparison, and a stacked one makes the
 * reader hold three numbers in their head instead of seeing them at once. So
 * it tightens before it stacks. */
@media (max-width: 980px) and (min-width: 741px) {
  .plans { gap: var(--s3); }
  .plan { padding: var(--s6) var(--s5) var(--s5); }
  .plan-price .amount { font-size: 1.875rem; }
  .plan-price .per { font-size: 0.8125rem; }
  .plan-sub { font-size: 0.8125rem; }
  .plan li { font-size: 0.875rem; gap: var(--s2); }
  .plan .btn { padding-inline: var(--s3); font-size: 0.875rem; }
  .plan ul { margin-block: var(--s5); gap: var(--s2); }
}
@media (max-width: 740px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* A phone on its side has about 400px of height, and a 68px bar plus 64px of
 * section padding spends a third of it before any content. Everything gets
 * shorter rather than the header being dropped — a sticky CTA is most of the
 * point of the bar. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 52px; }
  .hero { padding-block: var(--s8) var(--s9); }
  .section { padding-block: var(--s9); }
  .final { padding-block: var(--s8); }
}

/* ----------------------------------------------------------- small phones -- */
@media (max-width: 480px) {
  /* The card's own padding was eating a sixth of the screen. */
  .analysis { padding: var(--s5); border-radius: var(--r-xl); }
  .analysis-top { gap: var(--s4); }
  /* 92px of dial against a 168px title column left the job title wrapping to
   * four lines. */
  .dial { width: 76px; height: 76px; }
  .dial::before { inset: 6px; }
  .dial b { font-size: 1.5rem; }
  .analysis-title h3 { font-size: 1rem; }
  .analysis-price { flex-wrap: wrap; gap: var(--s4); }
  .analysis-price dd { font-size: 1.25rem; }

  .btn-row .btn { width: 100%; }
  .final .btn-row .btn { width: 100%; }
  .hero-proof { gap: var(--s2) var(--s5); }

  details.qa summary { padding: var(--s4) var(--s5); }
  details.qa .qa-body { padding: 0 var(--s5) var(--s4); }
  .feature { padding: var(--s5); }
  .plan { padding: var(--s6) var(--s5) var(--s5); }
}

/* --------------------------------------------------------------- reveal -- */
/* Scroll-linked reveal with no JavaScript, where the browser supports it.
 * The fallback is not "no animation" but "already visible" — content that
 * only appears once a script runs is content a crawler and a reader with a
 * blocked script never see. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
  @supports not (animation-timeline: view()) {
    /* Scoped to a class enhance.js sets, not to a class the inline head script
     * sets: if this file loads and the enhancement script does not, hiding
     * these would leave the page permanently blank. */
    .reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
    .reveal-ready .reveal.is-in { opacity: 1; transform: none; }
  }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------------------- consent -- */
/* Anchored to the bottom rather than covering the page: this is a question,
 * not a gate. The page is readable behind it and stays readable if the script
 * that draws it never loads. */
.consent-bar {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: var(--s4);
  transform: translateX(-50%);
  width: min(680px, calc(100vw - var(--s6)));

  display: flex;
  align-items: center;
  gap: var(--s5);

  padding: var(--s4) var(--s5);
  border-radius: var(--r-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);

  animation: consent-in .32s var(--ease-out) both;
}

.consent-bar p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.consent-bar a { color: var(--text-accent); }

.consent-actions {
  display: flex;
  gap: var(--s2);
  flex: 0 0 auto;
}
.consent-actions .btn { padding: 9px var(--s4); font-size: 0.875rem; }

@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 620px) {
  .consent-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s4);
    bottom: var(--s3);
  }
  .consent-actions .btn { flex: 1; }
}

/* A choice worth asking for is a choice worth being able to hit: the compact
 * padding leaves these at 34px, under the 44px a thumb needs. */
@media (max-width: 620px), (pointer: coarse) {
  .consent-actions .btn { padding: 13px var(--s4); }
}

/* ------------------------------------------------------------ legal pages -- */
.doc { padding-block: var(--s10) var(--s11); }
.doc-inner { max-width: var(--prose); margin-inline: auto; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); margin-bottom: var(--s5); }
.doc .doc-intro { color: var(--text-secondary); font-size: 1.0625rem; padding-bottom: var(--s7); border-bottom: 1px solid var(--border-subtle); }
.doc h2 { font-size: 1.375rem; margin-top: var(--s9); margin-bottom: var(--s4); }
.doc p { color: var(--text-secondary); }
.doc ul { margin-top: var(--s4); padding-left: var(--s5); display: grid; gap: var(--s3); }
.doc li { color: var(--text-secondary); }
.doc li::marker { color: var(--text-tertiary); }
.doc-back { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.875rem; text-decoration: none; margin-bottom: var(--s7); }
.doc-back:hover { text-decoration: underline; }

/* -------------------------------------------------------------- 404 page -- */
.notfound { min-height: 68vh; display: grid; place-items: center; text-align: center; padding-block: var(--s10); }
.notfound .code { font-family: var(--font-mono); font-size: 3.5rem; color: var(--text-accent); }
