/* ============================================================
   Novamerx — Design tokens
   ============================================================ */
:root {
  --ink: #0A0E14;
  --surface: #12181F;
  --surface-2: #1B222C;
  --brand-blue: #2F6FED;
  --brand-blue-light: #5B8FF5;
  --accent-red: #E8422C;
  --accent-amber: #F2A93B;
  --accent-green: #3CAE49;
  --slate: #8B99AE;
  --slate-dim: #5E6B7E;
  --paper: #F5F7FA;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --max-width: 1280px;
  --radius: 8px;
  --radius-sm: 4px;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* subtle film grain, disabled on small screens for perf */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  body::after { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(47, 111, 237, 0.5);
}
.btn-primary:hover { background: var(--brand-blue-light); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-large { padding: 18px 40px; font-size: 1.05rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 14, 20, 0.92);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.site-nav { display: flex; gap: var(--space-4); margin-right: auto; margin-left: var(--space-5); }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--paper); }

.header-inner .btn-primary { margin-left: var(--space-3); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) clamp(20px, 5vw, 48px) var(--space-4);
  background: rgba(10, 14, 20, 0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a { font-size: 1rem; color: var(--paper); }
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-inner .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: var(--space-7);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
.hero-orb-1 { top: -10%; right: -8%; width: 480px; height: 480px; background: rgba(47, 111, 237, 0.22); }
.hero-orb-2 { bottom: -12%; left: -6%; width: 380px; height: 380px; background: rgba(242, 169, 59, 0.13); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: var(--space-3);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }

.hero-headline {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight: 800;
}
.hero-headline .accent { color: var(--brand-blue-light); }

.hero-sub {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--slate);
  margin-top: var(--space-4);
  font-weight: 400;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* Hero visual — sits BELOW the headline/copy, full width. Plays the
   intro video, then the brand reveal, holds on the logo for a beat,
   then hands off to a horizontal slideshow of The Value page's own
   content, before looping back to the video. See script.js. */
.hero-visual {
  position: relative;
  margin: var(--space-6) auto 0;
  max-width: 920px;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.hero-video-card, .hero-slides-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  transition: opacity 0.5s ease;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0) 55%, rgba(10, 14, 20, 0.35) 100%);
  pointer-events: none;
}

.hero-slides-card { opacity: 0; pointer-events: none; cursor: pointer; }
.hero-visual.show-slides .hero-video-card { opacity: 0; pointer-events: none; }
.hero-visual.show-slides .hero-slides-card { opacity: 1; pointer-events: auto; }

.hero-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3) var(--space-5);
  gap: 10px;
  background: var(--ink);
}

.hero-slide-kicker {
  color: var(--brand-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  font-weight: 700;
}
.hero-slide-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  color: #fff;
  line-height: 1.2;
  max-width: 42ch;
}
.hero-slide-para {
  color: var(--slate);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  max-width: 46ch;
  line-height: 1.3;
}
.hero-slide-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  color: #fff;
  line-height: 1.2;
  max-width: 38ch;
}
.hero-slide-subtext {
  color: var(--slate);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  max-width: 40ch;
  line-height: 1.4;
}
.hero-slide-caption {
  color: var(--slate-dim);
  font-size: 0.72rem;
  font-style: italic;
}

.hero-mini-stats {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  width: 100%;
  max-width: 560px;
}
.hero-mini-stat {
  flex: 1;
  min-width: 0;
  border-top: 3px solid var(--mini-accent, var(--brand-blue));
  padding-top: 8px;
  text-align: left;
}
.hero-mini-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 19px);
  color: #fff;
  white-space: nowrap;
}
.hero-mini-stat-label {
  color: var(--slate);
  font-size: 0.66rem;
  line-height: 1.3;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .hero-mini-stats { gap: var(--space-2); }
  .hero-mini-stat-label { display: none; }
}

/* The card is locked to a fixed 16:9 height (it also holds the video),
   so on narrow screens the clamp()-scaled slide text no longer has
   room to breathe — cap it hard rather than let it overflow the card. */
@media (max-width: 760px) {
  .hero-slide { padding: var(--space-2) var(--space-4); gap: 6px; }
  .hero-slide-statement { font-size: 1.05rem; line-height: 1.25; }
  .hero-slide-heading { font-size: 0.95rem; line-height: 1.25; }
  .hero-slide-para { font-size: 0.8rem; max-width: 34ch; line-height: 1.3; }
  .hero-slide-subtext { font-size: 0.68rem; }
  .hero-slide-kicker { font-size: 0.68rem; }
  .hero-slide-caption { font-size: 0.6rem; }
  .hero-mini-stat-value { font-size: 0.72rem; }
}

