/* =========================================================================
   Sabor Design System — Tokens
   Colors, typography, spacing, radii, shadows, motion.
   Import this file at the top of any HTML/JSX:
     <link rel="stylesheet" href="colors_and_type.css">
   ========================================================================= */

/* ---------- Webfonts -------------------------------------------------
   Loaded from Google Fonts CDN. To self-host, drop variable TTFs into
   ./fonts/ (Nunito-Variable.ttf, Inter-Variable.ttf) and replace this
   @import with @font-face declarations.
   --------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* ---------- Brand palette (anchors) -------------------------------- */
  --brand-mint: #f7fff7; /* Mint Cream    — surface */
  --brand-pink: #ff6b6b; /* Grapefruit    — primary */
  --brand-teal: #1a535c; /* Dark Teal     — text   */
  --brand-green: #519843; /* Medium Jungle — accent */
  --brand-coffee: #644536; /* Coffee Bean   — neutral */

  /* ---------- Tonal scales (derived) --------------------------------- */
  --pink-50: #fff1f1;
  --pink-100: #ffd9d9;
  --pink-200: #ffb3b3;
  --pink-300: #ff8d8d;
  --pink-400: #ff7a7a;
  --pink-500: #ff6b6b; /* base */
  --pink-600: #fa5252; /* hover */
  --pink-700: #e03131;
  --pink-800: #c92a2a;

  --teal-50: #e8f1f2;
  --teal-100: #c8dde0;
  --teal-200: #8fbabf;
  --teal-300: #56969e;
  --teal-400: #2d737c;
  --teal-500: #1a535c; /* base */
  --teal-600: #144048;
  --teal-700: #0f3036;
  --teal-800: #0a2024;

  --green-50: #ecf5e9;
  --green-100: #cfe5c8;
  --green-200: #a5cd98;
  --green-300: #7bb568;
  --green-400: #5fa34f;
  --green-500: #519843; /* base */
  --green-600: #427a37;
  --green-700: #335d2a;

  --coffee-50: #f2ebe8;
  --coffee-100: #dbc9c2;
  --coffee-200: #b89d90;
  --coffee-300: #94715f;
  --coffee-400: #785544;
  --coffee-500: #644536; /* base */
  --coffee-600: #4f362a;
  --coffee-700: #3a271f;

  /* Mint surface scale */
  --mint-50: #fcfffc;
  --mint-100: #f7fff7; /* base */
  --mint-200: #ecf6ec;
  --mint-300: #ddebdd;

  /* ---------- Semantic colors ---------------------------------------- */
  --bg: var(--brand-mint);
  --bg-alt: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: var(--mint-200);
  --bg-overlay: rgba(100, 69, 54, 0.40); /* coffee 40% */

  --fg: var(--brand-teal);
  --fg-strong: var(--teal-700);
  --fg-muted: rgba(26, 83, 92, 0.72);
  --fg-subtle: rgba(26, 83, 92, 0.55);
  --fg-on-primary: #ffffff;
  --fg-on-accent: #ffffff;

  --border: rgba(100, 69, 54, 0.16); /* coffee 16% */
  --border-strong: rgba(100, 69, 54, 0.32);
  --border-focus: var(--brand-green);

  --primary: var(--brand-green);
  --primary-hover: var(--green-600);
  --primary-press: var(--green-700);
  --secondary: var(--brand-teal);
  --accent: var(--brand-pink);
  --neutral: var(--brand-coffee);

  --success: var(--brand-green);
  --success-bg: var(--green-50);
  --warning: #e8a33d;
  --warning-bg: #fff6e5;
  --danger: var(--pink-700);
  --danger-bg: var(--pink-50);
  --info: var(--brand-teal);
  --info-bg: var(--teal-50);

  /* ---------- Typography --------------------------------------------- */
  --font-heading: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale */
  --type-display: 56px;
  --type-h1: 40px;
  --type-h2: 32px;
  --type-h3: 24px;
  --type-h4: 20px;
  --type-body: 16px;
  --type-small: 14px;
  --type-micro: 12px;

  /* Line heights */
  --lh-display: 1.05;
  --lh-tight: 1.15;
  --lh-snug: 1.30;
  --lh-body: 1.55;

  /* Tracking */
  --track-tight: -0.01em;
  --track-normal: 0;
  --track-loose: 0.08em;

  /* Weights */
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-extra: 800;

  /* ---------- Spacing (8pt soft grid) -------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ---------- Radii --------------------------------------------------- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  /* ---------- Shadows (warm coffee-tinted) --------------------------- */
  --shadow-sm:
    0 1px 2px rgba(100, 69, 54, 0.06),
    0 1px 3px rgba(100, 69, 54, 0.04);
  --shadow-md:
    0 4px 8px rgba(100, 69, 54, 0.08),
    0 2px 4px rgba(100, 69, 54, 0.04);
  --shadow-lg:
    0 12px 24px rgba(100, 69, 54, 0.10),
    0 4px 8px rgba(100, 69, 54, 0.06);
  --shadow-xl:
    0 24px 48px rgba(100, 69, 54, 0.12),
    0 8px 16px rgba(100, 69, 54, 0.06);
  --shadow-focus: 0 0 0 4px rgba(81, 152, 67, 0.24);

  /* ---------- Motion -------------------------------------------------- */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-standard: cubic-bezier(0.20, 0.00, 0.00, 1.00);
  --ease-out: cubic-bezier(0.00, 0.00, 0.20, 1.00);
  --dur-micro: 120ms;
  --dur-fast: 200ms;
  --dur-base: 320ms;

  /* ---------- Layout -------------------------------------------------- */
  --container-marketing: 1200px;
  --container-product: 1280px;
  --sidebar-w: 240px;
}

