/* ============================================================
   Audeet — landing page
   Design system: audit-grade precision. Warm near-white base,
   deep navy ink, one confident blue, teal-green for "verified".
   ============================================================ */

:root {
  /* color */
  --ink: #0b1526;
  --ink-2: #12203a;
  --ink-3: #1b2c4a;
  --body: #45566e;
  --muted: #6b7a90;
  --faint: #8894a9;

  --bg: #fafaf7;
  --bg-warm: #f5f5f0;
  --surface: #ffffff;
  --line: #e6e6df;
  --line-soft: #eeeee8;

  --accent: #1e56d6;
  --accent-deep: #16409f;
  --accent-soft: #e8eefc;
  --verify: #0e9f6e;
  --verify-deep: #0b7d57;
  --verify-soft: #e2f6ee;
  --teal: #0d9488;
  --amber: #b45309;
  --amber-soft: #fdf3e3;
  --danger: #c0392b;

  /* dark surfaces */
  --dk-bg: #071021;
  --dk-bg-2: #0a1729;
  --dk-card: rgba(255, 255, 255, 0.045);
  --dk-line: rgba(255, 255, 255, 0.09);
  --dk-text: #eaf0f8;
  --dk-body: #a8b6c9;
  --dk-muted: #7e8ea4;

  /* type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, sans-serif;

  /* geometry */
  --container: 1128px;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;

  --shadow-card: 0 1px 2px rgba(11, 21, 38, 0.05), 0 24px 48px -24px rgba(11, 21, 38, 0.22);
  --shadow-card-hover: 0 2px 4px rgba(11, 21, 38, 0.06), 0 32px 64px -28px rgba(11, 21, 38, 0.3);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.44, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* iOS: prevent horizontal rubber-band revealing off-canvas paint */
  overscroll-behavior-x: none;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { padding: 0; list-style: none; }
button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
/* iOS: snappy taps, no 300ms delay, no gray flash on the pill/nav controls */
.btn, .nav-links a, .mobile-menu a, .nav-burger, .footer-links a { touch-action: manipulation; }
::selection { background: rgba(30, 86, 214, 0.16); }

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

.num {
  font-feature-settings: "tnum" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  /* respect the notch when the device is held in landscape */
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* ---------- shared type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--dark { color: #6ea8ff; }
.section-head {
  max-width: 660px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .section-sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
}
.section-head--dark h2 { color: var(--dk-text); }
.section-head--dark .section-sub { color: var(--dk-body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9688rem;
  line-height: 1;
  padding: 14px 26px;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease-out); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(30, 86, 214, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-quiet {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.05);
}
.btn-quiet:hover {
  border-color: #cfd4dc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(11, 21, 38, 0.25);
}
.btn-quiet:hover svg { transform: translateY(2px); }
.btn-sm { padding: 10px 20px; font-size: 0.9063rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
  /* let the frosted bar fill under the Dynamic Island / status bar */
  padding-top: env(safe-area-inset-top);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.35s var(--ease-out);
}

/* padding lifts the 30px mark to a 44px tap target (fits the 72px nav) */
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; }
.brand-mark { width: 30px; height: 30px; }
.brand-tile { fill: var(--ink); transition: fill 0.35s ease; }
.brand-check { stroke: #34d399; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.brand-rule { stroke: #60a5fa; stroke-width: 1.8; stroke-linecap: round; }
.brand-rule--2 { opacity: 0.55; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  opacity: 0.4;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

/* scrolled state */
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 12px rgba(11, 21, 38, 0.05);
}
.nav.is-scrolled .nav-inner { height: 60px; }

/* burger + mobile menu */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  position: relative;
  margin-right: -8px; /* keep the bars optically aligned to the edge */
}
.nav-burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav.menu-open .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(250, 250, 247, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.btn { border: 0; justify-content: center; margin-top: 14px; color: #fff; min-height: 48px; }
.nav.menu-open .mobile-menu { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(40px, 6.5vh, 80px));
  padding-bottom: clamp(88px, 11vh, 132px);
}

/* signature ribbon — slow-flowing gradient strands sweeping the top right */
.ribbon {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 36%, #000 58%);
  mask-image: linear-gradient(105deg, transparent 36%, #000 58%);
}
.ribbon-tilt {
  position: absolute;
  top: -52%;
  right: -26%;
  width: 108%;
  height: 122%;
  transform: rotate(-15deg);
}
.ribbon-strip {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  /* only the sway lives here — a compositor-friendly transform, no repaint */
  animation: ribbonsway 21s ease-in-out infinite alternate;
  will-change: transform;
}
/* the flowing gradient is a wide child translated horizontally (GPU-composited,
   zero per-frame repaint) rather than an animated background-position (which
   repaints every frame and drains battery / janks scroll on iPhone) */
.ribbon-flow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 400%;
  background-image: linear-gradient(
    100deg,
    #2563eb 0%,
    #0ea5a4 22%,
    #8b5cf6 44%,
    #f59e0b 62%,
    #ec4899 80%,
    #2563eb 100%
  );
  background-size: 50% 100%;
  background-repeat: repeat;
  animation: ribbonflow 34s linear infinite;
  will-change: transform;
}
.rs1 { top: 34%; height: 150px; opacity: 0.9; }
.rs2 { top: 52%; height: 102px; opacity: 0.5; animation-duration: 27s; animation-delay: -6s; }
.rs2 .ribbon-flow { animation-duration: 46s; animation-delay: -12s; }
.rs3 { top: 64%; height: 60px; opacity: 0.26; animation-duration: 33s; animation-delay: -14s; }
.rs3 .ribbon-flow { animation-duration: 58s; animation-delay: -30s; }
@keyframes ribbonflow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes ribbonsway {
  from { transform: translateY(0) scaleY(1); }
  to { transform: translateY(26px) scaleY(1.12); }
}
.ribbon-glow {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 900px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.14), rgba(14, 165, 164, 0.08) 55%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
/* grid items default to min-width:auto, which lets nowrap descendants
   (badges, pills) force the track wider than the viewport — zero it out */
.hero-copy, .feature-copy, .feature-visual, .cch-copy, .cch-visual {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  max-width: 100%;
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--accent-deep);
  border: 1px solid rgba(30, 86, 214, 0.18);
  background: rgba(30, 86, 214, 0.06);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.034em;
  font-weight: 650;
  color: var(--ink);
}
.hero-h1 span { display: block; }
.hero-h1-accent {
  margin-top: 6px;
  width: fit-content;
  background: linear-gradient(92deg, var(--accent) 0%, #7c5cf0 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.short-label { display: none; }
@media (max-width: 480px) {
  .long-label { display: none; }
  .short-label { display: inline; }
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.0938rem;
  line-height: 1.72;
  color: var(--body);
  max-width: 32em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-trust svg { width: 14px; height: 14px; color: var(--verify); flex: none; }

/* ---------- hero product visual ---------- */
.hero-stage {
  perspective: 1800px;
  position: relative;
  height: 640px;
}
.hero-scene {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(5deg + var(--ry, 0deg))) rotateY(calc(-9deg + var(--rx, 0deg)));
  transition: transform 0.15s linear;
  height: 100%;
}

/* messy source card */
.card-messy {
  position: absolute;
  top: 0;
  left: -20px;
  width: 336px;
  border-radius: 12px;
  background: #f4f5f8;
  border: 1px solid #e2e5eb;
  box-shadow: 0 24px 48px -20px rgba(11, 21, 38, 0.25);
  transform: translateZ(-90px) rotateZ(-1.6deg);
  overflow: hidden;
  font-size: 0.6563rem;
  color: #7d8a9e;
}
.messy-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #e5e8ee;
  background: #eceef3;
}
.messy-dots { display: inline-flex; gap: 5px; }
.messy-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d3d8e0; }
.messy-filename {
  font-size: 0.6875rem;
  color: #5c6b82;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messy-tabs {
  display: flex;
  gap: 2px;
  padding: 7px 10px 0;
  border-bottom: 1px solid #e5e8ee;
}
.messy-tabs span {
  padding: 4px 9px 5px;
  border-radius: 6px 6px 0 0;
  background: #e4e7ee;
  font-size: 0.625rem;
  white-space: nowrap;
  color: #8894a9;
}
.messy-tabs span.active { background: #fff; color: #45566e; }
.messy-body { padding: 10px 12px 14px; display: grid; gap: 7px; }
.messy-row {
  display: grid;
  grid-template-columns: 52px 46px 1fr auto;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.messy-row span:last-child { text-align: right; }
.messy-row span { overflow: hidden; text-overflow: ellipsis; }

/* flow particles */
.flow { position: absolute; top: 150px; left: 140px; width: 200px; height: 130px; transform: translateZ(-30px); }
.flow-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.55);
  opacity: 0;
  animation: flowmove 2.6s ease-in-out infinite;
}
.fd1 { top: 4px; animation-delay: 0s; }
.fd2 { top: 40px; animation-delay: 0.65s; background: var(--accent); box-shadow: 0 0 8px rgba(30, 86, 214, 0.5); }
.fd3 { top: 78px; animation-delay: 1.3s; }
.fd4 { top: 112px; animation-delay: 1.95s; background: var(--accent); box-shadow: 0 0 8px rgba(30, 86, 214, 0.5); }
@keyframes flowmove {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate(175px, 55px); opacity: 0; }
}

/* clean workpaper card */
.card-clean {
  position: absolute;
  top: 108px;
  right: -6px;
  width: min(470px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06), 0 40px 80px -28px rgba(11, 21, 38, 0.35);
  transform: translateZ(30px);
  color: var(--ink);
  font-size: 0.75rem;
  overflow: hidden;
}
.clean-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.clean-header-l { display: flex; align-items: center; gap: 10px; }
.clean-logo { width: 26px; height: 26px; flex: none; }
.clean-title { display: block; font-weight: 600; font-size: 0.8125rem; letter-spacing: -0.01em; }
.clean-subtitle { display: block; font-size: 0.6875rem; color: var(--muted); margin-top: 1px; }
.clean-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-warm);
  border: 1px solid var(--line-soft);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: statusblink 1.1s ease-in-out infinite;
}
@keyframes statusblink { 50% { opacity: 0.3; } }
.clean-status.is-done { color: var(--verify-deep); background: var(--verify-soft); border-color: rgba(14, 159, 110, 0.25); }
.clean-status.is-done .status-dot { background: var(--verify); animation: none; }

