:root {
  --cream: #F7F2EA;
  --cream-dark: #EDE7DA;
  --ink: #1A1612;
  --ink-soft: #3D3530;
  --muted: #7A6E65;
  --accent: #C8440A;
  --accent-amber: #E6A06A;
  --accent-pale: #FDF0EA;
  --blue: #2D6A8F;
  --blue-pale: #EAF3F9;
  --green: #3D6B4F;
  --green-pale: #EBF4EE;
  --border: #DDD5C8;
  --white: #FDFAF6;
}

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

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: var(--cream); }

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 8vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Scroll-driven progressive background — JS sets --nav-bg from 0
     to 1 across the first 120px of scroll, so the bar fades into its
     blurred state instead of snapping at a single threshold. */
  --nav-bg: 0;
  background: rgba(247, 242, 234, calc(var(--nav-bg) * 0.88));
  backdrop-filter: blur(calc(var(--nav-bg) * 16px));
  -webkit-backdrop-filter: blur(calc(var(--nav-bg) * 16px));
  border-bottom: 1px solid rgba(221, 213, 200, calc(var(--nav-bg) * 0.7));
  box-shadow: 0 2px 20px rgba(0, 0, 0, calc(var(--nav-bg) * 0.04));
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo em { font-style: italic; color: var(--accent); }

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  position: relative;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }

/* Sliding indicator behind the active link — JS sets --x / --w to the
   active link's offsetLeft / offsetWidth, and the transform/width
   transitions handle the slide. Hidden (scale 0.92, opacity 0) when no
   link is active (e.g. hero or subscribe in view). */
.nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  height: 30px;
  width: var(--w, 0);
  transform: translate3d(var(--x, 0), -50%, 0) scale(0.92);
  background: var(--accent-pale);
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 380ms cubic-bezier(0.4, 0, 0.2, 1),
    width 380ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 220ms ease;
  z-index: 0;
}

.nav-indicator.is-active {
  opacity: 1;
  transform: translate3d(var(--x, 0), -50%, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator { transition: opacity 150ms linear; }
}

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: white !important;
  background: var(--ink) !important;
  padding: 8px 20px !important;
  border-radius: 100px;
  transition: all 0.2s ease !important;
}

.nav-cta:hover { background: var(--accent) !important; color: white !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(247,242,234,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 8vw 24px;
    gap: 4px;
  }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 8vw 80px;
  position: relative;
  overflow: hidden;
}

/* — Soft 2-light backlight + 2 drifting particles — */

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-light {
  position: absolute;
  width: clamp(340px, 55vw, 720px);
  height: clamp(340px, 55vw, 720px);
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(
    circle at center,
    color-mix(in oklab, var(--accent) 55%, transparent) 0%,
    color-mix(in oklab, var(--accent) 20%, transparent) 35%,
    transparent 70%
  );
  opacity: 0.28;
  will-change: opacity, transform;
}

.hero-light--a {
  top: -10%;
  left: -8%;
  animation: hero-light-pulse 11s ease-in-out infinite;
}

.hero-light--b {
  top: 25%;
  right: -12%;
  animation: hero-light-pulse 13s ease-in-out infinite;
  animation-delay: -4s;
  background: radial-gradient(
    circle at center,
    color-mix(in oklab, var(--accent-amber) 50%, transparent) 0%,
    color-mix(in oklab, var(--accent-amber) 18%, transparent) 35%,
    transparent 70%
  );
}

@keyframes hero-light-pulse {
  0%, 100% { opacity: 0.22; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 0.38; transform: translate3d(2%, -2%, 0) scale(1.08); }
}

.hero-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 10px var(--accent),
    0 0 28px color-mix(in oklab, var(--accent) 65%, transparent),
    0 0 60px color-mix(in oklab, var(--accent) 35%, transparent);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  animation: hero-particle-drift var(--duration) ease-in-out infinite var(--delay);
}

.hero-particle--warm {
  background: var(--accent-amber);
  box-shadow:
    0 0 10px var(--accent-amber),
    0 0 28px color-mix(in oklab, var(--accent-amber) 65%, transparent),
    0 0 60px color-mix(in oklab, var(--accent-amber) 35%, transparent);
}

