/* ==========================================================================
   Shrameek — Design System & Site Styles
   Work. Opportunity. Simplicity. For Everyone.
   ========================================================================== */

/* -------------------------------- Fonts -------------------------------- */
@font-face {
  font-family: "Sora";
  src: local("Sora");
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

/* ------------------------------ Design Tokens ---------------------------*/
:root {
  /* Brand palette */
  --primary-900: #062e26;
  --primary-800: #0a4338;
  --primary-700: #0d5647;
  --primary-600: #106c58;
  --primary-500: #14806a;
  --primary-400: #2f9c85;
  --primary-300: #6fbfad;
  --primary-100: #dcf1ec;

  --accent-600: #b9791a;
  --accent-500: #d99a2b;
  --accent-400: #e2a63d;
  --accent-300: #edc47c;
  --accent-100: #faeed3;

  --success-500: #2f9c62;
  --warning-500: #d9822b;

  /* Light theme semantic tokens */
  --bg: #fbfaf7;
  --bg-alt: #f3f1ea;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: #14211d;
  --text-muted: #52625c;
  --text-faint: #7c8a84;
  --border: #e4e1d6;
  --border-strong: #cfcbba;
  --primary: var(--primary-600);
  --primary-strong: var(--primary-700);
  --primary-soft: var(--primary-100);
  --accent: var(--accent-400);
  --accent-strong: var(--accent-600);
  --on-primary: #f7fbf9;
  --shadow-color: 220 20% 25%;
  --focus-ring: #14806a;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 80px;

  /* Typography */
  --font-display: "Sora", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1211;
    --bg-alt: #0f1917;
    --surface: #121e1c;
    --surface-raised: #16221f;
    --text: #eef3f1;
    --text-muted: #a9b8b2;
    --text-faint: #7c8a84;
    --border: #223330;
    --border-strong: #2d423d;
    --primary: var(--primary-400);
    --primary-strong: var(--primary-300);
    --primary-soft: #14332c;
    --accent: var(--accent-400);
    --accent-strong: var(--accent-300);
    --on-primary: #06110e;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b1211;
  --bg-alt: #0f1917;
  --surface: #121e1c;
  --surface-raised: #16221f;
  --text: #eef3f1;
  --text-muted: #a9b8b2;
  --text-faint: #7c8a84;
  --border: #223330;
  --border-strong: #2d423d;
  --primary: var(--primary-400);
  --primary-strong: var(--primary-300);
  --primary-soft: #14332c;
  --accent: var(--accent-400);
  --accent-strong: var(--accent-300);
  --on-primary: #06110e;
  color-scheme: dark;
}

/* --------------------------------- Base ---------------------------------*/
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h4 { font-size: 1.1rem; }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 84px); }

.bg-alt { background: var(--bg-alt); }
.bg-surface { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: var(--primary-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 62ch;
}

/* Visually hidden but accessible */
.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;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------------------------------- Buttons -------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 24px -8px hsl(var(--shadow-color) / 0.35);
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 16px 32px -10px hsl(var(--shadow-color) / 0.4); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-strong); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); }

.btn-accent {
  background: var(--accent);
  color: #241605;
}
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------- Header --------------------------------*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--primary-500), var(--primary-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2fbf8;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 9px 11px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--text); background: var(--bg-alt); }
.main-nav a.is-active { color: var(--primary-strong); background: var(--primary-soft); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary-strong); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
}

.hamburger { position: relative; width: 20px; height: 14px; }
.hamburger span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }
.nav-open .hamburger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 190;
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav .btn { margin-top: 24px; }

