/* ============================================================
   48Launch — main.css
   ============================================================ */

/* ── Variables (dark default) ──────────────────────────────── */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --navy:          #051928;
  --navy-mid:      #0a283d;
  --ink:           #c5d4de;
  --heading:       #f4f9f7;
  --brand:         #82e3b1;
  --brand-strong:  #9aedc4;
  --brand-bright:  #9aedc4;
  --brand-soft:    rgba(130, 227, 177, 0.14);
  --on-brand:      #051928;
  --accent:        #82e3b1;
  --brand-glow:    rgba(130, 227, 177, 0.32);
  --brand-glow-soft: rgba(130, 227, 177, 0.2);
  --brand-border:  rgba(130, 227, 177, 0.3);
  --accent-gold:   #d4a84b;
  --surface:       #051928;
  --surface-alt:   #081f31;
  --surface-warm:  #0a283d;
  --surface-dark:  #051928;
  --card:          #0a2438;
  --input-bg:      #0d2a42;
  --muted:         #8ba3b3;
  --border:        #1a3a52;
  --success:       #16a34a;
  --radius:        20px;
  --shadow:        0 10px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg:     0 22px 48px rgba(0, 0, 0, 0.45);
  --font:          'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, sans-serif;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --ink:           #2a4054;
  --heading:       #051928;
  --brand:         #50d396;
  --brand-strong:  #36b87d;
  --brand-bright:  #82e3b1;
  --brand-soft:    #e6f9f0;
  --accent:        #82e3b1;
  --brand-glow:    rgba(130, 227, 177, 0.35);
  --brand-glow-soft: rgba(130, 227, 177, 0.14);
  --brand-border:  rgba(130, 227, 177, 0.28);
  --surface:       #f5f9f7;
  --surface-alt:   #edf4f0;
  --surface-warm:  #eef6f2;
  --card:          #ffffff;
  --input-bg:      #ffffff;
  --muted:         #5a7284;
  --border:        #cfe0d8;
  --shadow:        0 10px 28px rgba(5, 25, 40, 0.08);
  --shadow-lg:     0 22px 48px rgba(5, 25, 40, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition: background-color 220ms var(--ease), color 220ms var(--ease);
  }
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: min(1160px, 92vw); margin: 0 auto; }

.section { padding: clamp(4.5rem, 10vw, 7rem) 0; }
.section--alt  { background: var(--surface-alt); }
.section--warm { background: var(--surface-warm); }
.section--dark { background: var(--surface-dark); color: #fff; }

/* Centered section header */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.4rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand-strong);
  margin-bottom: 0.9rem;
}
.section-kicker::before,
.section-kicker::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: var(--brand);
  border-radius: 2px;
  opacity: 0.7;
}
h1.section-title,
h2.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1rem;
}
h1.section-title em,
h2.section-title em {
  font-style: italic;
  color: var(--brand);
}
.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}
.section-intro a { color: var(--brand-strong); font-weight: 600; text-decoration: underline; }

/* ── Site header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 25, 40, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 300ms var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__img {
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}
.site-logo--light { display: none; }
.site-logo--dark { display: block; }
[data-theme="light"] .site-header .site-logo--light { display: block; }
[data-theme="light"] .site-header .site-logo--dark { display: none; }

[data-theme="light"] .site-header {
  background: rgba(245, 249, 247, 0.96);
  border-bottom-color: var(--border);
}
[data-theme="light"] .nav a {
  color: var(--muted);
}
[data-theme="light"] .nav a:not(.btn):hover,
[data-theme="light"] .nav a:not(.btn).is-active {
  color: var(--brand-strong);
}
[data-theme="light"] .site-header .btn--secondary {
  color: var(--heading);
  border-color: var(--border);
}
[data-theme="light"] .site-header .btn--secondary:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-strong);
}
[data-theme="light"] .theme-toggle,
[data-theme="light"] .nav-theme-toggle {
  border-color: var(--border);
  background: var(--card);
  color: var(--heading);
}
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .nav-theme-toggle:active {
  background: var(--brand-soft);
  border-color: var(--brand);
}
[data-theme="light"] .mobile-nav-toggle {
  color: var(--heading);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
  position: relative;
  z-index: 2;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}
.nav-theme-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-theme-toggle:active {
  background: rgba(255, 255, 255, 0.12);
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.theme-toggle__icon { display: none; }
.theme-toggle__icon--sun { display: block; }
[data-theme="light"] .theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--moon { display: block; }
.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 220ms var(--ease);
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-active { color: var(--brand); }
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.35rem;
  padding: 0.2rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease),
    background 280ms var(--ease),
    border-color 280ms var(--ease),
    color 280ms var(--ease);
}
.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 22px var(--brand-glow);
}
.btn--primary:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--brand-glow);
}
.btn--secondary {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--brand-soft);
}
.site-header .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.site-header .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, var(--brand-glow-soft), transparent 65%),
    var(--surface);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid var(--brand-border);
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--heading);
  max-width: 22ch;
  margin: 0 auto 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero__stars { color: #f59e0b; letter-spacing: 0.05em; }
.hero__proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.hero__proof-tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.38rem 0.88rem;
  border-radius: 999px;
}

/* ── Trust / KPI strip ──────────────────────────────────────── */
.trust-strip { padding: 2.8rem 0; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: center;
}
.kpi {
  padding: 1.6rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}
