/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #0F5C5C;
  --action: #E8732A;
  --ink: #1A1A1A;
  --canvas: #FAF8F5;
  --bg: #FAF8F5;
  --bg-alt: #f0efe8;
  --border: #D9D4CE;
  --muted: #888880;
  --success: #2D8A4E;
  --alert: #C0392B;
  --accent: #1A1A1A;
  --rule: #D9D4CE;
  --cta: #E8732A;
  --accent-warm: #E8732A;
  --heading: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --sans: 'Inter', 'Helvetica Neue', sans-serif;
  --col-width: 1120px;
  --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-40: 40px; --sp-48: 48px; --sp-64: 64px;
  --sp-80: 80px; --sp-96: 96px;
  --sp-120: 120px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --hero-bg: #0C1A24;
  --hero-ink: #F5F3EE;
  --hero-muted: #9CA3AF;
  --hero-glow-color: rgba(232, 115, 42, 0.12);
  --nav-max-width: 1040px;
  --nav-t: 1;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Scroll Progress ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  width: 0%;
  z-index: 1000;
  transition: width 50ms linear;
}

/* ── Top Bar ─────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100vw - 40px), var(--nav-max-width));
  z-index: 900;
  isolation: isolate;

  background: transparent;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: none;
  padding: 10px 14px 10px 20px;
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-24);
  border-radius: 24px;
  transition:
    width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    min-height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s ease,
    box-shadow 0.6s ease,
    top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* State A glass — visible over hero (--nav-t near 0) */
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 55px rgba(6, 10, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  opacity: calc(1 - var(--nav-t));
  pointer-events: none;
  z-index: 0;
}

/* State B glass — visible over content (--nav-t near 1) */
.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: var(--nav-t);

  pointer-events: none;
  z-index: 0;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.topbar--compact {
  top: 10px;
  width: min(calc(100vw - 72px), 720px);
  min-height: 46px;
  padding: 3px 3px 3px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex: 0 0 auto;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(26,26,26,0.8);

  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topbar-title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--heading);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: font-size 0.7s cubic-bezier(0.16, 1, 0.3, 1), min-height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-accent { color: var(--accent-warm); }
a.topbar-title:hover {
  color: var(--ink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  white-space: nowrap;
  transition: color 0.3s, background 0.3s, transform 0.3s, padding 0.7s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);}

.topbar-nav .nav-sep {
  display: none;
}

.btn-download {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  padding: 6px 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-download:hover { opacity: 0.6; }

.topbar .btn-download {
  color: color-mix(in srgb, rgba(255,255,255,0.82), rgba(26,26,26,0.7) calc(var(--nav-t) * 100%));
  background: color-mix(in srgb, rgba(255,255,255,0.06), rgba(0,0,0,0.04) calc(var(--nav-t) * 100%));
  border-color: color-mix(in srgb, rgba(255,255,255,0.12), rgba(0,0,0,0.1) calc(var(--nav-t) * 100%));
  border-radius: 16px;
  padding: 10px 14px;
}
.topbar .btn-download:hover {
  opacity: 1;
  color: color-mix(in srgb, #fff, var(--ink) calc(var(--nav-t) * 100%));
  background: color-mix(in srgb, rgba(255,255,255,0.1), rgba(0,0,0,0.06) calc(var(--nav-t) * 100%));
}

.btn-cta {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: var(--action);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s, transform 0.35s var(--ease-out-back), box-shadow 0.35s var(--ease-out-expo);
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
}
.btn-cta:hover {
  background: #cf6522;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(232,115,42,0.25);
}

.btn-secondary {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid var(--brand);
  padding: 14px 28px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.35s var(--ease-out-back), box-shadow 0.35s var(--ease-out-expo);
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
}
.btn-secondary:hover {
  opacity: 0.85;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-16);
  justify-content: center;
  flex-wrap: wrap;
}

.topbar-cta {
  position: relative;
  min-width: 146px;
  padding: 11px 18px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  color: var(--action);
  border: 2px solid var(--action);
  border-radius: 18px;
  box-shadow: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, min-width 0.7s cubic-bezier(0.16, 1, 0.3, 1), width 0.7s cubic-bezier(0.16, 1, 0.3, 1), height 0.7s cubic-bezier(0.16, 1, 0.3, 1), padding 0.7s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar-cta::before {
  content: '\2192';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--action);
  opacity: 0;
  transform: translateY(4px) scale(0.92);
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}
.topbar-cta:hover {
  background: rgba(232, 115, 42, 0.08);
  color: var(--action);
}

.topbar-cta__icon {
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
  color: var(--action);
}

.topbar--compact .topbar-title {
  font-size: 1.2rem;
  min-height: auto;
}

.topbar--compact .topbar-nav a {
  padding: 6px 10px;
  font-size: 12px;
}

.topbar--compact .topbar-cta {
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 12px;
  font-size: 0;
  color: transparent;
  background: transparent;
  border: 2px solid var(--action);
  box-shadow: none;
}

.topbar--compact .topbar-cta span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar--compact .topbar-cta__icon {
  opacity: 1;
  transform: scale(1);
  color: var(--action);
  font-size: 1.1rem;
}

/* Mobile-only CTA hidden on desktop */
.topbar-cta--mobile {
  display: none !important;
}

.lang-toggle {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.lang-toggle button.active { color: var(--ink); font-weight: 600; }
.lang-toggle button:hover { color: var(--ink); }
.lang-sep { color: var(--border); user-select: none; }

/* ── Content Column ──────────────────────────────── */
.content {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 104px var(--sp-24) var(--sp-96);
}
.content--narrow { max-width: 680px; }

/* ── Typography ──────────────────────────────────── */
.title-hero {
  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-24);
  color: var(--ink);
}
.title-hero strong { font-weight: 700; }

/* Headline keyword underlines */
.hl-orange {
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}
.hl-green {
  text-decoration: underline;
  text-decoration-color: var(--success);
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

.subtitle {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: var(--sp-64);
  max-width: 540px;
  margin-right: auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-16);
}

h2 {
  font-family: var(--heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-40);
  color: var(--ink);
}
h2 strong { font-weight: 700; }

h3 {
  font-family: var(--heading);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-16);
  color: var(--ink);
}

p { margin-bottom: var(--sp-24); }

.lede {
  font-weight: 500;
  font-size: 1.02rem;
}

.drop-cap::first-letter {
  font-family: var(--heading);
  font-size: 3.4rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 6px;
  color: var(--accent-warm);
}