/* =========================================================================
   Element defaults — opt-in by adding `class="ds-prose"` on a container,
   or use the explicit utility classes below.
   ========================================================================= */

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ds-prose h1, .h1 {
  font-family: var(--font-heading);
  font-weight: var(--w-extra);
  font-size: var(--type-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  color: var(--fg);
  text-wrap: balance;
}
.ds-prose h2, .h2 {
  font-family: var(--font-heading);
  font-weight: var(--w-bold);
  font-size: var(--type-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  color: var(--fg);
  text-wrap: balance;
}
.ds-prose h3, .h3 {
  font-family: var(--font-heading);
  font-weight: var(--w-bold);
  font-size: var(--type-h3);
  line-height: var(--lh-snug);
  color: var(--fg);
}
.ds-prose h4, .h4 {
  font-family: var(--font-heading);
  font-weight: var(--w-bold);
  font-size: var(--type-h4);
  line-height: var(--lh-snug);
  color: var(--fg);
}
.ds-display {
  font-family: var(--font-heading);
  font-weight: var(--w-extra);
  font-size: var(--type-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-tight);
  color: var(--fg);
  text-wrap: balance;
}
.ds-prose p, .body {
  font-size: var(--type-body);
  line-height: var(--lh-body);
  color: var(--fg);
}
.small {
  font-size: var(--type-small);
  line-height: var(--lh-snug);
  color: var(--fg-muted);
}
.micro {
  font-size: var(--type-micro);
  line-height: var(--lh-snug);
  color: var(--fg-muted);
}
.eyebrow {
  font-family: var(--font-heading);
  font-weight: var(--w-bold);
  font-size: var(--type-micro);
  letter-spacing: var(--track-loose);
  text-transform: uppercase;
  color: var(--brand-green);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Paperwork Monster — Landing
   Built on Sabor Design System tokens
   ============================================================ */

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

section {
  position: relative;
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 255, 247, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: var(--brand-teal);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  display: block;
}
.brand span em {
  font-style: normal;
  color: var(--brand-green);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: var(--fg-muted);
  transition: all 200ms var(--ease-bounce);
}
.lang-toggle button.on {
  background: var(--brand-teal);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-teal);
}
.nav-links a {
  transition: color 200ms;
}
.nav-links a:hover {
  color: var(--brand-pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms var(--ease-bounce);
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-pink);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.32);
}
.btn-primary:hover {
  background: var(--pink-600);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 107, 107, 0.4);
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 18px;
}

.btn-outline {
  background: #fff;
  color: var(--brand-teal);
  padding: 16px 26px;
  border-radius: 18px;
  border: 1.5px solid var(--border-strong);
  font-size: 16px;
}
.btn-outline:hover {
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 110px;
  background:
    radial-gradient(
      ellipse 70% 60% at 80% 0%,
      rgba(255, 217, 217, 0.55),
      transparent 60%
    ),
    radial-gradient(
    ellipse 60% 50% at 0% 80%,
    rgba(207, 229, 200, 0.6),
    transparent 65%
  ),
    var(--bg);
}

