/* ============================================================
   RAVENNA AES67 Recorder – Website Stylesheet
   Palette derived from the desktop GUI (JuceApp.cpp)
   ============================================================ */

:root {
  --bg:             #0F1115;
  --panel:          #171A21;
  --accent:         #3DDC84;
  --accent-dim:     #2ca668;
  --text:           #D6D9E0;
  --text-dim:       #7A7F8C;
  --header-line:    #252830;
  --table-bg:       #1B2128;
  --record-red:     #B11824;
  --safe-amber:     #B77612;
  --tc-green:       #00FF88;
  --link-blue:      #64B5F6;
  --radius:         8px;
  --max-w:          1180px;
}

/* ── Reset & Base ────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* #12 Typography: Space Grotesk for headings, Inter for body */
h1, h2, h3, h4, .hero-subtitle, .kpi-number {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tc-green); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--bg); }

/* ── Navigation ──────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 17, 21, .92);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--header-line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: .02em;
  text-transform: none;
}

.nav-brand .dot { color: var(--accent); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }

.nav-links a {
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.5rem; cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 6rem 1.5rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* #4 Hero split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: var(--max-w);
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Left-align hero content in split mode */
.hero-split .hero-title-row  { justify-content: flex-start; }
.hero-split .tagline          { text-align: left; margin-left: 0; margin-right: 0; max-width: 100%; }
.hero-split .hero-standards   { max-width: 100%; }
.hero-split .hero-actions     { justify-content: flex-start; }

/* Right side: screenshot frame */
.hero-right {
  position: relative;
}

.hero-screenshot-frame {
  border-radius: 12px 12px 8px 8px;
  overflow: hidden;
  border: 1px solid var(--header-line);
  box-shadow: 0 4px 8px rgba(0,0,0,.15),
              0 0 0 6px var(--panel),
              0 0 0 7px rgba(61,220,132,.1),
              0 24px 60px rgba(0,0,0,.5);
}

.hero-screenshot-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero { text-align: center; }
  .hero-split .tagline { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-split .hero-title-row { justify-content: center; }
  .hero-right { display: none; } /* hide screenshot on mobile */
}

/* Mesh grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,220,132,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,132,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Radial accent glow */
.hero::after {
  content: '';
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(61,220,132,.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.hero-title-text { text-align: left; }

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
  margin-bottom: .3rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .03em;
}

.hero .tagline {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
  text-align: center;
}

/* Standards strip — dark panel matching site theme */
.hero-standards {
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 2rem 2rem;
  background: var(--panel);
  border-top: 1px solid var(--header-line);
  border-bottom: 1px solid var(--header-line);
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.hero-standards .standards-strip {
  gap: .8rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Logos inverted white on dark panel */
.hero-standards .standard-logo img {
  max-height: 80px;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity .25s;
}

.hero-standards .standard-logo:hover img {
  opacity: 1;
}

[data-theme="light"] .hero-standards {
  background: var(--panel);
  border-color: var(--header-line);
}

[data-theme="light"] .hero-standards .standard-logo img {
  filter: none;
  opacity: .85;
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,220,132,.5); }
  50%       { box-shadow: 0 0 18px 4px rgba(61,220,132,.18); }
}
.btn-primary:hover {
  background: var(--tc-green);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61, 220, 132, .3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--header-line);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Sections ────────────────────────────────────────────── */

section { padding: 5rem 1.5rem; }

/* Ensure anchor links clear the fixed nav bar */
section[id], header[id] { scroll-margin-top: 70px; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* #5 Section header — larger, bolder */
.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.section-header h2 .accent { color: var(--accent); }

.section-header p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

.divider {
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* Dividers hidden inside section-headers — whitespace separates sections */
.section-header .divider { display: none; }

/* ── Alternating section backgrounds ─────────────────────── */

#about      { background: var(--panel); }
#screenshots { background: var(--panel); }
#partnership { background: var(--panel); }
/* team, hero, features(panel set above), specs, roadmap, contact use --bg */



.about-text {
  max-width: 780px;
  margin: 0 auto;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text p strong { color: var(--text); }

/* ── Standards Logo Strip ─────────────────────────────────── */

#standards { background: var(--panel); }

/* 6-column grid: every logo gets an equal column — guarantees one single row */
.standards-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 1.5rem 2rem;
}

.standard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* All STAGETEC partner logos share the same 1181×591 (2:1) RGBA format —
   fit each into its column while capping height at 70px */
.standard-logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity .25s;
}

.standard-logo:hover img { opacity: 1; }

@media (max-width: 900px) {
  .standards-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
  .standard-logo img { max-height: 50px; }
}

@media (max-width: 480px) {
  .standards-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Features ────────────────────────────────────────────── */

#features { background: var(--panel); }

/* #6 Feature cards — clean 2×4 grid on desktop */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* #10 Feature cards — left accent border style, no top/right/bottom border decoration */
.feature-card {
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-left-color .25s, background .25s;
}

.feature-card:hover {
  border-left-color: var(--accent);
  background: rgba(61,220,132,.03);
}

/* #4 Feature icons — neutral background, less saturated green */
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  color: var(--accent);
  background: rgba(61,220,132,.08);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .45rem;
  color: var(--text);
}

.feature-card p {
  font-size: .875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── KPI Strip ───────────────────────────────────────────── */

.kpi-strip {
  background: rgba(61,220,132,.04);
  border-top: 1px solid rgba(61,220,132,.15);
  border-bottom: 1px solid rgba(61,220,132,.15);
  padding: 2.2rem 1.5rem;
}

.kpi-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .6rem 2.8rem;
  border-right: 1px solid var(--header-line);
}
.kpi-item:last-child { border-right: none; }

/* #9 KPI — numbers in primary text, accent on label */
.kpi-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.05;
}

.kpi-label {
  font-size: .72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .35rem;
  white-space: nowrap;
  font-weight: 600;
}

/* ── Specs ───────────────────────────────────────────────── */

#specs { background: var(--panel); }

.specs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--header-line);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.specs-table thead {
  background: var(--bg);
}

