:root {
  --bg: #faf8f3;
  --bg-tint: #f3f0e7;
  --surface: #ffffff;
  --money: #16a34a;
  --money-ink: #15803d;
  --money-soft: #dcfce7;
  --ink: #0a0a0a;
  --ink-soft: #1f1f1f;
  --muted: #6b7280;
  --muted-2: #9aa0ab;
  --line: #ececec;
  --line-strong: #dcdcdc;
  --blue: #2f6bff;
  --blue-soft: #eaf0ff;
  --blue-ink: #1e4fd1;
  --blue-tint: rgba(47, 107, 255, 0.08);
  --accent-ink: #ffffff;
  --dot: #16a34a;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 10, 10, 0.06);
  --shadow-blue: 0 10px 30px rgba(47, 107, 255, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(10, 10, 10, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  background-attachment: fixed;
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  transition: opacity 600ms ease, transform 800ms ease;
}

body::before {
  content: "";
  position: fixed;
  top: -20%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.14), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: blobDriftA 22s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  bottom: -25%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.07), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: blobDriftB 28s ease-in-out infinite;
}

@keyframes blobDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-3%, 4%) scale(1.05); }
  66%      { transform: translate(2%, -3%) scale(0.97); }
}

@keyframes blobDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(4%, -3%) scale(1.04); }
  80%      { transform: translate(-2%, 5%) scale(0.96); }
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
}

.brand,
nav,
.hero-actions,
.proof-strip,
.niche-picker,
.handoff-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: opacity 160ms ease;
}

.brand:hover { opacity: 0.75; }

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: var(--accent-ink);
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 60% { left: -100%; }
  100%    { left: 120%; }
}

nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

nav a {
  text-decoration: none;
  position: relative;
  transition: color 160ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1.5px;
  width: 0;
  background: var(--blue);
  transition: width 220ms ease;
}

nav a:hover { color: var(--ink); }
nav a:hover::after { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) 44px;
  position: relative;
}

.hero-copy,
.hero-card {
  animation: heroRise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-card {
  animation-delay: 120ms;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(47, 107, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 159, 67, 0.06), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy { position: relative; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-trust p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--surface);
  margin-left: -8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.avatars span:first-child { margin-left: 0; }

.eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 600;
}

h1 {
  max-width: 880px;
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: 1.02;
}

h1 .accent {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}

h1 .accent {
  background: linear-gradient(90deg, var(--blue) 0%, #5b8aff 50%, var(--blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentSweep 4.5s ease-in-out infinite;
}

@keyframes accentSweep {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 32px;
  font-size: clamp(16px, 1.3vw, 18px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 220ms ease;
}

.button.primary {
  color: var(--accent-ink);
  background: var(--blue);
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.button.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: skewX(-18deg);
  transition: left 720ms ease;
  pointer-events: none;
}

.button.primary:hover {
  background: var(--blue-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.28);
}

.button.primary:hover::after { left: 140%; }

.button.ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.button.ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-card,
.conversation,
.math-card,
.offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.hero-card:hover,
.math-card:hover,
.offer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.hero-card {
  padding: clamp(24px, 3.2vw, 32px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--blue-tint), transparent 70%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  position: relative;
}

.card-top strong { color: var(--ink); font-weight: 600; }

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  flex: none;
}

.live-dot::before,
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.5);
  animation: liveRipple 2s ease-out infinite;
}

.live-dot::after { animation-delay: 1s; }

