/* ===================== TOKENS (Sonshine / Vanguard navy + light-blue) ===================== */
:root {
  /* backgrounds & surfaces */
  --bg: #131a25;
  --bg-2: #192434;
  --surface: #192434;
  --surface-hover: #1c2636;
  --elevated: #1d2431;
  --elevated-hover: #243044;
  --frosted: rgba(255, 255, 255, 0.06);
  --frosted-strong: rgba(255, 255, 255, 0.12);

  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);

  /* text */
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.80);
  --text-emph: #ffffff;
  --text-mute: rgba(255, 255, 255, 0.60);
  --text-primary: #79c0dc;

  /* brand — light-blue accent, dark text on buttons (Vanguard/Sonshine look) */
  --primary: #79c0dc;
  --primary-hover: #93cee4;
  --primary-active: #5fb0d0;
  --on-primary: #0c1622;
  --magic: #c8e2e8;
  --deep-blue: #002957;

  /* radii */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1240px;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 18px 50px -32px rgba(0, 0, 0, 0.7);

  /* fonts: Cormorant Garamond = Sonshine display serif; Inter = UI sans */
  --ff-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ===================== LAYOUT ===================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

.section { padding: clamp(72px, 9vw, 132px) 0; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section__head { max-width: 760px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; }
.section__title {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--text-emph);
}
.section__intro { color: var(--text-soft); font-size: 1.08rem; margin-top: 18px; }

/* understated blue highlight (Mercury uses a soft periwinkle, not a rainbow gradient) */
.grad { color: var(--text-primary); }

/* ===================== BUTTONS ===================== */
.btn {
  --pad-y: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) 22px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn--lg { --pad-y: 15px; padding-inline: 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--primary-active); transform: none; }
.btn--ghost {
  background: var(--frosted);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--frosted-strong); border-color: var(--line-strong); color: var(--text-emph); }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(19, 26, 37, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.is-scrolled { background: rgba(19, 26, 37, 0.92); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 12px; }
/* Brand mark — matched to the Sonshine Glass wordmark: Inter, medium, uppercase, wide tracking */
.brand__mark {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-emph);
}
.brand__word { font-size: 0.9rem; color: var(--text-mute); font-weight: 500; letter-spacing: 0.01em; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); transition: color 0.18s; }
.nav__links a:hover { color: var(--text-emph); }
.nav__cta { display: inline-flex; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 24px;
  background: rgba(19, 26, 37, 0.98);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 13px 4px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { margin-top: 14px; border: 0; color: var(--on-primary); justify-content: center; }
.nav__mobile.is-open { display: flex; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: clamp(76px, 11vw, 148px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero__glow {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 680px;
  background:
    radial-gradient(50% 55% at 25% 25%, rgba(121, 192, 220, 0.22), transparent 70%),
    radial-gradient(45% 50% at 82% 12%, rgba(121, 192, 220, 0.14), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr clamp(280px, 32vw, 360px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__visual { display: flex; justify-content: center; }
.hero__visual .phone { margin-top: 0; }
.hero__statsband { margin-top: 8px; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.3vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-emph);
}
.hero__title .hero__line { display: block; text-wrap: balance; }
.hero__sub { margin-top: 24px; font-size: clamp(0.98rem, 1.5vw, 1.08rem); line-height: 1.6; color: var(--text-soft); max-width: 660px; }
.hero__sub em { color: var(--text-emph); font-style: normal; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { margin-top: 22px; color: var(--text-mute); font-size: 0.95rem; }
.hero__trust strong { color: var(--text-primary); white-space: nowrap; }

/* centered stats band (Mercury "300K+ / 1 in 3 / $20B+ / 4.9") */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 58px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--text-emph);
}
.stat__label { display: block; color: var(--text-mute); font-size: 0.92rem; margin-top: 8px; }
/* footnote reference marker on the stat numbers */
.fn-ref {
  font-family: var(--ff-body);
  font-size: 0.42em;
  font-weight: 500;
  vertical-align: super;
  color: var(--text-primary);
  margin-left: 2px;
}
/* the footnote itself — sits low, set apart, reads like a citation */
.hero__footnote {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.76rem;
  line-height: 1.5;
  max-width: 620px;
}
.hero__footnote .fn-mark { color: var(--text-primary); font-weight: 600; margin-right: 4px; }

/* ===================== EMPATHY ===================== */
.empathy { padding: clamp(44px, 6vw, 76px) 0; }
.empathy__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 60px);
  box-shadow: var(--shadow-soft);
}
.empathy__card .section__title { text-align: left; max-width: 780px; }
.empathy__lead { color: var(--text-soft); font-size: 1.08rem; margin-top: 20px; max-width: 780px; }
.empathy__lead em { color: var(--text-emph); font-style: normal; font-weight: 600; }
.empathy__lead + .empathy__lead { margin-top: 16px; }

.empathy__callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.empathy__stat { padding: 28px 30px 28px 0; }
.empathy__stat + .empathy__stat { padding-left: 30px; border-left: 1px solid var(--line); }
.empathy__stat-num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--text-emph);
}
.empathy__stat-label { display: block; color: var(--text-mute); font-size: 0.9rem; margin-top: 10px; max-width: 22ch; }
.empathy__source { margin-top: 16px; color: var(--text-mute); font-size: 0.76rem; opacity: 0.8; max-width: 640px; }