.specs-table th,
.specs-table td {
  padding: .85rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--header-line);
}

.specs-table th {
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .06em;
}

.specs-table td { color: var(--text-dim); }

.specs-table tbody tr { background: transparent; }

.specs-extra {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: center;
}

.spec-pill {
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--header-line);
  font-size: .85rem;
  color: var(--text-dim);
}

.spec-pill strong { color: var(--text); }

/* ── Slideshow / Diaporama ────────────────────────────────── */

.slideshow {
  max-width: 960px;
  margin: 0 auto;
}

.slideshow-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Plain screenshot frame — no OS chrome */
.slideshow-img-wrap {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--header-line);
  background: var(--panel);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  position: relative;
}
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
  transition: opacity .3s;
}

.slideshow-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--header-line);
  color: var(--text);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.slideshow-arrow:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.slideshow-caption {
  text-align: center;
  padding: .8rem 1rem 0;
  font-size: .85rem;
  color: var(--text-dim);
  min-height: 2.5em;
}

.slideshow-counter {
  text-align: center;
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .3rem;
}

/* #10 Screenshot thumbnails — replace dots with image strip */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.slideshow-dot {
  width: 80px; height: 50px;
  border-radius: 6px;
  border: 2px solid var(--header-line);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  flex-shrink: 0;
}

.slideshow-dot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.slideshow-dot.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.slideshow-dot:hover { transform: translateY(-2px); border-color: var(--text-dim); }
.slideshow-dot.active:hover { border-color: var(--accent); }

@media (max-width: 768px) {
  .slideshow-dot { width: 52px; height: 34px; }
}

/* ── Lightbox ────────────────────────────────────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  color: var(--text); font-size: 2rem;
  cursor: pointer; line-height: 1;
  transition: color .2s;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-caption {
  position: absolute; bottom: 1.5rem;
  left: 50%; transform: translateX(-50%);
  color: var(--text-dim);
  font-size: .85rem;
  text-align: center;
  max-width: 80vw;
  background: rgba(15, 17, 21, .8);
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
}

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(23, 26, 33, .7);
  border: 1px solid var(--header-line);
  color: var(--text);
  font-size: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.lightbox-nav:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ── Team ────────────────────────────────────────────────── */

#team { background: var(--panel); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .25s;
}

.team-card:hover { border-color: var(--accent); }

.team-card .role {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(61, 220, 132, .12);
  color: var(--accent);
  margin-bottom: .8rem;
}

.team-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }

.team-card .title {
  color: var(--text-dim);
  font-size: .88rem;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.55;
}

.team-story {
  max-width: 780px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.8;
  font-style: italic;
  border-top: 1px solid var(--header-line);
  padding-top: 2rem;
}

/* ── Roadmap ─────────────────────────────────────────────── */

/* #8 Horizontal timeline on desktop */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  padding-top: 3rem;
  max-width: 100%;
  overflow-x: auto;
}

/* Horizontal gradient line across the top */
.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right,
    var(--accent) 0%,
    rgba(61,220,132,.5) 40%,
    var(--header-line) 100%);
}

.roadmap-item {
  position: relative;
  padding: 2rem 1rem 1.2rem;
  border-right: 1px solid var(--header-line);
  transition: background .2s;
}
.roadmap-item:last-child { border-right: none; }
.roadmap-item:hover { background: rgba(61,220,132,.03); }

/* Dot on the horizontal line */
.roadmap-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--header-line);
  z-index: 1;
}

.roadmap-item.done::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(61,220,132,.5);
}

.roadmap-item.current::before {
  background: var(--safe-amber);
  border-color: var(--safe-amber);
  box-shadow: 0 0 10px rgba(183,118,18,.5);
  animation: pulseDot 2s ease-in-out infinite;
}