.kpi__value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}
.kpi__label {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Benefit cards ──────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 340ms var(--ease), box-shadow 340ms var(--ease), border-color 340ms var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ── Step cards ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  counter-increment: step;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.step-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* old .steps — used on how-it-works.php inner page */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 1.3rem;
  color: var(--muted);
  line-height: 1.65;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}
.steps strong { display: block; color: var(--heading); }

/* ── Package cards ──────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  align-items: start;
}
.package-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card--featured {
  border-color: var(--brand);
  border-width: 2px;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.package-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: var(--on-brand);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.package-card__name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.45rem;
}
.package-card__desc {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.package-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.package-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.package-card__sla {
  font-size: 0.79rem;
  color: var(--brand-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.3rem;
}
.package-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.42rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.package-card__features li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.4rem;
  font-family: Georgia, serif;
}
.testimonial__body {
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.3rem;
}
.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--heading);
  display: block;
}

/* ── Audience tags ──────────────────────────────────────────── */
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.audience-list span {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.56rem 1.15rem;
  border-radius: 999px;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
  cursor: default;
}
.audience-list span:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-strong);
}

/* ── Audience fit (ICP) ───────────────────────────────────── */
.audience-fit__ideal {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.75rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.audience-fit__ideal li {
  position: relative;
  padding: 0.85rem 1.1rem 0.85rem 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--body);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
}
.audience-fit__ideal li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--brand-strong);
  font-weight: 700;
}
.audience-fit__not {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px dashed var(--border);
}
.audience-fit__not-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--heading);
}
.audience-fit__not p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Tools ──────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-card h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.45rem;
}
.tool-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.62;
}
.tool-card a {
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.91rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.tool-card a::after { content: " →"; }
.tool-card a:hover { text-decoration: underline; }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: 5.5rem 2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  color: #fff;
}
.cta-band h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 12px 28px var(--brand-glow);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.89rem;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer__logo { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.site-footer__tagline { font-size: 0.84rem; color: var(--brand); opacity: 0.75; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 200ms var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer__copy { color: rgba(255, 255, 255, 0.45); font-size: 0.85rem; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-page { padding: 3.5rem 0 5.5rem; }
.form-page .section-head { margin-bottom: 2.25rem; }
.form-card {
  max-width: 740px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--heading);
  margin-bottom: 0.42rem;
}
.form-group .hint { font-size: 0.83rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.5; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--heading);
  background: var(--input-bg);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow-soft);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--heading);
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
  transition: background-color 5000s ease-in-out 0s;
}
textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 0.9rem 1.1rem; border-radius: 12px; margin-bottom: 1.3rem; font-size: 0.95rem; }
.alert--error {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.35);
}
.alert--success {
  background: rgba(22, 163, 74, 0.15);
  color: #86efac;
  border: 1px solid rgba(22, 163, 74, 0.35);
}
[data-theme="light"] .alert--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
[data-theme="light"] .alert--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq details {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.8rem;
  background: var(--card);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.faq details[open] {
  border-color: var(--brand-border);
  box-shadow: var(--shadow);
}
.faq summary {
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 0.85rem; line-height: 1.72; font-size: 0.95rem; }

/* ── Onboarding wizard ──────────────────────────────────────── */
.wizard {
  max-width: 660px;
  margin: 0 auto;
  padding: 2rem 0 5rem;
}
.wizard__progress {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.wizard__progress-bar {
  height: 100%;
  background: var(--brand);
  transition: width 0.4s var(--ease);
}
.wizard__step-label {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.wizard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
  overflow: visible;
}
.wizard-form__fields {
  display: flex;
  flex-direction: column-reverse;
  padding: 0;
}
.wizard-step-body--reverse {
  display: flex;
  flex-direction: column-reverse;
}
.wizard-form__fields h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading);
}
.wizard-form__fields .lead {
  color: var(--muted);
  margin-bottom: 1.6rem;
  line-height: 1.65;
}
.onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.onboarding-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
}
.onboarding-actions .btn,
.onboarding-actions button,
.onboarding-actions a {
  min-height: 44px;
}
.onboarding-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
}
.onboarding-callout label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  color: var(--heading);
}
.onboarding-callout input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--brand);
}
.section-toggle { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

.staging-banner {
  background: #92400E;
  color: #FFFBEB;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  border-bottom: 2px solid #F59E0B;
}
.staging-banner strong { color: #FDE68A; }
.staging-banner__url {
  display: inline-block;
  margin-left: 0.35rem;
  opacity: 0.85;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .wizard-card { padding: 1.5rem 1.25rem; }
  .onboarding-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .onboarding-actions > div {
    margin-left: 0;
    flex-direction: column;
  }
  .onboarding-actions .btn,
  .onboarding-actions button,
  .onboarding-actions a { width: 100%; }
}

/* ── Admin ──────────────────────────────────────────────────── */
.admin-body { background: var(--surface-alt); min-height: 100vh; }
.admin-header { background: var(--navy); color: #fff; padding: 1rem 0; }
.admin-header a { color: rgba(255,255,255,0.85); text-decoration: none; margin-left: 1.2rem; font-size: 0.9rem; }
.admin-header a:hover { color: #fff; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.admin-table th,
.admin-table td { padding: 0.8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table th { background: var(--surface-alt); font-weight: 600; color: var(--heading); }
.badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
}

/* Admin project status — warm = team action, cool = client, gray = closed */
.badge--status-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.badge--status-urgent {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}
.badge--status-active {
  background: #fefce8;
  color: #854d0e;
  border-color: #fde047;
}
.badge--status-waiting {
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-color: var(--brand-border);
}
.badge--status-review {
  background: #eef2ff;
  color: #3730a3;
  border-color: #c7d2fe;
}
.badge--status-done {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}
.badge--status-muted {
  background: #f9fafb;
  color: #6b7280;
  border-color: #e5e7eb;
}

/* ── Payment success ────────────────────────────────────────── */
.success-page {
  text-align: center;
  padding-top: clamp(3rem, 8vw, 5rem);
}
.success-page .container {
  max-width: 620px;
  margin: 0 auto;
}
.success-page .section-head {
  margin-bottom: 2.2rem;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  color: var(--brand-strong);
  font-size: 1.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  line-height: 1;
}
.success-page .success-lead {
  margin-bottom: 0;
}
.success-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 520px;
}
.success-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.success-step__num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.success-step__body {
  flex: 1;
  min-width: 0;
}
.success-step__body strong {
  display: block;
  color: var(--heading);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.success-step__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}
.success-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}
.success-note a { color: var(--brand-strong); font-weight: 600; }

/* ── Page transition ────────────────────────────────────────── */
.page-enter { opacity: 0; transform: translateY(8px); }
.page-enter.page-enter-active {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { display: none; margin-left: 0; }
  .site-header__actions { margin-left: auto; }
  .theme-toggle--header { display: none; }
  .nav-theme-toggle { display: flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    gap: 1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open a:not(.btn) { color: rgba(255, 255, 255, 0.9); }
  [data-theme="light"] .nav.is-open {
    background: var(--card);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-lg);
  }
  [data-theme="light"] .nav.is-open a:not(.btn) { color: var(--heading); }
  .mobile-nav-toggle { display: block; }

  .hero { padding: 5rem 0 4.5rem; text-align: left; }
  .hero h1 { margin: 0 0 1.4rem; }
  .hero__actions { justify-content: flex-start; }
  .hero__social-proof { justify-content: flex-start; }
  .hero__proof-tags { justify-content: flex-start; }

  .section-head { text-align: left; }
  .section-kicker { justify-content: flex-start; }
  .section-kicker::before { display: none; }

  .success-page,
  .success-page .section-head { text-align: center; }
  .success-page .section-kicker { justify-content: center; }

  .audience-list { justify-content: flex-start; }
  .kpi-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-card--featured { transform: none; }

  .cta-band { padding: 4rem 1.5rem; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Website Readiness Score ─────────────────────────────────── */
.hero--readiness { text-align: center; }
.hero--readiness .hero__actions,
.hero--readiness .hero__social-proof,
.hero--readiness .hero__proof-tags { justify-content: center; }
.hero__microcopy { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

.readiness-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.readiness-check-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.readiness-check-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--heading); }
.readiness-check-card ul { padding-left: 1.1rem; color: var(--muted); font-size: 0.92rem; }
.readiness-check-card li { margin-bottom: 0.45rem; }

.readiness-wizard[hidden] { display: none !important; }
body.readiness-wizard-open { overflow: hidden; }
.readiness-wizard {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.readiness-wizard__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 40, 0.65);
  backdrop-filter: blur(4px);
}
.readiness-wizard__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem 1.5rem;
}
.readiness-wizard__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
}
.readiness-wizard__close:hover { background: var(--surface-alt); color: var(--heading); }
.readiness-wizard__progress { margin-bottom: 1.25rem; }
.readiness-wizard__progress-track {
  height: 6px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
}
.readiness-wizard__progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  border-radius: 999px;
  transition: width 280ms var(--ease);
}
.readiness-wizard__progress-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.readiness-step__category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-strong);
  margin-bottom: 0.35rem;
}
.readiness-step__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.readiness-step__intro { color: var(--muted); margin-bottom: 1.25rem; }
.readiness-question {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.readiness-question legend {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.45;
}
.readiness-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.readiness-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.readiness-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.readiness-option input { accent-color: var(--brand); }
.readiness-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
/* .btn sets display:inline-flex and overrides the hidden attribute */
.readiness-wizard__nav button[hidden] {
  display: none !important;
}
.readiness-wizard__nav[data-phase="questions"] #readiness-submit-btn {
  display: none !important;
}
.readiness-wizard__nav[data-phase="lead"] #readiness-next-btn {
  display: none !important;
}
.readiness-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.readiness-score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.readiness-score-ring {
  --score: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--score) * 1%), var(--surface-alt) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.readiness-score-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--card);
}
.readiness-score-ring__inner {
  position: relative;
  text-align: center;
  line-height: 1.1;
}
.readiness-score-ring__value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--heading);
}
.readiness-score-ring__of { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.readiness-score-card__meta h2 { font-size: 1.35rem; margin: 0.5rem 0; color: var(--heading); }
.readiness-score-card__meta p { color: var(--muted); margin: 0; }

.readiness-bars { display: flex; flex-direction: column; gap: 0.85rem; }
.readiness-bar-row__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.readiness-bar-track {
  height: 8px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
}
.readiness-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
}
.readiness-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 2rem;
}
.readiness-insight-list { padding-left: 1.1rem; color: var(--muted); }
.readiness-insight-list li { margin-bottom: 0.45rem; }
.readiness-cta-card { margin-top: 0.5rem; }