/* ── Section Spacing ─────────────────────────────── */
.section { padding: 20px; margin-top: 0; }
.subsection { margin-top: var(--sp-40); }

/* ── Alternating Section Backgrounds ────────────── */
.section--alt {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--sp-96) var(--sp-24);
  background: var(--bg-alt);
}
.section--alt > * {
  max-width: var(--col-width);
  margin-left: auto;
  margin-right: auto;
}
.section--alt > .how-it-works,
.section--alt > .flow-diagram-wrap,
.section--alt > .features-showcase {
  max-width: none;
}
.section--alt > .grid-2col {
  max-width: var(--col-width);
  margin-inline: auto;
}

/* ── Problem Section Treatment ───────────────────── */
.section--problem {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--sp-96) var(--sp-24);
  background: #f4f1eb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--problem > * {
  max-width: var(--col-width);
  margin-left: auto;
  margin-right: auto;
}
.section--problem .loss-calc {
  background: linear-gradient(165deg, #222220 0%, #1a1a18 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  color: #fff;
}
.section--problem .loss-calc .calc-input-group label {
  color: rgba(255, 255, 255, 0.55);
}
.section--problem .loss-calc .slider-value {
  color: #fff;
}
.section--problem .loss-calc .styled-slider {
  background-color: rgba(255, 255, 255, 0.12);
}
.section--problem .loss-calc .styled-slider::-webkit-slider-thumb {
  background: #fff;
}
.section--problem .loss-calc .styled-slider::-moz-range-thumb {
  background: #fff;
}
.section--problem .loss-calc .styled-slider::-moz-range-track {
  background: rgba(255, 255, 255, 0.12);
}
.section--problem .loss-calc .styled-slider::-moz-range-progress {
  background: var(--action);
}
.section--problem .loss-calc .loss-calc__amount {
  color: var(--accent-warm);
}
.section--problem .loss-calc .loss-calc__period {
  color: rgba(255, 255, 255, 0.55);
}
.section--problem .loss-calc .loss-calc__per-year {
  color: rgba(255, 255, 255, 0.55);
}
.section--problem .loss-calc .loss-calc__per-year strong {
  color: #fff;
}
.section--problem .loss-calc .loss-calc__caption {
  color: rgba(255, 255, 255, 0.4);
}
.section--problem .proof-bar {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.section--problem .proof-bar__divider {
  background: rgba(0, 0, 0, 0.08);
}
/* ── Problem Section Closer ──────────────────────── */
.problem-closer {
  text-align: center;
  max-width: 640px;
  margin: var(--sp-48) auto 0;
  padding: 0;
  background: none;
  border: none;
}
.problem-closer__text {
  font-family: var(--heading);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--sp-24);
}
.problem-closer__text strong {
  color: var(--accent-warm);
  font-weight: 800;
}
.problem-closer__cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.problem-closer__cta:hover {
  color: var(--action);
}


/* ── Stat Block ──────────────────────────────────── */
.stat-block {
  border-left: 1px solid var(--rule);
  padding-left: var(--sp-24);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  padding-right: var(--sp-24);
  margin: var(--sp-40) 0;
  background: rgba(15,92,92,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.stat-number {
  font-family: var(--heading);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--sp-8);
}

/* ── Callout Block ───────────────────────────────── */
.callout {
  border-left: 3px solid var(--brand);
  padding: var(--sp-24);
  margin: var(--sp-40) 0;
  background: rgba(15,92,92,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout p {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Bullet List ─────────────────────────────────── */
.insight-list {
  list-style: none;
  margin: var(--sp-24) 0;
  padding: 0;
}

.insight-list li {
  padding-left: var(--sp-24);
  position: relative;
  margin-bottom: var(--sp-16);
  line-height: 1.65;
}

.insight-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  border-radius: 50%;
}

/* ── Numbered Steps ──────────────────────────────── */
.step-list {
  list-style: none;
  counter-reset: steps;
  margin: var(--sp-40) 0;
  padding: 0;
}

.step-list li {
  counter-increment: steps;
  padding-left: 48px;
  position: relative;
  margin-bottom: var(--sp-40);
  line-height: 1.65;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
}

.step-list li strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ── SVG Visuals ─────────────────────────────────── */
.visual-container {
  margin: var(--sp-64) 0;
  width: 100%;
}

.visual-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.visual-caption {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--sp-16);
}

/* ── Comparison Table ────────────────────────────── */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-40) 0;
}

.comp-table th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--ink);
}

.comp-table td {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.55;
  vertical-align: top;
}

.comp-table td:first-child {
  font-weight: 500;
  padding-right: var(--sp-24);
  width: 35%;
  color: var(--accent);
}

.comp-table td:nth-child(2) { padding-right: var(--sp-16); }

/* ── Calculation Box ─────────────────────────────── */
.calc-box {
  border: 1px solid var(--rule);
  padding: var(--sp-40);
  margin: var(--sp-40) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.calc-box .calc-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-24);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--rule);
}

.calc-row:last-of-type {
  border-bottom: none;
  margin-top: var(--sp-8);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--ink);
}

.calc-row .label { font-size: 0.92rem; color: var(--accent); }

.calc-row .value {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 600;
}

.calc-row:last-of-type .value {
  font-size: 1.5rem;
}

/* ── Divider ─────────────────────────────────────── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin: var(--sp-96) 0;
}

/* ── Email Opt-in ────────────────────────────────── */
.optin {
  margin-top: var(--sp-96);
  padding: var(--sp-64) var(--sp-40);
  border-top: 1px solid var(--rule);
  background: linear-gradient(135deg, rgba(15,92,92,0.04) 0%, rgba(232,115,42,0.04) 100%);
  border-radius: var(--radius-md);
}

.optin h3 {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--sp-16);
}

.optin p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: var(--sp-24);
  max-width: 480px;
}

.optin-form {
  display: flex;
  gap: var(--sp-16);
  align-items: center;
  flex-wrap: wrap;
}

.optin-form input[type="email"] {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.optin-form input[type="email"]:focus {
  border-color: var(--ink);
}

.optin-form input[type="email"]::placeholder {
  color: var(--muted);
  font-size: 0.88rem;
}

.optin-form button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  padding: 10px 24px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.optin-form button:hover { opacity: 0.6; }

.optin-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--sp-16);
  letter-spacing: 0.01em;
}

/* ── Source Citation ──────────────────────────────── */
.source {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  display: block;
  margin-top: 4px;
}

.source-inline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  margin-top: var(--sp-96);
  padding: var(--sp-40) 0 var(--sp-24);
  border-top: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-40);
  margin-bottom: var(--sp-40);
}