/* --------------------------------- Hero -----------------------------------*/
.hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 80px;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--primary-soft), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin-bottom: 28px;
}
.status-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.status-badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-copy .word-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .accent-text {
  background: linear-gradient(100deg, var(--primary-600), var(--accent-500) 65%, var(--primary-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead { margin-bottom: 34px; }

.hero-tagline {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-tagline strong { color: var(--text); }

/* Ecosystem visual */
.ecosystem {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
}

.ecosystem-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px dashed var(--border-strong);
  animation: spin-slow 60s linear infinite;
}
.ecosystem-ring.ring-2 { inset: 16%; animation-duration: 90s; animation-direction: reverse; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.ecosystem-core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--primary-500), var(--primary-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4fbf9;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px;
  box-shadow: 0 24px 48px -16px hsl(var(--shadow-color) / 0.45);
  z-index: 3;
}

.ecosystem-node {
  position: absolute;
  top: var(--ny, 50%);
  left: var(--nx, 50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 15px 9px 9px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 28px -14px hsl(var(--shadow-color) / 0.3);
  animation: float-node 6s ease-in-out infinite;
  z-index: 2;
}
.ecosystem-node .node-ico {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ecosystem-node .node-ico svg { width: 15px; height: 15px; }

/* Evenly spaced around the ring (7 points, 360/7 apart), each node self-centers on its
   (--nx, --ny) point via the translate baked into float-node below. */
.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.6s; }
.node-3 { animation-delay: 1.2s; }
.node-4 { animation-delay: 1.8s; }
.node-5 { animation-delay: 2.4s; }
.node-6 { animation-delay: 3s; }
.node-7 { animation-delay: 3.6s; }

@keyframes float-node {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

/* --------------------------------- Marquee strip -------------------------*/
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-block: 22px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-pill svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* --------------------------------- Cards ---------------------------------*/
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -22px hsl(var(--shadow-color) / 0.28);
  border-color: var(--border-strong);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }

/* -------------------------------- What is Shrameek ------------------------*/
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}
.flow-row:not(:last-child) { border-bottom: 1px dashed var(--border); }

.flow-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.flow-row .flow-text strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.02rem; }
.flow-row .flow-text span { color: var(--text-muted); font-size: 0.9rem; }

.list-check {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
}
.list-check .check-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.list-check .check-ico svg { width: 12px; height: 12px; }
.list-check strong { color: var(--text); }

/* -------------------------------- Bento / Problem -------------------------*/
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-grid .card.span-2 { grid-column: span 2; }
.bento-grid .card.span-4 { grid-column: span 4; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.problem-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-100);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.problem-card h4 { margin-bottom: 8px; }
.problem-card p { font-size: 0.92rem; }

/* -------------------------------- Solution flow ----------------------------*/
.solution-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: sol;
}
.solution-flow::before { display: none; }

.solution-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: left;
}
.solution-step .step-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary-strong);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.solution-step h4 { font-size: 1rem; margin-bottom: 6px; }
.solution-step p { font-size: 0.86rem; }

.solution-arrow {
  display: none;
}

@media (min-width: 900px) {
  .solution-flow { grid-template-columns: repeat(8, 1fr); }
  .solution-flow .solution-step:nth-child(odd) { grid-column: span 2; }
  .solution-flow .solution-step:nth-child(even) { grid-column: span 2; }
}

/* -------------------------------- Timeline (How It Works) -----------------*/
.timeline {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--border-strong), var(--border));
}

