/* =========================================================
   ABC Cleaner — Lavender Aurora Design System
   Palette pulled from in-app screenshots:
   #4F6FFE → #817BFF → #C08BFF gradient + #3877FA accent
   ========================================================= */

:root {
  /* Brand gradient stops */
  --grad-1: #4F6FFE;     /* deep electric blue */
  --grad-2: #6F75FF;
  --grad-3: #8E7FFF;     /* lavender */
  --grad-4: #B189FF;
  --grad-5: #C08BFF;     /* soft pink-purple */

  /* Solid accents */
  --accent: #3877FA;     /* button blue from screenshots */
  --accent-deep: #1F5BE0;
  --accent-glow: rgba(56, 119, 250, 0.45);

  /* Neutrals */
  --ink: #0E1024;        /* deep navy for dark sections */
  --ink-2: #161938;
  --ink-3: #1F2347;
  --paper: #F6F4FF;      /* warm off-white cream with violet whisper */
  --paper-2: #ECE8FB;
  --paper-3: #DDD7F5;
  --text: #1A1B36;       /* near-black text on paper */
  --text-soft: #4A4D75;
  --text-mute: #7A7DA0;
  --line: rgba(26, 27, 54, 0.10);
  --line-strong: rgba(26, 27, 54, 0.20);

  /* On dark sections */
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.78);
  --on-dark-mute: rgba(255, 255, 255, 0.55);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --on-dark-line-strong: rgba(255, 255, 255, 0.28);

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-1: 0 2px 8px rgba(14, 16, 36, 0.06);
  --shadow-2: 0 12px 40px rgba(79, 111, 254, 0.18);
  --shadow-3: 0 30px 80px rgba(79, 111, 254, 0.32);
  --shadow-phone: 0 40px 120px rgba(79, 111, 254, 0.45), 0 0 80px rgba(192, 139, 255, 0.4);
}

/* ====== Reset / base ====== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--grad-3); color: white; }

/* ====== Display typography ====== */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5.5vw, 68px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.15; }

em, .italic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.on-dark .eyebrow { color: var(--on-dark-mute); }
.on-dark .eyebrow::before { background: white; box-shadow: 0 0 14px rgba(255,255,255,0.7); }

p { margin: 0 0 1em; }
.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 56ch;
}
.on-dark .lead { color: var(--on-dark-soft); }