/* dotted background */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(100, 69, 54, 0.18) 1.2px,
    transparent 1.2px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.kicker-pill {
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Keep "FOR PROS" on one line — otherwise the flex item shrinks and the
     wrapped text turns the pill into a tall oval blob. */
  white-space: nowrap;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--brand-teal);
  text-wrap: balance;
}
.hero h1 .rotor {
  display: inline-block;
  position: relative;
  background: var(--brand-pink);
  color: #fff;
  padding: 0 16px;
  border-radius: 16px;
  transform: rotate(-1.5deg);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
  vertical-align: baseline;
}
.hero h1 .rotor-track {
  display: inline-block;
  height: 1em;
  line-height: 1;
  vertical-align: baseline;
  overflow: hidden;
  position: relative;
  /* width is set by JS to match the active word so layout doesn't jitter */
}
.hero h1 .rotor-track .word {
  display: block;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(60%);
  filter: blur(6px);
  transition:
    transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 380ms ease,
    filter 380ms ease,
    visibility 0s linear 380ms;
}
.hero h1 .rotor-track .word.in,
.hero h1 .rotor-track .word.out {
  visibility: visible;
  transition:
    transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 380ms ease,
    filter 380ms ease,
    visibility 0s linear 0s;
}
.hero h1 .rotor-track .word.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.hero h1 .rotor-track .word.out {
  opacity: 0;
  transform: translateY(-60%);
  filter: blur(6px);
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--fg-muted);
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars .av {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2.5px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  margin-left: -10px;
}
.hero-trust .avatars .av:first-child {
  margin-left: 0;
}
.hero-trust strong {
  color: var(--brand-teal);
  font-family: var(--font-heading);
}

/* ----- Hero visual: phone-as-hero (text → quote demo) ----- */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage {
  position: relative;
  width: 460px;
  height: 600px;
}

/* ambient backdrop blobs */
.hs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hs-blob--mint {
  width: 380px;
  height: 380px;
  top: 40px;
  left: 30px;
  background: radial-gradient(
    circle,
    rgba(159, 220, 134, 0.55) 0%,
    rgba(159, 220, 134, 0) 70%
  );
  animation: blobDrift 14s ease-in-out infinite;
}
.hs-blob--pink {
  width: 320px;
  height: 320px;
  bottom: 50px;
  right: 0;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.32) 0%,
    rgba(255, 107, 107, 0) 70%
  );
  animation: blobDrift 16s ease-in-out -4s infinite reverse;
}
@keyframes blobDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -16px) scale(1.06);
  }
}

/* the phone (hero element, center-stage, slight tilt) */
.hs-phone {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 270px;
  height: 520px;
  background: #1a3530;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 30px 60px -10px rgba(26, 53, 48, 0.45),
    0 18px 36px -8px rgba(100, 69, 54, 0.22);
  z-index: 4;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% {
    transform: translateX(-50%) rotate(-3deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) rotate(-3deg) translateY(-10px);
  }
}
.hs-phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0d1f1c;
  border-radius: 999px;
  z-index: 3;
}
.hs-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f6fbf5 0%, #fff 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* chat header */
.hs-chat__hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 16px 12px;
  border-bottom: 1px solid rgba(100, 69, 54, 0.08);
  background: #fff;
}
.hs-chat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.hs-chat__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hs-chat__name strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-teal);
  white-space: nowrap;
}
.hs-chat__name em {
  font-style: normal;
  font-size: 10px;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.hs-chat__name em::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(81, 152, 67, 0.18);
}

/* chat body */
.hs-chat__body {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.hs-bubble {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  padding: 9px 12px;
  border-radius: 16px;
  max-width: 82%;
  word-wrap: break-word;
}
.hs-bubble--me {
  align-self: flex-end;
  background: var(--brand-teal);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.hs-bubble--them {
  align-self: flex-start;
  background: #f0ece8;
  color: var(--brand-teal);
  border-bottom-left-radius: 5px;
}
.hs-bubble--short {
  font-size: 16px;
  padding: 8px 14px;
}

/* rich quote bubble (the AI-generated quote preview) */
.hs-bubble--rich {
  background: #fff;
  border: 1px solid rgba(100, 69, 54, 0.12);
  padding: 12px;
  width: 92%;
  max-width: none;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(100, 69, 54, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom-left-radius: 5px;
}
.hs-bubble--rich .hs-rich__row strong,
.hs-bubble--rich .hs-rich__total strong {
  white-space: nowrap;
}
.hs-rich__row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
  gap: 8px;
}
.hs-rich__row strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-teal);
  font-size: 11px;
  flex-shrink: 0;
}
.hs-rich__total {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1.5px solid var(--brand-teal);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-teal);
  white-space: nowrap;
  gap: 8px;
}
.hs-rich__cta {
  margin-top: 6px;
  background: var(--brand-pink);
  color: #fff;
  padding: 7px 0;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* chat input bar */
.hs-chat__input {
  padding: 10px 14px 16px;
  background: #fff;
  border-top: 1px solid rgba(100, 69, 54, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hs-chat__input-text {
  flex: 1;
  background: #f0ece8;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-muted);
}
.hs-chat__input-send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-pink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

/* quote document floating behind/right of phone */
.hs-doc {
  position: absolute;
  top: 80px;
  right: -10px;
  width: 200px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(100, 69, 54, 0.10);
  box-shadow:
    0 24px 48px rgba(100, 69, 54, 0.18),
    0 4px 10px rgba(100, 69, 54, 0.06);
  transform: rotate(5deg);
  z-index: 2;
  font-family: var(--font-body);
  animation: docFloat 6s ease-in-out -3s infinite;
}
@keyframes docFloat {
  0%, 100% {
    transform: rotate(5deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-8px);
  }
}
.hs-doc__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.hs-doc__tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--green-50);
  color: var(--green-600);
  padding: 3px 8px;
  border-radius: 999px;
}
.hs-doc__num {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.hs-doc__title {
  margin: 4px 0 2px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-teal);
  letter-spacing: -0.01em;
}
.hs-doc__client {
  font-size: 10px;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.hs-doc__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hs-doc__row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(100, 69, 54, 0.12);
}
.hs-doc__row strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-teal);
  font-size: 11px;
}
.hs-doc__row--total {
  border-bottom: none;
  border-top: 1.5px solid var(--brand-teal);
  margin-top: 4px;
  padding-top: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-teal);
  font-size: 13px;
}
.hs-doc__row--total span,
.hs-doc__row--total strong {
  color: var(--brand-teal);
  font-size: 13px;
}
.hs-doc__sign {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  position: relative;
}
.hs-doc__sign-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--brand-teal) 20%,
    var(--brand-teal) 80%,
    transparent 100%
  );
  position: relative;
}
.hs-doc__sign-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14'><path d='M2 9 Q 10 2 18 8 T 38 7 Q 48 12 60 5 T 84 6' stroke='%23ff6b6b' stroke-width='2' fill='none' stroke-linecap='round'/></svg>")
    no-repeat center / contain;
}
.hs-doc__sign-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  flex-shrink: 0;
  padding-bottom: 1px;
}

