/* =========================================================
   Gevond — landing page styles (v2)
   Premium dark / editorial. Restraint via omission, whitespace,
   oversized headlines, and accent discipline: gold appears
   once or twice per viewport — everywhere else is neutral.

   uiverse.io components adapted to our tokens (full citations
   in the relevant sections below):
     · Glowing layer cards   — see ".layer-card"
     · Circular score gauge  — see ".gauge"
     · Language toggle switch — see ".switch"
     · Animated arrow button  — see ".btn-arrow"
     · Loader / spinner       — see ".spinner"
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Accent — House Arrow / FORGELINE gold, used sparingly */
  --accent: #d4af37;
  --accent-hover: #e6c349;
  --accent-dim: rgba(212, 175, 55, 0.14);
  --accent-line: rgba(212, 175, 55, 0.30);
  --accent-glow: rgba(212, 175, 55, 0.45);
  --on-accent: #0A0E12;

  /* Surfaces (cool near-black) */
  --bg: #0A0E12;
  --bg-2: #0C1117;
  --surface: #121821;
  --surface-2: #1A222D;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #F2F5F7;
  --text-muted: #8A95A1;
  --text-faint: #828E9B; /* AA on every surface incl. surface-2 (>=4.5) */

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --maxw: 1320px;
  --pad: clamp(20px, 5vw, 80px);
  --section-y: clamp(80px, 12vh, 160px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.accent { color: var(--accent); }

/* Tiny uppercase label — the home for the gold accent */
.caption,
.kicker,
.stat-cap,
.feature-step,
.sc-score-name,
.sc-gap-cat,
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-xs) 0;
  font-weight: 600;
  z-index: 300;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 34px -16px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Animated arrow CTA
   Adapted from uiverse.io "curly-crab-71" by vinodjangid07
   (https://uiverse.io/vinodjangid07/curly-crab-71): a worded button whose
   arrow animates on hover. Ported to vanilla CSS + our tokens — here the
   arrow nudges right on hover/focus (held still under reduced-motion). */
.btn-arrow .arrow {
  transition: transform .25s var(--ease);
}
.btn-arrow:hover .arrow,
.btn-arrow:focus-visible .arrow { transform: translateX(4px); }

/* ---------- Language toggle switch ----------
   Adapted from uiverse.io "horrible-shrimp-47" by Voxybuns
   (https://uiverse.io/Voxybuns/horrible-shrimp-47): a CSS-variable-driven
   pill slider with a raised thumb that lifts on hover. Ported to vanilla
   CSS, recoloured to our accent, and made keyboard- and screen-reader-
   accessible via a real checkbox with role="switch". */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.lang-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.switch {
  --sw-w: 44px;
  --sw-h: 24px;
  --thumb: 18px;
  position: relative;
  display: inline-block;
  width: var(--sw-w);
  height: var(--sw-h);
  flex: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.slider {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.slider::before {
  content: "";
  position: absolute;
  width: var(--thumb);
  height: var(--thumb);
  left: 2px;
  top: 50%;
  background: var(--text);
  border-radius: 50%;
  /* raised "3D" thumb (Voxybuns) — a hard shadow that lifts on hover */
  transform: translateY(-50%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.switch:hover .slider::before { box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.switch input:checked + .slider {
  background: var(--accent-dim);
  border-color: var(--accent-line);
}
.switch input:checked + .slider::before {
  transform: translate(calc(var(--sw-w) - var(--thumb) - 4px), -50%);
  background: var(--accent);
}
.switch input:focus-visible + .slider {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 18, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}
.brand-name { font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { flex: none; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s ease;
}
.site-nav > a { position: relative; }
/* link underline-wipe on hover */
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.site-nav > a:not(.nav-cta):hover { color: var(--text); }
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.site-nav .nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--accent-dim); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 16vh, 200px) 0 clamp(80px, 12vh, 150px);
  border-bottom: 1px solid var(--border);
}
.hero-glow {
  position: absolute;
  top: -28%;
  left: 50%;
  width: min(1000px, 130%);
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: translateX(-54%) translateY(-10px) scale(1); }
  100% { transform: translateX(-46%) translateY(18px) scale(1.08); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0; padding: 0;
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 500;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.scroll-cue-dot {
  width: 4px; height: 8px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 999px;
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(-2px); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vh, 80px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--accent); margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
}
.section-lead { color: var(--text-muted); font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 2.5vw, 36px);
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 18px;
}
.stat-unit { font-size: 0.5em; margin-left: 2px; }
.stat-cap { color: var(--text); margin-bottom: 12px; max-width: 24ch; }
.stat-src { font-size: 13px; color: var(--text-faint); letter-spacing: 0; text-transform: none; }

.disclaimer {
  margin-top: 30px;
  font-size: 14px;
  color: var(--text-faint);
  max-width: 820px;
  border-left: 2px solid var(--border-strong);
  padding-left: 18px;
}

/* ---------- Glowing layer cards ----------
   Adapted from uiverse.io "dangerous-quail-58" by bhaveshxrawat
   (https://uiverse.io/bhaveshxrawat/dangerous-quail-58): a gradient bar
   rotating behind the card, with an inset inner surface, yields an
   animated glowing border. Ported to vanilla CSS, recoloured to a single
   accent gradient, and kept restrained — calm at rest, the ring only
   spins up on hover/focus (and not at all under reduced-motion). */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.layer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--border-strong); /* shows as the 1px gap = faint border at rest */
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* the rotating accent light-bar (bhaveshxrawat technique) */
.layer-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 150%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
@keyframes cardSpin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.layer-card:hover,
.layer-card:focus-within { transform: translateY(-6px); box-shadow: 0 30px 80px -30px var(--accent-glow); }
.layer-card:hover::before,
.layer-card:focus-within::before { opacity: .85; animation: cardSpin 5s linear infinite; }

.layer-card-inner {
  position: relative;
  z-index: 1;
  margin: 1px;               /* the 1px gap the glow shines through */
  border-radius: calc(var(--radius) - 1px);
  background: var(--surface);
  padding: clamp(28px, 3vw, 38px);
  height: calc(100% - 2px);
}
.card-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.layer-card h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 14px; font-weight: 600; }
.layer-card p { color: var(--text-muted); font-size: 16px; }

/* ---------- Scorecard ---------- */
.scorecard-section { position: relative; }
.scorecard {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.scorecard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, var(--accent-dim), transparent 55%);
  pointer-events: none;
}
.scorecard > * { position: relative; z-index: 1; }
.scorecard-noscript { color: var(--text-muted); text-align: center; }