.clean-cols {
  display: grid;
  grid-template-columns: 78px 66px 1fr 96px;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line-soft);
}
.clean-cols .num { text-align: right; }

.clean-rows { padding: 4px 0; min-height: 172px; }
.clean-rows, .clean-totals { transition: opacity 0.4s ease; }
.is-resetting .clean-rows,
.is-resetting .clean-totals,
.is-resetting .clean-status { opacity: 0; }
.clean-row {
  display: grid;
  grid-template-columns: 78px 66px 1fr 96px;
  gap: 10px;
  padding: 8px 18px;
  position: relative;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), background 0.4s ease;
  transition-delay: calc(var(--i) * 120ms);
  color: var(--ink-3);
}
.clean-row .num { text-align: right; }
.clean-row span:nth-child(1), .clean-row span:nth-child(2) { color: var(--muted); }

.p-rows .clean-row { opacity: 1; transform: translateY(0); }
.clean-row--more { padding-block: 4px; }
.clean-row--more span:nth-child(3) {
  color: var(--faint);
  font-size: 0.6563rem;
  letter-spacing: 0.02em;
}
.prepared-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 0.6563rem;
  color: var(--faint);
  font-weight: 500;
}

/* sampling highlight */
.clean-row.is-sample::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-out);
}
.clean-row.is-sample::after {
  content: attr(data-sample);
  position: absolute;
  right: 124px;
  top: 50%;
  translate: 0 -50%;
  font-size: 0.5938rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.35s var(--ease-out), scale 0.35s var(--ease-spring);
}
.p-sample .clean-row.is-sample { background: linear-gradient(90deg, rgba(30, 86, 214, 0.06), rgba(30, 86, 214, 0)); }
.p-sample .clean-row.is-sample::before { transform: scaleY(1); }
.p-sample .clean-row.is-sample::after { opacity: 1; scale: 1; }
.p-sample .clean-row.is-sample:nth-of-type(4)::before,
.p-sample .clean-row.is-sample:nth-of-type(4)::after { transition-delay: 0.35s; }

