/* ==========================================================================
   nexyo Compliance Services — Landing Page Stylesheet
   compliance.solution.nexyo.io
   Production CSS — no frameworks, no external dependencies
   ========================================================================== */

/* Local Font (DSGVO-konform, kein CDN) */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Custom Properties
   ========================================================================== */

:root {
  /* Brand */
  --brand-teal: #00BFA6;

  /* Compliance palette */
  --compliance-primary: #1E3A8A;
  --compliance-secondary: #6366F1;

  /* Backgrounds */
  --bg-dark: #0F0F1E;
  --bg-light: #F8FAFC;

  /* Text */
  --text-primary: #0F0F1E;
  --text-muted: #475569;
  --text-on-dark: #E2E8F0;

  /* Severity */
  --severity-ok: #10B981;
  --severity-warn: #F59E0B;
  --severity-critical: #EF4444;

  /* Layout */
  --section-padding: 96px 0;
  --container-width: 1200px;
  --container-padding: 0 32px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, .h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

small, .text-small {
  font-size: 14px;
  line-height: 1.5;
}

.text-muted {
  color: var(--text-muted);
}

.text-teal {
  color: var(--brand-teal);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-teal), var(--compliance-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.section {
  padding: var(--section-padding);
  position: relative;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--light {
  background: var(--bg-light);
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
}

.section--dark .section-header p {
  color: var(--text-on-dark);
  opacity: 0.7;
}

.section-number {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.15);
  user-select: none;
}

.section--dark .section-number {
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-logo span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-on-dark);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay menu */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-mobile-overlay.active {
  display: flex;
  opacity: 1;
}

.nav-mobile-overlay a {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-on-dark);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-mobile-overlay a:hover {
  opacity: 1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-teal);
  color: var(--bg-dark);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary--sm {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-teal);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--brand-teal);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(0, 191, 166, 0.1);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary--sm {
  padding: 12px 24px;
  font-size: 14px;
}

/* ==========================================================================
   01 — Hero
   ========================================================================== */

#hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 96px;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-on-dark);
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mockup {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup svg {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   02 — Regulatory Context
   ========================================================================== */

#regulatory {
  background: var(--bg-light);
}

.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* ==========================================================================
   03 — Trust Gap
   ========================================================================== */

#trust-gap {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.trust-gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trust-gap-text h2 {
  margin-bottom: 24px;
}

.trust-gap-text p {
  opacity: 0.8;
}

.trust-gap-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   04 — Trust Formula
   ========================================================================== */

#trust-formula {
  background: var(--bg-light);
}

.trust-formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ==========================================================================
   05 — Architecture (5-Layer)
   ========================================================================== */

#architecture {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.architecture-svg {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.architecture-layers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 48px auto 0;
}

.architecture-layer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.architecture-layer:hover {
  background: rgba(255, 255, 255, 0.08);
}

.architecture-layer .layer-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-teal);
  min-width: 24px;
}

.architecture-layer .layer-title {
  font-size: 17px;
  font-weight: 600;
}

.architecture-layer .layer-desc {
  font-size: 14px;
  opacity: 0.7;
  margin-left: auto;
}

/* ==========================================================================
   06 — Use Cases
   ========================================================================== */

#use-cases {
  background: var(--bg-light);
}

.use-case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Audience Tabs
   ========================================================================== */

.audience-tabs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.audience-tab {
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
}

.audience-tab:hover {
  color: var(--text-primary);
}

.audience-tab.active {
  color: var(--compliance-primary);
  border-bottom-color: var(--brand-teal);
}

/* Dark section variant */
.section--dark .audience-tab {
  color: rgba(255, 255, 255, 0.5);
}

.section--dark .audience-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .audience-tab.active {
  color: #fff;
  border-bottom-color: var(--brand-teal);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--compliance-primary);
}

.card h3,
.card h4 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Card on dark background */
.section--dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.section--dark .card p {
  color: var(--text-on-dark);
  opacity: 0.7;
}

/* ==========================================================================
   Connector Cards
   ========================================================================== */

#connectors {
  background: var(--bg-light);
}