/* Vertical layout on tablet/mobile */
@media (max-width: 900px) {
  .roadmap-timeline {
    display: block;
    padding-top: 0;
    padding-left: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
  }
  .roadmap-timeline::before {
    top: 0; bottom: 0; left: 7px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(61,220,132,.4) 50%, var(--header-line) 100%);
  }
  .roadmap-item {
    border-right: none;
    border: 1px solid var(--header-line);
    border-radius: calc(var(--radius) * 1.5);
    background: var(--panel);
    margin-bottom: 1rem;
    padding: 1.4rem 1.5rem;
  }
  .roadmap-item::before {
    left: -2.5rem; top: 1.6rem;
    transform: none;
  }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183,118,18,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(183,118,18,.0); }
}

.roadmap-item h3 {
  font-size: 1rem;
  margin-bottom: .3rem;
}

.roadmap-item .phase {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: .07em;
  margin-bottom: .4rem;
  background: rgba(61,220,132,.08);
  padding: .15rem .55rem;
  border-radius: 999px;
}

.roadmap-item.current .phase {
  color: var(--safe-amber);
  background: rgba(183,118,18,.1);
}

.roadmap-item p {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.55;
}

/* ── Partnership ─────────────────────────────────────────── */

#partnership { background: var(--panel); }

.partnership-box {
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.partnership-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.partnership-box p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────────────── */

.contact-simple {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-simple p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.contact-mailto {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: .01em;
}
}

.contact-info p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--header-line);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
}

.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check label {
  font-size: .88rem;
  color: var(--text-dim);
  cursor: pointer;
}

.form-status {
  padding: .7rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-top: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(61, 220, 132, .1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: rgba(177, 24, 36, .1);
  border: 1px solid var(--record-red);
  color: #ff6b6b;
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  background: var(--panel);
  border-top: 1px solid var(--header-line);
  padding: 4rem 1.5rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .8rem;
}

.footer-tagline {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 1.4rem;
}

/* Footer logo strip — same treatment as hero standards strip */
.footer-logos-strip {
  background: var(--panel);
  border-top: 1px solid var(--header-line);
  border-bottom: 1px solid var(--header-line);
  padding: 2rem;
  margin-top: 2rem;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 1rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-logos img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity .25s;
}

.footer-logos img:hover { opacity: 1; }

[data-theme="light"] .footer-logos img {
  filter: none;
  opacity: .85;
}

@media (max-width: 768px) {
  .footer-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-logos img { max-height: 50px; }
}

.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-nav a {
  font-size: .85rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }

.footer-location {
  margin-top: 1.4rem;
  font-size: .82rem;
  color: var(--text-dim);
}

.footer-copy {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  font-size: .75rem;
  color: var(--text-dim);
  padding: 1.5rem 0;
  border-top: 1px solid var(--header-line);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Cookie Consent Banner ────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1500;
  background: var(--panel);
  border-top: 1px solid var(--header-line);
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform .35s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1 1 400px;
  font-size: .82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-inner p a { color: var(--accent); }

.cookie-actions { flex-shrink: 0; }

.btn-sm {
  padding: .45rem 1.2rem;
  font-size: .82rem;
}

/* ── Utilities ───────────────────────────────────────────── */

.text-accent { color: var(--accent); }
.text-dim    { color: var(--text-dim); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ── Scroll Progress Bar ─────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--tc-green));
  z-index: 2000;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(61,220,132,.6);
}

/* ── Dot Navigation ──────────────────────────────────────── */

.dot-nav {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.dot-nav-item {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--header-line);
  border: 1px solid var(--text-dim);
  transition: background .25s, transform .25s, box-shadow .25s;
  position: relative;
}

.dot-nav-item::after {
  content: attr(data-label);
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  background: var(--panel);
  border: 1px solid var(--header-line);
  color: var(--text);
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.dot-nav-item:hover::after { opacity: 1; }

.dot-nav-item:hover,
.dot-nav-item.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(61,220,132,.5);
}

@media (max-width: 900px) { .dot-nav { display: none; } }

/* ── Waveform canvas ─────────────────────────────────────── */

.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
}

/* ── Section label prefix ────────────────────────────────── */

/* #1 Section category tag — clean, simple, no developer-portfolio styling */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .6rem;
}

/* ── Team avatar initials ────────────────────────────────── */

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61,220,132,.2), rgba(61,220,132,.05));
  border: 2px solid rgba(61,220,132,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}

/* #2 Flat section breaks — no diagonal clip-path */
#features,
#roadmap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── Terminal block ──────────────────────────────────────── */

.terminal-block {
  max-width: 680px;
  margin: 3rem auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(61,220,132,.1);
}

.terminal-bar {
  background: #2d2d2d;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: .75rem;
  color: #888;
  font-family: 'Courier New', monospace;
}