/* Quiz */
.sc-progress { margin-bottom: 28px; }
.sc-progress-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.sc-progress-track {
  height: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.sc-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width .5s var(--ease);
}

.sc-fieldset { border: 0; margin: 0; padding: 0; }
.sc-question {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 26px;
  padding: 0;
  outline: none;
}
.sc-question:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.sc-options { display: grid; gap: 12px; }
.sc-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease);
}
.sc-option:hover { border-color: var(--accent-line); transform: translateX(2px); }
.sc-radio {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.sc-option-mark {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  position: relative;
  transition: border-color .2s ease;
}
.sc-option-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .2s var(--ease);
}
.sc-option-text { font-size: 16px; color: var(--text); }
.sc-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.sc-option.is-selected .sc-option-mark { border-color: var(--accent); }
.sc-option.is-selected .sc-option-mark::after { transform: scale(1); }
/* keyboard focus on the visually-hidden radio lights up its option */
.sc-radio:focus-visible + .sc-option-mark {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sc-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}
.sc-next { margin-left: auto; }

/* Loader / spinner ----------
   Adapted from uiverse.io "quiet-zebra-41" by Fernando-sv
   (https://uiverse.io/Fernando-sv/quiet-zebra-41): a minimal ring with one
   transparent segment spinning. Ported to vanilla CSS; the near-black border
   is recoloured to a dark track + accent segment for our dark theme (the
   component author's own note). Reduced-motion users get a static ring. */