.footer__logo {
  font-family: var(--heading);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: var(--sp-8);
}

.footer__heading {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp-16);
}

.footer p {
  margin-bottom: var(--sp-8);
  line-height: 1.5;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer__bottom {
  padding-top: var(--sp-24);
  border-top: 1px solid var(--rule);
  font-size: 12px;
}

/* ── Language Toggle ─────────────────────────────── */
.lang-es { display: none; }
body.es .lang-en { display: none; }
body.es .lang-es { display: block; }
body.es .lang-es.stat-block,
body.es .lang-es.callout,
body.es .lang-es.optin,
body.es .lang-es.subsection { display: block; }
body.es .lang-es.visual-container { display: block; }
body.es .lang-es.calc-box { display: block; }

body.es .lang-en-inline { display: none; }
body.es .lang-es-inline { display: inline; }
.lang-es-inline { display: none; }

/* ── Content Cards ───────────────────────────────── */
.card {
  display: block;
  border: 1px solid var(--border);
  padding: var(--sp-24);
  margin: var(--sp-24) 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-8);
}

.card-title {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--sp-16);
}

.card-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 2px 4px 2px 4px;
  margin: -2px -4px;
  transition: opacity 0.2s, background-color 0.3s ease;
  border-radius: 2px;
}

.card-link:hover { opacity: 0.6; }

/* Highlighter effect on card hover */
.grid-2col .card:hover .card-link { opacity: 1; }
.grid-2col .card:first-child:hover .card-link {
  background-color: rgba(232, 129, 58, 0.3);
  border-bottom-color: transparent;
}
.grid-2col .card:nth-child(2):hover .card-link {
  background-color: rgba(74, 222, 128, 0.3);
  border-bottom-color: transparent;
}

/* ── Stats Row (landing page) ────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  margin: var(--sp-64) 0;
}

.stats-row .stat-block {
  margin: 0;
}

/* ── Two-Column Grid ─────────────────────────────── */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  margin: var(--sp-40) 0;
}

.grid-2col .card {
  margin: 0;
}

.section--alt > .grid-2col .card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.section--alt > .grid-2col .card:hover {
  border-color: var(--ink);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ── Scorecard (guide page) ──────────────────────── */
.scorecard {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-40) 0;
}

.scorecard th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--ink);
}

.scorecard th:nth-child(2),
.scorecard th:nth-child(3) {
  text-align: center;
  width: 60px;
}

.scorecard td {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.55;
  vertical-align: middle;
}

.scorecard td:nth-child(2),
.scorecard td:nth-child(3) {
  text-align: center;
  width: 60px;
}

.scorecard input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
  vertical-align: middle;
}

.scorecard input[type="radio"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.score-result {
  border: 1px solid var(--rule);
  padding: var(--sp-24);
  margin-top: var(--sp-24);
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.3s;
}

.score-result .score-number {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--accent-warm);
  font-weight: 400;
}

/* ── How It Works ────────────────────────────────── */
/* ── How It Works Showcase ────────────────────────── */
.how-it-works {
  margin-top: var(--sp-64);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 var(--sp-24);
}

.showcase {
  display: grid;
  grid-template-columns: 2fr 3fr;
  max-width: 960px;
  margin: 0 auto;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
}

.showcase__text {
  display: flex;
  align-items: center;
  padding: var(--sp-48) var(--sp-40);
  background: #f0efe8;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.showcase__panel {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: var(--sp-40);
  right: var(--sp-40);
  transform: translateY(calc(-50% + 12px));
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.showcase__panel.active {
  opacity: 1;
  position: absolute;
  top: 50%;
  left: var(--sp-40);
  right: var(--sp-40);
  transform: translateY(-50%);
  pointer-events: auto;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase__panel.leaving {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: var(--sp-40);
  right: var(--sp-40);
  transform: translateY(calc(-50% - 12px));
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-16);
}

.showcase__label::before {
  content: '\25A0';
  font-size: 0.5rem;
  vertical-align: middle;
  margin-right: 8px;
  color: var(--ink);
}

.showcase__heading {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-16);
}

.showcase__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Right visual panel */
.showcase__visual {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-80) var(--sp-32) var(--sp-48);
}
.showcase__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../lock_screen_wallpaper.jpg') center / cover no-repeat;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.showcase__visual > * {
  position: relative;
  z-index: 1;
}

/* Tab bar */
.showcase__tabs {
  position: absolute;
  top: var(--sp-24);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: rgba(250, 250, 250, 0.909);
  backdrop-filter: blur(12px) brightness(50%);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 4px;
  z-index: 2;
}

.showcase__tab {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 18px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.showcase__tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.408);
}

.showcase__tab:hover:not(.active) {
  color: var(--ink);
}