.terminal-body {
  background: #1a1a1a;
  padding: 1.2rem 1.5rem;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: .82rem;
  line-height: 1.8;
  color: #c8d3dc;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}

.t-dim   { color: #555; }
.t-cmd   { color: #a5d6a7; }
.t-flag  { color: #80cbc4; }
.t-val   { color: #ffcc80; }
.t-ok    { color: var(--accent); }
.t-rec   { color: var(--record-red); animation: blinkRec 1s step-start infinite; }

@keyframes blinkRec {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Linux badge in specs ────────────────────────────────── */

.spec-pill--linux {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  border-color: rgba(61,220,132,.4);
  background: rgba(61,220,132,.06);
}

/* ── Partnership glow box ────────────────────────────────── */

.partnership-box {
  position: relative;
  background: linear-gradient(135deg, rgba(61,220,132,.06) 0%, var(--bg) 60%);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: calc(var(--radius) * 2);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(61,220,132,.2), 0 0 60px rgba(61,220,132,.06);
}

.partnership-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(61,220,132,.4), transparent 60%);
  z-index: -1;
}

.nda-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--safe-amber);
  background: rgba(183,118,18,.12);
  border: 1px solid rgba(183,118,18,.35);
  padding: .2rem .65rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

/* ── Floating form labels ────────────────────────────────── */

.form-float {
  position: relative;
  margin-bottom: 1.2rem;
}

.form-float input,
.form-float textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  padding: 1.4rem 1rem .5rem;
  outline: none;
  transition: border-color .2s;
}

.form-float textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 1.6rem;
}

.form-float input:focus,
.form-float textarea:focus {
  border-color: var(--accent);
}

.form-float label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .95rem;
  color: var(--text-dim);
  pointer-events: none;
  transition: top .2s, font-size .2s, color .2s, transform .2s;
}

.form-float textarea + label {
  top: 1.3rem;
  transform: none;
}

.form-float input:focus + label,
.form-float input:not(:placeholder-shown) + label,
.form-float textarea:focus + label,
.form-float textarea:not(:placeholder-shown) + label {
  top: .45rem;
  transform: none;
  font-size: .72rem;
  color: var(--accent);
}

/* ── Hero noise/grain texture ────────────────────────────── */

.hero::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"),
    linear-gradient(rgba(61,220,132,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,132,.045) 1px, transparent 1px);
  background-size: 200px 200px, 48px 48px, 48px 48px;
}

/* ── Pull quote ──────────────────────────────────────────── */

/* #7 Pull quote — clean left border, no decorative mark */
.pull-quote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  text-align: left;
  border: none;
  border-left: 3px solid var(--accent);
  padding: .5rem 0 .5rem 1.4rem;
  margin: 2rem auto 0;
  max-width: 620px;
  line-height: 1.7;
  position: static;
}

.pull-quote::before { display: none; }

/* ── Why AudioForFun ─────────────────────────────────────── */

#why { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* #10 Why cards — borderless with shadow only */
.why-card {
  background: var(--panel);
  border: none;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: box-shadow .25s;
}

.why-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.why-icon {
  width: 52px; height: 52px;
  background: rgba(61,220,132,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--accent);
}

.why-icon svg { width: 24px; height: 24px; }

.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }

.why-card p { font-size: .875rem; color: var(--text-dim); line-height: 1.65; }

/* ── Use Cases ───────────────────────────────────────────── */

#usecases { background: var(--panel); }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* #10 Use case cards — border-top accent on hover, no lift */
.usecase-card {
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-top-color .25s;
}

.usecase-card:hover { border-top-color: var(--accent); }

.usecase-icon {
  width: 44px; height: 44px;
  background: rgba(61,220,132,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
}

.usecase-icon svg { width: 22px; height: 22px; }
.usecase-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: .5rem; }
.usecase-card p  { font-size: .875rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1rem; }

.usecase-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.usecase-tags li {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent);
  background: rgba(61,220,132,.08); border: 1px solid rgba(61,220,132,.2);
  padding: .15rem .5rem; border-radius: 999px;
}

/* ── Specs hero row highlight ────────────────────────────── */

.specs-hero-row { background: rgba(61,220,132,.06); border-left: 3px solid var(--accent); }
.specs-hero-row td { color: var(--text); }
.specs-hero-row strong { color: var(--accent); font-size: 1.05em; }

/* ── Video placeholder ───────────────────────────────────── */