/* totals + tie */
.clean-totals {
  border-top: 1px solid var(--line-soft);
  padding: 10px 18px 16px;
  background: linear-gradient(to bottom, rgba(250, 250, 247, 0.6), #fff);
}
.total-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-weight: 500;
  color: var(--ink-3);
}
.total-line .num { font-weight: 600; color: var(--ink); }
.double-rule { margin-top: 7px; display: grid; gap: 2.5px; }
.double-rule i {
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.double-rule i:last-child { transition-delay: 0.12s; opacity: 0.85; }
.p-tie .double-rule i { transform: scaleX(1); }

.tie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
}
.tie-note {
  font-size: 0.6875rem;
  color: var(--faint);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: 0.7s;
}
.p-tie .tie-note { opacity: 1; }
.tied-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--verify);
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(14, 159, 110, 0.6);
  opacity: 0;
  scale: 0.5;
  transition: opacity 0.4s var(--ease-out), scale 0.5s var(--ease-spring);
  transition-delay: 0s;
}
.tied-badge svg { width: 13px; height: 13px; }
.p-tie .tied-badge { opacity: 1; scale: 1; transition-delay: 0.55s; }

/* review chip */
.review-chip {
  position: absolute;
  bottom: -26px;
  left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 24, 44, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 0.7188rem;
  font-weight: 500;
  color: #c3d0e2;
  box-shadow: 0 24px 48px -18px rgba(11, 21, 38, 0.45);
  transform: translateZ(70px) translateY(14px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-out);
  white-space: nowrap;
}
.p-tie .review-chip {
  opacity: 1;
  transform: translateZ(70px) translateY(0);
  transition-delay: 0.85s;
}
.chip-item { display: inline-flex; align-items: center; gap: 6px; }
.chip-item svg { width: 12px; height: 12px; }
.chip-check { color: #4de0c2; }
.chip-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.14); }

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.cred { border-block: 1px solid var(--line-soft); background: var(--bg); }
.cred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  padding-block: 26px;
}
.cred-item {
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.cred-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); flex: none; }
@media (max-width: 980px) {
  .cred-inner { flex-direction: column; gap: 10px; text-align: center; }
  .cred-item { white-space: normal; }
  .cred-sep { display: none; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--bg-warm); padding-block: clamp(88px, 11vw, 140px); }

.pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
}
.pain {
  display: flex;
  gap: 22px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.pain:nth-last-child(1) {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--line);
}
.pain-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--faint);
  padding-top: 5px;
  flex: none;
}
.pain h3 { font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.pain p { font-size: 0.9688rem; color: var(--muted); max-width: 44em; }

.pain-result {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: -0.012em;
  max-width: 30em;
}

/* the reframe — its own moment band */
.moment {
  position: relative;
  background: #fff;
  padding-block: clamp(96px, 12vw, 150px);
  text-align: center;
  overflow: hidden;
}
.moment-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 70% 12%, rgba(124, 92, 240, 0.09), transparent 70%),
    radial-gradient(520px 380px at 24% 88%, rgba(13, 148, 136, 0.07), transparent 70%);
}
.moment .container { position: relative; }
.reframe-q {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 650;
  color: var(--ink);
}
.reframe-q em {
  font-style: italic;
  background: linear-gradient(92deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 2px;
}
.reframe-a {
  margin: 26px auto 0;
  max-width: 40em;
  font-size: 1.125rem;
  color: var(--muted);
}

.pain--wide { align-items: center; }
.pain--wide > div { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.pain--wide h3 { font-size: 1.35rem; margin-bottom: 0; flex: none; }
.pain--wide p { max-width: none; flex: 1; min-width: 280px; }

/* ============================================================
   CCH COMPLEMENT
   ============================================================ */
.cch { background: #fff; padding-block: clamp(88px, 11vw, 140px); }
.cch-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.cch-copy h2 { margin-bottom: 18px; }
.cch-body { color: var(--muted); }
.cch-copy .feature-list { margin-top: 26px; }

.cch-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}
.cch-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.04), 0 18px 40px -24px rgba(11, 21, 38, 0.2);
}
.cch-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: 16px;
}
.cch-card-icon svg { width: 22px; height: 22px; }
.cch-card--tp .cch-card-icon { background: none; border: 0; width: 42px; height: 42px; }
.cch-card--tp .cch-card-icon svg { width: 42px; height: 42px; border-radius: 11px; }
.cch-card-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cch-card-role {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
  margin-bottom: 14px;
}
.cch-card--tp .cch-card-role { color: var(--teal); }
.cch-card ul { display: grid; gap: 8px; }
.cch-card li {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.cch-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}
.cch-card--tp { border-color: rgba(13, 148, 136, 0.3); }
.cch-card--tp li::before { background: rgba(13, 148, 136, 0.45); }
.cch-plus {
  align-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #6ee7c8;
  box-shadow: 0 10px 24px -8px rgba(11, 21, 38, 0.45);
  z-index: 1;
}
.cch-plus svg { width: 18px; height: 18px; }
.cch-caption {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--faint);
  white-space: nowrap;
}

/* ============================================================
   HOW IT WORKS / PIPELINE
   ============================================================ */
.how { padding-block: clamp(88px, 11vw, 140px); background: var(--bg); }

.pipeline { position: relative; }

.pipe-ends {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.pipe-mid {
  position: absolute;
  left: 50%;
  bottom: -56px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7813rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.04);
  z-index: 1;
}
.pipe-mid span { color: var(--line); }
.pipe-card {
  position: relative;
  width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px 20px;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.04), 0 14px 30px -18px rgba(11, 21, 38, 0.18);
}
.pipe-card--before { transform: rotate(-1.2deg); }
.pipe-card--after { transform: rotate(1.2deg); }
.pipe-card-tag {
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}
.pipe-card--after .pipe-card-tag { background: var(--verify); }
.pipe-card-title { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.0313rem; letter-spacing: -0.01em; margin-top: 4px; }
.pipe-card-sub { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 3px; }
.pipe-card-rows {
  margin-top: 14px;
  display: grid;
  gap: 5px;
  font-size: 0.625rem;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
}
.pipe-card-rows--messy span { color: var(--faint); }
.pipe-card-rows--messy span:nth-child(2) { margin-left: 10px; }
.pipe-card-rows--clean span { color: var(--muted); }
.pipe-total-row {
  color: var(--verify-deep) !important;
  font-weight: 600;
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
}
.pipe-tied {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--verify-deep);
  background: var(--verify-soft);
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.4s var(--ease-out), scale 0.45s var(--ease-spring);
}
.pipe-tied svg { width: 11px; height: 11px; }
.pipe-card.is-tied .pipe-tied { opacity: 1; scale: 1; }