/* Screen panels */
.showcase__screen {
  position: absolute;
  width: 100%;
  max-width: 320px;
  height: 420px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.showcase__screen.active {
  position: absolute;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase__screen.leaving {
  position: absolute;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Phone Mockup (Tab 1) ────────────────────────── */
.phone-mockup {
  background: #252523;
  border-radius: 20px;
  padding: var(--sp-24);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-mockup__status {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-bottom: var(--sp-24);
}

.phone-mockup__notif {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: var(--sp-16);
}

.phone-mockup__notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  margin-top: 4px;
}

.phone-mockup__caller {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  color: #f0f0ee;
  margin-bottom: 2px;
}

.phone-mockup__number {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.phone-mockup__time {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
}

.phone-mockup__activated {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: #4ade80;
  padding: 12px 16px;
  background: rgba(74, 222, 128, 0.06);
  border-radius: 12px;
}

.phone-mockup__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ── Chat Mockup (Tab 2) ─────────────────────────── */
.chat-mockup {
  background: #252523;
  border-radius: 20px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.chat-mockup__header {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.chat-mockup__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 88%;
}

.chat-msg--out {
  background: var(--brand);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg--in {
  background: rgba(255, 255, 255, 0.07);
  color: #ddddd8;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* ── Lead Mockup (Tab 3) ─────────────────────────── */
.lead-mockup {
  background: #252523;
  border-radius: 20px;
  padding: var(--sp-24);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lead-mockup__badge {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--sp-16);
}

.lead-mockup__name {
  font-family: var(--heading);
  font-size: 1.35rem;
  color: #f0f0ee;
  margin-bottom: var(--sp-16);
}

.lead-mockup__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--sans);
  font-size: 0.78rem;
  color: #ddddd8;
}

.lead-mockup__row span:first-child {
  color: rgba(255, 255, 255, 0.35);
}

.lead-mockup__cta {
  display: block;
  width: 100%;
  margin-top: var(--sp-24);
  padding: 12px;
  background: var(--action);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.lead-mockup__cta:hover {
  background: #cf6522;
}

/* ── Before/After Strip ──────────────────────────── */
.before-after {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: var(--sp-40);
  margin-bottom: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
}

.before-after__col {
  flex: 1;
  padding: var(--sp-24);
}

.before-after__col:first-child {
  background: rgba(192, 57, 43, 0.03);
}

.before-after__col:last-child {
  background: rgba(15, 92, 92, 0.03);
}

.before-after__divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.before-after__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alert);
  margin-bottom: var(--sp-8);
}

.before-after__label--green {
  color: var(--brand);
}

.before-after__text {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Showcase Outcome Line ───────────────────────── */
.showcase__outcome {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: var(--sp-16);
  margin-bottom: 0;
  padding-top: var(--sp-12);
  border-top: 1px solid var(--rule);
}

/* ── Showcase CTA ────────────────────────────────── */
.showcase-cta {
  text-align: center;
  margin-top: var(--sp-40);
}

.showcase-cta .btn-cta {
  display: inline-block;
}

.showcase-cta__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-16);
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0;
}

.showcase-cta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Dollar Loss Callout ─────────────────────────── */
.loss-calc {
  text-align: center;
  margin: var(--sp-40) auto var(--sp-8);
  padding: var(--sp-40);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.loss-calc__equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.loss-calc__factor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.loss-calc__num {
  font-family: var(--heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.loss-calc__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.loss-calc__op {
  font-family: var(--heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
}

.loss-calc__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.loss-calc__amount {
  font-family: var(--heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--accent-warm);
  line-height: 1.1;
}

.loss-calc__period {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.loss-calc__caption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: var(--sp-16) 0 0;
  font-style: italic;
}

/* ── Interactive Loss Calculator additions ──────── */
.loss-calc .calc-inputs {
  margin-bottom: var(--sp-32);
}

.loss-calc__result-wrap {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.loss-calc__result-wrap .loss-calc__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.loss-calc__result-wrap .loss-calc__result.updating {
  animation: calcPulse 0.35s var(--ease-out-back);
}

.loss-calc__per-year {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: var(--sp-8);
}

.loss-calc__per-year strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Showcase Progress Dots ──────────────────────── */
.showcase__progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-16);
}

.showcase__progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase__progress-dot.active {
  background: var(--ink);
  transform: scale(1.3);
}

/* ── Features Showcase ───────────────────────────── */
.features-showcase {
  margin-top: var(--sp-48);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 var(--sp-24);
}

.feature-screen__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
  display: inline-block;
  flex-shrink: 0;
  margin-right: 8px;
}

.feature-screen__dot--green {
  background: #4ade80;
}

.feature-screen__dot--amber {
  background: #facc15;
}

/* ── CRM Mockup ──────────────────────────────────── */
.crm-mockup {
  background: #252523;
  border-radius: 20px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.crm-mockup__header {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f0ee;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.crm-mockup__badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.crm-mockup__card {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.crm-mockup__card:last-child {
  border-bottom: none;
  padding-bottom: 18px;
}

.crm-mockup__card--urgent {
  background: rgba(232, 115, 42, 0.06);
  border-left: 3px solid var(--action);
  padding-left: 17px;
}

.crm-mockup__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.crm-mockup__name {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f0ee;
}

.crm-mockup__tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  color: rgb(233, 229, 229);
  background: rgba(24, 124, 171, 0.693);
}

.crm-mockup__tag--hot {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.crm-mockup__tag--follow {
  color: #facc15;
  background: rgba(250, 204, 21, 0.1);
}

.crm-mockup__need {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.crm-mockup__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── AI Mockup ───────────────────────────────────── */
.ai-mockup {
  background: #252523;
  border-radius: 20px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.ai-mockup__header {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f0ee;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.ai-mockup__insight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ai-mockup__insight:last-child {
  border-bottom: none;
  padding-bottom: 20px;
}

.ai-mockup__insight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.ai-mockup__insight-dot--red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.ai-mockup__insight-dot--blue {
  background: #60a5fa;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
}

.ai-mockup__insight-dot--green {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

.ai-mockup__insight-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #f0f0ee;
  margin-bottom: 4px;
}

.ai-mockup__insight-desc {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* ── Flow Diagram ────────────────────────────────── */
.flow-diagram-wrap {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 var(--sp-24);
}

.flow-diagram-svg {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  height: auto;
}

/* ── Early Access ───────────────────────────────── */
.early-access {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-40);
  margin-top: var(--sp-40);
  text-align: center;
}

.early-access p {
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: var(--sp-24);
}

.early-access .btn-cta {
  display: inline-block;
  text-decoration: none;
}

.proof-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-40);
  margin-top: var(--sp-64);
  padding: var(--sp-40);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.proof-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-bar__num {
  font-family: var(--heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--accent-warm);
  line-height: 1.1;
}

.proof-bar__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-bar__divider {
  width: 1px;
  height: 48px;
  background: var(--rule);
  flex-shrink: 0;
}

/* ── Hero Benefit Pills ─────────────────────────── */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-8);
  margin-bottom: var(--sp-24);
}

.hero-pill {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--ink);
}

/* ── Trust Row ──────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  margin-top: var(--sp-24);
}

.avatar-stack {
  display: flex;
  flex-shrink: 0;
}

.avatar-stack__item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-alt);
  margin-left: -10px;
}
.avatar-stack__item:first-child { margin-left: 0; }

.trust-row__text {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.trust-row__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Early Access Enhanced ─────────────────────── */
.early-access--enhanced {
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-64) var(--sp-40);
  background: linear-gradient(135deg, rgba(232,129,58,0.06) 0%, rgba(42,92,90,0.06) 100%);
}

/* ── Enhanced Reveal Animations ────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

.line-reveal {
  overflow: hidden;
}
.line-reveal > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 600ms var(--ease-out-expo);
}
.line-reveal.revealed > span {
  transform: translateY(0);
}

/* ── Revenue Calculator ─────────────────────────── */
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  margin-bottom: var(--sp-40);
}

.calc-input-group label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-12);
}

.segment-control {
  display: flex;
  gap: 0;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.segment-btn {
  flex: 1;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.segment-btn.active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.segment-btn:hover:not(.active) {
  color: var(--ink);
}

.calc-job-size {
  position: relative;
}

.calc-job-size .currency-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-102%);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
}

.calc-job-size input[type="number"] {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px 10px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.calc-job-size input[type="number"]::-webkit-inner-spin-button,
.calc-job-size input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-job-size input[type="number"]:focus {
  border-color: var(--brand);
}

.calc-job-size .calc-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Range Slider (index loss-calc) ─────────────── */
.slider-control {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.slider-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  background-image: linear-gradient(var(--action), var(--action));
  background-size: var(--fill, 25%) 100%;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
}

.slider-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--action);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  cursor: grab;
  transition: transform 0.15s ease;
}

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

.slider-control input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--action);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  cursor: grab;
}