.sc-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(40px, 8vw, 90px) 0;
  text-align: center;
}
.spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid var(--surface-2);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sc-loader-text { color: var(--text-muted); font-size: 17px; }

/* Result */
.sc-result-top {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.sc-gauge-col { text-align: center; }

/* Circular score gauge ----------
   Inspired by the score circle in uiverse.io "spotty-firefox-94" by
   sabbircoder07 (https://uiverse.io/sabbircoder07/spotty-firefox-94) — its
   "NN / of 100" result circle. uiverse had no determinate conic ring, so
   (per the component author's own suggested adaptation) this is reimplemented
   as an accessible SVG arc (stroke-dashoffset): exact, animatable, and
   exposed via aria-label. The "of 100" caption mirrors the source. */
.gauge-wrap {
  position: relative;
  width: clamp(200px, 26vw, 240px);
  margin: 0 auto 18px;
  aspect-ratio: 1;
}
.gauge { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track {
  fill: none;
  stroke: var(--surface-2);
  stroke-width: 14;
}
.gauge-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: stroke-dashoffset 1.1s var(--ease);
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.gauge-num {
  font-size: clamp(48px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.gauge-of { font-size: 13px; color: var(--text-faint); margin-top: 6px; letter-spacing: 0.04em; }

.sc-score-name { color: var(--accent); margin-bottom: 10px; }
.sc-tier { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.sc-tier-desc { color: var(--text-muted); font-size: 16px; max-width: 34ch; margin: 0 auto; }

.sc-gaps-title { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.sc-gaps-perfect { color: var(--text-muted); }
.sc-gaps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: gap; }
.sc-gap {
  display: grid;
  gap: 6px;
  padding-left: 40px;
  position: relative;
  counter-increment: gap;
}
.sc-gap::before {
  content: counter(gap);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
}
.sc-gap-cat { color: var(--accent); }
.sc-gap-text { color: var(--text-muted); font-size: 15px; }

/* Email gate */
.sc-gate {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--border);
}
.sc-gate-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin-bottom: 12px; }
.sc-gate-lead { color: var(--text-muted); margin-bottom: 26px; max-width: 56ch; }
.sc-gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 18px;
}
.sc-gate-privacy { color: var(--text-faint); margin-top: 14px; letter-spacing: 0.04em; }
.sc-gate-success { color: var(--accent); }

.sc-restart {
  display: inline-block;
  margin-top: 26px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.sc-restart:hover { color: var(--accent); }

/* ---------- Shared form fields ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input:user-invalid { border-color: #ff6b6b; }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.2em;
  color: var(--accent);
}
.form-status.error { color: #ff8a8a; }

/* ---------- Alternating feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(56px, 9vw, 110px);
}
.feature-row:last-of-type { margin-bottom: clamp(40px, 6vw, 72px); }
.feature-row-reverse .feature-text { order: 2; }
.feature-row-reverse .feature-media { order: 1; }

.feature-step { color: var(--accent); margin-bottom: 16px; }
.feature-text h3 { font-size: clamp(24px, 2.8vw, 38px); font-weight: 700; margin-bottom: 16px; }
.feature-text > p { color: var(--text-muted); font-size: 17px; margin-bottom: 22px; max-width: 46ch; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 10px;
  width: 4px; height: 7px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Dark UI mock-ups */
.feature-media { min-width: 0; }
.mock {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.mock-line { display: block; height: 10px; border-radius: 999px; background: var(--border-strong); }
.mock-line.w40 { width: 40%; } .mock-line.w50 { width: 50%; } .mock-line.w60 { width: 60%; }
.mock-line.w70 { width: 70%; } .mock-line.w80 { width: 80%; } .mock-line.w90 { width: 90%; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-bar { display: flex; align-items: center; gap: 10px; }
.mock-pin { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); flex: none; }
.mock-map { height: 96px; border-radius: 10px; background:
  radial-gradient(circle at 60% 40%, var(--accent-dim), transparent 40%),
  repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px),
  var(--bg); border: 1px solid var(--border); }
.mock-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.mock-mut { color: var(--text-faint); font-size: 13px; letter-spacing: 0; }
.mock-badge { font-size: 12px; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 10px; background: var(--accent-dim); }

.mock-chat { gap: 16px; }
.mock-chat-q { background: var(--bg); border: 1px solid var(--border); border-radius: 12px 12px 12px 4px; padding: 14px 16px; }
.mock-chat-a { display: flex; gap: 12px; align-items: flex-start; }
.mock-ai-dot { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent-line); box-shadow: 0 0 12px var(--accent-glow); }
.mock-chat-bubble { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px 12px 12px 12px; padding: 16px; flex: 1; }
.mock-rec { color: var(--accent); font-size: 14px; font-weight: 600; }
.mock-rec strong { color: var(--text); }

.mock-report-head { display: flex; align-items: center; justify-content: space-between; }
.mock-pill-up { color: var(--accent); font-size: 13px; font-weight: 700; background: var(--accent-dim); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 11px; }
.mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 92px; padding: 6px 0; }
.mock-bars .mb { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px 6px 0 0; }
.mb1 { height: 38%; } .mb2 { height: 52%; } .mb3 { height: 46%; }
.mb4 { height: 68%; } .mb5 { height: 82%; }
.mb6 { height: 100%; background: var(--accent-dim); border-color: var(--accent-line); }
.mock-tag-ok { font-size: 12px; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-dim); border-radius: 999px; padding: 3px 10px; }