/* Browsers block unmuted autoplay, so the video always starts muted —
   this toggle is how a visitor opts in to hear the voiceover. */
.hero-sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-sound-toggle:hover { background: rgba(10, 14, 20, 0.75); border-color: rgba(255, 255, 255, 0.32); }
.hero-sound-toggle .icon-unmuted { display: none; }
.hero-sound-toggle:not(.is-muted) .icon-muted { display: none; }
.hero-sound-toggle:not(.is-muted) .icon-unmuted { display: block; }
.hero-sound-toggle:not(.is-muted) { border-color: var(--brand-blue-light); }

/* Play/pause + seek — lets a visitor stop the video or move through
   it instead of only ever watching it autoplay start to finish. */
.hero-video-controls {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-ctrl-btn:hover { background: rgba(10, 14, 20, 0.75); border-color: rgba(255, 255, 255, 0.32); }
.hero-ctrl-btn .icon-play { display: none; }
.hero-ctrl-btn.is-paused .icon-pause { display: none; }
.hero-ctrl-btn.is-paused .icon-play { display: block; }

/* Previous/next arrows on both slide carousels (hero + Value page) */
.hero-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-slide-nav:hover { background: rgba(10, 14, 20, 0.75); border-color: rgba(255, 255, 255, 0.32); }
.hero-slide-prev { left: 14px; }
.hero-slide-next { right: 14px; }

@media (max-width: 900px) {
  .hero-content { max-width: none; }
}

@media (max-width: 760px) {
  .hero { padding-top: 120px; }
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, var(--slate));
  z-index: 1;
}
.scroll-cue span {
  position: absolute; top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  animation: cue-drop 2s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { top: 0; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   Capability strip
   ============================================================ */
.capability-strip {
  padding-top: 140px;
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.cap-item { position: relative; padding-top: var(--space-2); }
.cap-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  border-radius: 2px;
  background: var(--card-accent, var(--brand-blue));
}
.cap-item:nth-child(4n+1) { --card-accent: var(--brand-blue); }
.cap-item:nth-child(4n+2) { --card-accent: var(--accent-amber); }
.cap-item:nth-child(4n+3) { --card-accent: var(--accent-green); }
.cap-item:nth-child(4n+4) { --card-accent: var(--accent-red); }
.cap-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--paper);
}
.cap-label {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--slate);
  max-width: 26ch;
}
.cap-caption {
  text-align: center;
  color: var(--slate-dim);
  font-size: 0.85rem;
  margin-top: var(--space-5);
  font-style: italic;
}

.standards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.standard-chip {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
}

@media (max-width: 760px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   "The Journey" — Problem/Bottleneck/Unlock/Payoff/Hours-Back
   slide carousel. Same mechanism as the hero's value slideshow
   (auto-advance + click-to-advance, see script.js) and reuses its
   slide content classes (hero-slide-kicker etc.) so both carousels
   stay visually identical.
   ============================================================ */
.value-slideshow {
  position: relative;
  background: var(--ink);
  padding-block: var(--space-7);
}

.value-slides-card {
  position: relative;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}

.value-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Section shared
   ============================================================ */
section { padding-block: var(--space-8); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 20ch;
  margin-top: var(--space-2);
}
.section-lede {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 60ch;
  margin-top: var(--space-3);
}

/* ============================================================
   Pillars
   ============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, var(--brand-blue));
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.45);
}
.pillar-card[data-accent="red"] { --card-accent: var(--accent-red); }
.pillar-card[data-accent="amber"] { --card-accent: var(--accent-amber); }
.pillar-card[data-accent="green"] { --card-accent: var(--accent-green); }

.pillar-top { display: flex; align-items: center; justify-content: space-between; }
.pillar-index { font-family: var(--font-display); font-size: 0.85rem; color: var(--slate-dim); font-weight: 700; }

.status-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-live { background: rgba(60, 174, 73, 0.15); color: var(--accent-green); }
.status-roadmap { background: rgba(242, 169, 59, 0.15); color: var(--accent-amber); }

.pillar-card h3 { font-size: 1.4rem; margin-top: var(--space-1); }
.pillar-desc { color: var(--slate); font-size: 0.95rem; }
.pillar-features { display: flex; flex-direction: column; gap: 10px; margin-top: var(--space-2); }
.pillar-features li {
  font-size: 0.85rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.pillar-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--card-accent, var(--brand-blue));
}

@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Origin story
   ============================================================ */
.origin-story { padding-bottom: 0; }
.origin-copy {
  max-width: 68ch;
  margin: var(--space-6) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.origin-copy p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}
.origin-copy strong { color: var(--paper); font-weight: 600; }
.origin-pullquote {
  position: relative;
  margin: var(--space-2) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent-red);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.4;
}
.origin-stat-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block: var(--space-3);
}
.origin-stat {
  background: var(--ink);
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, var(--brand-blue));
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-4);
  text-align: center;
}
.origin-stat-label { max-width: 62ch; margin-inline: auto; }
.origin-stat:nth-child(1) { --card-accent: var(--accent-red); }
.origin-stat:nth-child(2) { --card-accent: var(--accent-amber); }
.origin-stat:nth-child(3) { --card-accent: var(--accent-green); }
.origin-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--paper);
}
.origin-stat-label {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--slate);
}