/* ====== Layout ====== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ====== Backgrounds ====== */
.bg-aurora {
  background: linear-gradient(135deg,
    var(--grad-1) 0%,
    var(--grad-2) 22%,
    var(--grad-3) 50%,
    var(--grad-4) 76%,
    var(--grad-5) 100%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.bg-aurora::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(60% 50% at 18% 25%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(50% 40% at 85% 80%, rgba(255,200,255,0.30), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.bg-aurora::after {
  /* film grain — subtle, free-form */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.45;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.bg-aurora .container { position: relative; z-index: 2; }

.bg-paper { background: var(--paper); color: var(--text); }
.bg-paper-2 { background: var(--paper-2); color: var(--text); }
.bg-ink {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.bg-ink::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 80% 20%, rgba(79,111,254,0.3), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(192,139,255,0.22), transparent 60%);
  pointer-events: none;
}
.bg-ink .container { position: relative; z-index: 2; }

.on-dark { color: var(--on-dark); }
.on-dark .lead, .on-dark p { color: var(--on-dark-soft); }

/* ====== Header / nav ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(246, 244, 255, 0.80);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 2px 10px rgba(79,111,254,0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-soft);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: var(--paper-2); }
.nav-links a.active { color: var(--text); background: var(--paper-2); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); box-shadow: 0 6px 20px var(--accent-glow); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--paper-2);
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header[data-open="true"] { background: var(--paper); }
  .site-header[data-open="true"] .mobile-panel { display: block; }
}
.mobile-panel {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 28px;
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-panel .nav-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  color: white;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-deep); box-shadow: 0 14px 36px var(--accent-glow); }
.btn-light {
  background: white;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(14, 16, 36, 0.18);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(14, 16, 36, 0.28); }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--on-dark-line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }

/* ====== Hero ====== */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 120px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hero h1 {
  margin-top: 28px;
  color: white;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 14px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: white;
  font-size: 14px;
}
.rating .stars {
  display: inline-flex;
  gap: 2px;
  color: #FFD840;
  font-size: 14px;
  letter-spacing: 1px;
}
.rating .num { font-weight: 600; font-feature-settings: "tnum"; }
.rating .label { color: rgba(255,255,255,0.75); }

.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
}
.hero-phone {
  width: clamp(240px, 28vw, 340px);
  filter: drop-shadow(0 40px 80px rgba(31, 91, 224, 0.55));
  border-radius: 38px;
  position: relative;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.hero-phone-2 {
  position: absolute;
  width: clamp(180px, 21vw, 260px);
  border-radius: 30px;
  filter: drop-shadow(0 30px 60px rgba(192, 139, 255, 0.5));
  bottom: -20px;
  left: -8%;
  z-index: 1;
  transform: rotate(-9deg);
  animation: float 8s ease-in-out infinite reverse;
}
.hero-phone-3 {
  position: absolute;
  width: clamp(160px, 18vw, 220px);
  border-radius: 26px;
  filter: drop-shadow(0 30px 60px rgba(255, 200, 255, 0.5));
  top: 0;
  right: -4%;
  z-index: 1;
  transform: rotate(7deg);
  animation: float 6.5s ease-in-out infinite;
  animation-delay: -2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) var(--rot, rotate(0)); }
  50% { transform: translateY(-14px) var(--rot, rotate(0)); }
}
.hero-phone-2 { --rot: rotate(-9deg); }
.hero-phone-3 { --rot: rotate(7deg); }
@media (prefers-reduced-motion: reduce) {
  .hero-phone, .hero-phone-2, .hero-phone-3 { animation: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-stack { min-height: 480px; }
  .hero-phone-2 { left: 0; }
  .hero-phone-3 { right: 0; }
}

/* ====== Marquee strip ====== */
.marquee {
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 48px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  white-space: nowrap;
  color: white;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ====== Section header ====== */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-header .lead { margin: 0; }
@media (max-width: 880px) {
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

/* ====== Features grid ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.feature {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.feature .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 22px;
  display: block;
}
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--text-soft); font-size: 15.5px; margin-bottom: 0; }

/* layout variants */
.feature.f-wide   { grid-column: span 7; }
.feature.f-narrow { grid-column: span 5; }
.feature.f-half   { grid-column: span 6; }
.feature.f-third  { grid-column: span 4; }

@media (max-width: 880px) {
  .feature.f-wide, .feature.f-narrow, .feature.f-half, .feature.f-third { grid-column: 1 / -1; }
}

/* showcase feature with screenshot */
.feature-showcase {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3) 50%, var(--grad-5));
  color: white;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: stretch;
  min-height: 580px;
}
.feature-showcase .copy { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.feature-showcase .copy h3 { color: white; margin-bottom: 16px; }
.feature-showcase .copy > p { color: rgba(255,255,255,0.88); font-size: 16.5px; line-height: 1.6; margin-bottom: 0; max-width: 46ch; }
.feature-showcase .copy .num { color: rgba(255,255,255,0.6); }
.feature-showcase .img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  overflow: hidden;
}
.feature-showcase .img-wrap img {
  max-height: 84%;
  max-width: 78%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.30), 0 0 60px rgba(255,255,255,0.18);
}

/* capability list inside showcase */
.capability-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.capability-list em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: white;
}
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.32);
  color: white;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* micro-stat strip */
.micro-stat {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.micro-stat-item { display: flex; flex-direction: column; }
.micro-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 380;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  color: white;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.micro-unit {
  font-size: 14px;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: rgba(255,255,255,0.7);
  margin-left: 2px;
}
.micro-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

@media (max-width: 880px) {
  .feature-showcase { grid-template-columns: 1fr; min-height: auto; }
  .feature-showcase .copy { padding: 40px 32px 24px; }
  .feature-showcase .img-wrap { padding: 16px 32px 40px; }
  .feature-showcase .img-wrap img { max-width: 60%; max-height: 480px; }
  .micro-stat { gap: 24px; }
}
@media (max-width: 480px) {
  .feature-showcase .img-wrap img { max-width: 75%; }
}

/* ====== Showcase carousel of screens ====== */
.screens-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
}
.screens-row .screen-card {
  background: linear-gradient(160deg, var(--grad-1), var(--grad-4));
  border-radius: var(--radius);
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  transition: transform .3s, box-shadow .3s;
}
.screens-row .screen-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.screens-row .screen-card span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: absolute;
  top: 18px;
  left: 18px;
}
.screens-row .screen-card img {
  width: 100%;
  margin-top: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
}
@media (max-width: 1100px) { .screens-row { grid-template-columns: repeat(3, 1fr); } .screens-row .screen-card:nth-child(n+4) { display: none; } }
@media (max-width: 720px)  { .screens-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .screens-row .screen-card:nth-child(n+3) { display: none; } }