.empathy__pains-label { color: var(--text-mute); font-size: 0.95rem; margin-top: 32px; }
.empathy__pains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.empathy__pains li {
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--frosted);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
}

/* ===================== BURNED BEFORE ===================== */
.burned__list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.burned__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.burned__item:hover { background: var(--surface-hover); border-color: var(--line-strong); }
.burned__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(121, 192, 220, 0.16);
  border: 1px solid var(--line);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}
.burned__item p { color: var(--text-soft); font-size: 1.02rem; }
.burned__item strong { color: var(--text-emph); font-weight: 600; }

.burned__reframe {
  max-width: 880px;
  margin: 36px auto 0;
  padding: 36px 38px;
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(121, 192, 220, 0.14), transparent 60%),
    var(--elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}
.burned__reframe p { color: var(--text-soft); font-size: 1.05rem; }
.burned__close { margin-top: 18px; color: var(--text); }
.burned__close em { color: var(--text-emph); font-style: normal; font-weight: 600; }

/* ===================== GRIDS / CARDS ===================== */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.card:hover { background: var(--surface-hover); border-color: var(--line-strong); transform: translateY(-3px); }
.card__icon {
  display: grid;
  place-items: center start;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; display: block; }
.card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; color: var(--text-emph); line-height: 1.2; }
.card p { color: var(--text-soft); font-size: 0.98rem; margin-top: 12px; }
.card strong { color: var(--text-emph); font-weight: 600; }
.card__link { margin-top: auto; padding-top: 18px; color: var(--text-primary); font-weight: 600; font-size: 0.92rem; }
.card__link:hover { color: var(--text-emph); }

/* ===================== MOAT ("Standard protection stops short" row) ===================== */
.moat {
  position: relative;
  background:
    radial-gradient(90% 80% at 80% 0%, rgba(121, 192, 220, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  overflow: hidden;
}
.moat__num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 2.6rem;
  color: var(--text-primary);
  opacity: 0.5;
  letter-spacing: -0.02em;
}
.moat h3 { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400; margin-top: 8px; color: var(--text-emph); line-height: 1.2; }
.moat p { color: var(--text-soft); margin-top: 14px; }
.moat em { color: var(--text-primary); font-style: normal; font-weight: 600; }

/* ===================== ADVANTAGE ===================== */
.advantage__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.advantage__text .section__title { text-align: left; }
.advantage__text p { color: var(--text-soft); margin-top: 20px; font-size: 1.05rem; }
.advantage__text .btn { margin-top: 30px; }
.proofcard {
  background:
    radial-gradient(100% 100% at 0% 0%, rgba(121, 192, 220, 0.16), transparent 60%),
    var(--elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}
.proofcard__quote { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; color: var(--text-emph); }
.proofcard__by { margin-top: 20px; color: var(--text-primary); font-weight: 600; }

/* ===================== PRICING ===================== */
.pricing { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.plan:hover { background: var(--surface-hover); }
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
  transform: translateY(-8px);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-family: var(--ff-body); font-size: 1rem; font-weight: 600; color: var(--text-soft); letter-spacing: 0.02em; text-transform: uppercase; }
.plan__price { font-family: var(--ff-display); font-weight: 400; font-size: 2.8rem; letter-spacing: -0.02em; margin-top: 12px; color: var(--text-emph); }
.plan__price small { font-size: 0.95rem; font-weight: 500; color: var(--text-mute); letter-spacing: 0; font-family: var(--ff-body); }
.plan__price-sub { font-family: var(--ff-body); font-size: 0.92rem; color: var(--text-primary); font-weight: 600; margin-top: 6px; }
.plan__tag { color: var(--text-soft); margin-top: 10px; min-height: 44px; }
.plan__features { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan__features li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: 0.96rem; }
.plan__features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--text-primary); font-weight: 700;
}
.plan__features strong { color: var(--text-emph); }
.pricing__note { text-align: center; margin-top: 34px; color: var(--text-mute); font-size: 0.98rem; }