.readiness-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  max-width: 900px;
  margin: 0 auto 2.75rem;
  padding: 1.5rem 1.65rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
[data-theme="light"] .readiness-promo {
  background: var(--brand-soft);
  border-color: var(--brand-border);
}
.readiness-promo__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-strong);
}
.readiness-promo__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1.2;
}
.readiness-promo__text {
  margin: 0;
  max-width: 52ch;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}
.readiness-promo__text--short { display: none; }
.readiness-promo__content { flex: 1 1 16rem; }
.readiness-promo__action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.page-with-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "banner"
    "main";
}
.page-with-promo__head { grid-area: head; }
.page-with-promo__banner { grid-area: banner; }
.page-with-promo__main { grid-area: main; }
.page-with-promo--cta-last {
  grid-template-areas:
    "head"
    "main"
    "note"
    "banner"
    "cta";
}
.page-with-promo__note {
  grid-area: note;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 2.5rem auto 0;
  max-width: 52ch;
}
.page-with-promo__cta {
  grid-area: cta;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .readiness-score-card { grid-template-columns: 1fr; text-align: center; }
  .readiness-score-ring { margin: 0 auto; }
  .readiness-options { grid-template-columns: 1fr; }
  .readiness-insights-grid { grid-template-columns: 1fr; }
  .hero--readiness { text-align: left; }
  .hero--readiness .hero__actions { justify-content: flex-start; }
  html { scroll-padding-top: 5rem; }
  main > .section:first-child {
    padding-top: 2.5rem;
  }
  main > .section:first-child .section-head {
    margin-bottom: 1.75rem;
  }
  .page-with-promo {
    grid-template-areas:
      "head"
      "main"
      "banner";
  }
  .page-with-promo--cta-last {
    grid-template-areas:
      "head"
      "main"
      "note"
      "cta"
      "banner";
  }
  .page-with-promo__note {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0;
    line-height: 1.65;
  }
  .page-with-promo__cta {
    margin-top: 1.75rem;
  }
  .page-with-promo--cta-last .page-with-promo__cta {
    margin-bottom: 0.25rem;
  }
  .page-with-promo__banner {
    align-self: start;
  }
  .readiness-promo {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    max-width: none;
    margin: 1.5rem 0 0;
    padding: 1rem 1.1rem;
    gap: 0.65rem;
  }
  .readiness-promo__content {
    flex: 0 1 auto;
  }
  .readiness-promo__action {
    flex: 0 0 auto;
    align-self: stretch;
    margin-top: 0.15rem;
  }
  .readiness-promo__text--long { display: none; }
  .readiness-promo__text--short { display: block; }
  .readiness-promo__title {
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
  }
  .readiness-promo__text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .readiness-promo__action .readiness-promo__btn {
    width: 100%;
    padding: 0.72rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* ── Add-ons & update plans ──────────────────────────────────── */
.update-plan-callout {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.update-plan-callout p { margin: 0 0 0.65rem; color: var(--muted); font-size: 0.95rem; }
.update-plan-callout p:last-child { margin-bottom: 0; }
.update-plan-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.87rem;
  max-width: 56ch;
  margin: 1.75rem auto 0;
}
.packages-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  justify-content: center;
}
.update-plan-examples {
  padding-left: 1.2rem;
  color: var(--heading);
  line-height: 1.55;
}
.update-plan-examples li { margin-bottom: 0.45rem; }
.update-plan-examples--muted { color: var(--muted); }

.addon-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 960px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.addon-matrix {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.addon-matrix th,
.addon-matrix td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.addon-matrix tbody th[scope="row"] {
  font-weight: 600;
  color: var(--heading);
  white-space: normal;
  min-width: 9.5rem;
  max-width: 14rem;
}
.addon-matrix thead th {
  background: var(--surface-alt);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.addon-matrix tbody tr:last-child th,
.addon-matrix tbody tr:last-child td { border-bottom: none; }
.addon-funnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Completion pages (onboarding / review) ─────────────────── */
.complete-page {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.complete-page__inner {
  max-width: 820px;
  margin: 0 auto;
}
.complete-page__message {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
}
.complete-page .addon-upsell {
  margin-top: 0;
}

.addon-upsell {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.addon-upsell__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--heading);
}
.addon-upsell__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.addon-upsell__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.addon-upsell__option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: var(--surface-alt);
}
.addon-upsell__option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.addon-upsell__option-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
}
.addon-upsell__price {
  font-weight: 700;
  color: var(--heading);
}
.addon-upsell__summary {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.addon-upsell__new-tab-hint {
  margin-top: 0.65rem;
}

.checkout-summary {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.checkout-summary__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--heading);
}
.checkout-summary__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkout-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--text);
}
.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--heading);
}
.checkout-summary__note {
  margin: 0.85rem 0 0;
}
.checkout-review__actions {
  margin-top: 1.5rem;
}