.pipe-rail { position: relative; height: 2px; margin: 0 8px 40px; }
.pipe-track { position: absolute; inset: 0; background: var(--line); border-radius: 2px; }
.pipe-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 26px);
  counter-reset: step;
}
.step { position: relative; padding-top: 4px; }
.step::before {
  content: "";
  position: absolute;
  top: -47px;
  left: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--faint);
  margin-bottom: 14px;
  transition: all 0.4s var(--ease-out);
}
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 0.9688rem; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--faint); transition: color 0.35s ease; }
.step p { font-size: 0.8125rem; line-height: 1.6; color: var(--faint); transition: color 0.35s ease; }

.step.is-on::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 86, 214, 0.14);
}
.step.is-on .step-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: #6ee7c8;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(11, 21, 38, 0.4);
}
.step.is-on h3 { color: var(--ink); }
.step.is-on p { color: var(--muted); }
.step:last-child.is-on::before {
  border-color: var(--verify);
  background: var(--verify);
  box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.16);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding-block: clamp(48px, 6vw, 80px) clamp(88px, 11vw, 130px); background: var(--bg); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-block: clamp(48px, 6vw, 76px);
}
.feature--flip .feature-copy { order: 2; }
.feature--flip .feature-visual { order: 1; }

.feature-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 18px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); }
.feature-list { margin-top: 26px; display: grid; gap: 12px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink-3);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--verify-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%230b7d57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- mocks (shared) ---------- */
.feature-visual {
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 24px;
  background: linear-gradient(135deg, #edf2fc 0%, #f7f6f1 60%, #f0f4f0 100%);
}
.feature:nth-of-type(even) .feature-visual {
  background: linear-gradient(135deg, #e9f5f0 0%, #f6f6f1 55%, #eef2fb 100%);
}
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 0.8125rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.mock:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-title { font-weight: 600; color: var(--ink); font-size: 0.875rem; letter-spacing: -0.01em; }
.mock-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.mock-pill--live { color: var(--accent); background: var(--accent-soft); border-color: rgba(30, 86, 214, 0.2); }
.mock-pill--tied {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--verify-deep);
  background: var(--verify-soft);
  border-color: rgba(14, 159, 110, 0.25);
}
.mock-pill--tied svg { width: 11px; height: 11px; }
.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, rgba(250, 250, 247, 0.5), rgba(250, 250, 247, 0.9));
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

/* MUS mock */
.mus-params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.mus-params--4 { grid-template-columns: repeat(4, 1fr); }
.mus-params--4 > div { padding: 12px 10px; }
.mus-params--4 strong { font-size: 0.75rem; white-space: nowrap; }
.mus-params > div { padding: 12px 20px; border-right: 1px solid var(--line-soft); }
.mus-params > div:last-child { border-right: 0; }
.mus-params span { display: block; font-size: 0.6563rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); font-weight: 600; }
.mus-params strong { display: block; font-size: 0.875rem; color: var(--ink); margin-top: 3px; font-weight: 600; letter-spacing: -0.01em; }

.mus-rows { padding: 6px 0; }
.mus-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr 110px;
  gap: 12px;
  padding: 9px 20px;
  color: var(--ink-3);
  font-size: 0.7813rem;
}
.mus-row span:first-child { color: var(--muted); }
.mus-row span:last-of-type { text-align: right; }
.mus-row.is-hit { padding-right: 88px; }
.mus-tag {
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2.5px 8px;
  opacity: 0;
  scale: 0.7;
  transition: opacity 0.4s var(--ease-out), scale 0.4s var(--ease-spring);
  transition-delay: calc(0.5s + var(--i) * 0.14s);
}
.mus-row.is-hit::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-out);
  transition-delay: calc(0.45s + var(--i) * 0.14s);
}
.mus-row.is-hit { transition: background 0.4s ease; transition-delay: calc(0.45s + var(--i) * 0.14s); }
.in-view .mus-row.is-hit { background: linear-gradient(90deg, rgba(30, 86, 214, 0.055), rgba(30, 86, 214, 0)); }
.in-view .mus-row.is-hit::before { transform: scaleY(1); }
.in-view .mus-tag { opacity: 1; scale: 1; }

/* trail mock */
.trail-totals {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 12px;
}
.trail-totals > div { flex: 1; }
.trail-totals span { display: block; font-size: 0.6563rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); font-weight: 600; }
.trail-totals strong { display: block; font-size: 0.9375rem; color: var(--ink); margin-top: 3px; font-weight: 600; letter-spacing: -0.01em; }
.trail-eq {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verify-soft);
  border: 1px solid rgba(14, 159, 110, 0.25);
  color: var(--verify-deep);
  font-weight: 700;
  font-size: 0.9375rem;
}
.trail-rule { margin: 0 20px; display: grid; gap: 2.5px; padding-bottom: 4px; }
.trail-rule i { height: 1.5px; background: var(--ink); }
.trail-rule i:last-child { opacity: 0.8; }