.connector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.connector-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.connector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.connector-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-light);
}

.connector-card h4 {
  margin-bottom: 8px;
}

.connector-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.connector-card .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Severity Pills
   ========================================================================== */

.severity-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.severity-pill--ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--severity-ok);
}

.severity-pill--warn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--severity-warn);
}

.severity-pill--critical {
  background: rgba(239, 68, 68, 0.15);
  color: var(--severity-critical);
}

.severity-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   07 — Ecosystem Map
   ========================================================================== */

#ecosystem {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.ecosystem-svg {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ==========================================================================
   08 — Scaling
   ========================================================================== */

#scaling {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.scaling-phases {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.phase {
  flex: 1;
  position: relative;
  padding: 40px 32px;
  text-align: center;
}

.phase::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 16px solid rgba(255, 255, 255, 0.15);
}

.phase:last-child::after {
  display: none;
}

.phase-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.phase-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.phase-desc {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.5;
}

.scaling-svg {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ==========================================================================
   09 — Track Record
   ========================================================================== */

#track-record {
  background: var(--bg-light);
}

.number-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.number-tile {
  text-align: center;
  padding: 32px 16px;
}

.number-tile .number {
  font-size: 64px;
  font-weight: 700;
  color: var(--brand-teal);
  line-height: 1;
  margin-bottom: 12px;
}

.number-tile .label {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   10 — CTA
   ========================================================================== */

#cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 16px;
}

.cta-box p {
  opacity: 0.7;
  margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img,
.footer-brand svg {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.4;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal button {
  font-size: 13px;
  color: var(--text-on-dark);
  opacity: 0.4;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal button:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Modals (Impressum, Datenschutz)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  color: var(--text-primary);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.modal-content h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-content a {
  color: var(--compliance-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
  transition: background 0.2s ease;
  background: none;
  border: none;
}

.modal-close:hover {
  background: var(--bg-light);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-group > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ==========================================================================
   SVG Styling
   ========================================================================== */

.hero-mockup svg,
.architecture-svg svg,
.ecosystem-svg svg,
.scaling-svg svg {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ==========================================================================
   Responsive — Tablet (768–1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --section-padding: 72px 0;
  }

  h1, .h1 {
    font-size: 52px;
  }

  h2, .h2 {
    font-size: 36px;
  }

  h3, .h3 {
    font-size: 26px;
  }

  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mockup {
    max-width: 480px;
  }

  .regulatory-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-gap-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trust-formula-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .connector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .scaling-phases {
    flex-direction: column;
    gap: 24px;
  }

  .phase::after {
    right: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(50%) rotate(90deg);
  }

  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }
}

/* ==========================================================================
   Responsive — Mobile (<768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 20px;
  }

  h1, .h1 {
    font-size: 40px;
  }

  h2, .h2 {
    font-size: 30px;
  }

  h3, .h3 {
    font-size: 22px;
  }

  body {
    font-size: 16px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  #hero {
    min-height: auto;
    padding: 96px 0 64px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  /* Regulatory */
  .regulatory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Audience tabs scroll */
  .audience-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .audience-tabs::-webkit-scrollbar {
    display: none;
  }

  .audience-tab {
    flex-shrink: 0;
  }

  /* Cards */
  .use-case-cards {
    grid-template-columns: 1fr;
  }

  .connector-grid {
    grid-template-columns: 1fr;
  }

  /* Number tiles */
  .number-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .number-tile .number {
    font-size: 48px;
  }

  /* CTA */
  .cta-box {
    padding: 32px 24px;
  }

  /* Scaling phases */
  .phase {
    padding: 24px 20px;
  }

  .phase-title {
    font-size: 20px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 40px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  /* Modal */
  .modal-content {
    padding: 28px 24px;
    border-radius: 12px;
  }

  .modal-content h2 {
    font-size: 24px;
    padding-right: 32px;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .nav,
  .nav-mobile-overlay,
  .modal-overlay,
  #cta,
  .footer {
    display: none;
  }

  .section {
    padding: 24px 0;
    break-inside: avoid;
  }

  .section--dark {
    background: #fff;
    color: #000;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