/* single-offer card */
.offer {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(121, 192, 220, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
  padding: clamp(30px, 5vw, 48px);
}
.offer__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--on-primary);
  font-family: var(--ff-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.offer__name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--text-emph); line-height: 1.08; }
.offer__lead { color: var(--text-soft); font-size: 1.05rem; margin: 16px auto 0; max-width: 480px; }
.offer__price { margin: 26px 0 2px; }
.offer__amount { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: var(--text-emph); }
.offer__unit { color: var(--text-mute); font-size: 0.95rem; }
.offer__plus { display: block; color: var(--text-primary); font-weight: 600; font-size: 1rem; margin-top: 4px; }
.offer__features { margin: 24px auto 28px; display: flex; flex-direction: column; gap: 12px; text-align: left; max-width: 480px; }
.offer__features li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: 0.97rem; }
.offer__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--text-primary); font-weight: 700; }
.offer__features strong { color: var(--text-emph); }
.offer__sub { margin-top: 16px; color: var(--text-mute); font-size: 0.9rem; }

/* ===================== STEPS ===================== */
.steps { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 24px; padding: 24px; border-radius: var(--radius); transition: background 0.2s; }
.step:hover { background: var(--frosted); }
.step__num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 400; font-size: 1.2rem;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(121, 192, 220, 0.22), rgba(121, 192, 220, 0.10));
  border: 1px solid var(--line);
  color: var(--text-primary);
}
.step h3 { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 400; color: var(--text-emph); }
.step p { color: var(--text-soft); margin-top: 6px; }

/* ===================== CTA / FORM ===================== */
.cta { padding: clamp(72px, 9vw, 120px) 0; background: var(--bg-2); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta__copy .section__title { text-align: left; }
.cta__copy p { color: var(--text-soft); margin-top: 18px; font-size: 1.06rem; }
.cta__copy strong { color: var(--text-primary); }
.cta__list { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.cta__list li { position: relative; padding-left: 28px; color: var(--text-soft); }
.cta__list li::before { content: "→"; position: absolute; left: 0; color: var(--text-primary); font-weight: 700; }

.cta__form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; color: var(--text-soft); }
.field .muted { color: var(--text-mute); font-weight: 400; }
.field input {
  width: 100%;
  padding: 13px 15px;
  background: var(--elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.field input::placeholder { color: var(--text-mute); }
.field input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(121, 192, 220, 0.25);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #d9785f; }
.cta__fineprint { text-align: center; color: var(--text-mute); font-size: 0.84rem; margin-top: 14px; }
.cta__terms { text-align: center; color: var(--text-mute); font-size: 0.78rem; opacity: 0.85; margin-top: 8px; line-height: 1.5; }
.cta__success {
  margin-top: 16px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(121, 192, 220, 0.14);
  border: 1px solid rgba(121, 192, 220, 0.4);
  padding: 14px;
  border-radius: var(--radius-sm);
}

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-hover); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text-emph);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-soft); padding: 0 0 22px; }

