/* ============================================================
   FastFix.ai — Homepage (light, confident, AI-powered)
   Original design. Brand DNA: cream + gold + Instrument Serif,
   pushed lighter & airier with bold Inter headlines.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --cream: #FBF8F1;
  --cream-2: #F5F0E4;
  --cream-3: #EFE8D8;
  --ink: #18150F;
  --ink-2: #544D42;
  --ink-3: #8A8173;
  --ink-4: #B6AD9C;
  --line: #ECE6D7;
  --line-2: #E2DAC8;
  --gold: #C8A24A;
  --gold-dk: #9A7A2C;
  --gold-bg: #F7EFD8;
  --gold-soft: #E8D6A6;
  --green: #2F8059;
  --green-bg: #E3F0E8;
  --dark: #16130D;
  --dark-2: #211C14;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(40,30,10,0.04), 0 2px 6px rgba(40,30,10,0.05);
  --shadow-md: 0 8px 24px -8px rgba(40,30,10,0.12), 0 2px 8px rgba(40,30,10,0.05);
  --shadow-lg: 0 30px 70px -24px rgba(40,30,10,0.28), 0 8px 24px -12px rgba(40,30,10,0.12);
  --maxw: 1200px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; color: var(--gold-dk); font-weight: 400; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap; line-height: 1;
}
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #FBF7EB; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #2A2418; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #2A2008; }
.btn-gold:hover { background: var(--gold-dk); color: #FFF8E6; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--cream); border-color: var(--ink-4); }
.btn-lg { font-size: 16.5px; padding: 16px 28px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--gold-dk); background: var(--gold-bg);
  border: 1px solid var(--gold-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dk); }
.pulse { position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--gold-dk); opacity: .5;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity:.5; } 100% { transform: scale(2.4); opacity: 0; } }

.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk);
  margin-bottom: 16px;
}

/* ---------- Headings ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }
.display { font-size: clamp(42px, 6.4vw, 82px); }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; }
.h3 { font-size: 22px; letter-spacing: -0.015em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.center { text-align: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,241,0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(40,30,10,0.03); background: rgba(251,248,241,0.92); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; justify-self: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav-left { display: flex; align-items: center; gap: 14px; justify-self: start; min-width: 0; }
.brand-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.brand-tag b { color: var(--gold-dk); font-weight: 700; }
.brand-tag .bt-dash { color: var(--ink-4); }
.lang-toggle { display: inline-flex; align-items: center; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-opt { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); background: none; border: none; cursor: pointer; padding: 7px 13px; border-radius: 999px; transition: background .16s, color .16s; line-height: 1; }
.lang-opt.active { background: var(--ink); color: #FBF7EB; }
.lang-opt:not(.active):hover { color: var(--ink); }
@media (max-width: 1020px) { .brand-tag { display: none; } }
@media (max-width: 760px) { .nav-signin { display: none; } }
.nav-signin { display: none; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-signin:hover { color: var(--gold-dk); }
.nav-burger { display: none; }

/* ---- Product mega-menu ---- */
.nav-dd { display: flex; align-items: center; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-2);
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color .15s;
}
.nav-dd-trigger:hover, .nav-dd-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-dd-trigger .cv { font-size: 12px; transition: transform .25s ease; }
.nav-dd-trigger[aria-expanded="true"] .cv { transform: rotate(180deg); }
.megamenu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 28px 50px -24px rgba(40,30,10,0.28);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .24s ease, transform .28s cubic-bezier(.16,1,.3,1), visibility .24s;
}
.megamenu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 34px 28px 38px;
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
}
.mega-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; }
.mega-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.mega-item {
  display: flex; align-items: center; gap: 13px;
  padding: 9px 10px; margin: 0 -10px; border-radius: 12px;
  transition: background .14s;
}
.mega-item:hover { background: var(--cream); }
.mega-item .mi-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-bg); color: var(--gold-dk);
  display: grid; place-items: center;
}
.mega-item .mi-ic svg { width: 19px; height: 19px; }
.mega-item b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mega-item i { display: block; font-size: 12.5px; font-style: normal; color: var(--ink-3); margin-top: 1px; }
.mega-cards { display: flex; flex-direction: column; gap: 16px; }
.mega-card {
  position: relative; flex: 1; min-height: 150px; border-radius: 16px; overflow: hidden;
  padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.mega-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.45)); }