/* ============================================================
   Founders
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.founder-grid-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, var(--brand-blue));
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.45);
}
.founder-card:nth-child(1) { --card-accent: var(--accent-amber); }
.founder-card:nth-child(2) { --card-accent: var(--brand-blue); }
.founder-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  margin-bottom: var(--space-3);
}
.founder-cred { color: var(--brand-blue-light); font-size: 0.85rem; margin-top: 4px; }
.founder-bio { margin-top: var(--space-3); color: var(--slate); font-size: 0.95rem; }
.founder-linkedin {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue-light);
}
.founder-linkedin:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Roadmap timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 760px;
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 1px solid var(--border-strong);
}
.timeline-item { position: relative; padding-bottom: var(--space-6); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: calc(var(--space-4) * -1 - 4.5px);
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
}
.timeline-item.is-now .timeline-dot {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.2);
}
.timeline-phase {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-item.is-now .timeline-phase { color: var(--brand-blue-light); }
.timeline-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline-item p { color: var(--slate); font-size: 0.95rem; }

/* ============================================================
   Trust
   ============================================================ */
.trust { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.trust-card {
  background: var(--ink);
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, var(--brand-blue));
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.45);
}
.trust-card:nth-child(4n+1) { --card-accent: var(--accent-green); }
.trust-card:nth-child(4n+2) { --card-accent: var(--brand-blue); }
.trust-card:nth-child(4n+3) { --card-accent: var(--accent-amber); }
.trust-card:nth-child(4n+4) { --card-accent: var(--accent-red); }
.trust-card h3 { font-size: 1.1rem; }
.trust-card p { margin-top: var(--space-2); color: var(--slate); font-size: 0.9rem; }

@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: var(--space-8);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 320px;
  background: radial-gradient(ellipse at center, rgba(60, 174, 73, 0.14) 0%, rgba(47, 111, 237, 0.1) 45%, transparent 75%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
}
.final-cta p {
  color: var(--slate);
  font-size: 1.15rem;
  margin-top: var(--space-3);
}
.final-cta .btn { margin-top: var(--space-5); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-5);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 0.8rem; color: var(--slate-dim); }
.footer-contact a { color: var(--brand-blue-light); font-weight: 600; font-size: 0.9rem; }
.footer-legal { color: var(--slate-dim); font-size: 0.8rem; }

/* ============================================================
   Scroll reveal (base state, animated via JS)
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; }
  .scroll-cue span { animation: none; }
}

/* ============================================================
   Link-styled buttons (used inline in copy, e.g. cookie prefs)
   ============================================================ */
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--brand-blue-light);
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================================
   Modals — contact / early-access / cookie preferences
   ============================================================ */
.btn { font-family: inherit; }

body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - var(--space-5));
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-block: auto;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
}
.modal-box h3 {
  font-size: 1.5rem;
  padding-right: var(--space-5);
}
.modal-sub {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}
.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--paper);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.06); }

form[data-form] { display: flex; flex-direction: column; gap: var(--space-3); }
form[data-form] label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}
form[data-form] input,
form[data-form] textarea,
form[data-form] select {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
form[data-form] input:focus,
form[data-form] textarea:focus,
form[data-form] select:focus {
  outline: none;
  border-color: var(--brand-blue);
}
form[data-form] textarea { resize: vertical; min-height: 72px; }
form[data-form] .btn { margin-top: var(--space-1); }
.modal-consent { font-size: 0.78rem; color: var(--slate-dim); line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-status {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* Cookie preferences rows (inside #modal-cookie-prefs) */
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-top: 1px solid var(--border);
}
.cookie-pref-row:first-of-type { border-top: none; }
.cookie-pref-row strong { font-size: 0.95rem; }
.cookie-pref-row p { margin-top: 2px; font-size: 0.8rem; color: var(--slate); }
.cookie-pref-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
#modal-cookie-prefs [data-cookie-save] { margin-top: var(--space-4); }

/* ============================================================
   GDPR cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 250;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; font-size: 0.85rem; color: var(--slate); margin: 0; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.footer-cookie-link { font-size: 0.8rem; }