/* ===================== FINALE ===================== */
.finale { padding: clamp(76px, 10vw, 128px) 0; text-align: center; }
.finale__inner {
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(121, 192, 220, 0.2), transparent 65%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 88px);
  box-shadow: var(--shadow);
}
.finale h2 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; color: var(--text-emph); line-height: 1.1; }
.finale p { color: var(--text-soft); font-size: 1.1rem; margin-top: 18px; }
.finale .btn { margin-top: 32px; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); padding: 58px 0 32px; background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { max-width: 380px; }
.footer__brand p { color: var(--text-mute); margin-top: 14px; font-size: 0.94rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--text-soft); font-size: 0.94rem; }
.footer__links a:hover { color: var(--text-emph); }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-mute); font-size: 0.86rem;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== EMBEDDED DEMOS ===================== */
.demos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.demo-block { text-align: center; }
.demo-block__title { font-family: var(--ff-display); font-weight: 400; font-size: 1.5rem; color: var(--text-emph); }
.demo-block__sub { color: var(--text-soft); font-size: 1rem; margin: 10px auto 0; max-width: 420px; }

/* phone mockup */
.phone { width: 320px; max-width: 88vw; margin: 28px auto 0; background: #0b0b10; border-radius: 42px; padding: 11px; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.06); position: relative; }
.phone__screen { background: #fff; border-radius: 31px; overflow: hidden; height: 560px; display: flex; flex-direction: column; position: relative; }
.phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #0b0b10; border-radius: 0 0 15px 15px; z-index: 5; }
.chat__header { background: #f7f7f9; border-bottom: 1px solid #e2e2e6; padding: 36px 14px 10px; text-align: center; }
.chat__avatar { width: 44px; height: 44px; margin: 0 auto 5px; border-radius: 50%; background: linear-gradient(160deg, #79c0dc, #79c0dc); display: grid; place-items: center; color: #fff; font-family: var(--ff-body); font-weight: 700; font-size: 0.95rem; }
.chat__name { font-family: var(--ff-body); font-weight: 600; font-size: 0.9rem; color: #111; }
.chat__sub { font-size: 0.72rem; color: #8a8a8f; margin-top: 1px; }
.chat { flex: 1; padding: 14px 12px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.chat__pill { align-self: center; font-family: var(--ff-body); font-size: 0.68rem; color: #8a8a8f; background: #ececef; padding: 4px 12px; border-radius: 999px; margin: 4px 0 8px; }
.bubble { font-family: var(--ff-body); font-size: 0.85rem; line-height: 1.35; padding: 9px 13px; border-radius: 18px; max-width: 80%; animation: pop 0.22s ease; }
.bubble--biz { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; }
.bubble--cust { align-self: flex-end; background: #34c759; color: #fff; border-bottom-right-radius: 5px; }
.typing { align-self: flex-start; background: #e9e9eb; border-bottom-left-radius: 5px; padding: 12px 14px; border-radius: 18px; display: inline-flex; gap: 4px; animation: pop 0.22s ease; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b0b0b5; animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* quote widget */
.qt { margin: 28px auto 0; max-width: 700px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 32px); text-align: left; }
.qt__step { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-primary); font-weight: 600; }
.qt__q { font-family: var(--ff-display); font-weight: 400; font-size: 1.4rem; color: var(--text-emph); margin: 8px 0 20px; line-height: 1.2; }
.qt__screen { display: none; }
.qt__screen.is-active { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qt__jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qt__job { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-align: left; background: var(--elevated); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px; color: var(--text); font-family: var(--ff-body); font-weight: 500; font-size: 0.92rem; transition: background 0.16s, border-color 0.16s, transform 0.16s; }
.qt__job:hover { background: var(--elevated-hover); border-color: var(--line-strong); transform: translateY(-2px); }
.qt__job .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.qt__job .dot--fast { background: #34c759; }
.qt__job .dot--custom { background: var(--text-primary); }
.qt__legend { display: flex; gap: 18px; justify-content: center; margin-top: 16px; font-size: 0.76rem; color: var(--text-mute); }
.qt__legend span { display: inline-flex; align-items: center; gap: 6px; }
.qt__legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.qt .field--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qt select, .qt textarea { width: 100%; padding: 13px 15px; background: var(--elevated); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--text); font-size: 1rem; font-family: var(--ff-body); }
.qt textarea { resize: vertical; min-height: 80px; }
.qt__filerow { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--text-mute); font-size: 0.9rem; cursor: pointer; transition: border-color 0.16s, color 0.16s; }
.qt__filerow:hover { border-color: var(--text-primary); color: var(--text-soft); }
.qt__estimate { text-align: center; background: radial-gradient(90% 130% at 50% 0%, rgba(121,192,220,0.16), transparent 60%), var(--elevated); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px 20px; margin-bottom: 20px; }
.qt__estimate small { display: block; color: var(--text-mute); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.qt__range { font-family: var(--ff-display); font-weight: 400; font-size: 2.2rem; color: var(--text-emph); letter-spacing: -0.02em; margin: 6px 0; }
.qt__estimate p { color: var(--text-soft); font-size: 0.88rem; }
.qt__hint { color: var(--text-mute); font-size: 0.86rem; margin: -4px 0 18px; }
.qt__done { text-align: center; padding: 12px 0; }
.qt__done .qt__estimate { margin-top: 16px; }
.qt__done .check { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: rgba(52,199,89,0.16); border: 1px solid rgba(52,199,89,0.4); display: grid; place-items: center; color: #34c759; font-size: 1.4rem; font-weight: 700; }
.qt__done h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.4rem; color: var(--text-emph); }
.qt__done p { color: var(--text-soft); margin-top: 10px; }
.qt__back { background: none; border: 0; color: var(--text-mute); font-size: 0.86rem; cursor: pointer; margin-top: 16px; padding: 4px; }
.qt__back:hover { color: var(--text-soft); }
.qt .btn { margin-top: 6px; }

/* quote widget shown inside a browser frame (it lives on the customer's site) */
#demos .section__title { white-space: nowrap; font-size: clamp(1.35rem, 3.6vw, 2.1rem); }
@media (max-width: 600px) { #demos .section__title { white-space: normal; } }
.demos__hint { text-align: center; color: var(--text-mute); font-size: 0.92rem; margin-top: 4px; }
.browser {
  max-width: 760px;
  margin: 18px auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--bg-2);
}
.browser__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px;
  background: var(--elevated);
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: inline-flex; gap: 7px; flex-shrink: 0; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1;
  font-family: var(--ff-body); font-size: 0.82rem; color: var(--text-mute);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__body { padding: 6px 20px 24px; }
.browser__body .qt { margin: 22px auto 0; max-width: none; box-shadow: none; border: 1px solid var(--line); }
.demos__note { text-align: center; color: var(--text-soft); font-size: 0.95rem; margin-top: 22px; max-width: 560px; margin-inline: auto; }

/* faux site page header inside the browser frame */
.qt-page { padding: 6px 2px 0; }
.qt-page__eyebrow { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.qt-page__h { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text-emph); margin-top: 6px; }
.qt-page__sub { color: var(--text-soft); font-size: 0.95rem; margin-top: 8px; max-width: 560px; }

/* 3-step indicator */
.qt__steps { display: flex; justify-content: center; gap: 22px; margin: 22px 0 16px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.qt__steps span.is-on { color: var(--text-primary); }

/* service cards (title + tag) */
.qt__job { flex-direction: column; align-items: flex-start; gap: 6px; white-space: normal; padding: 18px; }
.qt__job-name { font-weight: 600; color: var(--text-emph); font-size: 0.98rem; }
.qt__job-tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); font-weight: 600; }
.qt__job-tag.is-cb { color: var(--text-mute); }

/* dynamic detail fields */
.qt__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 18px; }
.qt__fields .field { margin-bottom: 0; }
.qt-field--full { grid-column: 1 / -1; }
#s-details .qt__back, #s-contact .qt__back { margin: 0 0 14px; display: inline-block; }
@media (max-width: 520px) { .qt__fields { grid-template-columns: 1fr; } }

/* the demo represents a DIFFERENT brand's site — distinct palette so it reads as "not C5" */
.browser {
  --primary: #a9d6df;
  --primary-hover: #c0e4ec;
  --primary-active: #8ec6d1;
  --on-primary: #0f1822;
  --text-primary: #a9d6df;
  --bg: #0f1822;
  --bg-2: #0f1822;
  --surface: #16212d;
  --surface-hover: #1d2a37;
  --elevated: #1a2632;
  --elevated-hover: #22303e;
  --line: rgba(180, 210, 220, 0.14);
  --line-strong: rgba(180, 210, 220, 0.28);
}
.browser .qt__estimate { background: rgba(169, 214, 223, 0.12); }
@media (max-width: 480px) { .browser__body { padding: 6px 12px 18px; } }

@media (max-width: 900px) { .demos__grid { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 480px) { .qt__jobs { grid-template-columns: 1fr; } }

/* ===================== PORTFOLIO ===================== */
.builds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.build { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease; }
.build:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.build__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--elevated); border-bottom: 1px solid var(--line); }
.build__dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.build__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.build__url { flex: 1; font-size: 0.72rem; color: var(--text-mute); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.build__shot { height: 230px; overflow: hidden; position: relative; background: #0f1620; }
.build__shot iframe { width: 1280px; height: 820px; border: 0; transform: scale(0.30); transform-origin: top left; pointer-events: none; }
.build__shot--live { display: grid; place-items: center; text-align: center; padding: 22px; background: radial-gradient(120% 120% at 50% 0%, rgba(121, 192, 220, 0.16), transparent 60%), var(--elevated); }
.build__live { font-family: var(--ff-display); font-weight: 500; font-size: 1.6rem; color: var(--text-emph); }
.build__livesub { display: block; font-size: 0.82rem; color: var(--text-mute); margin-top: 8px; }
.build__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.build__name { font-weight: 600; color: var(--text-emph); font-size: 0.95rem; }
.build__tag { font-size: 0.8rem; color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.builds__note { text-align: center; color: var(--text-mute); font-size: 0.85rem; margin-top: 22px; }
@media (max-width: 820px) { .builds__grid { grid-template-columns: 1fr; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .advantage__inner { grid-template-columns: 1fr; gap: 38px; }
  .cta__inner { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero__stats .stat__num { font-size: 3rem; }
  .hero__stats .stat__label { font-size: 1.05rem; margin-top: 12px; }
  .empathy__callout { grid-template-columns: 1fr; }
  .empathy__stat { padding: 22px 0; border-top: 1px solid var(--line); text-align: center; }
  .empathy__stat:first-child { border-top: 0; }
  .empathy__stat + .empathy__stat { padding-left: 0; border-left: 0; }
  .empathy__stat-num { font-size: 3.1rem; }
  .empathy__stat-label { font-size: 1.05rem; max-width: none; margin-inline: auto; }
  .field--row { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

/* ===================== MOBILE TUNING ===================== */
@media (max-width: 900px) {
  /* hero headline: force two lines (one sentence each) */
  .hero__title { font-size: clamp(0.9rem, 4.2vw, 1.9rem); line-height: 1.2; letter-spacing: -0.025em; }
  .hero__title .hero__line { white-space: nowrap; }
  /* equal-width, stacked CTAs */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  /* breathing room above the phone demo */
  .hero__visual { margin-top: 30px; }
  /* never let a long button force horizontal scroll */
  .btn { white-space: normal; }
}
@media (max-width: 560px) {
  /* tighter card padding so chips get more room */
  .empathy__card { padding: 26px 16px; }
  /* pain chips: stacked, centered, each on a single line (font auto-fit in JS) */
  .empathy__pains { flex-direction: column; align-items: center; gap: 10px; }
  .empathy__pains li {
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 11px 18px;
    text-align: center;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  /* quote widget: each service on one line + more compact */
  .qt__jobs { gap: 8px; }
  .qt__job { padding: 11px 14px; gap: 2px; }
  .qt__job-name { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qt__job-tag { font-size: 0.62rem; letter-spacing: 0.08em; }
  .qt__q { font-size: 1.2rem; margin: 6px 0 14px; }
  .qt__steps { margin: 16px 0 12px; gap: 16px; }
  .qt-page__sub { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