.slider-control input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.slider-control input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--action);
}

.slider-value {
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 48px;
  text-align: right;
  white-space: nowrap;
}

.slider-prefix {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Stacked Slider Layout ──────────────────────── */
.calc-inputs--stacked {
  grid-template-columns: 1fr;
}

.slider-header {
  display: flex;
  justify-content:center;
  align-items: baseline;
  margin-bottom: var(--sp-12);
}

.slider-header .slider-value {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  min-width: 50px;
  text-align: right
}

#guideJobDisplay {
  
  min-width: 100px;
  text-align: right
}

/* ── Styled Slider (rounded, friendly) ──────────── */
.styled-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background: var(--border);
  background-image: linear-gradient(var(--action), var(--action));
  background-size: var(--fill, 25%) 100%;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
}

.styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--action);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.styled-slider::-webkit-slider-thumb:active {
  transform: scale(1.15);
  cursor: grabbing;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.styled-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--action);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: grab;
}

.styled-slider::-moz-range-track {
  height: 10px;
  border-radius: 10px;
  background: var(--border);
}

.styled-slider::-moz-range-progress {
  height: 10px;
  border-radius: 10px;
  background: var(--action);
}

.calc-questions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  margin-bottom: var(--sp-40);
}

.calc-question {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-24);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.calc-question.answered-yes {
  border-color: var(--brand);
}

.calc-question.answered-no {
  border-color: var(--action);
}

.calc-question-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: var(--sp-16);
}

.calc-question-detail {
  font-size: 0.88rem;
  color: var(--action);
  font-weight: 500;
  line-height: 1.55;
  padding: 0 var(--sp-16);
  background: rgba(232, 115, 42, 0.06);
  border-radius: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.05s, padding 0.5s ease, margin-bottom 0.5s ease;
  margin-bottom: 0;
}

.calc-question.answered-no .calc-question-detail {
  max-height: 200px;
  opacity: 1;
  padding: var(--sp-12) var(--sp-16);
  margin-bottom: var(--sp-16);
}

.toggle-group {
  display: flex;
  gap: var(--sp-8);
}

.toggle-btn {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.toggle-btn.active[data-answer="yes"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.toggle-btn.active[data-answer="no"] {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
}

.calc-result {
  text-align: center;
  padding: var(--sp-48) var(--sp-40);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out-back);
}

.calc-result-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-16);
}

.calc-result-amount {
  font-family: var(--heading);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  color: var(--action);
  line-height: 1.1;
  margin-bottom: var(--sp-8);
}

.calc-result-range {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: var(--sp-24);
}

.calc-result-message {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto var(--sp-32);
}

.calc-result .btn-cta {
  display: inline-block;
}

.calc-result.updating {
  animation: calcPulse 0.35s var(--ease-out-back);
}

@keyframes calcPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.hero-cta-nudge {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--brand);
  font-weight: 500;
  margin-top: var(--sp-16);
}

.hero-cta-nudge a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.hero-cta-nudge a:hover {
  color: var(--action);
}

/* ── Calculator Side-by-Side Layout (Guide) ─────── */
.content--narrow #calculator {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100vw - var(--sp-48));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-32);
  align-items: start;
}

.calc-body .calc-questions {
  margin-bottom: 0;
}

.calc-question-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-8);
}

/* Desktop: Sticky result panel */
.calc-result-sticky {
  position: sticky;
  top: 100px;
  text-align: center;
  padding: var(--sp-32) var(--sp-24);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out-back);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.calc-result-sticky .calc-result-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-12);
}

.calc-result-sticky .calc-result-amount {
  font-family: var(--heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--action);
  line-height: 1.1;
  margin-bottom: var(--sp-8);
  white-space: nowrap;
}

.calc-result-sticky .calc-result-range {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: var(--sp-16);
}

.calc-result-sticky .calc-result-message {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 auto var(--sp-24);
}

.calc-result-sticky .btn-cta {
  display: inline-block;
  width: 100%;
  font-size: 13px;
  padding: 12px 16px;
}

.calc-result-sticky.updating {
  animation: calcPulse 0.35s var(--ease-out-back);
}

/* Mobile step counter — hidden on desktop */
.calc-step-counter {
  display: none;
}