.mega-card:hover { transform: translateY(-3px); }
.mega-card .mc-tag { position: relative; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.mega-card .mc-t { position: relative; z-index: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega-card .mc-t b { font-weight: 800; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(1100px 560px at 50% -10%, var(--gold-bg) 0%, transparent 62%),
    var(--white);
  padding-top: 54px;
}
.hero-top { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); font-weight: 500; }
.hero-rating strong { color: var(--ink); font-weight: 800; }
.hero-rating .stars { color: var(--gold); letter-spacing: 1px; font-size: 17px; }
.hero h1 { margin: 24px auto 0; max-width: 1040px; }
.hero .display { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.03em; line-height: 1.08; }
.hero h1 em { letter-spacing: -0.02em; }
.rot-static { white-space: nowrap; }
.rotator .rot-word { white-space: nowrap; }
html[lang="es"] .rot-static, html[lang="es"] .rotator .rot-word { white-space: normal; }
.rotator { display: block; position: relative; min-height: 1.1em; }
.rotator .rot-word {
  display: inline-block; font-family: var(--serif); font-style: italic; color: var(--gold-dk);
  will-change: transform, opacity;
}
.rot-word.out { animation: rotOut .42s cubic-bezier(.6,0,.8,.2) forwards; }
.rot-word.in { animation: rotIn .5s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-26%); filter: blur(2px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(38%); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .rot-word.out, .rot-word.in { animation: none; opacity: 1; transform: none; filter: none; }
}

/* AI audit bar (lead capture) */
.audit-bar {
  display: flex; align-items: center; gap: 8px;
  max-width: 600px; margin: 38px auto 0;
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 8px; box-shadow: var(--shadow-md);
  animation: auditPulse 2.6s ease-in-out infinite;
}
.audit-bar:hover,
.audit-bar:focus-within { animation: none; box-shadow: var(--shadow-md); }
@keyframes auditPulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(212, 168, 83, 0.0); }
  50%      { box-shadow: var(--shadow-md), 0 0 0 6px rgba(212, 168, 83, 0.18); }
}
.audit-bar input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 14px 16px;
}
.audit-bar input::placeholder { color: var(--ink-3); }
.audit-bar input:focus { outline: none; }
/* Blinking caret hint sitting just before the placeholder text */
.scan-ac-wrap { position: relative; }
.scan-ac-wrap::before {
  content: ""; position: absolute; left: 16px; top: 50%;
  width: 1.5px; height: 20px; margin-top: -10px;
  background: var(--ink); border-radius: 1px;
  animation: auditCaret 1.1s steps(1, end) infinite;
  pointer-events: none;
}
.scan-ac-wrap:focus-within::before,
.scan-ac-wrap.has-value::before { display: none; }
@keyframes auditCaret {
  0%, 49% { opacity: 0.65; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .audit-bar { animation: none; }
  .scan-ac-wrap::before { animation: none; opacity: 0; }
}
.audit-bar button { flex-shrink: 0; }
.btn-forest { background: #1E5E40; color: #F0FAF4; }
.btn-forest:hover { background: #184C34; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.audit-note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }


/* Phone + flanking panels */
.hero-stage {
  position: relative; max-width: var(--maxw); margin: 56px auto 0; padding: 0 28px;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 420px;
}
.hero-panel {
  position: absolute; bottom: 0; width: 40%; height: 86%;
  border-radius: 40px 40px 0 0;
  transform-origin: bottom center;
  transform: translateY(40px) scaleY(0.7);
  opacity: 0; overflow: hidden;
}
.hero-panel.left { left: 28px; background: linear-gradient(145deg, var(--gold-dk) 0%, var(--gold) 100%); }
.hero-panel.right { right: 28px; background: linear-gradient(215deg, var(--gold) 0%, var(--gold-dk) 100%); }
.hero-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.22), transparent 60%);
}
/* owner.com-style flowing lines that sweep toward the phone */
.panel-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.panel-lines.flip { transform: scaleX(-1); }
.panel-lines path {
  fill: none; stroke: rgba(255,255,255,0.20); stroke-width: 1.3;
  stroke-dasharray: 36 22; stroke-dashoffset: 0;
}
.hero-stage.revealed .panel-lines path { animation: lineFlow 7s linear infinite; }
.hero-stage.revealed .panel-lines path:nth-child(1) { animation-delay: -0.5s; }
.hero-stage.revealed .panel-lines path:nth-child(2) { animation-delay: -2.0s; }
.hero-stage.revealed .panel-lines path:nth-child(3) { animation-delay: -3.4s; }
.hero-stage.revealed .panel-lines path:nth-child(4) { animation-delay: -4.7s; }
.hero-stage.revealed .panel-lines path:nth-child(5) { animation-delay: -6.0s; }
@keyframes lineFlow { to { stroke-dashoffset: -116; } }
/* Entrance: panels grow up behind the phone, then breathe gently */
.hero-stage.revealed .hero-panel {
  animation: panelRise 1s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-stage.revealed .hero-panel.right {
  animation: panelRise 1s cubic-bezier(.16,1,.3,1) .12s forwards;
}
@keyframes panelRise {
  from { transform: translateY(40px) scaleY(0.7); opacity: 0; }
  to   { transform: translateY(0) scaleY(1); opacity: 1; }
}
@keyframes panelBreathe {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50%      { transform: translateY(-14px) scaleY(1.03); }
}
@keyframes panelBreatheAlt {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50%      { transform: translateY(-22px) scaleY(1.045); }
}

.phone {
  position: relative; z-index: 3;
  width: 376px; max-width: 84vw;
  background: #14110B; border-radius: 52px 52px 0 0;
  padding: 13px 13px 0; box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: linear-gradient(180deg, #EAF6EE 0%, #F4FAF0 30%, var(--white) 100%);
  border-radius: 42px 42px 0 0; padding: 14px 16px 0; overflow: hidden;
}
.phone-status { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink); padding: 4px 6px 12px; }
.phone-status .notch { width: 92px; height: 22px; background: #14110B; border-radius: 999px; }
.phone-status .sig { display: flex; gap: 5px; align-items: center; color: var(--ink); }

/* Auto-scrolling AI report */
.phone-view {
  height: 472px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 90%, transparent 100%);
}
.phone-scroll {
  display: flex; flex-direction: column; gap: 16px; padding-top: 8px;
  animation: phoneScroll 17s ease-in-out infinite; will-change: transform;
}
@keyframes phoneScroll {
  0%, 7%   { transform: translateY(0); }
  49%, 57% { transform: translateY(-380px); }
  97%, 100%{ transform: translateY(0); }
}
.rep-top { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; box-shadow: var(--shadow-sm); }
.rep-top .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold-dk); flex-shrink: 0; }
.rep-top .tt { font-size: 15px; font-weight: 700; }
.rep-top .ts { font-size: 13px; color: #B4452F; font-weight: 700; }
.rep-top .badge { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--ink-3); background: var(--cream-2); border-radius: 999px; padding: 5px 12px; }
.rep-h { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.rank-list { display: flex; flex-direction: column; }
.rank { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.rank .pos { width: 32px; font-size: 12px; font-weight: 700; color: var(--ink-3); flex-shrink: 0; }
.rank .nm { font-size: 14.5px; font-weight: 700; line-height: 1.1; }
.rank .rt { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.rank .rt .st { color: var(--gold); }
.rank .sc { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.rank .sc b { color: var(--ink); font-weight: 800; }
.rank.you { background: var(--gold-bg); border: 1px solid var(--gold-soft); border-radius: 12px; padding: 11px 12px; }
.dots { text-align: center; color: var(--ink-4); letter-spacing: 4px; font-weight: 800; line-height: .6; }
.rep-loss { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.rep-loss span { color: #B4452F; }
.rep-issue { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px; box-shadow: var(--shadow-sm); }
.rep-issue .wic { width: 30px; height: 30px; border-radius: 9px; background: #F7E7E2; color: #B4452F; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; }
.rep-issue .it { font-size: 14px; font-weight: 700; }
.rep-issue .id { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }

/* ============================================================
   FEATURE SWITCHER (owner.com-style tabs)
   ============================================================ */
.switcher { padding: 96px 0 100px; }
.switcher .sw-head { max-width: 1000px; margin: 0 auto 8px; }
.switcher h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.03em; line-height: 1.04; max-width: 17ch; }
.switcher h2 em { letter-spacing: -0.02em; }

.sw-tabs { display: flex; gap: 8px; margin: 44px 0 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.sw-tab {
  position: relative; appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: clamp(15px, 1.5vw, 19px); font-weight: 600;
  color: var(--ink-4); padding: 0 4px 16px; flex: 1 1 auto; text-align: left;
  transition: color .25s ease; white-space: nowrap;
}
.sw-tab:hover { color: var(--ink-2); }
.sw-tab.active { color: var(--ink); }
.sw-tab .sw-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; overflow: hidden; }
.sw-tab .sw-prog::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-dk);
  transform: scaleX(0); transform-origin: left;
}
.sw-tab.active .sw-prog::after { animation: swFill var(--sw-dur, 6s) linear forwards; }
@keyframes swFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sw-stage { position: relative; margin-top: 28px; }
.sw-panel {
  display: none;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 28px;
  overflow: hidden;
  grid-template-columns: 1fr 1.05fr; align-items: stretch;
  min-height: 480px;
}
.sw-panel.active { display: grid; animation: swPanelIn .5s cubic-bezier(.16,1,.3,1); }
@keyframes swPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sw-copy { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.sw-copy .kick { font-size: 14px; font-weight: 700; color: var(--gold-dk); margin-bottom: 14px; }
.sw-copy h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.1; }
.sw-copy p { font-size: 16.5px; color: var(--ink-2); margin: 16px 0 0; max-width: 40ch; line-height: 1.5; }
.sw-copy .sw-cta { margin-top: 28px; align-self: flex-start; }
.sw-viz { position: relative; padding: 40px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* shared little card chrome inside visuals */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }

/* avatar gradient fills (shared: switcher reviews + testimonials) */
.av1 { background: linear-gradient(140deg,#C8A24A,#9A7A2C); }
.av2 { background: linear-gradient(140deg,#5B7C9E,#34506E); }
.av3 { background: linear-gradient(140deg,#2F8059,#1E5E40); }
.av4 { background: linear-gradient(140deg,#A8674B,#7A4530); }

/* ---- VIZ 1 : Google + ChatGPT browser typer (transplanted from website) ---- */
.viz-seo { width: 100%; max-width: 460px; }
.viz-seo .mock-browser {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.viz-seo .browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; background: var(--cream-2); border-bottom: 1px solid var(--line);
}
.viz-seo .browser-dots { display: flex; gap: 6px; }
.viz-seo .browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); opacity: .5; }
.viz-seo .browser-dots span:nth-child(1) { background: #E27466; opacity: .7; }
.viz-seo .browser-dots span:nth-child(2) { background: #E2B566; opacity: .7; }
.viz-seo .browser-dots span:nth-child(3) { background: #7BA982; opacity: .7; }
.viz-seo .browser-url {
  flex: 1; background: #fff; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 5px 12px; font-size: 12px; color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
  position: relative; overflow: hidden; white-space: nowrap;
}
.viz-seo .browser-url > span[data-anim] { display: inline-block; }
.viz-seo .browser-url .lock { color: var(--green); font-size: 10px; }
.viz-seo .browser-body { padding: 18px 20px; }
.viz-seo .search-q {
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px; min-height: 34px;
}
.viz-seo .search-q .badge-ai, .viz-seo .search-q .badge-g {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase; flex-shrink: 0;
}
.viz-seo .search-q .badge-ai { background: #10A37F; color: #fff; }
.viz-seo .search-q .badge-ai svg { color: #fff; }
.viz-seo .search-q .badge-g { background: #E8F0FE; color: #1A73E8; }
.viz-seo .search-ans { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin-bottom: 14px; min-height: 84px; }
.viz-seo .search-ans .you { background: var(--gold-bg); color: var(--gold-dk); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.viz-seo .search-result { display: flex; gap: 12px; padding: 11px; border-radius: 10px; margin-bottom: 8px; }
.viz-seo .search-result.you { background: var(--gold-bg); border: 1px solid var(--gold-soft); }
.viz-seo .search-rank { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-dk); line-height: 1; width: 26px; flex-shrink: 0; }
.viz-seo .search-result .url { font-size: 11px; color: var(--ink-3); margin-bottom: 2px; }
.viz-seo .search-result .title { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.viz-seo .search-result .desc { font-size: 12px; color: var(--ink-2); margin-top: 2px; line-height: 1.4; }
.viz-seo .search-result.fade-init { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.3,1); }
.viz-seo .search-result.fade-init.show { opacity: 1; transform: translateY(0); }
.viz-seo .caret { display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 1px; vertical-align: -2px; opacity: 0; transition: opacity .1s; }
.viz-seo .caret.on { opacity: 1; animation: caretBlink 1s steps(2, start) infinite; }
@keyframes caretBlink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- VIZ 2 : Booked jobs ---- */
.viz-book { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.slot { display: flex; align-items: center; gap: 14px; padding: 15px 18px; }
.slot .tm { font-size: 14px; font-weight: 700; color: var(--ink-2); width: 78px; flex-shrink: 0; }
.slot .bar { flex: 1; height: 34px; border-radius: 9px; background: var(--cream-3); position: relative; overflow: hidden; }
.slot .bar .fill { position: absolute; inset: 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); display: flex; align-items: center; padding-left: 12px; font-size: 12.5px; font-weight: 700; color: #3a2c08; white-space: nowrap; }
.sw-panel.active .viz-book .slot:nth-child(1) .fill { animation: slotFill .7s ease .4s both; }
.sw-panel.active .viz-book .slot:nth-child(2) .fill { animation: slotFill .7s ease .9s both; }
.sw-panel.active .viz-book .slot:nth-child(3) .fill { animation: slotFill .7s ease 1.4s both; }
@keyframes slotFill { from { width: 0; } to { width: 100%; } }
.book-bar { margin-top: 6px; background: #1E5E40; color: #F0FAF4; border-radius: 999px; padding: 16px 22px; display: flex; align-items: center; gap: 14px; font-weight: 700; opacity: 0; }
.sw-panel.active .viz-book .book-bar { animation: popIn .55s cubic-bezier(.22,1.4,.5,1) 2s both; }
.book-bar .cart { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.14); display: grid; place-items: center; }
.book-bar .ct { margin-left: auto; background: #fff; color: #1E5E40; border-radius: 999px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
@keyframes popIn { 0% { opacity: 0; transform: scale(.9) translateY(8px); } 100% { opacity: 1; transform: none; } }

/* ---- VIZ 3 : Repeat customers (SMS) ---- */
.viz-sms { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.sms { max-width: 82%; padding: 12px 15px; border-radius: 17px; font-size: 14.5px; line-height: 1.4; opacity: 0; }
.sms.them { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.sms.you { background: var(--gold); color: #2A2008; border-bottom-right-radius: 5px; align-self: flex-end; font-weight: 600; }
.sw-panel.active .viz-sms .sms:nth-child(1) { animation: fadeUp .5s ease .4s both; }
.sw-panel.active .viz-sms .sms:nth-child(2) { animation: fadeUp .5s ease 1.2s both; }
.sw-panel.active .viz-sms .sms:nth-child(3) { animation: fadeUp .5s ease 2.0s both; }
.repeat-pill { align-self: center; margin-top: 8px; background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; opacity: 0; }
.sw-panel.active .viz-sms .repeat-pill { animation: popIn .55s cubic-bezier(.22,1.4,.5,1) 2.7s both; }

/* ---- VIZ 4 : 5-star reviews ---- */
.viz-rev { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rev-score { text-align: center; }
.rev-score .big { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rev-score .stars { color: var(--gold); font-size: 22px; letter-spacing: 3px; margin-top: 6px; }
.rev-score .cnt { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.rev-card { width: 100%; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; opacity: 0; }
.sw-panel.active .viz-rev .rev-card:nth-child(2) { animation: revIn .55s cubic-bezier(.16,1,.3,1) .8s both; }
.sw-panel.active .viz-rev .rev-card:nth-child(3) { animation: revIn .55s cubic-bezier(.16,1,.3,1) 1.5s both; }
@keyframes revIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.rev-card .av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-style: italic; font-weight: 700; }
.rev-card .rs { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.rev-card .rn { font-size: 13.5px; font-weight: 700; margin-top: 1px; }
.rev-card .rx { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }

/* ============================================================
   STARLIGHT TRADES STRIP (ported from website)
   ============================================================ */
.trades-strip {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(40,52,90,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(60,40,90,0.45) 0%, transparent 55%),
    linear-gradient(180deg, #050810 0%, #0a0c18 50%, #050810 100%);
  background-size: 140% 100%, 140% 100%, 100% 100%;
  background-position: 0% 0%, 100% 100%, 0 0;
  color: var(--cream-3);
  padding: 36px 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  animation: nebulaDrift 32s ease-in-out infinite alternate;
}
@keyframes nebulaDrift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 10%, 0% 90%, 0 0; }
}
.trades-strip .shooting-star {
  position: absolute; top: var(--ss-top, 30%); left: -120px;
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,250,230,0.85), transparent);
  border-radius: 2px; pointer-events: none; z-index: 2; opacity: 0;
  filter: drop-shadow(0 0 2px rgba(255,250,220,0.7));
  animation: shootingStar 9s ease-in infinite; animation-delay: var(--ss-delay, 0s);
}
.trades-strip .shooting-star.s2 { --ss-top: 65%; --ss-delay: 4.5s; animation-duration: 11s; }
.trades-strip .shooting-star.s3 { --ss-top: 20%; --ss-delay: 7.5s; animation-duration: 13s; }
@keyframes shootingStar {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  5%   { opacity: 1; }
  18%  { opacity: 1; }
  25%  { transform: translateX(calc(100vw + 200px)) translateY(30px); opacity: 0; }
  100% { transform: translateX(calc(100vw + 200px)) translateY(30px); opacity: 0; }
}
.trades-strip::before, .trades-strip::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 1px; height: 1px; border-radius: 50%; background: transparent;
  pointer-events: none; z-index: 0;
}
.trades-strip::before {
  box-shadow:
    24px 18px 0 0.3px rgba(255,255,255,0.7),  118px 6px 0 0.2px rgba(255,255,255,0.5),
    210px 42px 0 0.4px rgba(255,250,230,0.8), 312px 14px 0 0.2px rgba(255,255,255,0.4),
    404px 78px 0 0.3px rgba(255,255,255,0.65),498px 30px 0 0.3px rgba(255,250,220,0.7),
    590px 64px 0 0.2px rgba(255,255,255,0.5), 682px 8px  0 0.3px rgba(255,255,255,0.75),
    770px 92px 0 0.3px rgba(255,250,220,0.7), 866px 48px 0 0.2px rgba(255,255,255,0.55),
    958px 22px 0 0.4px rgba(255,255,255,0.8), 1054px 70px 0 0.3px rgba(255,250,230,0.7),
    1150px 18px 0 0.2px rgba(255,255,255,0.4),1248px 88px 0 0.3px rgba(255,255,255,0.7),
    1346px 36px 0 0.3px rgba(255,250,230,0.65),1440px 62px 0 0.2px rgba(255,255,255,0.55),
    1532px 12px 0 0.4px rgba(255,255,255,0.85),1626px 80px 0 0.3px rgba(255,250,220,0.7),
    62px 102px 0 0.3px rgba(255,250,220,0.7), 156px 134px 0 0.2px rgba(255,255,255,0.5),
    252px 116px 0 0.3px rgba(255,255,255,0.6),346px 158px 0 0.2px rgba(255,255,255,0.4),
    438px 122px 0 0.4px rgba(255,250,230,0.8),532px 148px 0 0.3px rgba(255,255,255,0.65),
    628px 110px 0 0.2px rgba(255,255,255,0.5),720px 142px 0 0.3px rgba(255,255,255,0.7),
    810px 128px 0 0.2px rgba(255,250,220,0.55),906px 156px 0 0.3px rgba(255,255,255,0.6),
    1000px 114px 0 0.4px rgba(255,255,255,0.8),1096px 146px 0 0.2px rgba(255,255,255,0.5),
    1190px 130px 0 0.3px rgba(255,250,230,0.7),1284px 108px 0 0.2px rgba(255,255,255,0.45),
    1378px 152px 0 0.3px rgba(255,255,255,0.65),1472px 124px 0 0.2px rgba(255,255,255,0.5);
  animation: starTwinkleA 5.2s ease-in-out infinite;
}
.trades-strip::after {
  box-shadow:
    82px 52px 0 0.6px rgba(255,255,255,0.95),
    288px 100px 0 0.7px rgba(255,250,230,1),
    560px 24px 0 0.6px rgba(255,255,255,0.95),
    820px 76px 0 0.7px rgba(255,250,220,1),
    1100px 36px 0 0.6px rgba(255,255,255,0.9),
    1380px 96px 0 0.7px rgba(255,250,230,1),
    180px 138px 0 0.6px rgba(255,255,255,0.9),
    460px 120px 0 0.7px rgba(255,250,230,1),
    740px 152px 0 0.6px rgba(255,255,255,0.95),
    1020px 126px 0 0.7px rgba(255,250,220,1),
    1300px 148px 0 0.6px rgba(255,255,255,0.9);
  filter: drop-shadow(0 0 2px rgba(255,250,220,0.9));
  animation: starTwinkleB 3.4s ease-in-out infinite;
}
@keyframes starTwinkleA { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes starTwinkleB { 0%,100% { opacity: 0.6; } 25% { opacity: 1; } 60% { opacity: 0.45; } }
.trades-strip-inner {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: rgba(250,246,236,0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.trades-strip-inner span:not(.sep) { white-space: nowrap; }
.trades-strip-inner .sep { color: var(--gold); font-style: normal; }

/* ============================================================
   OWNERS MARQUEE ("Grow sales like these owners")
   ============================================================ */
.owners { padding: 84px 0 92px; background: var(--cream); overflow: hidden; }
.owners h2 { text-align: center; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.025em; }
.owners .sub { text-align: center; color: var(--ink-2); font-size: 17px; margin: 14px auto 0; max-width: 46ch; }
.owners-viewport {
  overflow: hidden; margin-top: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.owners-track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: ownerScroll 54s linear infinite; }
.owners-viewport:hover .owners-track { animation-play-state: paused; }
@keyframes ownerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.owner-card {
  position: relative; width: 316px; height: 416px; border-radius: 20px;
  overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-md);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.owner-card:hover { transform: translateY(-6px); }
.owner-card .photo { position: absolute; inset: 0; display: grid; place-items: center; background: #1a140a; }
.owner-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.owner-card .photo .mono { font-family: var(--serif); font-style: italic; font-size: 120px; color: rgba(255,255,255,0.22); line-height: 1; }
.owner-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(20,15,8,0.32) 60%, rgba(20,15,8,0.88) 100%); }
.owner-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.owner-card .stat { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.owner-card .slabel { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); margin-top: 2px; }
.owner-card .who { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.35; }
.owner-card .who b { color: rgba(255,255,255,0.92); font-weight: 700; display: block; }
.owner-card .rev-chip { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 11px; background: rgba(15,18,24,0.72); border: 1px solid rgba(212,168,83,0.55); color: #e8c47a; font: 700 11px/1 'Inter', system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; white-space: nowrap; }
.owner-card .logo-band { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; align-items: center; justify-content: flex-start; height: 68px; padding: 10px 130px 10px 14px; background: linear-gradient(180deg, rgba(10,8,4,0.85) 0%, rgba(10,8,4,0.55) 70%, rgba(10,8,4,0) 100%); }
.owner-card .logo-band img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trustbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 26px 28px; display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trustbar .lbl { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.trades { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trades span { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-2); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.stat { text-align: center; }
.stat .v { font-size: clamp(36px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.stat .v em { font-size: inherit; }
.stat .l { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; max-width: 220px; margin-inline: auto; }
.stat + .stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -14px; top: 12%; height: 76%; width: 1px; background: var(--line-2); }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section { padding: 96px 0; }
.section.cream { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .lede { margin: 18px auto 0; max-width: 600px; }

/* ---------- How it works (3 steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-dk); }
.step .glyph { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-bg); color: var(--gold-dk); display: grid; place-items: center; margin: 14px 0 18px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.steps-connector { display:flex; align-items:center; justify-content:center; }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.prob { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.prob .n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--ink-4); }
.prob h3 { margin: 8px 0 10px; font-size: 19px; letter-spacing: -0.01em; }
.prob p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.prob .tag { font-size: 12.5px; font-weight: 700; color: #B4452F; background: #F7E7E2; border-radius: 999px; padding: 4px 11px; display: inline-block; }

/* ---------- The stack (7 services) ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.svc .top { display: flex; align-items: center; gap: 12px; }
.svc .glyph { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-bg); color: var(--gold-dk); display: grid; place-items: center; flex-shrink: 0; }
.svc .num { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-4); }
.svc h3 { margin: 16px 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.svc p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.svc .lk { font-size: 14px; font-weight: 600; color: var(--gold-dk); display: inline-flex; align-items: center; gap: 6px; }
.svc .lk .arr { transition: transform .18s ease; }
.svc:hover .lk .arr { transform: translateX(3px); }
.stack-cta { display:flex; justify-content:center; margin-top: 40px; }

/* ---------- AI spotlight (dark) ---------- */
.spotlight { background: var(--dark); color: #F4EFE4; border-radius: 28px; overflow: hidden; }
.spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px; }
.spotlight .section-tag { color: var(--gold); }
.spotlight h2 { color: #FBF7EC; }
.spotlight p { color: rgba(244,239,228,0.72); font-size: 17px; }
.spotlight .feat { display: flex; gap: 13px; align-items: flex-start; margin-top: 18px; }
.spotlight .feat .ck { width: 24px; height: 24px; border-radius: 50%; background: rgba(200,162,74,0.18); color: var(--gold); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.spotlight .feat .ft strong { color: #FBF7EC; font-weight: 700; }
.spotlight .feat .ft span { color: rgba(244,239,228,0.62); font-size: 14.5px; }
/* phone chat mock */
.chat { background: #0E0B07; border: 1px solid rgba(255,255,255,0.08); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); }
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg,var(--gold),var(--gold-dk)); display:grid; place-items:center; color:#1a1407; font-weight:800; }
.chat-head .nm { font-size: 14px; font-weight: 700; color: #FBF7EC; }
.chat-head .st { font-size: 12px; color: var(--green); }
.bubbles { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.bub { max-width: 80%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.bub.in { background: rgba(255,255,255,0.07); color: #E9E3D6; border-bottom-left-radius: 5px; align-self: flex-start; }
.bub.out { background: var(--gold); color: #2A2008; border-bottom-right-radius: 5px; align-self: flex-end; }
.bub.typing { color: var(--ink-3); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ind { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ind.live { background: var(--ink); color: #F4EFE4; border-color: var(--ink); }
.ind .glyph { width: 54px; height: 54px; border-radius: 15px; background: var(--gold-bg); color: var(--gold-dk); display: grid; place-items: center; margin: 0 auto 16px; }
.ind.live .glyph { background: var(--gold); color: #2A2008; }
.ind .nm { font-family: var(--serif); font-style: italic; font-size: 21px; }
.ind .ds { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.ind.live .ds { color: rgba(244,239,228,0.6); }
.ind .badge { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream-2); color: var(--ink-3); }
.ind.live .badge { background: var(--gold); color: #2A2008; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; box-shadow: var(--shadow-sm); }
.price.feat { background: var(--ink); color: #F4EFE4; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price .pn { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.price .ptag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); color: #2A2008; padding: 3px 10px; border-radius: 999px; }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 4px; }
.price .amt .per { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.price.feat .amt .per { color: rgba(244,239,228,0.6); }
.price .pd { font-size: 14.5px; color: var(--ink-2); min-height: 44px; }
.price.feat .pd { color: rgba(244,239,228,0.72); }
.price ul { list-style: none; padding: 0; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.price li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.price.feat li { color: rgba(244,239,228,0.82); }
.price li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.price.feat li::before { color: var(--gold); }
.price .setup { font-size: 13.5px; font-weight: 700; color: var(--gold-dk); margin: 0 0 4px; }
.price.feat .setup { color: var(--gold); }
.price-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-3); }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tst { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tst .qm { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: .6; color: var(--gold-soft); }
.tst p { font-size: 16.5px; line-height: 1.5; color: var(--ink); margin: 10px 0 22px; text-wrap: pretty; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.tst .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-style: italic; font-weight: 700; }
.tst .nm { font-size: 15px; font-weight: 700; }
.tst .rl { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 120%, rgba(200,162,74,0.16) 0%, transparent 60%),
    var(--dark);
  color: #F6F1E6; text-align: center; padding: 160px 28px;
}
.final .wrap { position: relative; z-index: 2; }
/* yavendio-style giant ghost wordmark, parallaxes on scroll + lantern hover */
.final-ghost {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-50%, -50%) rotate(-9deg);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(220px, 34vw, 560px); line-height: 0.8;
  letter-spacing: -0.03em; white-space: nowrap;
  pointer-events: none; user-select: none;
  will-change: transform;
}
.final-ghost span { display: block; }
.final-ghost .fg-dim { color: rgba(251,247,236,0.045); }
.final-ghost .fg-lit {
  position: absolute; inset: 0;
  color: rgba(232,206,142,0.55);
  opacity: 0; transition: opacity .4s ease;
  -webkit-mask-image: radial-gradient(280px 280px at var(--mx,50%) var(--my,50%), #000 0%, #000 30%, transparent 72%);
  mask-image: radial-gradient(280px 280px at var(--mx,50%) var(--my,50%), #000 0%, #000 30%, transparent 72%);
}
.final.lantern-on .final-ghost .fg-lit { opacity: 1; }
.final h2 { color: #FBF7EC; max-width: 880px; margin: 0 auto; }
.final .lede { color: rgba(246,241,230,0.74); margin: 22px auto 0; max-width: 560px; }
.final .hero-ctas { justify-content: center; }
.final-meta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: rgba(246,241,230,0.6); }
.final-meta .sep { opacity: .5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-2); color: rgba(244,239,228,0.62); padding: 60px 28px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer img { height: 24px; margin-bottom: 16px; }
.footer .blurb { font-size: 14px; max-width: 280px; line-height: 1.5; }
.footer h4 { color: #F4EFE4; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
.footer .fcol a { display: block; font-size: 14.5px; color: rgba(244,239,228,0.62); padding: 5px 0; transition: color .15s; }
.footer .fcol a:hover { color: #F4EFE4; }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(244,239,228,0.45); }

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(24,21,15,0.55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .22s ease; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal { width: 100%; max-width: 480px; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .26s cubic-bezier(.22,1,.36,1); max-height: 92vh; overflow-y: auto; }
.modal-overlay.open .modal { transform: none; }
.modal-head { position: relative; padding: 28px 28px 0; }
.modal-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-dk); }
.modal-title { font-size: 28px; margin-top: 8px; letter-spacing: -0.02em; }
.modal-sub { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; font-size: 15px; display: grid; place-items: center; transition: background .15s, color .15s; }
.modal-close:hover { background: var(--cream-2); color: var(--ink); }
.modal-body { padding: 22px 28px 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select { width: 100%; font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--cream); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.field input::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(200,162,74,0.16); }
.field .err { display: none; font-size: 12.5px; color: #B4452F; margin-top: 5px; }
.field.invalid input, .field.invalid select { border-color: #D08A78; background: #FCF3F0; }
.field.invalid .err { display: block; }
.times { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.time-opt { font-size: 13.5px; font-weight: 600; text-align: center; padding: 10px 6px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--cream); cursor: pointer; transition: all .14s; }
.time-opt:hover { border-color: var(--gold-soft); }
.time-opt.sel { background: var(--ink); color: #FBF7EB; border-color: var(--ink); }
.modal-foot { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 14px; line-height: 1.45; }

/* ---- Get Demo 2-step flow (Roofing Friend-inspired restyle) ---- */
.demo-modal { max-width: 480px; border-radius: 28px; box-shadow: 0 25px 60px -12px rgba(0,0,0,.40), 0 0 0 1px rgba(255,255,255,.06); }

/* Navy gradient header band with fired-gold eyebrow + italic accent */
.demo-modal .modal-head {
  background: linear-gradient(95deg, #0f1b3d 0%, #1e3a5f 100%);
  padding: 22px 28px 20px;
  color: #ffffff;
  position: relative;
}
.demo-modal .modal-eyebrow { color: #d4a853; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.demo-modal .modal-title { color: #ffffff; font-size: 24px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; line-height: 1.2; }
.demo-modal .modal-title em { color: #d4a853; font-family: var(--serif); font-style: italic; font-weight: 400; }
.demo-modal .modal-sub { color: rgba(255,255,255,0.72); font-size: 14px; margin-top: 8px; line-height: 1.5; }

.demo-modal .modal-close { top: 18px; right: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.demo-modal .modal-close:hover { background: rgba(255,255,255,.22); color: #fff; }
.modal-back { position: absolute; top: 16px; left: 18px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; font-size: 16px; place-items: center; transition: background .15s, color .15s; }
.modal-back:hover { background: var(--cream-2); color: var(--ink); }
.demo-modal .modal-back { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color: #fff; }
.demo-modal .modal-back:hover { background: rgba(255,255,255,.22); color: #fff; }
.demo-modal .modal-head { padding-left: 60px; }
.demo-modal .modal-head.no-back { padding-left: 28px; }

/* Progress bar sits flush under the band */
.demo-progress { height: 4px; background: var(--cream-2); position: relative; overflow: hidden; }
.demo-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, var(--gold), var(--gold-dk)); border-radius: 0 4px 4px 0; transition: width .45s cubic-bezier(.16,1,.3,1); }

/* Body */
.modal-body { padding: 22px 0 30px; overflow: hidden; }
.modal-body > #demoForm, .modal-body > .modal-success { padding: 0; }
.demo-track { display: flex; width: 100%; transition: transform .42s cubic-bezier(.16,1,.3,1); }
.demo-step { flex: 0 0 100%; min-width: 0; padding: 8px 28px 4px; }
.modal-success { padding-left: 28px; padding-right: 28px; }

/* Fields — soft cream rounded-2xl with gold focus halo */
.demo-modal .field { margin-bottom: 18px; }
.demo-modal .field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.demo-modal .field input,
.demo-modal .field select {
  font-size: 15.5px; padding: 14px 16px; border-radius: 16px;
  background: rgba(251,248,241,0.85); border: 1px solid var(--line-2);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.demo-modal .field input:focus,
.demo-modal .field select:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(212,168,83,0.18); }

/* Segmented buttons — pill-style with navy selected state */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg-opt { font-family: var(--sans); font-size: 15px; font-weight: 600; text-align: center; padding: 15px 8px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(251,248,241,0.85); color: var(--ink); cursor: pointer; transition: all .15s; }
.seg-opt:hover { border-color: var(--gold-soft); background: var(--cream); }
.seg-opt.sel { background: #0f1b3d; color: #fff; border-color: #0f1b3d; }

.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Pill submit buttons inside demo modal */
.demo-modal .btn-block.btn-lg { border-radius: 999px; padding: 17px 28px; font-weight: 600; font-size: 16px; margin-top: 6px; }
.demo-modal .btn-dark { background: #0d0d0d; color: #fff; }
.demo-modal .btn-dark:hover { background: #1a1a1a; }

.demo-legal { font-size: 11.5px; color: var(--ink-3); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.demo-legal a { color: var(--gold-dk); text-decoration: underline; }

/* ---- Glowing "Get a demo" button (servicetitan-style) ---- */
.btn-glow { position: relative; isolation: isolate; overflow: hidden; }
.btn-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.55) 50%, transparent 75%);
  background-size: 220% 100%; background-position: 200% 0;
  animation: btnSheen 4.5s ease-in-out infinite;
}
@keyframes btnSheen { 0% { background-position: 200% 0; } 55%, 100% { background-position: -120% 0; } }
.btn-glow { box-shadow: 0 0 0 0 rgba(200,162,74,0.5); animation: btnGlow 3.2s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(40,30,10,0.12), 0 0 0 0 rgba(200,162,74,0.0); }
  50%      { box-shadow: 0 4px 16px rgba(40,30,10,0.16), 0 0 18px 1px rgba(200,162,74,0.45); }
}
.modal-success { text-align: center; padding: 16px 8px 8px; }
.modal-success .ck { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; font-size: 30px; margin: 0 auto 18px; animation: pop .4s cubic-bezier(.22,1.4,.5,1); }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.modal-success h3 { font-size: 26px; margin-bottom: 10px; }
.modal-success p { color: var(--ink-2); font-size: 15px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }
/* Signature motion (restrained) */
.phone { /* floating idle motion removed per request */ }

.js-reveal .chat .bub { opacity: 0; transform: translateY(10px); }
@keyframes bubIn { to { opacity: 1; transform: none; } }
.chat.play .bubbles .bub { animation: bubIn .55s cubic-bezier(.22,1,.36,1) forwards; }
.chat.play .bubbles .bub:nth-child(1) { animation-delay: .12s; }
.chat.play .bubbles .bub:nth-child(2) { animation-delay: .55s; }
.chat.play .bubbles .bub:nth-child(3) { animation-delay: 1.0s; }
.chat.play .bubbles .bub:nth-child(4) { animation-delay: 1.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars span { transform: scaleY(1); }
  .phone { animation: none; }
  .phone-scroll { animation: none; }
  .hero-panel { opacity: 1; transform: none; animation: none; }
  .panel-lines path { animation: none !important; }
  .owners-track { animation: none !important; }
  .btn-glow::before { animation: none !important; }
  .btn-glow { animation: none !important; }
  .demo-track { transition: none !important; }
  .chat .bub { opacity: 1; transform: none; }
  .sw-panel .vcard, .sw-panel .gpt-card, .sw-panel .book-bar, .sw-panel .sms, .sw-panel .repeat-pill, .sw-panel .rev-card, .sw-panel .fill, .sw-panel .serp-row.you { animation: none !important; opacity: 1 !important; transform: none !important; }
  .sw-panel .slot .fill { width: 100% !important; }
  .sw-tab .sw-prog::after { animation: none !important; transform: scaleX(1); }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BENTO SHOWCASE (yavendio-style) — "What FastFix does"
   ============================================================ */
.bento { background: var(--cream); }
.bento .section-head { margin-bottom: 48px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  min-height: 184px; overflow: hidden;
}
.bento-card h3 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.1; }
.bc-sub { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; line-height: 1.45; }

/* grid placement */
.glow-card { grid-column: 1 / 3; grid-row: 1 / 3; }
.b-stat-a  { grid-column: 3 / 4; grid-row: 1 / 2; }
.b-stat-b  { grid-column: 3 / 4; grid-row: 2 / 3; }
.b-learn   { grid-column: 1 / 2; grid-row: 3 / 4; }
.b-inbox   { grid-column: 2 / 4; grid-row: 3 / 4; }
.b-coach   { grid-column: 1 / 4; grid-row: 4 / 5; }

/* big glow chat card */
.glow-card {
  position: relative; min-height: 430px;
  border-radius: 30px; padding: 16px;
  background: linear-gradient(132deg, #F1D585 0%, #E9C662 17%, #F4EFDF 50%, #8CC3A2 100%);
  background-size: 220% 220%;
  box-shadow: var(--shadow-md);
}
.glow-card.revealed { animation: glowShift 10s ease-in-out infinite; }
@keyframes glowShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.gc-inner {
  background: #fff; border-radius: 20px; height: 100%;
  padding: 34px 38px; display: flex; flex-direction: column;
}
.gc-chat { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gc-bub { max-width: 76%; font-size: 14.5px; line-height: 1.4; padding: 12px 16px; border-radius: 18px; }
.gc-bub.in { background: var(--cream-2); color: var(--ink); border-bottom-left-radius: 6px; }
.gc-bub.out { background: #1E5E40; color: #F0FAF4; align-self: flex-end; border-bottom-right-radius: 6px; font-weight: 500; }
.gc-bub.pill { background: var(--cream-2); color: var(--ink-2); font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }
.js-reveal .glow-card .gc-bub { opacity: 0; }
.glow-card.revealed .gc-bub { animation: bubIn .5s cubic-bezier(.22,1,.36,1) forwards; }
.glow-card.revealed .gc-bub:nth-child(1) { animation-delay: .25s; }
.glow-card.revealed .gc-bub:nth-child(2) { animation-delay: .75s; }
.glow-card.revealed .gc-bub:nth-child(3) { animation-delay: 1.2s; }
.glow-card.revealed .gc-bub:nth-child(4) { animation-delay: 1.6s; }

/* stat cards */
.stat-card { justify-content: center; }
.bc-stat { font-size: clamp(40px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.bc-statlabel { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; max-width: 22ch; line-height: 1.4; }

/* learns your trade */
.b-learn .learn-list { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.learn-row { display: flex; align-items: center; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.learn-row .ld { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(140deg, var(--gold-soft), var(--gold)); flex-shrink: 0; }
.learn-row .ll { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--cream-3); overflow: hidden; }
.learn-row .ll::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.b-learn.revealed .learn-row:nth-child(1) .ll::after { animation: learnFill .6s ease .25s both; }
.b-learn.revealed .learn-row:nth-child(2) .ll::after { animation: learnFill .6s ease .4s both; }
.b-learn.revealed .learn-row:nth-child(3) .ll::after { animation: learnFill .6s ease .55s both; }
@keyframes learnFill { from { width: 0; } to { width: 100%; } }
.learn-row .lc { width: 22px; height: 22px; border-radius: 50%; background: #1E5E40; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; opacity: 0; transform: scale(.4); }
.b-learn.revealed .learn-row:nth-child(1) .lc { animation: popIn .45s cubic-bezier(.22,1.4,.5,1) .9s both; }
.b-learn.revealed .learn-row:nth-child(2) .lc { animation: popIn .45s cubic-bezier(.22,1.4,.5,1) 1.05s both; }
.b-learn.revealed .learn-row:nth-child(3) .lc { animation: popIn .45s cubic-bezier(.22,1.4,.5,1) 1.2s both; }

/* every lead, one inbox */
.inbox-card { justify-content: center; }
.ic-head { display: flex; align-items: center; gap: 26px; justify-content: space-between; }
.ic-copy { min-width: 0; }
.ic-channels { display: flex; gap: 12px; flex-shrink: 0; }
.chan { width: 54px; height: 54px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.chan.ig { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); border: none; }
.chan.fb { background: #1877F2; border: none; color: #fff; font-family: Georgia, serif; font-weight: 800; font-size: 28px; line-height: 1; }
.inbox-card.revealed .chan { animation: chanFloat 3.4s ease-in-out infinite; }
.inbox-card.revealed .chan:nth-child(2) { animation-delay: .25s; }
.inbox-card.revealed .chan:nth-child(3) { animation-delay: .5s; }
.inbox-card.revealed .chan:nth-child(4) { animation-delay: .75s; }
@keyframes chanFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* coach advisor */
.coach-card { flex-direction: row; align-items: center; gap: 28px; justify-content: space-between; }
.coach-main { display: flex; gap: 20px; align-items: center; max-width: 62ch; }
.coach-av { width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(140deg, var(--gold), #1E5E40); display: grid; place-items: center; color: #FBF7EC; box-shadow: var(--shadow-md); }
.coach-tip { background: var(--gold-bg); border: 1px solid var(--gold-soft); border-radius: 16px; padding: 16px 18px; max-width: 330px; flex-shrink: 0; }
.coach-tip .ct-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); }
.coach-tip .ct-text { font-size: 14px; color: var(--ink); margin-top: 6px; line-height: 1.4; }
.coach-card.revealed .coach-tip { animation: fadeUp .6s cubic-bezier(.22,1,.36,1) .3s both; }
.coach-card.revealed .coach-av { animation: coachGlow 3.4s ease-in-out infinite; }
@keyframes coachGlow { 0%, 100% { box-shadow: var(--shadow-md); } 50% { box-shadow: 0 8px 26px -6px rgba(47,128,89,.5); } }

/* ============================================================
   4-STEP FLOW — "How FastFix works" (install narrative)
   ============================================================ */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-card { position: relative; background: var(--cream-2); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 24px; display: flex; flex-direction: column; }
.flow-step { align-self: center; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FBF7EC; background: var(--ink); padding: 5px 13px; border-radius: 999px; }
.flow-card h3 { text-align: center; font-size: 19px; line-height: 1.18; letter-spacing: -0.01em; margin-top: 16px; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.fc-sub { text-align: center; font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.45; }
.flow-mock { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 172px; }

/* mock: SERP ranking */
.mock-serp .serp-row { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; }
.mock-serp .serp-row + .serp-row { margin-top: 6px; }
.mock-serp .serp-row.you { background: var(--gold-bg); border: 1px solid var(--gold-soft); }
.mock-serp .sr-rank { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-4); width: 20px; text-align: center; flex-shrink: 0; }
.mock-serp .serp-row.you .sr-rank { color: var(--gold-dk); }
.mock-serp .sr-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mock-serp .sr-lines b { height: 8px; width: 78%; border-radius: 999px; background: var(--cream-3); }
.mock-serp .serp-row.you .sr-lines b { background: var(--gold-soft); }
.mock-serp .sr-lines i { height: 6px; width: 54%; border-radius: 999px; background: var(--cream-2); }
.mock-serp .sr-pin { font-size: 11px; font-weight: 800; color: #1E5E40; background: var(--green-bg); border-radius: 999px; padding: 3px 9px; flex-shrink: 0; }
.flow-card.revealed .mock-serp .serp-row.you { animation: popIn .5s cubic-bezier(.22,1.4,.5,1) .4s both; }
.mock-serp .serp-row.you .sr-lines b { position: relative; overflow: hidden; }
.flow-card.revealed .mock-serp .serp-row.you .sr-lines b::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-130%); animation: serpShimmer 3.6s ease-in-out 1.2s infinite; }
@keyframes serpShimmer { 0% { transform: translateX(-130%); } 42%, 100% { transform: translateX(330%); } }

/* mock: incoming call */
.mock-call { align-items: center; text-align: center; }
.mock-call .call-ring { width: 54px; height: 54px; border-radius: 50%; background: #1E5E40; color: #F0FAF4; display: grid; place-items: center; }
.flow-card.revealed .mock-call .call-ring { animation: callPulse 1.7s ease-in-out infinite; }
@keyframes callPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30,94,64,.4); } 50% { box-shadow: 0 0 0 11px rgba(30,94,64,0); } }
.mock-call .call-status { font-size: 13px; color: var(--ink-3); margin-top: 13px; font-weight: 600; }
.mock-call .call-booked { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--gold-bg); border: 1px solid var(--gold-soft); color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; opacity: 0; }
.mock-call .cb-check { width: 18px; height: 18px; border-radius: 50%; background: #1E5E40; color: #fff; display: grid; place-items: center; font-size: 10px; }
.flow-card.revealed .mock-call .call-booked { animation: popIn .5s cubic-bezier(.22,1.4,.5,1) 1s both; }

/* mock: proposal + payment */
.mock-pay { gap: 14px; }
.mock-pay .pay-doc { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-pay .pd-line { height: 8px; border-radius: 999px; background: var(--cream-3); }
.mock-pay .pd-line.lg { width: 66%; height: 10px; }
.mock-pay .pd-sign { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #1E5E40; background: var(--green-bg); border-radius: 999px; padding: 4px 10px; }
.mock-pay .pay-pill { align-self: center; font-weight: 800; font-size: 15px; color: #2A2008; background: var(--gold); border-radius: 999px; padding: 9px 18px; opacity: 0; }
.flow-card.revealed .mock-pay .pay-pill { animation: popIn .55s cubic-bezier(.22,1.4,.5,1) 1s both, payGlow 2.6s ease-in-out 1.7s infinite; }
@keyframes payGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,162,74,0); } 50% { box-shadow: 0 6px 20px 0 rgba(200,162,74,.5); } }

/* mock: mobile app job list */
.mock-app { gap: 9px; }
.mock-app .app-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; opacity: 0; }
.mock-app .ar-dot { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(140deg, var(--gold-soft), var(--gold)); flex-shrink: 0; }
.mock-app .ar-line { flex: 1; height: 7px; border-radius: 999px; background: var(--cream-3); }
.mock-app .ar-tag { font-size: 11px; font-weight: 700; color: var(--ink-3); flex-shrink: 0; }
.mock-app .app-foot { margin-top: 6px; text-align: center; font-size: 12.5px; font-weight: 700; color: #1E5E40; }
.flow-card.revealed .mock-app .app-row:nth-child(1) { animation: fadeUp .5s ease .35s both, rowScan 4.5s ease-in-out 1.2s infinite; }
.flow-card.revealed .mock-app .app-row:nth-child(2) { animation: fadeUp .5s ease .5s both, rowScan 4.5s ease-in-out 1.7s infinite; }
.flow-card.revealed .mock-app .app-row:nth-child(3) { animation: fadeUp .5s ease .65s both, rowScan 4.5s ease-in-out 2.2s infinite; }
@keyframes rowScan { 0%, 78%, 100% { background: var(--cream); border-color: var(--line); } 10%, 26% { background: var(--gold-bg); border-color: var(--gold-soft); } }

.flow-cta { display: flex; gap: 14px; justify-content: center; margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  .glow-card .gc-bub, .b-learn .lc, .mock-call .call-booked, .mock-pay .pay-pill,
  .mock-app .app-row, .coach-tip, .mock-serp .serp-row.you {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .inbox-card .chan, .mock-call .call-ring, .glow-card.revealed, .coach-card.revealed .coach-av { animation: none !important; }
  .b-learn .ll::after { animation: none !important; width: 100% !important; }
  .mock-serp .serp-row.you .sr-lines b::after { display: none !important; }
}

@media (max-width: 960px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .glow-card, .b-stat-a, .b-stat-b, .b-learn, .b-inbox, .b-coach { grid-column: auto; grid-row: auto; }
  .glow-card { grid-column: 1 / 3; min-height: 380px; }
  .b-coach { grid-column: 1 / 3; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .bento-grid { grid-template-columns: 1fr; }
  .glow-card { grid-column: 1 / 2; min-height: 0; }
  .b-coach { grid-column: 1 / 2; }
  .gc-inner { padding: 26px 24px; }
  .coach-card { flex-direction: column; align-items: flex-start; gap: 22px; }
  .coach-tip { max-width: 100%; }
  .ic-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card h3 { min-height: 0; }
  .flow-cta { flex-direction: column; }
  .flow-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Industries: photo tiles (user-fillable) ---- */
.ind { position: relative; display: block; overflow: hidden; min-height: 248px; padding: 0; text-align: left; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind .ind-photo { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.ind:hover .ind-photo { transform: scale(1.05); }
.ind .ind-ov { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(176deg, rgba(20,16,8,0) 26%, rgba(20,16,8,0.4) 60%, rgba(14,11,5,0.9) 100%); }
.ind .ind-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; }
.ind .glyph { width: 46px; height: 46px; border-radius: 13px; margin: 0 0 14px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ind .nm { font-family: var(--serif); font-style: italic; font-size: 23px; color: #fff; line-height: 1; }
.ind .ds { font-size: 12.5px; color: rgba(255,255,255,0.78); margin-top: 7px; line-height: 1.35; }

/* ---- Managed (human team) premium band ---- */
.managed-band {
  margin-top: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 88% -10%, rgba(200,162,74,0.18) 0%, transparent 60%),
    var(--dark);
  color: #F4EFE4; border-radius: 26px; padding: 44px 48px;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center;
}
.managed-band .mb-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.managed-band .mb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(200,162,74,0.6); animation: mbDot 2.2s ease-out infinite; }
@keyframes mbDot { 0% { box-shadow: 0 0 0 0 rgba(200,162,74,0.55); } 100% { box-shadow: 0 0 0 9px rgba(200,162,74,0); } }
.managed-band h3 { color: #FBF7EC; font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -0.025em; line-height: 1.1; margin: 13px 0 0; max-width: 20ch; }
.managed-band p { color: rgba(244,239,228,0.72); font-size: 16px; line-height: 1.5; margin: 13px 0 0; max-width: 48ch; }
.managed-band .mb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin-top: 22px; }
.managed-band .mb-list span { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: rgba(244,239,228,0.84); line-height: 1.35; }
.managed-band .mb-list span::before { content: "✓"; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.managed-band .mb-side { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.managed-band .mb-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.managed-band .mb-amt { font-size: 40px; font-weight: 800; color: #FBF7EC; letter-spacing: -0.02em; line-height: 1; margin-top: 4px; }
.managed-band .mb-note { font-size: 13.5px; color: rgba(244,239,228,0.6); margin-bottom: 14px; }
@media (max-width: 960px) {
  .managed-band { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
}
@media (max-width: 620px) {
  .managed-band { padding: 26px 22px; }
  .managed-band .mb-list { grid-template-columns: 1fr; }
}

/* ---- vs ServiceTitan strip ---- */
.vs-strip { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.vs-strip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.vs-strip-main { display: flex; align-items: center; gap: 14px; }
.vs-strip .vs-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); background: var(--gold-bg); border: 1px solid var(--gold-soft); padding: 5px 11px; border-radius: 999px; flex-shrink: 0; }
.vs-strip .vs-txt { font-size: 15.5px; color: var(--ink-2); }
.vs-strip .vs-txt b { color: var(--ink); font-weight: 700; }
.vs-strip .vs-arrow { font-size: 18px; color: var(--gold-dk); transition: transform .18s ease; flex-shrink: 0; }
.vs-strip:hover .vs-arrow { transform: translateX(4px); }
@media (max-width: 620px) { .vs-strip { flex-direction: column; align-items: flex-start; gap: 12px; } .vs-strip-main { flex-wrap: wrap; } }

/* ---- Managed band: premium animated upgrade ---- */
@property --mbA { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.managed-band { border: 1px solid rgba(200,162,74,0.22); isolation: isolate; }
.managed-band::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: 0; padding: 1.5px;
  background: conic-gradient(from var(--mbA), transparent 0 58%, rgba(232,206,142,0.9) 72%, rgba(255,244,214,0.95) 78%, rgba(232,206,142,0.9) 84%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: mbBorder 7s linear infinite; pointer-events: none; }
@keyframes mbBorder { to { --mbA: 360deg; } }
.mb-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.mb-aurora::before, .mb-aurora::after { content: ""; position: absolute; width: 48%; height: 170%; border-radius: 50%; filter: blur(64px); opacity: .42; }
.mb-aurora::before { background: radial-gradient(circle, rgba(200,162,74,0.7), transparent 70%); top: -42%; left: 6%; animation: mbFloatA 13s ease-in-out infinite; }
.mb-aurora::after { background: radial-gradient(circle, rgba(47,128,89,0.55), transparent 70%); bottom: -52%; right: 4%; animation: mbFloatB 16s ease-in-out infinite; }
@keyframes mbFloatA { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(20%,14%); } }
@keyframes mbFloatB { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-16%,-12%); } }
.managed-band .mb-main, .managed-band .mb-side { position: relative; z-index: 1; }
.mb-emblem { position: relative; width: 76px; height: 76px; margin: 0 0 18px; }
.mb-emblem .mb-orb { position: absolute; inset: 21px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #F7E7B0, var(--gold) 52%, #1E5E40 135%); box-shadow: 0 0 28px rgba(200,162,74,0.7); animation: mbOrb 4s ease-in-out infinite; }
.mb-emblem .mb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(200,162,74,0.5); opacity: 0; animation: mbRing 3.2s ease-out infinite; }
.mb-emblem .mb-ring.r2 { animation-delay: 1.07s; }
.mb-emblem .mb-ring.r3 { animation-delay: 2.14s; }
@keyframes mbRing { 0% { transform: scale(.5); opacity: .65; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes mbOrb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.managed-band .mb-side { align-items: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .managed-band::before, .mb-aurora::before, .mb-aurora::after, .mb-emblem .mb-orb, .mb-emblem .mb-ring { animation: none !important; }
  .mb-emblem .mb-ring { display: none; }
}

/* ---- SEO directory band ---- */
.seo-directory { background: var(--cream); border-top: 1px solid var(--line); padding: 64px 0 68px; }
.seo-dir-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.sd-intro { max-width: 290px; }
.sd-title { font-size: 26px; letter-spacing: -0.02em; line-height: 1.12; margin: 12px 0 0; }
.sd-intro p { font-size: 14.5px; color: var(--ink-2); margin: 12px 0 18px; line-height: 1.5; }
.sd-all { font-size: 14.5px; font-weight: 700; color: var(--gold-dk); display: inline-flex; align-items: center; gap: 7px; }
.sd-all .arr { transition: transform .18s ease; }
.sd-all:hover .arr { transform: translateX(4px); }
.sd-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.sd-col a { display: block; font-size: 14px; color: var(--ink-2); padding: 5px 0; transition: color .15s, transform .15s; }
.sd-col a:hover { color: var(--gold-dk); transform: translateX(2px); }
@media (max-width: 900px) { .seo-dir-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; } .sd-intro { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 560px) { .seo-dir-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-panel { width: 38%; height: 80%; }
  .sw-panel { grid-template-columns: 1fr; min-height: 0; }
  .sw-copy { padding: 40px 36px 8px; }
  .sw-viz { padding: 24px 36px 44px; }
  .spotlight-inner { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
  .stack-grid, .steps, .problems, .tst-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(3,1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .stat + .stat::before { display: none; }
  .price.feat { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .hero { padding-top: 28px; display: flex; flex-direction: column; }
  .hero-top { display: contents; }
  .hero-rating { order: 1; align-self: center; padding: 0 24px; }
  .hero h1 { order: 2; margin: 14px auto 0; padding: 0 20px; }
  .audit-bar { order: 3; position: relative; z-index: 5; margin: 18px 16px 0; border-radius: 999px; box-shadow: 0 18px 40px -14px rgba(20,15,8,0.28), 0 4px 12px -4px rgba(20,15,8,0.12); border: 1px solid rgba(255,255,255,0.9); background: #fff; }
  .hero-stage { order: 4; min-height: 0; margin-top: 22px; position: relative; }
  .audit-note { display: none; }
  .hero-panel { display: block; width: 22%; height: 86%; top: 8%; opacity: 1; transform: none; animation: none; border-radius: 18px; }
  .hero-panel.left { left: 10px; }
  .hero-panel.right { right: 10px; }
  .phone { position: relative; z-index: 2; max-width: min(280px, 64vw); margin: 0 auto; }
  .sw-tabs { gap: 4px; }
  .sw-tab { font-size: 13px; flex: 1 1 45%; padding-bottom: 12px; white-space: normal; }
  .rot-static { white-space: normal; }
  .stack-grid, .steps, .problems, .tst-grid, .price-grid, .ind-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .float-call { left: -10px; } .float-lead { right: -8px; }
  .spotlight-inner { padding: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile nav menu + responsive polish ---- */
.nav-burger { display: none; }
.nav-mobile { display: none; }
@media (max-width: 620px) {
  .nav-inner { padding: 12px 18px; gap: 12px; }
  .wrap { padding: 0 20px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-glow { display: none; }
  .nav-burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; background: none; border: none; cursor: pointer; }
  .nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .2s ease; }
  .nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-mobile { flex-direction: column; padding: 6px 20px 22px; background: rgba(251,248,241,0.98); border-top: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 14px 2px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-mobile-dd { border-bottom: 1px solid var(--line); }
  .nav-mobile-dd > summary { list-style: none; cursor: pointer; padding: 14px 2px; font-size: 16px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
  .nav-mobile-dd > summary::-webkit-details-marker { display: none; }
  .nav-mobile-dd > summary::after { content: '⌄'; opacity: .6; transition: transform .2s; }
  .nav-mobile-dd[open] > summary::after { transform: rotate(180deg); }
  .nav-mobile-dd a { padding: 10px 14px; font-size: 14.5px; font-weight: 500; border-bottom: 0; color: var(--ink-2, var(--ink)); display: block; }
  .audit-bar { flex-direction: row; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; }
  .audit-bar input { flex: 1 1 auto; min-width: 0; text-align: left; font-size: 14px; border: 0; background: transparent; padding: 6px 0; }
  .audit-bar button { width: auto; flex: 0 0 auto; padding: 11px 16px; font-size: 13.5px; white-space: nowrap; border-radius: 999px; justify-content: center; }
  .hero .display { font-size: clamp(30px, 8vw, 44px); }
  .final { padding: 90px 22px; }
  .final-meta { font-size: 13px; }
  .modal-overlay { padding: 14px; }
  .owners h2, .h2 { letter-spacing: -0.02em; }
}
@media (max-width: 380px) {
  .lang-opt { padding: 6px 10px; font-size: 12px; }
  .nav-cta { gap: 8px; }
  .bc-stat { font-size: 44px; }
  .coach-tip { max-width: 100%; }
  .audit-bar button .arr { display: none; }
  .audit-bar button { padding: 11px 14px; font-size: 13px; }
}

/* Cal.com embed step inside demo modal */
.demo-modal.has-cal { max-width: 980px; }
.demo-modal.has-cal .modal-body { padding: 0; }
.demo-modal.has-cal #modalSuccess { padding: 0; }
.cal-embed-frame { width: 100%; height: 72vh; min-height: 560px; border: 0; display: block; background: #fff; }
@media (max-width: 720px) {
  .demo-modal.has-cal { max-width: 100%; border-radius: 18px; }
  .cal-embed-frame { height: 78vh; min-height: 480px; }
}

/* ============================================================
   RESPONSIVE HARDENING (mobile + tablet polish)
   Appended Jun 2026 — non-destructive overrides only.
   ============================================================ */

/* Global: stop any horizontal scroll, prevent grid/flex children from overflowing */
html, body { overflow-x: clip; }
.bento-grid > *, .price-grid > *, .tst-grid > *, .ind-grid > *,
.footer-inner > *, .stats-inner > *, .nav-inner > *,
.problems > *, .stack-grid > *, .steps > *, .flow-grid > *,
.sw-panel > *, .spotlight-inner > *, .managed-band > *,
.coach-card > *, .ic-head > *, .ic-copy, .mb-list > * { min-width: 0; }

@media (max-width: 900px) {
  /* Mobile devices sometimes miss IO ticks during fast scroll — make reveals less fragile */
  .reveal { transition-duration: .45s; }
}

/* ---------- Tablet (max-width: 900px) ---------- */
@media (max-width: 900px) {
  /* Collapse desktop nav earlier so we don't crowd at ~720px */
  .nav-links { display: none; }
  .nav-burger { display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; background: none; border: none; cursor: pointer; }
  .nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .2s ease; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .megamenu, .megamenu.open { display: none !important; }

  /* Industries 3→2 col at tablet */
  .ind-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 760px) {
  .tst-grid { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr 1fr !important; }
  .stats-inner { padding: 40px 20px !important; gap: 28px 20px !important; }
}

/* ---------- Mobile (max-width: 620px) ---------- */
@media (max-width: 620px) {
  .section { padding: 56px 0; }

  /* Audit form: prevent iOS zoom + larger tap targets */
  .audit-bar input { font-size: 16px; }
  .audit-bar button { min-height: 48px; }

  /* Owner card body uses full width so revenue chips don't clip */
  .owner-card .body { width: 100%; box-sizing: border-box; padding: 14px 16px 16px; }
  .owner-card .stat, .owner-card .who { width: 100%; }
  .owner-card .ov, .owner-card .photo { width: 100%; }

  /* Inbox card: channels never overflow */
  .inbox-card .ic-channels { flex-wrap: wrap; }
  .inbox-card .chan { width: 48px; height: 48px; }

  /* Pricing */
  .price.feat { transform: none; }
  .price .amt { font-size: clamp(34px, 11vw, 44px); }
  .price ul { gap: 9px; }

  /* Footer: full single column */
  .footer { padding: 56px 20px 32px; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .blurb { max-width: none; }

  /* Trades strip */
  .trades-strip { padding: 28px 18px; }
  .trades-strip-inner { gap: 18px 22px; font-size: 17px; }

  /* Stats */
  .stats-inner { grid-template-columns: 1fr 1fr !important; gap: 24px 16px; padding: 36px 16px; }
  .stat .v { font-size: clamp(28px, 9vw, 40px); }
  .stat .l { font-size: 13px; }

  /* Managed-band tightening */
  .managed-band { padding: 24px 20px; }
  .managed-band h3 { font-size: clamp(22px, 6.2vw, 28px); }
  .managed-band .mb-amt { font-size: clamp(30px, 9vw, 40px); }
  .mb-emblem { width: 60px; height: 60px; margin-bottom: 12px; }

  /* Testimonials */
  .tst .qm { font-size: 36px; }
  .tst p { font-size: 15.5px; }

  /* Bento + cards */
  .glow-card .gc-inner { padding: 22px 20px; }
  .bento-card { padding: 22px; }
  .prob { padding: 22px 20px; }
  .prob .n { font-size: 24px; }

  /* Spotlight + chat */
  .spotlight-inner { padding: 24px 20px; gap: 24px; }
  .chat { padding: 16px; }

  /* Switcher */
  .sw-copy { padding: 32px 22px 4px; }
  .sw-viz { padding: 16px 18px 32px; }

  /* Phone mockup */
  .phone { max-width: min(320px, 80vw); }

  /* Tap targets */
  .btn, button.btn, a.btn-glow, a.btn-ghost, .btn-primary, .btn-secondary { min-height: 44px; }
}

/* ---------- Demo modal (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .demo-modal { max-width: calc(100vw - 16px); border-radius: 22px; }
  .modal-overlay { padding: 8px; }
  .demo-modal .modal-head { padding: 24px 22px 16px; }
  .demo-modal .modal-head.no-back { padding: 24px 22px 16px; }
  .modal-title { font-size: 21px; }
  .modal-sub { font-size: 14px; }
  .demo-step { padding: 4px 18px 4px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .name-row { grid-template-columns: 1fr; gap: 10px; }
  .modal-close, .modal-back { width: 34px; height: 34px; }
  .btn-block.btn-lg { padding: 15px 22px; font-size: 15.5px; }
}

/* ---------- Small phones (max-width: 380px) ---------- */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .nav-inner { padding: 10px 14px; }
  .hero .display { font-size: clamp(26px, 8.4vw, 36px); }
  .h2 { font-size: clamp(24px, 7vw, 32px); }
  .stats-inner { grid-template-columns: 1fr !important; }
  .footer { padding: 48px 16px 28px; }
}

/* ---- Owner card as link (case-study navigation) ---- */
a.owner-card { text-decoration: none; color: inherit; cursor: pointer; }
a.owner-card:focus-visible { outline: 2px solid var(--gold, #d4a853); outline-offset: 4px; }