.video-placeholder {
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: calc(var(--radius) * 1.5);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  background-image: linear-gradient(rgba(61,220,132,.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(61,220,132,.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

.video-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(61,220,132,.12); border: 2px solid rgba(61,220,132,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: .4rem;
}

.video-label { font-size: 1rem; font-weight: 600; color: var(--text); }
.video-sub   { font-size: .82rem; color: var(--text-dim); }

/* ── Changelog ───────────────────────────────────────────── */

.changelog {
  max-width: 700px; margin: 3rem auto 0;
  border-top: 1px solid var(--header-line); padding-top: 2.5rem;
}

.changelog-title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim); margin-bottom: 1.2rem;
}

.changelog-list { display: flex; flex-direction: column; gap: .7rem; }

.changelog-item { display: flex; gap: 1.2rem; align-items: baseline; font-size: .85rem; }

.changelog-date {
  font-weight: 600; color: var(--accent); white-space: nowrap;
  min-width: 75px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
}

.changelog-text { color: var(--text-dim); }

/* ── FAQ ─────────────────────────────────────────────────── */

#faq { background: var(--bg); }

/* #9 FAQ 2-column layout */
.faq-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: .6rem; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  align-items: start;
}

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] { border-color: rgba(61,220,132,.35); }

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none; color: var(--text); transition: color .2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 300;
  color: var(--accent); flex-shrink: 0; transition: transform .25s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }

.faq-item p { padding: 0 1.4rem 1.1rem; font-size: .88rem; color: var(--text-dim); line-height: 1.65; }

/* ── Sticky bottom CTA ───────────────────────────────────── */

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1400;
  background: rgba(13,15,19,.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(61,220,132,.25);
  padding: .8rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  transform: translateY(100%); transition: transform .4s ease;
}

.sticky-cta.visible { transform: translateY(0); }
.sticky-cta.hidden  { display: none; }

.sticky-cta p { font-size: .9rem; color: var(--text-dim); margin: 0; }

.sticky-cta-close {
  position: absolute; right: 1rem;
  background: none; border: none; color: var(--text-dim);
  font-size: 1rem; cursor: pointer; padding: .2rem .4rem; transition: color .2s;
}
.sticky-cta-close:hover { color: var(--text); }

/* ── Custom focus ring ───────────────────────────────────── */

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Dark / Light mode ───────────────────────────────────── */

[data-theme="light"] {
  --bg:          #F5F6F8;
  --panel:       #FFFFFF;
  --text:        #1A1D24;
  --text-dim:    #5A5F6E;
  --header-line: #DDE0E8;
  --table-bg:    #EEF0F5;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  color: var(--text-dim);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ── Hero entrance animations ────────────────────────────── */

.hero-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.hero-anim.hero-ready { opacity: 1; transform: translateY(0); }

.hero-anim--1 { transition-delay: .1s; }
.hero-anim--2 { transition-delay: .35s; }
.hero-anim--3 { transition-delay: .6s; }
.hero-anim--4 { transition-delay: .85s; }

/* ── Cursor spotlight ────────────────────────────────────── */

.hero-cursor-spotlight {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,220,132,.12) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease;
  z-index: 0;
  left: 50%; top: 50%;
}

/* ── Feature card status dot + testing badge ─────────────── */

.feature-card { position: relative; }

.feature-status-dot {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(61,220,132,.6);
}

.feature-card[data-status="testing"] .feature-status-dot {
  background: var(--safe-amber);
  box-shadow: 0 0 6px rgba(183,118,18,.6);
  animation: pulseDot 2s ease-in-out infinite;
}

.feature-testing-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--safe-amber);
  background: rgba(183,118,18,.1);
  border: 1px solid rgba(183,118,18,.3);
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}

/* ── Section header clip-path reveal ────────────────────── */

.section-header h2 {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .8s cubic-bezier(.16,1,.3,1);
}

.section-header.revealed h2 { clip-path: inset(0 0% 0 0); }

/* ── Spec table row hover ────────────────────────────────── */

.specs-table tbody tr {
  transition: background .2s;
}

.specs-table tbody tr:not(.specs-hero-row):hover {
  background: rgba(61,220,132,.04);
}

/* ── Roadmap animated dots ───────────────────────────────── */

.roadmap-item::before {
  transform: scale(0);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

.roadmap-item.dot-revealed::before { transform: scale(1); }

/* ── Glassmorphism team cards ────────────────────────────── */

.team-card {
  background: rgba(23,26,33,.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08) !important;
}

.team-card:hover {
  border-color: rgba(61,220,132,.35) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(61,220,132,.1);
}

/* ── LinkedIn button ─────────────────────────────────────── */

.btn-linkedin {
  background: #0A66C2;
  color: #fff;
  gap: .5rem;
  display: inline-flex;
  align-items: center;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  border: none;
  transition: background .2s, transform .2s;
}

.btn-linkedin:hover {
  background: #004182;
  color: #fff;
  transform: translateY(-2px);
}

/* ── FAQ search ──────────────────────────────────────────── */

.faq-search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.faq-search-wrap svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.faq-search {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  padding: .75rem 1rem .75rem 2.6rem;
  outline: none;
  transition: border-color .2s;
}

.faq-search:focus { border-color: var(--accent); }
.faq-search::placeholder { color: var(--text-dim); }

.faq-item.faq-hidden { display: none; }

/* ── Back to top button ──────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 5rem; right: 1.5rem;
  z-index: 1300;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--header-line);
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, border-color .2s, color .2s, background .2s;
}

.back-to-top.visible {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(61,220,132,.08);
}

  color: var(--accent);
  background: rgba(61,220,132,.08);
}

/* ── Comparison table ────────────────────────────────────── */

#comparison { background: var(--bg); }

.comparison-wrap { overflow-x: auto; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.comparison-table th, .comparison-table td {
  padding: .75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--header-line);
}

.comparison-table th {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  padding-bottom: 1rem;
}

.comparison-table th span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .75rem; margin-top: .2rem; }