/* ── Print Styles ────────────────────────────────── */
@media print {
  .topbar, .scroll-progress, .optin, .btn-download, .lang-toggle, .lang-pill, .floating-cta, .hero-pills, .trust-row, .section-divider, .hero-phone, .hero-mobile-demo { display: none !important; }
  .content { padding-top: 40px; }
  body { font-size: 15px; }
  .section { break-inside: avoid; }
  .visual-container svg { max-height: 300px; }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 720px) {
  .topbar {
    top: 10px;
    width: calc(100vw - 20px);
    min-height: 62px;
    padding: 8px 10px 8px 12px;
    gap: 10px;
    border-radius: 22px;
  }
  .topbar--compact {
    top: 6px;
    width: calc(100vw - 24px);
    min-height: 46px;
    padding: 3px 3px 3px 10px;
    border-radius: 18px;
    opacity: var(--nav-t);
  }
  .topbar-title {
    min-height: 40px;
    font-size: 1.16rem;
  }

  /* Larger tap targets for language toggle on mobile */
  .lang-toggle { font-size: 14px; gap: 8px; }
  .lang-toggle button { padding: 6px 8px; }

  /* Show hamburger on mobile */
  .hamburger { display: flex; }

  /* Nav links dropdown on mobile */
  .topbar-actions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-12);
    padding: var(--sp-16);
    display: none;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.10);
  }
  .topbar.menu-open .topbar-actions {
    display: flex;
  }
  .topbar.menu-open .topbar-nav {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .topbar.menu-open .topbar-nav a {
    font-size: 15px;
    padding: 12px 14px;
    color: rgba(26, 26, 26, 0.65);
  }
  .topbar.menu-open .topbar-nav a:hover,
  .topbar.menu-open .topbar-nav a.active {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
  }

  /* Mobile CTA hidden from dropdown — icon is in topbar-right */
  .topbar-cta--mobile {
    display: none !important;
  }

  /* Right cluster (lang-pill + hamburger) always visible in topbar */
  .topbar-right {
    gap: 8px;
    flex-shrink: 0;
  }
  .topbar .btn-download {
    display: none;
  }
  /* Mobile CTA icon in topbar-right — always visible as icon */
  .topbar-right .topbar-cta {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    color: transparent;
    background: transparent;
    border: 2px solid var(--action);
  }
  .topbar-right .topbar-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .topbar-right .topbar-cta__icon {
    opacity: 1;
    transform: scale(1);
  }
  .content { padding: 88px var(--sp-16) var(--sp-64); }
  .title-hero { font-size: clamp(38px, 8vw, 44px); }
  h2 { font-size: clamp(28px, 5vw, 32px); }
  .btn-cta { width: 100%; text-align: center; }
  .stat-number { font-size: 2.2rem; }
  .calc-box { padding: var(--sp-24); }
  .optin-form input[type="email"] { width: 100%; }
  .comp-table { font-size: 0.85rem; }
  .stats-row { grid-template-columns: 1fr; }
  .grid-2col { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .toggle-group { width: 100%; }
  .toggle-btn { flex: 1; text-align: center; }
  .segment-btn { min-height: 48px; padding: 12px 8px; }
  .calc-result { padding: var(--sp-32) var(--sp-24); }
  .calc-question { padding: var(--sp-16); }
  .calc-question-detail { display: none !important; }

  /* Calculator: stack layout on mobile */
  .calc-body {
    grid-template-columns: 1fr;
  }

  /* Mobile step-wizard: one question at a time */
  .calc-step-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-16);
    margin-bottom: var(--sp-16);
  }
  .calc-step-label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .calc-step-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.2s;
  }
  .calc-step-arrow:hover:not(:disabled) {
    background: var(--bg-alt);
    border-color: var(--ink);
  }
  .calc-step-arrow:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .calc-body .calc-questions .calc-question {
    display: none;
  }
  .calc-body .calc-questions .calc-question.calc-question--active {
    display: block;
    animation: calcSlideIn 0.25s ease-out;
  }
  @keyframes calcSlideIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .calc-question-num {
    display: none;
  }

  /* Mobile sticky result: compact at bottom of calc section */
  .calc-result-sticky {
    position: relative;
    top: 0;
    padding: var(--sp-24) var(--sp-16);
    border-radius: var(--radius-md);
  }
  .calc-result-sticky .calc-result-amount {
    font-size: clamp(22px, 6vw, 32px);
  }
  .calc-result-sticky .calc-result-message {
    font-size: 0.82rem;
  }

  .how-it-works {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .features-showcase {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .before-after {
    flex-direction: column;
  }
  .before-after__divider {
    width: 100%;
    height: 1px;
  }
  .loss-calc {
    padding: var(--sp-24) var(--sp-16);
  }
  .loss-calc__equation {
    gap: var(--sp-12);
  }
  .showcase {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .showcase__text {
    padding: var(--sp-40) var(--sp-24);
    min-height: 360px;
  }
  .showcase__panel,
  .showcase__panel.active,
  .showcase__panel.leaving {
    left: var(--sp-24);
    right: var(--sp-24);
  }
  .showcase__visual {
    min-height: 520px;
    padding: var(--sp-80) var(--sp-16) var(--sp-32);
    border-radius: 0 0 12px 12px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }
  .showcase__screen {
    max-width: 280px;
    height: 420px;
  }
  .proof-bar {
    flex-direction: column;
    gap: var(--sp-24);
    padding: var(--sp-24);
  }
  .proof-bar__divider {
    width: 48px;
    height: 1px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
  }
  .hero-section--dark {
    padding: 120px var(--sp-24) var(--sp-40);
    margin-top: -88px;
    min-height: auto;
  }
  .hero-blob {
    display: none;
  }
  .hero-layout {
    flex-direction: column;
    gap: var(--sp-32);
  }
  .hero-section--dark .hero-section__text {
    text-align: center;
    flex: 1 1 100%;
    max-width: 440px;
  }
  .hero-section--dark .hero-pills,
  .hero-section--dark .hero-ctas {
    justify-content: center;
  }
  .hero-section--dark .title-hero {
    max-width: 9.25ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp-24);
    line-height: 1.0;
    letter-spacing: -0.04em;
    text-wrap: balance;
    font-size: clamp(40px, 11vw, 52px);
  }
  .hero-section--dark .subtitle {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--sp-24);
    font-size: 0.9rem;
    line-height: 1.55;
    text-wrap: balance;
  }
  .hero-section--dark .hero-pills {
    margin-bottom: var(--sp-24);
  }
  .hero-section--dark .hero-ctas {
    width: 100%;
  }
  .hero-section--dark .hero-ctas .btn-cta {
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-trust-bottom {
    margin-top: var(--sp-32);
  }
  .hero-trust-bottom p {
    font-size: 0.95rem;
  }
  .hero-pills {
    gap: 5px;
  }
  .hero-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .section--alt {
    padding: var(--sp-40) var(--sp-16);
  }
  .section--alt > .lang-en,
  .section--alt > .lang-es {
    margin-bottom: 0;
  }
  .section--alt > .lang-en + .lang-es + .features-showcase,
  .section--alt > .lang-es + .features-showcase,
  .features-showcase {
    margin-top: var(--sp-24);
  }
  .section--problem {
    padding: var(--sp-64) var(--sp-16);
  }
  .early-access--enhanced {
    padding: var(--sp-40) var(--sp-24);
  }
}

/* ═══════════════════════════════════════════════════
   HERO SECTION — index.html only
   ═══════════════════════════════════════════════════ */

/* Hero container — light mode */
.hero-section--dark {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -104px;
  background: var(--bg-alt);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--sp-64) var(--sp-40);
  overflow: hidden;
}