.timeline-item {
  position: relative;
  padding-left: 76px;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-strong);
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.timeline-item.is-visible .timeline-marker {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.timeline-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.timeline-body .step-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
  display: block;
}
.timeline-body h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* -------------------------------- Accessibility section -------------------*/
.a11y-hero {
  background: var(--primary-900);
  color: #eef7f4;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 68px);
  position: relative;
  overflow: hidden;
}
.a11y-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 90% 0%, rgba(226,166,61,0.18), transparent 70%);
}
.a11y-hero > * { position: relative; }
.a11y-hero h2 { color: #ffffff; max-width: 16ch; }
.a11y-hero .lead { color: #cfe7de; max-width: 60ch; }

.a11y-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.a11y-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 22px;
}
.a11y-card .card-icon { background: rgba(226,166,61,0.16); color: var(--accent-300); }
.a11y-card h4 { color: #fff; margin-bottom: 6px; font-size: 1rem; }
.a11y-card p { color: #cbe0d8; font-size: 0.88rem; }

/* -------------------------------- Language chips ---------------------------*/
.lang-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.lang-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 108px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lang-chip:hover { transform: translateY(-3px); border-color: var(--primary); }
.lang-chip .native { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.lang-chip .english { font-size: 0.76rem; color: var(--text-faint); }
.lang-chip.is-more { border-style: dashed; color: var(--text-faint); }

/* -------------------------------- Voice section ----------------------------*/
.voice-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.voice-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
}
.voice-demo .demo-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.voice-demo .demo-text {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 24px;
  min-height: 76px;
}
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  margin-bottom: 22px;
}
.waveform span {
  width: 4px;
  border-radius: 3px;
  background: var(--primary);
  height: 8px;
  transition: height 0.15s ease;
}
.waveform.is-playing span { animation: wave 1s ease-in-out infinite; }
.waveform span:nth-child(1) { animation-delay: 0s; }
.waveform span:nth-child(2) { animation-delay: 0.1s; }
.waveform span:nth-child(3) { animation-delay: 0.2s; }
.waveform span:nth-child(4) { animation-delay: 0.3s; }
.waveform span:nth-child(5) { animation-delay: 0.4s; }
.waveform span:nth-child(6) { animation-delay: 0.5s; }
.waveform span:nth-child(7) { animation-delay: 0.4s; }
.waveform span:nth-child(8) { animation-delay: 0.3s; }
.waveform span:nth-child(9) { animation-delay: 0.2s; }
.waveform span:nth-child(10) { animation-delay: 0.1s; }
.waveform span:nth-child(11) { animation-delay: 0s; }
@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: 40px; }
}

.voice-demo .demo-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.voice-demo select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
}
.voice-demo .fallback-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* -------------------------------- User groups -------------------------------*/
.group-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.group-card .card-icon { margin-inline: auto; }
.group-card h4 { font-size: 0.98rem; margin-bottom: 6px; }
.group-card p { font-size: 0.84rem; }

/* -------------------------------- Job creation flow --------------------------*/
.job-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.job-flow-step {
  flex: 1 0 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px;
  position: relative;
}
.job-flow-step .jf-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-strong);
  margin-bottom: 14px;
}
.job-flow-step .jf-icon svg { width: 26px; height: 26px; }
.job-flow-step span.jf-label { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }
.job-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 51px;
  right: -6%;
  width: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

/* -------------------------------- Transparency pipeline ----------------------*/
.status-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.status-card .status-dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 14px; }
.status-card.st-created .status-dot { background: var(--text-faint); }
.status-card.st-assigned .status-dot { background: var(--accent); }
.status-card.st-progress .status-dot { background: var(--primary-400); }
.status-card.st-done .status-dot { background: var(--success-500); }
.status-card h4 { font-size: 1rem; margin-bottom: 6px; }
.status-card p { font-size: 0.86rem; }