/* floating success badges */
.hs-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(100, 69, 54, 0.10);
  box-shadow:
    0 14px 30px rgba(100, 69, 54, 0.16),
    0 4px 10px rgba(100, 69, 54, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 6;
  font-family: var(--font-body);
}
.hs-badge--top {
  top: 70px;
  left: -20px;
  white-space: nowrap;
  animation: badgeFloat 5s ease-in-out infinite;
}
.hs-badge--bottom {
  bottom: 80px;
  right: -30px;
  white-space: nowrap;
  animation: badgeFloat 5s ease-in-out -2s infinite;
}
@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hs-badge__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hs-badge__icon.green {
  background: var(--brand-green);
}
.hs-badge__icon.pink {
  background: var(--brand-pink);
}
.hs-badge__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.hs-badge__body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.hs-badge__body strong,
.hs-badge__body em {
  white-space: nowrap;
}
.hs-badge__body strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-teal);
}
.hs-badge__body em {
  font-style: normal;
  font-size: 11px;
  color: var(--fg-muted);
}

/* sparkles */
.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--brand-pink);
  z-index: 6;
}
.spark.s1 {
  top: 30px;
  left: 38%;
  animation: twinkle 3s ease-in-out infinite;
}
.spark.s2 {
  top: 200px;
  right: 5%;
  color: var(--brand-green);
  animation: twinkle 3s ease-in-out 1s infinite;
}
.spark.s3 {
  bottom: 30px;
  left: 30%;
  color: var(--coffee-500);
  animation: twinkle 3s ease-in-out 1.6s infinite;
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.6) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(90deg);
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--brand-teal);
  color: var(--mint-100);
  padding: 22px 0;
  overflow: hidden;
  border-top: 4px solid var(--brand-pink);
  border-bottom: 4px solid var(--brand-green);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-pink);
  flex-shrink: 0;
}
.marquee-track .dot.green {
  background: var(--brand-green);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  color: var(--green-600);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow-pill {
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--brand-teal);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-head p {
  font-size: 18px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}
.section-head h2 em {
  font-style: normal;
  color: var(--brand-pink);
  position: relative;
}

/* ----- Problem section ----- */
.problem {
  padding: 110px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 240ms var(--ease-bounce), box-shadow 240ms;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-card .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 56px;
  background: linear-gradient(
    135deg,
    var(--brand-pink) 0%,
    var(--coffee-500) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 14px;
  opacity: 0.5;
}
.problem-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--brand-teal);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.problem-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ----- Documents section ----- */
.docs {
  padding: 110px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--mint-200) 50%,
    transparent 100%
  );
}

.doc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.doc-tab {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-teal);
  cursor: pointer;
  transition: all 200ms var(--ease-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doc-tab .step {
  background: var(--mint-200);
  color: var(--brand-teal);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}
.doc-tab.on {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(26, 83, 92, 0.3);
}
.doc-tab.on .step {
  background: var(--brand-pink);
  color: #fff;
}

.doc-stage {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.doc-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-pink),
    var(--brand-green),
    var(--brand-teal)
  );
}