/* Ambient morphing blob (behind phone) */
.hero-blob {
  position: absolute;
  width: 270px;
  height: 540px;
  border-radius: 46px;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  will-change: transform;
}
.hero-blob--warm {
  background: radial-gradient(
    circle at 50% 40%,
    rgba(232, 115, 42, 0.80) 0%,
    rgba(232, 115, 42, 0.55) 50%,
    rgba(232, 115, 42, 0.15) 100%
  );
  box-shadow:
    inset -15px -15px 50px rgba(0, 0, 0, 0.08),
    inset 10px 10px 40px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(232, 115, 42, 0.20),
    0 0 160px rgba(232, 115, 42, 0.10);
  animation: blobBreathe 4s ease-in-out infinite;
}
@keyframes blobBreathe {
  0%   { transform: scale(1) rotate(0deg);   border-radius: 46px; }
  25%  { transform: scale(1.12) rotate(2deg); border-radius: 50% 44% 52% 46% / 48% 52% 44% 50%; }
  50%  { transform: scale(1.18) rotate(0deg); border-radius: 48% 52% 46% 50% / 50% 46% 52% 48%; }
  75%  { transform: scale(1.12) rotate(-2deg);border-radius: 44% 50% 48% 52% / 52% 48% 50% 44%; }
  100% { transform: scale(1) rotate(0deg);   border-radius: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}

/* Split layout */
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-64);
  max-width: var(--col-width);
  width: 100%;
}

/* Text side */
.hero-section--dark .hero-section__text {
  flex: 1 1 55%;
  text-align: left;
  z-index: 2;
}
.hero-section--dark .section-label {
  color: var(--accent-warm);
}
.hero-section--dark .title-hero {
  color: var(--ink);
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-24);
}
.hero-section--dark .subtitle {
  color: var(--muted);
  margin-bottom: var(--sp-32);
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.hero-section--dark .hero-pills {
  justify-content: flex-start;
  margin-bottom: var(--sp-32);
}
.hero-section--dark .hero-ctas {
  justify-content: flex-start;
}
.hero-section--dark .trust-row {
  display: none;
}

/* Hero bottom trust line */
.hero-trust-bottom {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-48);
  text-align: center;
  width: 100%;
}
.hero-trust-bottom p {
  font-family: var(--heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  opacity: 0.18;
  letter-spacing: 0.02em;
}

/* Phone side */
.hero-phone {
  position: relative;
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone__frame {
  width: 270px;
  height: 540px;
  background: #1a1a1a;
  border: 2.5px solid #333;
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 30px 80px rgba(0,0,0,0.22),
    0 10px 28px rgba(0,0,0,0.14);
  position: relative;
}
/* Dynamic Island */
.hero-phone__frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #000;
  border-radius: 100px;
  z-index: 5;
}
/* Lock screen */
.hero-phone__screen.lockscreen {
  width: 100%;
  height: 100%;
  background: url('../lock_screen_wallpaper.jpg') center/cover no-repeat;
  border-radius: 36px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 50;
}
/* Subtle overlay for readability */
.hero-phone__screen.lockscreen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  border-radius: 36px;
  z-index: 1;
  opacity: 100;
}

/* Lock screen status bar */
.ls-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 2;
}
.ls-statusbar__right {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Date & Time */
.ls-datetime {
  text-align: center;
  padding: 22px 0 0;
  position: relative;
  z-index: 2;
}
.ls-date {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2px;
  letter-spacing: 0.02em;
}
.ls-time {
  font-family: var(--sans);
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
  letter-spacing: -2px;
}

/* Notification stack */
.ls-notifications {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 10px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* Individual notification card */
.ls-notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}
.ls-notif--1 {
  z-index: 3;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: notif-pulse 3s ease-in-out infinite;
}
.ls-notif--1::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle 80px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.25), transparent);
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.ls-notif--1:hover::after {
  opacity: 1;
}
.ls-notif--2 {
  z-index: 4;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.24);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: notif-pulse 3s ease-in-out 1.5s infinite;
}
.ls-notif--2::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle 80px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.25), transparent);
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.ls-notif--2:hover::after {
  opacity: 1;
}