.comp-feature-col { text-align: left !important; font-weight: 500; color: var(--text); width: 35%; }

.comp-us {
  background: rgba(61,220,132,.05);
  border-left: 2px solid rgba(61,220,132,.3);
  border-right: 2px solid rgba(61,220,132,.3);
  font-weight: 600;
}

.comparison-table thead .comp-us {
  color: var(--accent);
  border-top: 2px solid var(--accent);
  border-radius: 8px 8px 0 0;
}

.comparison-table tbody tr:last-child .comp-us {
  border-bottom: 2px solid rgba(61,220,132,.3) !important;
  border-radius: 0 0 8px 8px;
}

.comparison-table tbody tr:hover { background: rgba(255,255,255,.02); }

.comp-yes    { color: var(--accent); font-size: 1.1rem; font-weight: 700; }
.comp-no     { color: var(--record-red); font-size: 1.1rem; font-weight: 700; opacity: .7; }
.comp-partial { color: var(--safe-amber); font-size: 1.1rem; font-weight: 700; }

.comp-legend {
  text-align: center;
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: 1.2rem;
}

/* ── Early access ────────────────────────────────────────── */

#earlyaccess { background: var(--panel); }

.early-access-box {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(61,220,132,.07) 0%, transparent 70%);
  border: 1px solid rgba(61,220,132,.2);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem 2.5rem;
}

.early-access-text .section-label { margin-bottom: .4rem; }
.early-access-text h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .6rem; }
.early-access-text p  { font-size: .9rem; color: var(--text-dim); line-height: 1.65; }

.early-access-input-wrap {
  display: flex;
  gap: .6rem;
}

.early-access-input-wrap input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s;
}

.early-access-input-wrap input[type="email"]:focus { border-color: var(--accent); }

.early-access-note {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .6rem;
}

@media (max-width: 640px) {
  .early-access-box { grid-template-columns: 1fr; gap: 1.5rem; }
  .early-access-input-wrap { flex-direction: column; }
  .early-access-input-wrap .btn { width: 100%; justify-content: center; }
}

/* ── Nav animated underline ──────────────────────────────── */

.nav-links { position: relative; }

.nav-underline {
  position: absolute;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: left .3s cubic-bezier(.16,1,.3,1), width .3s cubic-bezier(.16,1,.3,1), opacity .2s;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 8px rgba(61,220,132,.5);
}

/* ── Language selector ───────────────────────────────────── */

.lang-selector {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem .65rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  list-style: none;
  min-width: 150px;
  overflow: hidden;
  display: none;
  z-index: 2000;
}

.lang-dropdown.open { display: block; animation: navSlideDown .15s ease; }

.lang-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .6rem 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: .85rem;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}

.lang-option:hover, .lang-option.active { background: rgba(61,220,132,.08); color: var(--text); }
.lang-option.active { color: var(--accent); font-weight: 600; }

.lang-soon {
  margin-left: auto;
  font-size: .65rem;
  background: rgba(183,118,18,.15);
  color: var(--safe-amber);
  border: 1px solid rgba(183,118,18,.3);
  padding: .1rem .35rem;
  border-radius: 999px;
}

/* ── Toast notifications ─────────────────────────────────── */

.toast-container {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  font-size: .88rem;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  pointer-events: all;
  min-width: 280px;
  max-width: 360px;
  animation: toastIn .35s cubic-bezier(.16,1,.3,1);
}

.toast.toast-success { border-color: rgba(61,220,132,.4); }
.toast.toast-error   { border-color: rgba(177,24,36,.4); }
.toast.toast-info    { border-color: rgba(100,181,246,.4); }

.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-msg  { flex: 1; line-height: 1.4; }
.toast-close {
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; font-size: 1rem; padding: 0; flex-shrink: 0;
  transition: color .2s;
}
.toast-close:hover { color: var(--text); }

.toast.toast-hiding { animation: toastOut .3s ease forwards; }

@keyframes toastIn  { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); }   to { opacity:0; transform:translateX(100%); } }

/* ── Form field error states ─────────────────────────────── */

.form-float.field-error input,
.form-float.field-error textarea {
  border-color: var(--record-red);
}