.trail-steps { padding: 10px 0 8px; }
.trail-step {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7.5px 20px;
  font-size: 0.7813rem;
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: calc(0.25s + var(--i) * 0.11s);
}
.in-view .trail-step { opacity: 1; transform: translateX(0); }
.trail-step .num:last-child { color: var(--faint); font-size: 0.7188rem; }
.trail-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--verify-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%230b7d57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.trail-open { color: var(--accent); font-weight: 600; }

/* local-first diagram */
.mock-local {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.local-node {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: linear-gradient(to bottom, #fff, var(--bg));
}
.local-node-label {
  display: block;
  font-size: 0.6563rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 12px;
}
.local-files { display: grid; gap: 7px; }
.local-file {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7188rem;
  font-weight: 500;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 6px 10px;
}
.local-file svg { width: 13px; height: 13px; color: var(--muted); flex: none; }
.local-file.is-locked { color: var(--verify-deep); border-color: rgba(14, 159, 110, 0.28); background: var(--verify-soft); }
.local-file.is-locked svg { color: var(--verify-deep); }

.local-link { text-align: center; min-width: 130px; }
.local-relay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.local-relay svg { width: 11px; height: 11px; }
.local-wire {
  position: relative;
  height: 2px;
  background-image: linear-gradient(90deg, var(--line) 55%, transparent 45%);
  background-size: 9px 2px;
  border-radius: 2px;
}
.local-wire i {
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(30, 86, 214, 0.55);
  opacity: 0;
}
.in-view .local-wire i { animation: wiretravel 2.2s ease-in-out infinite; }
@keyframes wiretravel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  86% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}
.local-wire-label { display: block; font-size: 0.6563rem; color: var(--faint); margin-top: 9px; line-height: 1.45; }
.local-guarantees { display: grid; gap: 7px; }
.local-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7188rem;
  font-weight: 500;
  color: var(--ink-3);
}
.local-guarantees svg { width: 12px; height: 12px; color: #c2410c; flex: none; }

/* receipt mock */
.receipt-lines { padding: 8px 0 4px; }
.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7.5px 20px;
  font-size: 0.7813rem;
  color: var(--ink-3);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: calc(0.2s + var(--i) * 0.09s);
}
.in-view .receipt-line { opacity: 1; transform: translateY(0); }
.receipt-line em, .receipt-total em { font-style: normal; color: var(--faint); font-size: 0.7188rem; }
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8438rem;
}
.receipt-compare { padding: 16px 20px 20px; display: grid; gap: 10px; }
.bar-row {
  display: grid;
  grid-template-columns: 64px 1fr 52px;
  align-items: center;
  gap: 12px;
  font-size: 0.7188rem;
}
.bar-label { color: var(--muted); font-weight: 500; }
.bar-val { color: var(--faint); }
.bar { height: 10px; border-radius: 5px; background: var(--bg-warm); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.bar--manual i { width: 92%; background: linear-gradient(90deg, #cdd4de, #aeb9c8); transition-delay: 0.7s; }
.bar--agent i { width: 7%; background: linear-gradient(90deg, var(--accent), var(--teal)); transition-delay: 0.9s; }
.in-view .bar i { transform: scaleX(1); }

/* ============================================================
   PROOF / STATS
   ============================================================ */
.proof {
  position: relative;
  background: linear-gradient(to bottom, #081226, #0b1830);
  padding-block: clamp(88px, 11vw, 140px);
  overflow: hidden;
}
.proof-inner { position: relative; }

.wave { position: absolute; inset: 0; pointer-events: none; opacity: 0.85; }
.wave svg { width: 100%; height: 100%; animation: wavebreathe 14s ease-in-out infinite alternate; }
@keyframes wavebreathe {
  0% { transform: translateY(0) scaleY(1); opacity: 0.75; }
  100% { transform: translateY(-14px) scaleY(1.05); opacity: 1; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stat { padding: 36px 28px 36px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--dk-text);
}
.stat-num--g1 { background: linear-gradient(94deg, #5eead4, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num--g2 { background: linear-gradient(94deg, #a78bfa, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num--g3 { background: linear-gradient(94deg, #fbbf77, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num--g4 { background: linear-gradient(94deg, #7dd3fc, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-frac { font-size: 0.52em; font-weight: 600; letter-spacing: -0.02em; }
.stat-frac--block { display: block; font-size: 0.3em; margin-top: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.stat p { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; color: var(--dk-body); }

.proof-note {
  margin-top: 26px;
  font-size: 0.9375rem;
  color: var(--dk-body);
  max-width: 46em;
}
.proof-note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  margin-right: 10px;
  vertical-align: 1px;
}

.catch {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.catch-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 14px;
}
.catch-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--dk-text);
}
.catch-visual {
  background: rgba(8, 18, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.catch-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
}
.catch-line + .catch-line { border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.catch-src {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dk-muted);
}
.catch-name { font-size: 0.9375rem; font-weight: 500; color: var(--dk-text); }
.catch-name b {
  font-weight: 700;
  border-radius: 3px;
  padding: 0 2px;
  margin: 0 0.5px;
  background: rgba(94, 234, 212, 0.16);
  color: #5eead4;
}
.catch-name b.is-diff { background: rgba(251, 191, 119, 0.16); color: #fbbf77; box-shadow: inset 0 -1.5px 0 rgba(251, 191, 119, 0.5); }
.catch-flag {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7813rem;
  font-weight: 500;
  color: #fbbf77;
  background: rgba(251, 191, 119, 0.09);
  border: 1px solid rgba(251, 191, 119, 0.28);
  border-radius: 999px;
  padding: 7px 14px;
}
.catch-flag svg { width: 13px; height: 13px; flex: none; }

/* ============================================================
   TRUST / SECURITY (light)
   ============================================================ */
.trust {
  position: relative;
  background: var(--bg);
  padding-block: clamp(88px, 11vw, 140px);
}
.trust-diagram { margin-top: 20px; }
.trust-diagram .mock-local { background: var(--surface); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.03);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: #d9dde4;
  box-shadow: var(--shadow-card);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #6ee7c8;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px -10px rgba(11, 21, 38, 0.4);
}
.trust-icon svg { width: 23px; height: 23px; }
.trust-card h3 { color: var(--ink); font-size: 1.125rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.trust-card p { font-size: 0.9063rem; line-height: 1.65; color: var(--muted); }

.trust-compliance {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.trust-compliance > p { font-size: 0.875rem; color: var(--faint); font-weight: 500; }
.compliance-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.compliance-chips span {
  font-size: 0.7813rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  background: var(--surface);
}

/* ============================================================
   FAQ + FOUNDER
   ============================================================ */
.faq { background: #fff; padding-block: clamp(88px, 11vw, 132px); border-top: 1px solid var(--line-soft); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 72px);
}
.faq-item h3 {
  font-size: 1.0313rem;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}
.faq-item p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

.founder {
  margin-top: clamp(56px, 7vw, 88px);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
}
.founder-mark { width: 44px; height: 44px; flex: none; }
.founder-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--ink-2);
}
.founder-sign { margin-top: 14px; font-size: 0.875rem; font-weight: 500; color: var(--muted); }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cta {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 160px);
  text-align: center;
}
.cta-ribbon {
  position: absolute;
  top: -40px;
  right: -140px;
  width: 720px;
  height: 380px;
  transform: rotate(-16deg);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 12%, #000 55%);
  mask-image: linear-gradient(100deg, transparent 12%, #000 55%);
  opacity: 0.5;
}
.cta-ribbon .rs1 { top: 22%; height: 92px; }
.cta-ribbon .rs2 { top: 52%; height: 56px; }

.cta-inner { position: relative; }
.cta h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  letter-spacing: -0.032em;
  line-height: 1.08;
}
.cta-accent {
  background: linear-gradient(92deg, var(--accent) 0%, #7c5cf0 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p {
  margin: 24px auto 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.0938rem;
}
.cta-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-choice {
  margin-top: 20px !important;
  font-size: 0.9063rem !important;
  font-weight: 500;
  color: var(--ink-3) !important;
}
.cta-note { margin-top: 10px !important; font-size: 0.8125rem; color: var(--faint) !important; max-width: 44em !important; }

/* ============================================================
   WAITLIST FORM
   ============================================================ */
.wl-form { max-width: 620px; margin: 40px auto 0; text-align: left; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wl-field { display: flex; flex-direction: column; gap: 7px; }
.wl-field--full { grid-column: 1 / -1; }
/* author display:flex beats the UA [hidden] rule — hide branches explicitly */
.wl-field[hidden] { display: none !important; }
.wl-field label {
  font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em;
}
.wl-field input,
.wl-field select {
  width: 100%; font-family: var(--font-body); color: var(--ink);
  /* 16px floor: iOS Safari zooms the viewport when focusing a control under 16px */
  font-size: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px;
  min-height: 44px; /* Apple HIG minimum tap target */
  -webkit-appearance: none; appearance: none;
  touch-action: manipulation; /* kills the 300ms double-tap-zoom delay */
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.wl-field input::placeholder { color: var(--faint); }
.wl-field input:focus,
.wl-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.wl-field select {
  cursor: pointer; padding-right: 38px; background-repeat: no-repeat;
  background-position: right 12px center; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236b7a90' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* placeholder-option looks muted until a real choice is made */
.wl-field select:invalid { color: var(--faint); }
.wl-submit { width: 100%; margin-top: 20px; }
.wl-privacy { margin-top: 12px !important; text-align: center; font-size: 0.8125rem; color: var(--faint) !important; }
.wl-error { margin-top: 12px !important; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--danger) !important; }
/* honeypot: visually hidden but still in the DOM for bots */
.wl-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wl-success {
  max-width: 620px; margin: 40px auto 0; text-align: center;
  background: var(--verify-soft); border: 1px solid rgba(14, 159, 110, 0.25);
  border-radius: var(--radius); padding: 40px 32px;
}
.wl-success-check { width: 52px; height: 52px; color: var(--verify); }
.wl-success h3 {
  margin-top: 14px; font-family: var(--font-display); font-size: 1.5rem;
  color: var(--ink); letter-spacing: -0.02em; outline: none;
}
.wl-success p { margin-top: 8px; color: var(--body); font-size: 1rem; }

/* pain-point multi-select */
.wl-pains { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.wl-pains legend {
  font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em;
  padding: 0; margin-bottom: 4px;
}
.wl-pains-hint { font-weight: 400; color: var(--faint); letter-spacing: 0; }
.wl-pains-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 4px; }
.wl-check {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 2px; min-height: 44px;
  cursor: pointer; font-size: 0.9375rem; color: var(--body); line-height: 1.35;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.wl-check input {
  width: 18px; height: 18px; margin-top: 2px; flex: none;
  accent-color: var(--accent); cursor: pointer;
}
.wl-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 640px) {
  .wl-grid { grid-template-columns: 1fr; }
  .wl-pains-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 64px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { margin-top: 16px; font-size: 0.875rem; color: var(--muted); max-width: 26em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; padding-top: 6px; }
/* vertical padding lifts these to a 44px tap target on phones */
.footer-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; padding: 11px 0; }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  /* clear the home indicator on notchless-button iPhones */
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
}
.footer-base p { font-size: 0.7813rem; color: var(--faint); }

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.3s; }

/* stagger pains */
.pain-list .pain:nth-child(2) { transition-delay: 0.08s; }
.pain-list .pain:nth-child(4) { transition-delay: 0.08s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 76px; }
  .hero-copy { max-width: 620px; }
  .hero-stage { height: 610px; max-width: 640px; margin-inline: auto; width: 100%; }
  .ribbon-tilt { right: -55%; top: -48%; }
  .rs1 { opacity: 0.55; }
  .rs2 { opacity: 0.32; }
  .rs3 { opacity: 0.18; }
  .cch-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cch-caption { position: static; transform: none; margin-top: 18px; text-align: center; }
  .card-messy { left: 0; }
  .card-clean { right: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .step::before { display: none; }
  .pipe-rail { display: none; }
  .pipe-mid { display: none; }
  .pipe-ends { margin-bottom: 44px; }
  .step .step-icon { margin-bottom: 12px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .nav.menu-open { background: rgba(250, 250, 247, 0.97); }
  .nav.menu-open .brand-name { color: var(--ink); }
  .nav.menu-open .nav-burger span { background: var(--ink); }

  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px; }
  .feature--flip .feature-copy { order: 1; }
  .feature--flip .feature-visual { order: 2; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .stat { margin-right: 0; padding: 26px 18px 26px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .stat:nth-child(odd) { padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
  .stat:nth-child(even) { padding-left: 22px; }

  .catch { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .mock-local { grid-template-columns: minmax(0, 1fr); }
  .local-link { padding-block: 6px; }
  .local-wire { max-width: 220px; margin-inline: auto; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .pain-list { grid-template-columns: minmax(0, 1fr); }
  .pain { padding-block: 24px; }
  .pipeline { display: flex; flex-direction: column; }
  .pipe-ends { display: contents; }
  .pipe-card { width: 100%; transform: none; }
  .pipe-card--before { order: 1; }
  .steps { order: 2; grid-template-columns: 1fr 1fr; margin-block: 36px 28px; }
  .pipe-card--after { order: 3; }
  .hero-stage { min-height: 0; height: auto; }
  .hero-scene { transform: none; }
  .card-messy { display: none; }
  .flow { display: none; }
  .clean-row.is-sample::after { display: none; }
  .clean-cols, .clean-row { grid-template-columns: 74px 62px 1fr 84px; gap: 8px; font-size: 0.6875rem; }
  .card-clean { position: relative; top: 0; right: 0; width: 100%; transform: none; }
  .review-chip {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 14px;
    transform: none;
    white-space: normal;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .p-tie .review-chip { transform: none; }
  .founder { flex-direction: column; gap: 16px; }
  .prepared-line { flex-direction: column; gap: 4px; }
  .cred-inner { padding-block: 22px; }
  .footer-inner { flex-direction: column; }
  .cch-visual { grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; }
  .cch-card { width: 100%; }
  .cch-plus { margin: 2px 0; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-scene { transform: rotateX(5deg) rotateY(-9deg); }
  .ribbon-strip, .ribbon-flow { animation: none; }
  .wave svg { animation: none; }
  .flow-dot { display: none; }
}