@keyframes liveRipple {
  0%   { transform: scale(1); opacity: 0.7; }
  80%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-card h2 {
  margin-top: 28px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 500;
  position: relative;
}

.hero-card > p {
  margin-top: 10px;
  font-size: 15px;
  position: relative;
}

.handoff-grid {
  gap: 8px;
  margin-top: 24px;
  position: relative;
}

.handoff-grid div {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.handoff-grid div:hover {
  background: var(--blue-soft);
  border-color: rgba(47, 107, 255, 0.3);
  transform: translateY(-2px);
}

.handoff-grid span,
.result span,
.price-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.handoff-grid strong {
  display: block;
  margin-top: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.proof-strip {
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  transition: color 180ms ease;
  animation: proofGlow 10s ease-in-out infinite;
}

.proof-strip span:nth-child(1) { animation-delay: 0s; }
.proof-strip span:nth-child(2) { animation-delay: 2.5s; }
.proof-strip span:nth-child(3) { animation-delay: 5s; }
.proof-strip span:nth-child(4) { animation-delay: 7.5s; }

.proof-strip span:hover { color: var(--blue); }

@keyframes proofGlow {
  0%, 16%, 100% { color: var(--muted); text-shadow: none; }
  4%, 10%       { color: var(--blue-ink); text-shadow: 0 0 16px rgba(47, 107, 255, 0.28); }
}

.proof-strip span + span::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  transform: translateY(-50%);
}

.section {
  padding: 44px clamp(20px, 5vw, 72px);
  position: relative;
}

.section {
  border-top: 1px solid rgba(10, 10, 10, 0.05);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 20vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}

.hero + .proof-strip + .stats { border-top: none; }
.stats + .how::before,
.section.how::before { display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 14px 20px;
  background: var(--bg);
  display: grid;
  gap: 6px;
  text-align: left;
  transition: background 220ms ease, transform 220ms ease;
  position: relative;
}

.stat:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.stat::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.stat:hover::after { opacity: 0.5; }

.stat strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat:nth-child(3) strong {
  color: var(--money-ink);
  background: linear-gradient(135deg, var(--money-ink), var(--money));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

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

.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.step-num {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 560px;
  margin-top: 12px;
  font-size: 16px;
}

.simulator {
  display: grid;
  gap: 14px;
}

.niche-picker {
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.niche {
  min-height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms ease, background 220ms ease, transform 140ms ease;
}

.niche:hover { color: var(--ink); }
.niche:active { transform: scale(0.96); }

.niche.active {
  color: var(--blue-ink);
  background: var(--blue-soft);
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.conversation,
.math-card {
  padding: clamp(20px, 2.8vw, 28px);
}

.conversation {
  display: grid;
  align-content: center;
  gap: 10px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.conversation.is-replaying {
  border-color: rgba(47, 107, 255, 0.24);
  box-shadow: var(--shadow-md);
}

.conversation::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, var(--blue-tint), transparent 70%);
  pointer-events: none;
}

.bubble,
.handoff-note {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 14.5px;
  position: relative;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn 420ms ease forwards;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bubble:hover,
.handoff-note:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.08);
}

.conversation .bubble:nth-child(1) { animation-delay: 80ms; }
.conversation .bubble:nth-child(2) { animation-delay: 340ms; }
.conversation .bubble:nth-child(3) { animation-delay: 600ms; }
.conversation .bubble:nth-child(4) { animation-delay: 860ms; }
.conversation .handoff-note       { animation-delay: 1120ms; }

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.bubble.muted {
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
}

.bubble.brand {
  margin-left: auto;
  color: var(--accent-ink);
  background: var(--blue);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.22);
}

.bubble.customer {
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
}

.handoff-note {
  max-width: 100%;
  margin-top: 10px;
  color: var(--blue-ink);
  background: var(--blue-soft);
  border: 1px solid rgba(47, 107, 255, 0.2);
  font-weight: 500;
  font-size: 13.5px;
}

.math-card {
  display: grid;
  gap: 22px;
}

label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

label strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--fill, 30%), var(--line) var(--fill, 30%), var(--line) 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--blue);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.3);
  transition: transform 140ms ease, box-shadow 180ms ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.45);
}

input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--blue);
  cursor: grab;
}

.result {
  padding: 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, var(--money-soft), rgba(22, 163, 74, 0.04));
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.result span,
.result p {
  color: var(--muted);
}

.result strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  background: linear-gradient(135deg, var(--money-ink), var(--money));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.result p {
  margin: 10px 0 0;
  font-size: 13px;
}

.leak-section {
  padding-top: 28px;
}

.leak-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 14px;
  align-items: stretch;
}

.leak-check {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.leak {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.leak:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 255, 0.28);
}

.leak.active {
  color: var(--blue-ink);
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(47, 107, 255, 0.03)),
    var(--surface);
  border-color: rgba(47, 107, 255, 0.32);
  box-shadow: var(--shadow-md);
}

.leak::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.leak.active::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 5px var(--surface);
}

.leak-result {
  display: grid;
  align-content: center;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(47, 107, 255, 0.14), transparent 42%),
    var(--ink);
  color: var(--accent-ink);
  box-shadow: var(--shadow-md);
}

.leak-result span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leak-result strong {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.leak-result p {
  max-width: 420px;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
}

.leak-result a {
  justify-self: start;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.leak-result a:hover {
  border-color: var(--accent-ink);
  opacity: 0.8;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}

.price {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.referral-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid rgba(47, 107, 255, 0.18);
  animation: referralPulse 2.6s ease-in-out infinite;
}

@keyframes referralPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.10); }
}

.referral-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
  flex: none;
}

.referral-note strong {
  color: var(--blue-ink);
  font-weight: 700;
}

.onboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.onboard.in .onboard-grid .step {
  animation: stepRise 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.onboard.in .onboard-grid .step:nth-child(1) { animation-delay: 80ms; }
.onboard.in .onboard-grid .step:nth-child(2) { animation-delay: 200ms; }
.onboard.in .onboard-grid .step:nth-child(3) { animation-delay: 320ms; }
.onboard.in .onboard-grid .step:nth-child(4) { animation-delay: 440ms; }

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

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14.5px;
}

.offer-cta {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  max-width: 240px;
}