/* ====== Steps ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 60px;
}
.step h3 { margin-bottom: 10px; font-size: 22px; }
.step p { color: var(--text-soft); margin: 0; font-size: 15px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ====== Stats strip ====== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--on-dark-line);
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 380;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  color: white;
  display: block;
  line-height: 1;
}
.stat-value .unit {
  font-size: 0.4em;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  vertical-align: super;
  margin-left: 4px;
  color: rgba(255,255,255,0.7);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 14px;
}
@media (max-width: 880px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--on-dark-line); }
}

/* ====== FAQ ====== */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line-strong);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 460;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.2;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { display: none; }
.faq-item .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  flex-shrink: 0;
  margin-left: 24px;
  transition: background .2s, transform .25s;
}
.faq-item .icon::before, .faq-item .icon::after {
  content: ""; background: var(--text);
  width: 12px; height: 1.5px;
  position: absolute;
}
.faq-item .icon::after { transform: rotate(90deg); transition: transform .25s; }
.faq-item[open] .icon { background: var(--accent); }
.faq-item[open] .icon::before, .faq-item[open] .icon::after { background: white; }
.faq-item[open] .icon::after { transform: rotate(0); }
.faq-item .icon { position: relative; }
.faq-body {
  padding: 0 0 28px;
  max-width: 70ch;
  color: var(--text-soft);
  font-size: 16px;
}

/* ====== CTA ====== */
.cta-block {
  text-align: center;
  position: relative;
  z-index: 3;
}
.cta-block h2 { color: white; margin-bottom: 24px; }
.cta-block .actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ====== Footer ====== */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 90% 0%, rgba(79,111,254,0.22), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.footer-brand .brand { color: white; font-size: 19px; }
.footer-brand p { color: var(--on-dark-soft); margin-top: 18px; max-width: 36ch; font-size: 15px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a {
  color: var(--on-dark-soft);
  font-size: 15px;
  transition: color .15s;
}
.footer-col a:hover { color: white; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 13.5px;
  color: var(--on-dark-mute);
  position: relative;
  z-index: 2;
}
.footer-bar a { color: var(--on-dark-soft); }
.footer-bar a:hover { color: white; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ====== Legal pages ====== */
.legal-hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
}
.legal-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  color: white;
  margin: 24px 0 16px;
}
.legal-hero p { color: var(--on-dark-soft); max-width: 60ch; font-size: 18px; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: clamp(60px, 8vw, 100px) 0;
}
.legal-toc {
  position: sticky;
  top: 84px;
  align-self: start;
  font-size: 14px;
}
.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.legal-toc a {
  display: block;
  padding: 6px 0 6px 14px;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
  line-height: 1.45;
}
.legal-toc a:hover, .legal-toc a.active {
  color: var(--text);
  border-left-color: var(--accent);
}

.legal-body { max-width: 72ch; font-size: 16.5px; line-height: 1.7; }
.legal-body h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 48px 0 20px;
  scroll-margin-top: 96px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 22px; margin: 32px 0 12px; }
.legal-body p { margin: 0 0 18px; color: var(--text); }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 18px; }
.legal-body li { margin-bottom: 10px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent-deep); }
.legal-body strong { font-weight: 600; color: var(--text); }
.legal-body .highlight {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 4px;
  margin: 24px 0;
  font-size: 15.5px;
}
@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { border-left: 0; padding: 6px 12px; background: var(--paper-2); border-radius: 999px; font-size: 13px; }
  .legal-toc a.active { background: var(--accent); color: white; }
}

/* ====== Contact ====== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.contact-card {
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.contact-card h3 { margin-bottom: 12px; }
.contact-card p { color: var(--text-soft); margin-bottom: 18px; }
.contact-card a { color: var(--accent); font-weight: 500; }
.contact-card a:hover { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ====== Reveal animation ====== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ====== Helpers ====== */
.text-balance { text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