.doc-mockup {
  background: var(--mint-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  font-family: var(--font-body);
  border: 1px dashed var(--border-strong);
  position: relative;
}
.doc-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-teal);
  margin-bottom: 20px;
}
.doc-mockup-header h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-teal);
  margin: 0;
  letter-spacing: -0.01em;
}
.doc-mockup-header .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-align: right;
}
.doc-mockup-header .num strong {
  display: block;
  color: var(--brand-teal);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
}

.doc-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--fg);
  border-bottom: 1px dashed rgba(100, 69, 54, 0.12);
}
.doc-line .desc {
  color: var(--brand-teal);
  font-weight: 600;
}
.doc-line .qty, .doc-line .rate, .doc-line .amt {
  font-family: var(--font-mono);
}
.doc-line .amt {
  font-weight: 700;
  color: var(--brand-teal);
}

.doc-totals {
  margin-top: 16px;
  padding-top: 12px;
  display: grid;
  gap: 4px;
  justify-content: end;
  font-size: 13px;
  color: var(--fg-muted);
}
.doc-totals .row {
  display: grid;
  grid-template-columns: auto 100px;
  gap: 24px;
  text-align: right;
  font-family: var(--font-mono);
}
.doc-totals .row.total {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-pink);
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--brand-teal);
}
.doc-totals .row.total span:last-child {
  font-family: var(--font-heading);
}

.doc-info h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  color: var(--brand-teal);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.doc-info p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
.doc-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.doc-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--brand-teal);
}
.doc-info li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-green);
}

/* counter strip */
.doc-counter {
  margin-top: 32px;
  background: var(--brand-teal);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.doc-counter::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.18);
}
.doc-counter .label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.doc-counter .big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-pink);
}
.doc-counter .types {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.doc-counter .types span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}

/* ----- Features section ----- */
.features {
  padding: 110px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 240ms var(--ease-bounce);
  border: 1px solid transparent;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-100);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.feature-icon.pink {
  background: var(--brand-pink);
  box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
}
.feature-icon.green {
  background: var(--brand-green);
  box-shadow: 0 8px 16px rgba(81, 152, 67, 0.3);
}
.feature-icon.teal {
  background: var(--brand-teal);
  box-shadow: 0 8px 16px rgba(26, 83, 92, 0.3);
}
.feature-icon.coffee {
  background: var(--coffee-500);
  box-shadow: 0 8px 16px rgba(100, 69, 54, 0.3);
}

.feature h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-teal);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ----- How it works ----- */
.how {
  padding: 110px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 217, 217, 0.25) 100%
  );
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(
    90deg,
    var(--coffee-300) 50%,
    transparent 50%
  );
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.how-step .num-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--brand-pink);
  letter-spacing: -0.03em;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
  position: relative;
}
.how-step:nth-child(2) .num-circle {
  border-color: var(--brand-green);
  color: var(--brand-green);
  box-shadow: 0 8px 20px rgba(81, 152, 67, 0.25);
}
.how-step:nth-child(3) .num-circle {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  box-shadow: 0 8px 20px rgba(26, 83, 92, 0.25);
}

.how-step h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-teal);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.how-step p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ----- Phone / chat demo ----- */
.demo {
  padding: 110px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.demo-info h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  color: var(--brand-teal);
  margin: 18px 0 16px;
  letter-spacing: -0.025em;
}
.demo-info p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.testimonial {
  background: var(--mint-200);
  border-left: 4px solid var(--brand-pink);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.5;
  color: var(--brand-pink);
  opacity: 0.5;
  position: absolute;
  top: 26px;
  right: 24px;
}
.testimonial p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-teal);
  font-style: italic;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial .who .av {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
}
.testimonial .who div {
  font-size: 14px;
}
.testimonial .who div strong {
  display: block;
  color: var(--brand-teal);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
}
.testimonial .who div span {
  color: var(--fg-muted);
}

/* phone */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-bg {
  position: absolute;
  inset: 20px -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 229, 200, 0.6) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 320px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(100, 69, 54, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}