.field-error-msg {
  display: none;
  font-size: .73rem;
  color: var(--record-red);
  margin-top: .25rem;
  padding-left: .2rem;
}

.form-float.field-error .field-error-msg { display: block; }

/* ── 3D card tilt ────────────────────────────────────────── */

.feature-card, .usecase-card, .why-card, .team-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Print stylesheet ────────────────────────────────────── */

@media print {
  .nav, .dot-nav, .scroll-progress, .back-to-top,
  .sticky-cta, .cookie-banner, .theme-toggle, .lang-selector,
  .hero-wave, .hero-cursor-spotlight, .hero-actions,
  .btn, .slideshow-arrow, .lightbox,
  .toast-container, .nav-toggle { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }

  .hero {
    min-height: auto; padding: 2rem 1rem;
    background: #fff; clip-path: none;
  }

  .hero h1 {
    background: none;
    -webkit-text-fill-color: #000;
    color: #000;
    font-size: 18pt;
  }

  .section-header h2 { clip-path: none !important; }

  section { padding: 1.5rem 1rem; break-inside: avoid; }
  #features, #roadmap { clip-path: none; padding: 1.5rem 1rem; }

  .feature-card, .why-card, .usecase-card, .team-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: none;
  }

  .specs-table { font-size: 10pt; }
  .specs-hero-row { background: #f0fff4 !important; }

  .roadmap-timeline::before { display: none; }

  .footer { break-inside: avoid; }

  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet + mobile: collapse nav into hamburger at ≤ 1024px */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13, 15, 19, .98);
    backdrop-filter: blur(16px);
    padding: .5rem 0 1rem;
    gap: 0;
    border-bottom: 1px solid var(--header-line);
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    animation: navSlideDown .22s ease;
  }

  .nav-links.open li {
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-links.open li:last-child { border-bottom: none; }

  .nav-links.open a {
    display: block;
    padding: .9rem 1.75rem;
    font-size: 1rem;
    letter-spacing: .02em;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1px solid var(--header-line);
    background: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
  }
  .nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.3rem; }
  .hero-title-row { flex-direction: column; gap: .8rem; }
  .hero-title-text { text-align: center; }
  .hero-logo { width: 70px; }

  /* Standards strip: 3 columns on tablet/mobile */
  .hero-standards .standards-strip,
  .standards-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  section { padding: 3rem 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sticky-cta p { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .slideshow-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .why-grid, .usecase-grid { grid-template-columns: 1fr; }

  /* Standards strip: 2 columns on small phones */
  .hero-standards .standards-strip,
  .standards-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — Comprehensive overrides
   ═══════════════════════════════════════════════════════════ */

[data-theme="light"] {
  --accent:      #0F8044;
  --accent-dim:  #0A6035;
  --tc-green:    #0A6035;
  --safe-amber:  #9A6200;
  --record-red:  #B20000;
}

[data-theme="light"] .hero { background: #F2F5FB; }
[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
[data-theme="light"] .hero::after {
  background: radial-gradient(ellipse, rgba(15,128,68,.07) 0%, transparent 65%);
}

[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, #0E1117 30%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* Logos: remove white-invert — already dark on transparent PNG */
[data-theme="light"] .standard-logo img,
[data-theme="light"] .footer-logos img,
[data-theme="light"] .hero-logo,
[data-theme="light"] .about-logo {
  filter: none;
  opacity: .85;
}
[data-theme="light"] .standard-logo:hover img { opacity: 1; }

[data-theme="light"] .hero-wave { opacity: .1; filter: invert(1); }

[data-theme="light"] .team-card {
  background: rgba(255,255,255,.9) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,.1) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
[data-theme="light"] .team-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

[data-theme="light"] .feature-card,
[data-theme="light"] .why-card,
[data-theme="light"] .usecase-card {
  background: #FFFFFF; border-color: #D0D5E2;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

[data-theme="light"] .nav {
  background: rgba(242,245,251,.95);
  border-top-color: var(--accent);
  border-bottom-color: #D0D5E2;
}

[data-theme="light"] .roadmap-timeline::before {
  background: linear-gradient(to bottom, var(--accent), #D0D5E2);
}
[data-theme="light"] .roadmap-item {
  background: #FFFFFF; border-color: #D0D5E2;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

[data-theme="light"] .partnership-box {
  background: linear-gradient(135deg, rgba(15,128,68,.05) 0%, #FFFFFF 60%);
  box-shadow: 0 0 0 1px rgba(15,128,68,.2), 0 0 40px rgba(15,128,68,.04);
}

[data-theme="light"] .kpi-strip {
  background: rgba(15,128,68,.05);
  border-color: rgba(15,128,68,.2);
}

[data-theme="light"] .hero-standards { border-top-color: #D0D5E2; }

[data-theme="light"] .comp-us {
  background: rgba(15,128,68,.06);
  border-color: rgba(15,128,68,.4);
}
[data-theme="light"] .comparison-table thead .comp-us { border-top-color: var(--accent); }

[data-theme="light"] .pull-quote { color: var(--accent); }

[data-theme="light"] .footer { background: #E6EAF4; border-top-color: #CDD2DF; }

[data-theme="light"] .faq-item { background: #FFFFFF; }
[data-theme="light"] .press-card, [data-theme="light"] .press-copy { background: #F2F5FB; }
[data-theme="light"] .casestudy-card { background: #FFFFFF; }
[data-theme="light"] .casestudy-meta { background: linear-gradient(135deg, rgba(15,128,68,.06), transparent); }

/* ── Cookie banner redesign ──────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 1.2rem; left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 1500;
  width: calc(100% - 3rem);
  max-width: 680px;
  background: var(--panel);
  border: 1px solid var(--header-line);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 8px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(61,220,132,.1);
  padding: 1.2rem 1.4rem;
  transition: transform .4s ease, opacity .4s ease;
  backdrop-filter: blur(12px);
}

.cookie-banner.hidden {
  transform: translateX(-50%) translateY(140%);
  opacity: 0; pointer-events: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: .82rem;
  line-height: 1.55;
}
.cookie-text strong { color: var(--text); display: block; margin-bottom: .2rem; font-size: .88rem; }
.cookie-text span   { color: var(--text-dim); }
.cookie-text a      { color: var(--accent); }

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

/* ── Case study section ──────────────────────────────────── */

#casestudy { background: var(--bg); }

.casestudy-card {
  background: var(--panel); border: 1px solid var(--header-line);
  border-radius: calc(var(--radius) * 2); overflow: hidden;
  max-width: 900px; margin: 0 auto;
}

.casestudy-meta {
  background: linear-gradient(135deg, rgba(61,220,132,.08), transparent);
  border-bottom: 1px solid var(--header-line); padding: 1.8rem 2rem;
}

.casestudy-tag {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.25);
  padding: .15rem .6rem; border-radius: 999px; display: inline-block; margin-bottom: .8rem;
}

.casestudy-meta h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
.casestudy-context { font-size: .78rem; color: var(--text-dim); }

.casestudy-body {
  padding: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}

.casestudy-challenge h4, .casestudy-solution h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-dim); margin-bottom: .6rem;
}
.casestudy-challenge p, .casestudy-solution p {
  font-size: .875rem; color: var(--text-dim); line-height: 1.65;
}

.casestudy-stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid var(--header-line); padding-top: 1.5rem;
}

.cs-stat { text-align: center; }
.cs-num  { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.cs-label { display: block; font-size: .72rem; color: var(--text-dim); margin-top: .3rem; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 640px) {
  .casestudy-body { grid-template-columns: 1fr; }
  .casestudy-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Press section ───────────────────────────────────────── */

#press { background: var(--panel); }

.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.press-card {
  background: var(--bg); border: 1px solid var(--header-line);
  border-radius: calc(var(--radius) * 1.5); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .8rem;
  transition: border-color .25s, transform .25s;
}
.press-card:hover { border-color: rgba(61,220,132,.35); transform: translateY(-3px); }

.press-card-icon {
  width: 40px; height: 40px; background: rgba(61,220,132,.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}

.press-card h3 { font-size: .95rem; font-weight: 700; }
.press-card p  { font-size: .85rem; color: var(--text-dim); line-height: 1.6; flex: 1; }

.press-copy {
  font-size: .82rem !important; font-style: italic;
  background: var(--panel); border: 1px solid var(--header-line);
  border-radius: var(--radius); padding: .8rem !important; line-height: 1.55 !important;
}

.btn-copy-text {
  align-self: flex-start; background: none; border: 1px solid var(--header-line);
  border-radius: var(--radius); color: var(--text-dim); font-size: .78rem;
  font-weight: 600; padding: .3rem .7rem; cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-copy-text:hover { border-color: var(--accent); color: var(--accent); }

.press-facts { list-style: none; font-size: .82rem; color: var(--text-dim); display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.press-facts strong { color: var(--text); }

/* ── 404 Error page ──────────────────────────────────────── */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,220,132,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,132,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.error-page-inner {
  text-align: center;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.error-code {
  margin-bottom: 1.5rem;
}

.error-404 {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--text-dim) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.error-page h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.error-links {
  border-top: 1px solid var(--header-line);
  padding-top: 1.5rem;
}

.error-links p {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: .8rem;
}

.error-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: center;
}

.error-links a {
  font-size: .85rem;
  color: var(--text-dim);
  transition: color .2s;
}

.error-links a:hover { color: var(--accent); }

/* ── prefers-reduced-motion ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-anim { opacity: 1 !important; transform: none !important; }
  .hero-wave  { display: none; }
  .btn-primary { animation: none !important; }
  .roadmap-item.current::before { animation: none !important; }
  .t-rec { animation: none !important; }
  html { scroll-behavior: auto; }
}