/* ---------- Pills ---------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0; padding: 0;
}
.pill {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.contact-intro h2 { font-size: clamp(28px, 3.6vw, 48px); margin-bottom: 18px; }
.contact-direct { margin-top: 22px; font-size: 17px; color: var(--text-muted); }
.contact-direct a { font-weight: 600; }
.contact-test-cta { margin-top: 26px; }
.contact-note { margin-top: 18px; font-size: 14px; color: var(--text-faint); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: clamp(56px, 8vw, 90px) 0 clamp(40px, 5vw, 64px);
}
.footer-tagline { margin-top: 16px; color: var(--text-muted); max-width: 30ch; }
.footer-cols { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { color: var(--text-faint); margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }

/* Full-bleed closing band with subtle gold glow */
.footer-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 140% at 50% 120%, var(--accent-dim), transparent 70%),
    var(--bg);
}
.footer-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(36px, 5vw, 60px) var(--pad);
}
.footer-band-line {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-band-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 14px;
}
.footer-band-meta .brand-name { font-size: 16px; color: var(--text); }
.footer-kvk, .copyright { letter-spacing: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--pad) 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > a { padding: 12px 4px; font-size: 16px; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { text-align: center; margin-top: 6px; }
  .lang-toggle { margin: 12px 0 0; justify-content: flex-start; }

  .cards { grid-template-columns: 1fr; }
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row-reverse .feature-text,
  .feature-row-reverse .feature-media { order: initial; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: 0; }
  .sc-result-top { grid-template-columns: 1fr; text-align: center; }
  .sc-tier-desc { margin-left: auto; margin-right: auto; }
  .sc-gaps { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .sc-gate-grid { grid-template-columns: 1fr; }
  .sc-actions { flex-direction: column-reverse; }
  .sc-actions .btn { width: 100%; }
  .sc-next { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
  .scroll-cue-dot { animation: none; opacity: .6; }
  .spinner { animation: none; border-top-color: var(--accent); }
  /* Card: no spinning light-bar — show a calm static accent border instead. */
  .layer-card:hover::before,
  .layer-card:focus-within::before { opacity: 0; }
  .layer-card:hover .layer-card-inner,
  .layer-card:focus-within .layer-card-inner { box-shadow: inset 0 0 0 1px var(--accent-line); }
}