.phone-screen {
  background: var(--mint-100);
  border-radius: 32px;
  overflow: hidden;
  height: 580px;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-teal);
}
.phone-status .icons {
  display: flex;
  gap: 6px;
}
.phone-status .icons span {
  display: inline-block;
  width: 4px;
  height: 12px;
  background: var(--brand-teal);
  border-radius: 1px;
}
.phone-status .icons span:nth-child(1) {
  height: 6px;
}
.phone-status .icons span:nth-child(2) {
  height: 8px;
}
.phone-status .icons span:nth-child(3) {
  height: 10px;
}
.phone-status .icons span:nth-child(4) {
  height: 12px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.chat-header .av-pm {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat-header .av-pm img {
  width: 28px;
  height: 28px;
}
.chat-header .meta {
  line-height: 1.2;
}
.chat-header .meta strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-teal);
  display: block;
}
.chat-header .meta span {
  font-size: 11px;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chat-header .meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-green);
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, var(--mint-100) 0%, #fff 100%);
}
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  font-family: var(--font-body);
}
.bubble.them {
  background: #fff;
  color: var(--brand-teal);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(100, 69, 54, 0.06);
}
.bubble.me {
  background: var(--brand-green);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-step {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 320ms ease,
    transform 360ms cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-step.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* The PhoneChat island renders chat-steps fresh-mounted with `.in` already
   set, so the transition above never fires. Use a one-shot keyframe — it
   runs on element insertion. The two coexist: legacy DOM-mutation flow
   (transition fires when .in is added later) and island flow (animation
   fires on mount). */
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Phones don't have visible scrollbars; hide the chat-body's track while
   keeping the scroll behavior intact. */
.phone .chat-body {
  scrollbar-width: none;
}
.phone .chat-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.chat-step .bubble {
  align-self: flex-start;
}
.chat-step.right .bubble,
.chat-step.right .quote-card,
.chat-step.right .bubble-meta {
  align-self: flex-end;
}
.chat-step.right {
  align-items: flex-end;
}
.chat-step.left {
  align-items: flex-start;
}
.typing {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 4px rgba(100, 69, 54, 0.06);
  align-self: flex-start;
}
.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--coffee-300);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.chat-progress {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(100, 69, 54, 0.08);
  overflow: hidden;
}
.chat-progress .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-green));
  transition: width 400ms ease;
}
.phone-screen {
  position: relative;
}
.bubble.me a {
  color: #fff;
  text-decoration: underline;
}
.bubble-meta {
  font-size: 10px;
  color: var(--fg-subtle);
  margin-top: 2px;
  align-self: flex-end;
  font-family: var(--font-heading);
  font-weight: 700;
}
.quote-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-top: 4px;
  align-self: flex-end;
  width: 80%;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(100, 69, 54, 0.1);
}
.quote-card .qc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-teal);
  font-size: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.quote-card .qc-head .pdf {
  font-size: 9px;
  background: var(--brand-pink);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}
.quote-card .row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 2px 0;
  color: var(--fg-muted);
}
.quote-card .row strong {
  color: var(--brand-teal);
  font-family: var(--font-heading);
  font-weight: 800;
}
.quote-card .total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-pink);
  font-size: 14px;
  padding-top: 6px;
  margin-top: 4px;
  border-top: 1.5px solid var(--brand-teal);
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.chat-input .field {
  flex: 1;
  background: var(--mint-200);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fg-subtle);
}
.chat-input .send {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Pricing ----- */
.pricing {
  padding: 110px 0;
  background: linear-gradient(180deg, transparent 0%, var(--mint-200) 100%);
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.pricing-math {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 32px;
}

.math-col {
  background: var(--mint-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 2px dashed var(--border);
}
.math-col.us {
  background: linear-gradient(135deg, var(--green-50) 0%, #fff 100%);
  border: 2px solid var(--brand-green);
  position: relative;
}
.math-col.us::before {
  content: "CON NOSOTROS";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand-green);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.math-col .label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.math-col .price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  color: var(--brand-teal);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 14px;
}
.math-col .breakdown {
  font-size: 13px;
  color: var(--fg-muted);
}
.math-col .breakdown .line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.math-col .breakdown .fee {
  color: var(--coffee-500);
}
.math-col .breakdown .keep {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-green);
}

.math-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-pink);
}
.math-arrow svg {
  color: var(--brand-pink);
}

.pricing-callout {
  background: var(--brand-pink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-callout .ptext {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}
.pricing-callout .psub {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}
.pricing-callout .btn-white {
  background: #fff;
  color: var(--brand-pink);
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 200ms;
  white-space: nowrap;
}
.pricing-callout .btn-white:hover {
  transform: translateY(-2px);
}

/* ----- Contact / CTA ----- */
.contact {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-teal);
  border-radius: var(--radius-2xl);
  margin: 0 24px;
}
.contact .container {
  position: relative;
}
.contact-card {
  background: var(--brand-teal);
  border-radius: var(--radius-2xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.25) 0%,
    transparent 70%
  );
}
.contact-card::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(81, 152, 67, 0.25) 0%,
    transparent 70%
  );
}

.contact-info {
  position: relative;
  z-index: 1;
  color: #fff;
}
.contact-info .eyebrow-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 16px;
  color: #fff;
}
.contact-info p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px;
}
.contact-info .checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.contact-info .checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.contact-info .checks svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

.contact-form {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.contact-form .field-group {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-teal);
  margin-bottom: 6px;
}
.contact-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border-strong);
  background: var(--mint-100);
  color: var(--brand-teal);
  outline: none;
  transition: all 150ms;
}
.contact-form input:focus {
  border-color: var(--brand-pink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.16);
}
.contact-form .submit {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 800;
  background: var(--brand-pink);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.32);
  transition: all 200ms var(--ease-bounce);
}
.contact-form .submit:hover {
  transform: translateY(-1px);
  background: var(--pink-600);
}
.contact-form .fine {
  font-size: 12px;
  color: var(--fg-subtle);
  text-align: center;
  margin-top: 14px;
}