/* -------------------------------- Trust pillars -------------------------------*/
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.pillar-card {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.pillar-card .card-icon { margin-inline: auto; width: 46px; height: 46px; }
.pillar-card .card-icon svg { width: 22px; height: 22px; }
.pillar-card h4 { font-size: 0.94rem; }

/* -------------------------------- Free trial banner ---------------------------*/
.trial-banner {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 60px);
  color: #eef7f4;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.trial-banner h2 { color: #fff; }
.trial-banner p { color: #cfe7de; }
.trial-banner .btn-accent { color: #241605; }

/* -------------------------------- App launch banner ----------------------------*/
.launch-banner {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.launch-banner .status-badge { margin-inline: auto; }

/* -------------------------------- Phone mockups ---------------------------------*/
.phone-gallery {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x proximity;
}
.phone-gallery::-webkit-scrollbar { height: 8px; }
.phone-gallery::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }

.phone-item { flex: 0 0 auto; scroll-snap-align: start; text-align: center; }
.phone-frame {
  width: 232px;
  height: 470px;
  border-radius: 34px;
  background: var(--surface);
  border: 8px solid #10201c;
  box-shadow: 0 30px 60px -24px hsl(var(--shadow-color) / 0.4);
  position: relative;
  overflow: hidden;
  padding: 6px;
}
:root[data-theme="dark"] .phone-frame,
:root:not([data-theme="light"]) .phone-frame { border-color: #d6e5e0; }
.phone-frame .notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 18px;
  background: #10201c;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px;
  background: var(--bg-alt);
  padding: 30px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-screen .ps-bar { height: 9px; border-radius: 5px; background: var(--border-strong); }
.phone-screen .ps-bar.w-60 { width: 60%; }
.phone-screen .ps-bar.w-40 { width: 40%; }
.phone-screen .ps-bar.w-80 { width: 80%; }
.phone-screen .ps-chip {
  height: 30px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 6px;
}
.phone-screen .ps-card {
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  padding: 10px; margin-top: 8px;
}
.phone-screen .ps-cta {
  margin-top: auto;
  height: 38px;
  border-radius: 999px;
  background: var(--primary);
}
.phone-item .phone-caption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.phone-item .phone-tag {
  font-size: 0.76rem;
  color: var(--text-faint);
}

.concept-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 6px;
}

/* -------------------------------- Tech vision list --------------------------------*/
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tech-item .card-icon { width: 42px; height: 42px; margin-bottom: 0; flex-shrink: 0; }
.tech-item .card-icon svg { width: 20px; height: 20px; }
.tech-item h4 { font-size: 0.96rem; margin-bottom: 4px; }
.tech-item p { font-size: 0.84rem; }

/* -------------------------------- Roadmap -----------------------------------------*/
.roadmap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.roadmap-phase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
}
.roadmap-phase .phase-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.roadmap-phase h4 { margin-top: 8px; font-size: 1.02rem; }
.roadmap-phase p { font-size: 0.84rem; margin-top: 6px; }
.roadmap-note {
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--text-faint);
  text-align: center;
}

/* -------------------------------- Locations ----------------------------------------*/
.locations-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.network-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.network-map svg { width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent);
  transform: translate(-50%, -50%);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: pin-pulse 2.4s ease-out infinite;
}
.map-pin.pin-hq { background: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.map-pin.pin-hq::after { border-color: var(--primary); }
@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-label {
  position: absolute;
  transform: translate(-50%, 10px);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.location-list { display: flex; flex-direction: column; gap: 14px; }
.location-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.location-row.is-hq { border-color: var(--primary); background: var(--primary-soft); }
.location-row .loc-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-alt);
  color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-row .loc-badge svg { width: 19px; height: 19px; }
.location-row h4 { font-size: 1rem; }
.location-row .loc-tag { font-size: 0.78rem; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* -------------------------------- Founder --------------------------------------------*/
.founder-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-soft), var(--bg-alt));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-portrait .portrait-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--primary-strong);
}
.founder-portrait .initials {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
}
.founder-portrait .portrait-fallback span.label { font-size: 0.82rem; font-weight: 600; color: var(--text-faint); }

.founder-copy .role-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin-bottom: 12px;
  display: block;
}
.founder-copy h2 { margin-bottom: 6px; }
.founder-copy .founder-name { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 18px; }
.founder-copy p { margin-bottom: 16px; }
.founder-copy .btn-row { margin-top: 20px; }

/* -------------------------------- Story / big type ------------------------------------*/
.story-block {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.story-block .story-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}
.story-block .story-line .muted { color: var(--text-faint); }
.story-block .story-line .highlight { color: var(--primary-strong); }