@keyframes hero-particle-drift {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  18%  { opacity: 0.6; }
  50%  { transform: translate3d(var(--dx), var(--dy), 0); opacity: 0.85; }
  82%  { opacity: 0.45; }
  100% { transform: translate3d(calc(var(--dx) * 0.4), calc(var(--dy) * -0.3), 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light    { animation: none !important; opacity: 0.25; }
  .hero-particle { animation: none !important; opacity: 0.4; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title em { font-style: italic; color: var(--accent); }

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-twolights {
  font-family: 'Fraunces', serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-twolights::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.5;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.95s forwards;
}

.hero-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,68,10,0.3);
}

.hero-cta svg { transition: transform 0.3s ease; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
  z-index: 1;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease 1.5s infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION COMMON ───────────────────────────────────── */
section { padding: 100px 8vw; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.section-title em { font-style: italic; color: var(--accent); }

/* ── PROBLEM ──────────────────────────────────────────── */
.problem {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-left .section-title { margin-bottom: 16px; }

.problem-intro {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}

.problem-closing {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.problem-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
}

.prob-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.prob-row:last-child { border-bottom: none; }
.prob-row:hover { background: var(--blue-pale); }

.prob-key {
  padding: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.05em;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
}

.prob-val {
  padding: 14px 20px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ── PRODUCT ──────────────────────────────────────────── */
.product { background: var(--cream); }

.product-inner { max-width: 1100px; margin: 0 auto; }

.surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Surface card: a sketch on its own gradient surface. The captured
   paper/frame edges fade into the card background via a soft mask
   (vignette on all four sides) instead of showing a hard crop. */
.surface-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
}

.surface-young { background: linear-gradient(135deg, #FDF8F0 0%, #F0EAD8 100%); }
.surface-teen  { background: linear-gradient(135deg, #0F1420 0%, #1A2540 100%); }

.surface-card img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 7%, black 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image:
    linear-gradient(to right,  transparent 0%, black 7%, black 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.surface-sketch--dark img {
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-item {
  background: var(--white);
  padding: 28px 24px;
  transition: background 0.2s ease;
}

.feature-item:hover { background: var(--accent-pale); }

.feature-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}

.fd1 { background: #D8EBF5; color: #2D6A8F; }
.fd2 { background: #C2D9C9; color: #3D6B4F; }
.fd3 { background: #EDD8C8; color: #8B5E3C; }
.fd4 { background: #E4D0E4; color: #6B3D6B; }
.fd5 { background: #F5E6C8; color: #8B6914; }

.feature-name {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── DASHBOARD ────────────────────────────────────────── */
.dashboard { background: var(--ink); color: var(--cream); }

.dashboard-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.dashboard .section-label { color: #7EB5D4; }
.dashboard .section-label::after { background: #7EB5D4; }
.dashboard .section-title { color: var(--cream); }

.dashboard-sub {
  font-size: 16px;
  color: #8A9AAA;
  line-height: 1.7;
  margin-bottom: 32px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5A7A90;
  margin-bottom: 8px;
}

.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-delta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #5DB88A;
}

.chart-container {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.chart-subject {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #5A7A90;
}

.chart-domain {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--cream);
  margin-top: 4px;
}

.chart-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  padding: 4px;
  border-radius: 8px;
}

.chart-tab {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  color: #5A7A90;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
}

.chart-tab.active { background: rgba(255,255,255,0.1); color: var(--cream); }

.chart-area {
  position: relative;
  height: 160px;
  margin-bottom: 16px;
}

.chart-svg { width: 100%; height: 100%; }
.chart-baseline { stroke: rgba(255,255,255,0.15); stroke-width: 1; stroke-dasharray: 4 4; }
.chart-fill { fill: rgba(200,68,10,0.15); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.chart-note {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: #3A5A70;
  letter-spacing: 0.1em;
  text-align: center;
}

/* ── WHO ──────────────────────────────────────────────── */
.who { background: var(--white); border-top: 1px solid var(--border); }

.who-inner { max-width: 1100px; margin: 0 auto; }

.who-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.who-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.etag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s ease;
  cursor: default;
}

.etag-hi { background: var(--blue-pale); border: 1px solid var(--blue); color: var(--blue); }
.etag-hi:hover { background: var(--blue); color: white; }
.etag-lo { background: var(--cream); border: 1px solid var(--border); color: var(--muted); }

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

.why-card {
  background: var(--green-pale);
  border: 1px solid #C2D9C9;
  border-radius: 16px;
  padding: 28px;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border: 1px solid #A8C8B0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--green);
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 14px;
  color: #3A5544;
  line-height: 1.6;
}

/* ── ROADMAP ──────────────────────────────────────────── */
.roadmap { background: var(--cream); border-top: 1px solid var(--border); }

.roadmap-inner { max-width: 1100px; margin: 0 auto; }

.roadmap-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.roadmap-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.roadmap-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.stage {
  background: var(--white);
  padding: 36px 32px;
  position: relative;
  transition: background 0.2s ease;
}

.stage:hover { background: var(--accent-pale); }

.stage-now  { border-left: 4px solid var(--accent); }
.stage-next { border-left: 4px solid var(--blue); }
.stage-soon { border-left: 4px solid var(--green); }

.stage-marker {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-now  .stage-marker { color: var(--accent); }
.stage-next .stage-marker { color: var(--blue); }
.stage-soon .stage-marker { color: var(--green); }

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-now  .stage-dot { background: var(--accent); }
.stage-next .stage-dot { background: var(--blue); opacity: 0.4; }
.stage-soon .stage-dot { background: var(--green); opacity: 0.25; }

.stage-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.2;
}

.stage-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.stage-desc strong { color: var(--ink-soft); font-weight: 500; }

.roadmap-caveat {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  text-transform: uppercase;
}

/* ── SUBSCRIBE ────────────────────────────────────────── */
.subscribe { background: var(--cream-dark); border-top: 1px solid var(--border); }

.subscribe-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.subscribe .section-label { justify-content: center; }
.subscribe .section-label::after { display: none; }

.subscribe-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.subscribe-title em { font-style: italic; color: var(--accent); }

.subscribe-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.subscribe-input {
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.subscribe-input:focus { border-color: var(--accent); }
.subscribe-input::placeholder { color: #B0A898; }

.subscribe-btn {
  padding: 16px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.subscribe-note {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  padding: 32px 8vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

.footer-right {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 6vw; }
  .hero { padding: 100px 6vw 80px; }
  .problem-inner,
  .dashboard-inner,
  .who-header,
  .roadmap-header { grid-template-columns: 1fr; gap: 40px; }
  .surfaces { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  /* 5 items in 2 columns leaves a dangling empty cell; let the last
     feature span both columns so the grid closes cleanly. */
  .features-grid .feature-item:last-child { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; }
  .roadmap-stages { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; }
  .hero-scroll { left: 6vw; }
}