/* ----- "Text us" form (SMS-styled) ----- */
.contact-form {
  /* override: remove the white-card chrome since the cf-phone has its own */
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.cf-phone {
  background: #fff;
  border-radius: 28px;
  padding: 18px 16px 12px;
  box-shadow:
    0 2px 0 0 rgba(255, 255, 255, 0.5) inset,
    0 30px 60px -10px rgba(0, 0, 0, 0.4),
    0 16px 32px -8px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.cf-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f6fbf5 0%, #fff 35%);
  z-index: 0;
  pointer-events: none;
}
.cf-phone > * {
  position: relative;
  z-index: 1;
}

.cf-phone__hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid rgba(100, 69, 54, 0.10);
  margin-bottom: 14px;
}
.cf-phone__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(26, 53, 48, 0.18);
}
.cf-phone__name {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  flex: 1;
  min-width: 0;
}
.cf-phone__name strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--brand-teal);
  letter-spacing: -0.01em;
}
.cf-phone__name em {
  font-style: normal;
  font-size: 12px;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.cf-phone__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(81, 152, 67, 0.18);
  animation: cfPulse 1.6s ease-in-out infinite;
}
@keyframes cfPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(81, 152, 67, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(81, 152, 67, 0);
  }
}
.cf-phone__call {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-phone__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px 14px;
  min-height: 180px;
}
.cf-bubble {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 90%;
  display: inline-block;
}
.cf-bubble strong {
  color: var(--brand-teal);
  font-weight: 700;
}
.cf-bubble--them {
  align-self: flex-start;
  background: #f0ece8;
  color: var(--brand-teal);
  border-bottom-left-radius: 5px;
  animation: cfSlideIn 380ms var(--ease-bounce) backwards;
}
.cf-bubble--them:nth-of-type(1) {
  animation-delay: 80ms;
}
.cf-bubble--them:nth-of-type(2) {
  animation-delay: 380ms;
}
.cf-bubble--me {
  align-self: flex-end;
  background: var(--brand-teal);
  color: #fff;
  border-bottom-right-radius: 5px;
  font-family: var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.01em;
  font-size: 14px;
}
.cf-bubble--me strong {
  color: #fff;
}
/* preview bubble + meta are hidden until the user starts typing — 
   showing a 'sent' message they didn't write was confusing */
.cf-bubble--preview {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  transition:
    max-height 280ms var(--ease-bounce),
    opacity 200ms ease,
    padding 220ms ease;
  pointer-events: none;
}
.cf-bubble--preview.is-real {
  max-height: 80px;
  opacity: 1;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  pointer-events: auto;
}
.cf-meta {
  max-height: 0;
  opacity: 0;
  margin: 0 !important;
  overflow: hidden;
  transition:
    max-height 240ms ease 80ms,
    opacity 200ms ease 80ms,
    margin 220ms ease;
}
.cf-meta.is-real {
  max-height: 24px;
  opacity: 1;
  margin-top: -2px !important;
}
.cf-bubble--typing {
  padding: 12px 16px !important;
  animation: cfSlideIn 280ms var(--ease-bounce) backwards;
}
.cf-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cf-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-teal);
  opacity: 0.45;
  animation: cfDot 1.1s ease-in-out infinite;
}
.cf-typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.cf-typing i:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes cfDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
.cf-bubble--reply {
  animation: cfSlideIn 420ms var(--ease-bounce) backwards;
}
@keyframes cfSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cf-meta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-muted);
  padding-right: 4px;
  margin-top: -2px;
  white-space: nowrap;
}
.cf-meta__check {
  display: inline-flex;
  align-items: center;
  color: var(--brand-green);
}
.cf-meta strong {
  color: var(--brand-teal);
  font-family: var(--font-heading);
  font-weight: 800;
}

.cf-phone__compose {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-100);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  border: 1px solid rgba(100, 69, 54, 0.10);
  transition: all 180ms;
}
.cf-phone__compose:focus-within {
  background: #fff;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}
.cf-phone__plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(100, 69, 54, 0.10);
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 2px; /* optical centering for + glyph */
  flex-shrink: 0;
}
.cf-phone__field {
  flex: 1;
  margin: 0;
  display: flex;
}
.cf-phone__field input {
  /* override default contact-form input styles */
  background: transparent !important;
  border: none !important;
  padding: 10px 0 !important;
  font-family: var(--font-mono, ui-monospace, monospace) !important;
  font-size: 16px !important;
  color: var(--brand-teal) !important;
  width: 100% !important;
  letter-spacing: 0.02em !important;
  box-shadow: none !important;
}
.cf-phone__field input::placeholder {
  color: var(--fg-subtle);
  font-family: var(--font-body);
  letter-spacing: 0;
}
.cf-phone__field input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.cf-phone__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-pink);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(255, 107, 107, 0.36);
  transition: all 180ms var(--ease-bounce);
}
.cf-phone__send:hover {
  transform: scale(1.05) rotate(-8deg);
}
.cf-phone__send svg {
  transform: translateX(-1px);
}