/* -------------------------------- Social impact ----------------------------------------*/
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.impact-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.impact-card h4 { font-size: 0.98rem; margin-bottom: 8px; }
.impact-card p { font-size: 0.86rem; }

/* -------------------------------- FAQ -----------------------------------------------------*/
.faq-list { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.faq-question .faq-plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.faq-question .faq-plus::before, .faq-question .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--text);
}
.faq-question .faq-plus::before { width: 10px; height: 2px; }
.faq-question .faq-plus::after { width: 2px; height: 10px; }
.faq-item.is-open .faq-question .faq-plus { transform: rotate(45deg); border-color: var(--primary); }
.faq-item.is-open .faq-question { color: var(--primary-strong); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.95rem; }

/* -------------------------------- Contact ----------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-info-row .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-row h4 { font-size: 0.92rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-info-row a, .contact-info-row span.value { font-family: var(--font-display); font-weight: 600; color: var(--text); word-break: break-word; }
.contact-info-row a:hover { color: var(--primary-strong); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.88rem;
  display: none;
}
.form-note.is-visible { display: block; }
.form-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-hint { font-size: 0.82rem; color: var(--text-faint); }

/* -------------------------------- Final CTA -----------------------------------------------------*/
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, var(--primary-800), var(--primary-900));
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 92px) clamp(24px, 6vw, 60px);
  color: #eef7f4;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 380px at 15% 0%, rgba(226,166,61,0.16), transparent 65%);
}
.final-cta > * { position: relative; }
.final-cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.final-cta p { color: #cfe7de; max-width: 56ch; margin: 18px auto 32px; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-secondary { border-color: rgba(255,255,255,0.4); color: #fff; }
.final-cta .btn-secondary:hover { border-color: #fff; }

/* -------------------------------- Footer -----------------------------------------------------*/
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 6vw, 76px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { margin: 16px 0 20px; font-size: 0.92rem; max-width: 32ch; }
.footer-brand .status-badge { transform: scale(0.92); transform-origin: left; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary-strong); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary-strong); }
.footer-social svg { width: 17px; height: 17px; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px hsl(var(--shadow-color) / 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 150;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* -------------------------------- Scroll reveal -----------------------------------------------------*/
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ecosystem-ring, .ecosystem-node, .status-badge .pulse::after, .map-pin::after, .waveform span { animation: none !important; }
}

/* -------------------------------- Placeholder / Coming Soon page ----------------------------------------*/
.placeholder-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px;
}
.placeholder-page .card { max-width: 560px; }

/* ============================= Responsive ============================= */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid .card.span-4 { grid-column: span 2; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .group-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .roadmap { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* The nav has 13 items plus a CTA — it needs more room than the 980px "tablet" breakpoint
   below, so it gets its own, wider breakpoint to avoid overflowing the header. */
@media (max-width: 1560px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; position: relative; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ecosystem { order: -1; max-width: 380px; }
  .what-grid { grid-template-columns: 1fr; }
  .voice-panel { grid-template-columns: 1fr; }
  .locations-wrap { grid-template-columns: 1fr; }
  .founder-panel { grid-template-columns: 1fr; }
  .founder-portrait { width: 100%; max-width: 280px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .trial-banner { grid-template-columns: 1fr; text-align: center; }
  .trial-banner .btn-row { justify-content: center; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .card.span-2, .bento-grid .card.span-4 { grid-column: span 1; }
  .problem-grid { grid-template-columns: 1fr; }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .solution-flow { grid-template-columns: 1fr; }
  .solution-flow .solution-step { grid-column: span 1 !important; }
  .status-pipeline { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .a11y-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  h1 { font-size: 2.1rem; }
  .group-grid, .pillar-grid, .roadmap, .a11y-grid, .status-pipeline { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .job-flow { flex-wrap: nowrap; }
  .brand span.brand-word { font-size: 1.1rem; }
}