/* Notification icon */
.ls-notif__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ls-notif__icon--red { background: #FF3B30; }
.ls-notif__icon--green { background: #34C759; }
.ls-notif__icon--teal { background: var(--cta, #2A5C5A); }

/* Notification body */
.ls-notif__body {
  flex: 1;
  min-width: 0;
}
.ls-notif__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1px;
}
.ls-notif__app {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ls-notif__time {
  font-family: var(--sans);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
}
.ls-notif__title {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.ls-notif__text {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.8);
  margin: 1px 0 0;
  line-height: 1.3;
}

/* Notification pulse to hint interactivity */
@keyframes notif-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.2);
    transform: scale(1.015);
  }
}

/* Home indicator — light for dark lock screen */
.ls-home-indicator {
  background: rgba(255,255,255,0.3) !important;
  opacity: 1 !important;
}

/* Home indicator */
.phone-home-indicator {
  width: 36%;
  height: 4px;
  background: #000;
  border-radius: 100px;
  margin: auto auto 8px;
  opacity: 0.15;
}

/* Missed-call story modal */
.phone-modal {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  will-change: opacity, transform;
}
.phone-modal--active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.phone-modal__inner {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(40, 20, 18, 0.92) 0%,
    rgba(30, 15, 12, 0.96) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 28px 22px 24px;
  color: #fff;
  text-align: center;
  width: 100%;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.phone-modal--invitro .phone-modal__inner {
  background: linear-gradient(
    135deg,
    rgba(12, 42, 38, 0.92) 0%,
    rgba(8, 30, 26, 0.96) 100%
  );
}
.phone-modal__caller {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-align: left;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.phone-modal__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.phone-modal__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
}
.phone-modal__number {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.phone-modal__need {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.phone-modal__timeline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.phone-modal__consequence {
  font-size: 13px;
  font-weight: 700;
  color: #ff6b6b;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.phone-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.phone-modal__close:hover {
  color: #fff;
}

.phone-modal__avatar--teal {
  background: var(--cta, #2A5C5A);
  color: #fff;
}
.phone-modal__timeline--success {
  color: #34C759;
}
.phone-modal__consequence--success {
  color: #34C759;
}

/* Mobile demo — hidden on desktop, shown on mobile */
.hero-mobile-demo {
  display: none;
}

/* Hero entrance items */
.hero-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.hero-item.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero Mobile Overrides ────────────────────────── */
@media (max-width: 720px) {
  .hero-phone {
    display: none !important;
  }
  .hero-mobile-demo {
    display: block !important;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-mobile-demo__cards {
    position: relative;
    min-height: 90px;
  }
  .hero-mobile-demo__card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-radius: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
      0 4px 24px rgba(0,0,0,0.08),
      0 0 0 0.5px rgba(255,255,255,0.1) inset,
      0 1px 0 rgba(255,255,255,0.15) inset;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition:
      opacity 0.5s cubic-bezier(0.16,1,0.3,1),
      transform 0.5s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
  }
  .hero-mobile-demo__card.mobile-step-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    position: relative;
  }
  .hero-mobile-demo__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
  }
  .hero-mobile-demo__icon--red { background: #FF3B30; }
  .hero-mobile-demo__icon--green { background: #34C759; }
  .hero-mobile-demo__icon--teal { background: var(--cta, #2A5C5A); }
  .hero-mobile-demo__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
  }
  .hero-mobile-demo__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hero-mobile-demo__header strong {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .hero-mobile-demo__time {
    font-size: 0.6rem;
    color: var(--muted);
    opacity: 0.6;
  }
  .hero-mobile-demo__title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }
  .hero-mobile-demo__text {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.3;
  }
  .hero-mobile-demo__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .hero-mobile-demo__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.4s ease, transform 0.4s ease;
  }
  .hero-mobile-demo__dots span.active {
    background: var(--accent-warm);
    transform: scale(1.3);
  }
}

/* ── Highlight Emphasis ─────────────────────────── */
.highlight {
  font-style: normal;
  font-weight: 700;
  color: var(--action);
}

/* ── Floating CTA Bubble ────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}
.floating-cta__btn:hover {
  background: #0a4a4a;
  transform: scale(1.05);
}
.floating-cta__btn svg {
  width: 24px;
  height: 24px;
  fill: #fafaf8;
}

.floating-cta__panel {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: var(--sp-24);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.floating-cta__panel.open {
  display: block;
}

.floating-cta__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.floating-cta__close:hover { color: var(--ink); }

.floating-cta__panel h4 {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: var(--sp-8);
  color: var(--ink);
}

.floating-cta__panel p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--sp-16);
  line-height: 1.5;
}

.floating-cta__panel input[type="email"] {
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  width: 100%;
  outline: none;
  margin-bottom: var(--sp-8);
  transition: border-color 0.2s;
}
.floating-cta__panel input[type="email"]:focus {
  border-color: var(--ink);
}

.floating-cta__panel button[type="submit"] {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cta);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.floating-cta__panel button[type="submit"]:hover { background: #cf6522; }

.floating-cta__disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--sp-8);
  margin-bottom: 0;
}

/* ── Language Pill (topbar) ─────────────────────── */
.lang-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lang-pill button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: none;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 14px;
  color: rgba(26,26,26,0.6);
  cursor: pointer;
  color: rgba(26, 26, 26, 0.5);
  transition: color 0.2s, background 0.2s, transform 0.28s var(--ease-out-expo);
  will-change: transform;
}

.lang-pill button.active {
  background: rgba(232, 115, 42, 0.96);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(232, 115, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.lang-pill button:hover:not(.active) {
  color: var(--ink);
  background: color-mix(in srgb, rgba(255,255,255,0.06), rgba(0,0,0,0.04) calc(var(--nav-t) * 100%));
}

@media (max-width: 720px) {
  .lang-pill {
    gap: 2px;
    padding: 3px;
  }
  .lang-pill button {
    min-width: 34px;
    padding: 5px 8px;
    font-size: 10px;
  }
  .floating-cta__panel {
    width: 280px;
  }
}

/* Fallback for browsers without calc() in color-mix() */
@supports not (color: color-mix(in srgb, red, blue calc(0.5 * 100%))) {
  .topbar-title { color: var(--ink); }
  .topbar-nav a { color: rgba(26,26,26,0.7); }
  .hamburger span { background: rgba(26,26,26,0.8); }
  .lang-pill button { color: rgba(26,26,26,0.6); }
  .topbar .btn-download { color: rgba(255,255,255,0.82); }
  .topbar--light.topbar .btn-download { color: rgba(26,26,26,0.7); }
}

/* ── Blog Page Spacing Fix ─────────────────────── */
.content--narrow header .subtitle {
  margin-bottom: var(--sp-16);
}
.content--narrow > .section:first-of-type {
  padding-top: var(--sp-8);
}
.content--narrow > .section:first-of-type > .card:first-child {
  margin-top: 0;
}

/* ── Floating Download Button (blog article) ───── */
.floating-download {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 850;
  transition: top 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}
.topbar--compact ~ .floating-download,
body:has(.topbar--compact) .floating-download {
  top: 78px;
}
.floating-download .btn-download {
  border-radius: 100px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
}
.floating-download .btn-download:hover {
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .floating-download {
    top: 80px;
    right: 12px;
  }
  .floating-download .btn-download {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* ── Mobile Calculator Unified Table ──────────── */
@media (max-width: 720px) {
  #calculator .calc-inputs {
    grid-template-columns: 1fr;
    margin-bottom: 0;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: #fff;
    overflow: hidden;
  }
  /* Row 1: missed calls, Row 2: job size */
  #calculator .calc-inputs .calc-input-group {
    padding: var(--sp-16);
    border-bottom: 1px solid var(--border);
  }
  #calculator .calc-inputs .calc-input-group:first-child {
    border-left: 3px solid var(--action);
  }
  #calculator .calc-inputs .calc-input-group:last-child {
    border-left: 3px solid var(--success);
    border-bottom: none;
  }
  #calculator .calc-inputs .calc-input-group label {
    margin-bottom: var(--sp-8);
  }

  /* Row 3: questions continue the table seamlessly */
  #calculator .calc-body {
    gap: 0;
  }
  #calculator .calc-body .calc-questions {
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: var(--sp-12);
    gap: var(--sp-8);
    border-radius: 0;
  }
  #calculator .calc-body .calc-questions .calc-question {
    border-radius: var(--radius-sm);
    margin: 0;
  }

  /* Row 4: result closes the table */
  #calculator .calc-result-sticky {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1.5px solid var(--border);
    border-top: 2px solid var(--action);
    box-shadow: none;
    background: linear-gradient(180deg, rgba(232,115,42,0.04) 0%, #fff 40%);
  }
}

/* ── Legal Pages ──────────────────────────────────── */
.legal-page h2 {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: var(--sp-48);
  margin-bottom: var(--sp-16);
  color: var(--ink);
}
.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: var(--sp-32);
  margin-bottom: var(--sp-12);
}
.legal-page p {
  margin-bottom: var(--sp-16);
  line-height: 1.7;
}
.legal-page ol,
.legal-page ul {
  margin: var(--sp-16) 0;
  padding-left: var(--sp-24);
}
.legal-page li {
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: var(--sp-32);
}

/* Footer legal links */
.footer__legal-links {
  margin-left: var(--sp-16);
}
.footer__legal-links a {
  margin: 0 var(--sp-8);
  opacity: 0.7;
}
.footer__legal-links a:hover {
  opacity: 1;
}