/* big "outside" CTA below the phone */
.cf-cta {
  margin-top: 14px;
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 800;
  background: var(--brand-pink);
  color: #fff;
  border: none;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow:
    0 14px 30px -6px rgba(255, 107, 107, 0.48),
    0 6px 12px -4px rgba(255, 107, 107, 0.32);
  transition: all 200ms var(--ease-bounce);
  letter-spacing: -0.01em;
}
.cf-cta:hover {
  transform: translateY(-2px);
  background: var(--pink-600);
  box-shadow:
    0 18px 40px -6px rgba(255, 107, 107, 0.55),
    0 8px 16px -4px rgba(255, 107, 107, 0.36);
}

/* trust row beneath CTA */
.cf-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.cf-trust__avatars {
  display: inline-flex;
  flex-shrink: 0;
}
.cf-trust__av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
  border: 2px solid var(--brand-teal);
  margin-right: -8px;
}
.cf-trust__av:last-child {
  margin-right: 0;
}
.cf-trust__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}
.cf-trust__text strong {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
}

.contact-form .fine {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ----- Footer ----- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-row .copy {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-row .links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-row .links a:hover {
  color: var(--brand-pink);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  /* Roadmap p.13 (mobile): let the nav wrap so brand + language toggle +
     Log in + Get Started flow onto a second row instead of overflowing. */
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    row-gap: 10px;
  }
  /* The decorative glow's -40px horizontal inset bled past the viewport. */
  .phone-bg {
    inset: 20px 0;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    height: 480px;
    max-width: 480px;
    margin: 0 auto;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .doc-stage {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-grid::before {
    display: none;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-card {
    padding: 32px;
  }
  .pricing-math {
    grid-template-columns: 1fr;
  }
  .math-arrow {
    transform: rotate(90deg);
  }
  .contact-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .doc-counter {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== 3-step indicator (Phone → Code → You're in) =====
   Used on the landing CTA, the /verify page, and (optionally) the
   first /assistant?onboard=1 paint, so the user sees the same visual
   continuity from sign-up to first quote. */
.pm-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pm-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.pm-steps__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 280ms ease, color 280ms ease, box-shadow 280ms ease;
}
.pm-steps__item--active .pm-steps__dot {
  background: var(--brand-pink, #ff6b6b);
  color: #fff;
  animation: pm-steps-pulse 1.6s ease-in-out infinite;
}
.pm-steps__item--done .pm-steps__dot {
  background: var(--brand-green, #519843);
  color: #fff;
}
.pm-steps__item--active .pm-steps__label {
  color: #fff;
}
.pm-steps__bar {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 8px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 280ms ease;
}
.pm-steps__bar--done {
  background: var(--brand-pink, #ff6b6b);
}
@keyframes pm-steps-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 107, 107, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-steps__item--active .pm-steps__dot {
    animation: none;
  }
}

/* Light variant for use on light backgrounds (e.g. /verify page). */
.pm-steps--light {
  color: rgba(28, 44, 48, 0.50);
}
.pm-steps--light .pm-steps__dot {
  background: rgba(28, 44, 48, 0.10);
  color: rgba(28, 44, 48, 0.55);
}
.pm-steps--light .pm-steps__item--active .pm-steps__label {
  color: var(--ink, #1c2c30);
}
.pm-steps--light .pm-steps__bar {
  background: rgba(28, 44, 48, 0.10);
}

/* ===== Saved-phone chip (returning-user shortcut) =====
   Display rule scoped to :not([hidden]) so the SSR-rendered chip
   stays invisible until LandingScripts removes the `hidden`
   attribute on a returning visitor. */
.cf-saved[hidden] {
  display: none !important;
}
.cf-saved {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.cf-saved__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand-pink, #ff6b6b);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.cf-saved__btn:hover {
  transform: translateY(-1px);
  background: #d94e4e;
}
.cf-saved__dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}
.cf-saved__dismiss:hover {
  color: #fff;
}

/* Roadmap p.13 (mobile): on small phones the decorative hero phone-mockup
   has a ~460px intrinsic min-width that inflated the grid track and pushed
   the page into horizontal scroll. Drop it below 560px and let the copy
   span the full width — the CTAs are what matter on a phone. */
@media (max-width: 560px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    display: none;
  }
}

/* Inline button spinner (loading states). Inherits button text color. */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