.offer-help {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.offer-help a {
  color: var(--blue-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 107, 255, 0.32);
  transition: color 160ms ease, border-color 160ms ease;
}

.offer-help a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.offer-card li {
  position: relative;
  padding-left: 26px;
}

.offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.offer-card li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent-ink) !important;
  font-weight: 600;
  transition: background 180ms ease;
}

.nav-cta:hover { background: var(--blue); }
.nav-cta::after { display: none !important; }

.contact {
  padding-bottom: 32px;
}

.offer {
  padding-top: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-copy h2 { margin-top: 14px; }
.contact-copy > p { margin-top: 14px; max-width: 460px; }

.contact-meta {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 440px;
}

.contact-meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
}

.contact-meta a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact-meta a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.meta-label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 600;
}

.meta-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.contact-form .button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.form-status.ok { color: var(--blue-ink); }
.form-status.err { color: #c0392b; }

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.footer-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-copy {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  position: relative;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: color 160ms ease;
}

.footer-links a:hover { color: var(--blue); }

.sticky-cta {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
}

.sticky-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta:hover {
  background: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #7aa4ff);
  z-index: 40;
  transition: width 80ms linear;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 160ms ease, background 160ms ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(80vw, 320px);
  padding: 72px 26px 26px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(10, 10, 10, 0.15);
  display: grid;
  align-content: start;
  gap: 6px;
  transform: translateX(105%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background 160ms ease;
}

.mobile-nav a:hover { background: var(--blue-soft); }

.mobile-nav .button.primary {
  margin-top: 16px;
  justify-content: center;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.tilt:hover { transition-duration: 60ms; }

.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 12px 14px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  animation: typingBounce 1.1s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 160ms; }
.typing-dots span:nth-child(3) { animation-delay: 320ms; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.conversation .bubble,
.conversation .handoff-note {
  animation: none;
  opacity: 1;
  transform: none;
}

.caret::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -2px;
  animation: caretBlink 900ms steps(2) infinite;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

.gauge {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin-bottom: 8px;
}

.gauge svg { display: block; overflow: visible; }

.gauge-track {
  stroke: rgba(255, 255, 255, 0.12);
}

.gauge-fill {
  stroke: url(#gauge-gradient);
  stroke: #ff6b6b;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 700ms cubic-bezier(0.2, 0.8, 0.2, 1), stroke 400ms ease;
  filter: drop-shadow(0 0 8px currentColor);
}

.gauge-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
}

.gauge-label strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.gauge-label span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.leak-fixes {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.leak-fixes[hidden] { display: none; }

.leak-fixes li {
  position: relative;
  padding: 8px 12px 8px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  line-height: 1.4;
}

.leak-fixes li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}

.leak-dollar {
  margin: 6px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.leak-dollar strong {
  color: var(--accent-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.faq {
  padding-top: 36px;
  padding-bottom: 36px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 220ms ease;
}

.faq-item[open] {
  border-color: rgba(47, 107, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  flex: 1;
  min-width: 0;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5e57, #ff9f43);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  box-shadow: 0 6px 16px rgba(255, 94, 87, 0.32);
  white-space: nowrap;
}

.faq-badge::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 9px;
  height: 11px;
  background: radial-gradient(ellipse at 50% 70%, #fff 0%, #ffe28a 28%, #ffb84d 60%, transparent 78%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 4px rgba(255, 200, 100, 0.6));
  animation: flameFlicker 1.4s ease-in-out infinite;
}

@keyframes flameFlicker {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50%      { transform: translateY(-52%) scale(1.08); opacity: 0.85; }
}

.faq-item.highlight {
  border-color: rgba(255, 94, 87, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 94, 87, 0.06), rgba(255, 159, 67, 0.04)),
    var(--surface);
}

.faq-item.highlight[open] {
  border-color: rgba(255, 94, 87, 0.5);
  box-shadow: 0 12px 28px rgba(255, 94, 87, 0.16);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition: background 180ms ease, transform 260ms ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.6px;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--blue);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--accent-ink);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
}

.site-header.scrolled {
  padding-top: 11px;
  padding-bottom: 11px;
  box-shadow: 0 6px 20px rgba(10, 10, 10, 0.04);
}

nav a.current {
  color: var(--ink);
}

nav a.current::after {
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

@media (max-width: 900px) {
  nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero,
  .sim-grid,
  .leak-grid,
  .offer-card {
    grid-template-columns: 1fr;
  }
  .leak-check { grid-template-columns: repeat(2, 1fr); }
  .leak { min-height: 92px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .onboard-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-actions,
  .button,
  .handoff-grid,
  footer {
    width: 100%;
  }
  .handoff-grid,
  footer {
    flex-direction: column;
  }
  .leak-check { grid-template-columns: 1fr; }
  .leak { min-height: 78px; }
  .onboard-grid { grid-template-columns: 1fr; }
  .bubble { max-width: 96%; }
  .proof-strip span + span::before { display: none; }
  .sticky-cta {
    left: 16px;
    right: 16px;
  }
}
