/* ==========================================================================
   STARTCORP — startcorp.ca
   Shared design system. Mobile-first. No frameworks.
   Palette: violet #6C3FC5 · coral #FF6B4A · lavender #F7F6FB · navy #1A1A2E
   Type: Outfit (headings) · Plus Jakarta Sans (body)
   ========================================================================== */

:root {
  --violet: #6C3FC5;
  --violet-deep: #4A2A8A;
  --violet-soft: #EDE7FA;
  --coral: #FF6B4A;
  --coral-dark: #E8552F;
  --white: #FFFFFF;
  --lavender: #F7F6FB;
  --navy: #1A1A2E;
  --grey: #6B7280;
  --green: #22C55E;
  --red: #EF4444;

  --font-head: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --radius-card: 16px;
  --radius-btn: 12px;

  --shadow-soft: 0 1px 2px rgba(26,26,46,.04), 0 4px 12px rgba(26,26,46,.06), 0 12px 32px rgba(108,63,197,.08);
  --shadow-lift: 0 2px 4px rgba(26,26,46,.05), 0 8px 24px rgba(26,26,46,.08), 0 24px 56px rgba(108,63,197,.16);
  --shadow-glow: 0 0 0 2px rgba(255,107,74,.55), 0 8px 24px rgba(255,107,74,.25), 0 24px 56px rgba(108,63,197,.14);

  --max-w: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy);
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }

p { margin: 0 0 1em; }

a { color: var(--violet); }

.muted { color: var(--grey); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

.section-lavender { background: var(--lavender); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

/* fill-sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  transition: transform .35s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral::before { background: var(--coral-dark); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,74,.35); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost::before { background: rgba(255,255,255,.14); }
.btn-ghost:hover { border-color: var(--white); }

.btn-white { background: var(--white); color: var(--coral); }
.btn-white::before { background: var(--lavender); }
.btn-white:hover { transform: translateY(-2px); }

/* subtle pulse on load for primary CTAs */
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.btn-pulse { animation: ctaPulse 1.8s ease-in-out 2; }

/* ---------- Sticky nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26,26,46,.06), 0 8px 24px rgba(26,26,46,.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav:not(.scrolled).nav-on-dark .nav-logo { color: var(--white); }
.nav-logo .logo-mark { width: 28px; height: 28px; flex: none; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  padding: 8px 2px;
}
.site-nav:not(.scrolled).nav-on-dark .nav-links a { color: rgba(255,255,255,.92); }
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: none; }

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s ease, opacity .3s ease;
}
.site-nav:not(.scrolled).nav-on-dark .nav-burger span { background: var(--white); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-drawer {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px rgba(26,26,46,.12);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility .35s;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer ul { list-style: none; margin: 0; padding: 12px 20px 24px; }
.nav-drawer a {
  display: block;
  padding: 14px 4px;
  min-height: 48px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid rgba(26,26,46,.06);
}
.nav-drawer .btn { width: 100%; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,.6); }
.footer-links h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}
.footer-links a:hover { color: var(--coral); }
.footer-contact a { color: var(--coral); text-decoration: none; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}
.footer-social a:hover { color: var(--coral); background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-full { min-height: 100vh; display: flex; align-items: center; }
.hero-grain {
  position: absolute; inset: 0;
  opacity: .35;
  pointer-events: none;
  /* subtle SVG grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}
.hero h1 { color: var(--white); font-size: 40px; min-height: 3.6em; }
.hero .sub { color: #E4DCF7; font-size: 19px; max-width: 560px; }
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; opacity: .5; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}
.shape-1 { top: 12%; right: 6%; animation: floatY 9s ease-in-out infinite; }
.shape-2 { bottom: 16%; left: 4%; animation: floatY 12s ease-in-out infinite reverse; }
.shape-3 { top: 40%; left: 46%; animation: floatY 14s ease-in-out infinite; }

.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }

.type-wrap { color: #FFD9CE; }
.type-cursor {
  display: inline-block;
  width: 3px;
  background: var(--coral);
  margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #E4DCF7;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }

/* glassmorphism certificate mockup */
.glass-card {
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-card);
  box-shadow: 0 0 60px rgba(108,63,197,.55), var(--shadow-lift);
}
.certificate {
  padding: 28px;
  max-width: 420px;
  margin: 0 auto;
  animation: floatY 8s ease-in-out infinite;
}
.certificate .cert-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.certificate .cert-seal {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.certificate h3 { color: var(--white); font-size: 18px; margin: 0; }
.certificate small { color: #D7CCF1; }
.cert-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.22); margin-bottom: 12px; }
.cert-line.w-70 { width: 70%; }
.cert-line.w-50 { width: 50%; }
.cert-stamp {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.4);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Marquee ---------- */
.marquee {
  background: #3D2273;
  color: #E4DCF7;
  overflow: hidden;
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 64px; animation: marquee 26s linear infinite; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll reveal ---------- */
/* Reveal animations — only active when JS has loaded (js-ready on body) */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
body.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
body.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- Problem vs solution ---------- */
.split-grid { display: grid; gap: 32px; }
.split-col { padding: 32px; border-radius: var(--radius-card); }
.split-col.pain { background: var(--lavender); }
.split-col.win { background: var(--violet-soft); }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 17px; }
.icon-list svg { flex: none; margin-top: 3px; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; gap: 28px; position: relative; }
.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--coral);
  text-transform: uppercase;
}
.step-icon {
  width: 64px; height: 64px;
  margin: 12px auto 16px;
  border-radius: 18px;
  background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
}
.steps-line {
  display: none;
  position: absolute;
  top: 92px; left: 12%; right: 12%;
  border-top: 3px dashed rgba(108,63,197,.35);
  z-index: 0;
}
@keyframes dashMove { to { transform: translateX(24px); } }
.steps-line::before {
  content: "";
  position: absolute; inset: -3px 0 auto 0;
  border-top: 3px dashed rgba(255,107,74,.7);
  animation: dashMove 1.6s linear infinite;
}
.steps-note { text-align: center; margin-top: 28px; font-weight: 600; color: var(--grey); }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; gap: 28px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 2px solid rgba(26,26,46,.07);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--coral);
}
.price-card.popular { border-color: var(--violet); box-shadow: var(--shadow-lift); }
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-amount { font-family: var(--font-head); font-weight: 800; font-size: 44px; }
.price-amount small { font-size: 16px; font-weight: 600; color: var(--grey); }
.price-feat { list-style: none; margin: 18px 0 28px; padding: 0; flex: 1; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 16px; }
.price-feat svg { flex: none; margin-top: 4px; }
.pricing-link { display: block; text-align: center; margin-top: 32px; font-weight: 700; }

/* ---------- Persona tiles ---------- */
.persona-grid { display: grid; gap: 24px; }
.persona-tile {
  border: 2px solid rgba(26,26,46,.07);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.persona-tile:hover { background: var(--violet-soft); border-color: var(--violet); transform: translateY(-4px); }
.persona-tile .emoji { font-size: 40px; line-height: 1; display: block; margin-bottom: 14px; }
.persona-tile h3 { font-size: 20px; }
.persona-tile p { color: var(--grey); margin: 0; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 16px;
}
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgba(26,26,46,.07); }
.compare thead th { font-family: var(--font-head); font-size: 17px; }
.compare .col-startcorp { background: var(--violet-soft); font-weight: 700; }
.compare thead .col-startcorp { color: var(--violet); }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.maybe { color: var(--grey); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 24px; }
.testi-card {
  background: rgba(247,246,251,.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108,63,197,.14);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.stars { color: var(--coral); letter-spacing: 2px; font-size: 18px; margin-bottom: 12px; }
.testi-card footer { font-weight: 700; color: var(--violet); margin-top: 12px; }

/* ---------- Stats counters ---------- */
.stats-grid { display: grid; gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 48px; color: var(--violet); }
.stat-label { color: var(--grey); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  min-height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  text-align: left;
  color: var(--navy);
}
.faq-q .chev { flex: none; transition: transform .35s ease; color: var(--violet); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--grey); }

/* ---------- CTA banner / email bar ---------- */
.cta-banner { background: var(--coral); color: var(--white); text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.92); font-size: 18px; }

.email-bar { background: var(--lavender); padding: 28px 0; }
.email-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.email-bar form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 520px; }
.email-bar input[type="email"] {
  flex: 1;
  min-width: 220px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(26,26,46,.12);
  font: inherit;
}
.email-bar input[type="email"]:focus { border-color: var(--violet); outline: none; }

/* ---------- How-it-works timeline ---------- */
.vtimeline { max-width: 820px; margin: 0 auto; position: relative; }
.vtimeline::before {
  content: "";
  position: absolute;
  left: 31px; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(var(--violet), var(--coral));
  border-radius: 3px;
}
.vt-step { position: relative; padding: 0 0 40px 92px; }
.vt-step:last-child { padding-bottom: 0; }
.vt-marker {
  position: absolute;
  left: 0; top: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--white);
  border: 2px solid var(--violet);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.vt-step h3 { margin-bottom: 6px; }
.vt-step .vt-num { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--coral); text-transform: uppercase; font-family: var(--font-head); }
.vt-step p { color: var(--grey); margin: 0; }

/* ---------- Province grid ---------- */
.province-grid { display: grid; gap: 16px; }
.province-tile {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.province-tile .covered { margin-left: auto; color: var(--green); font-size: 14px; font-weight: 700; white-space: nowrap; }
.province-tile.coming-soon-tile { opacity: .6; }
.province-tile .coming-soon { margin-left: auto; color: var(--grey); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---------- Fed/Prov toggle ---------- */
.toggle-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.toggle-tabs { display: flex; }
.toggle-tabs button {
  flex: 1;
  min-height: 56px;
  border: 0;
  background: var(--lavender);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--grey);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.toggle-tabs button[aria-selected="true"] { background: var(--violet); color: var(--white); }
.toggle-panel { padding: 32px; display: none; opacity: 0; transform: translateY(10px); }
.toggle-panel.active { display: block; animation: panelIn .4s ease forwards; }
@keyframes panelIn { to { opacity: 1; transform: translateY(0); } }
.toggle-panel ul { padding-left: 0; list-style: none; }
.toggle-panel li { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.toggle-panel li svg { flex: none; margin-top: 4px; }

/* ---------- Horizontal timeline infographic ---------- */
.htimeline { display: grid; gap: 20px; }
.ht-node {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  text-align: center;
  position: relative;
}
.ht-node strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.ht-node span { color: var(--grey); font-size: 14px; font-weight: 600; }

/* ---------- Fee calculator ---------- */
.calc-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 36px 28px;
}
.calc-row { display: grid; gap: 16px; margin-bottom: 24px; }
.calc-card select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(26,26,46,.12);
  font: inherit;
  background: var(--white);
  cursor: pointer;
}
.calc-card select:focus { border-color: var(--violet); outline: none; }
.calc-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(26,26,46,.08); }
.calc-line.total {
  border-bottom: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--violet);
}
.calc-label { color: var(--grey); }
@keyframes numberPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); color: var(--coral); } 100% { transform: scale(1); } }
.calc-total-pop { display: inline-block; animation: numberPop .5s ease; }

/* ---------- Checklists / not-included ---------- */
.not-included {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 2px dashed rgba(255,107,74,.45);
  border-radius: var(--radius-card);
  padding: 32px;
}

/* ---------- About values / pillars ---------- */
.pillar-grid, .value-grid, .diff-grid { display: grid; gap: 24px; }
.pillar-card, .value-card, .diff-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 32px 28px;
}
.diff-card { border-left: 4px solid var(--violet); }
.diff-card .vs { color: var(--grey); font-size: 15px; }
.diff-card .vs strong { color: var(--red); font-weight: 700; }

.story { max-width: 760px; margin: 0 auto; font-size: 19px; }

/* ---------- Multi-step form ---------- */
.form-layout { display: grid; gap: 40px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 36px 24px;
}
.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--lavender);
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--violet), var(--coral));
  border-radius: 999px;
  transition: width .45s ease;
  transform-origin: left;
}
.progress-label { font-size: 14px; font-weight: 700; color: var(--grey); margin-bottom: 28px; }

.fstep { display: none; }
.fstep.active { display: block; animation: panelIn .4s ease forwards; opacity: 0; transform: translateY(10px); }

.radio-card-group { display: grid; gap: 16px; margin: 20px 0; }
.radio-card {
  position: relative;
  display: block;
  border: 2px solid rgba(26,26,46,.1);
  border-radius: var(--radius-card);
  padding: 22px;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.radio-card:hover { border-color: var(--violet); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card input:focus-visible + .rc-body { outline: 3px solid var(--coral); outline-offset: 6px; border-radius: 6px; }
.radio-card.selected { border-color: var(--violet); background: var(--violet-soft); box-shadow: var(--shadow-soft); }
.radio-card .rc-check {
  position: absolute;
  top: 16px; right: 16px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}
.radio-card.selected .rc-check { display: flex; }
.radio-card h3 { font-size: 18px; margin-bottom: 4px; padding-right: 32px; }
.radio-card p { margin: 0; color: var(--grey); font-size: 15px; }
.radio-card .rc-price { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--violet); }
.radio-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--grey); font-size: 14px; }
.learn-diff-toggle { display: inline-block; margin-top: 4px; background: none; border: none; padding: 0; color: var(--violet); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; }
.learn-diff-toggle:hover { color: var(--violet-deep); }
.learn-diff-panel { margin-top: 12px; padding: 18px 20px; background: var(--lavender); border-radius: var(--radius-card); font-size: 14px; color: var(--navy); }
.learn-diff-panel p { margin: 0 0 10px; }
.learn-diff-panel p:last-child { margin-bottom: 0; }
.learn-diff-link a { color: var(--coral-dark); font-weight: 700; }
.learn-diff-grid { display: grid; gap: 14px; margin-bottom: 12px; }
@media (min-width: 640px) { .learn-diff-grid { grid-template-columns: 1fr 1fr; } }
.learn-diff-card { background: var(--white); border-radius: var(--radius-card); padding: 16px 18px; border: 1px solid rgba(26,26,46,.1); }
.learn-diff-card h4 { margin: 0 0 8px; font-family: var(--font-head); font-size: 16px; color: var(--violet); }
.learn-diff-card ul { margin: 0; padding-left: 18px; color: var(--navy); font-size: 13.5px; line-height: 1.5; }
.learn-diff-card li { margin-bottom: 4px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(26,26,46,.12);
  font: inherit;
  background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); outline: none; }
.field.error input, .field.error textarea, .field.error select { border-color: var(--red); }
.err-msg { display: none; color: var(--red); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field.error .err-msg { display: block; }
.helper { color: var(--grey); font-size: 14px; margin-top: 6px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; }
.check-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.check-row label { font-size: 15px; }

.fnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.btn-back {
  background: transparent;
  color: var(--grey);
  border-color: rgba(26,26,46,.15);
}
.btn-back::before { background: var(--lavender); }
.btn-back:hover { color: var(--navy); }

/* confirmation */
.confirm { text-align: center; padding: 24px 0; }
.check-anim {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
}
.check-anim circle {
  stroke: var(--green);
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: drawCircle .7s ease forwards;
}
.check-anim path {
  stroke: var(--green);
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck .45s ease .55s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.share-row { margin-top: 36px; color: var(--grey); font-weight: 600; }
.share-row .footer-social { justify-content: center; margin-top: 12px; }
.share-row .footer-social a { background: var(--lavender); color: var(--violet); }

/* form sidebar */
.form-sidebar { display: none; }
.sidebar-card {
  background: var(--lavender);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: sticky;
  top: 100px;
}
.sidebar-card h3 { font-size: 18px; }
.sidebar-card .side-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--grey); font-size: 15px; font-weight: 600; }
.sidebar-card .side-row svg { color: var(--violet); flex: none; }

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
  h1 { font-size: 46px; }
  .hero h1 { min-height: 2.4em; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .province-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
  section { padding: 88px 0; }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-line { display: block; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .province-grid { grid-template-columns: repeat(3, 1fr); }
  .htimeline { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .pillar-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .email-bar-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .radio-card-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-card { padding: 44px 40px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 60px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .province-grid { grid-template-columns: repeat(4, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .persona-grid { grid-template-columns: repeat(4, 1fr); }
  .form-layout { grid-template-columns: 1fr 320px; align-items: start; }
  .form-sidebar { display: block; }
}

@media (min-width: 1280px) {
  h1 { font-size: 64px; }
  .container { padding: 0 24px; }
}

/* =========================================
   MONTHLY CPA PLAN SECTION
   ========================================= */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(108,63,197,.1);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.cpa-plan-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
  margin-top: 12px;
}

.cpa-plan-card {
  position: relative;
}

.cpa-plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(108,63,197,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Outlined violet button for secondary CTAs */
.btn-outline-violet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--violet);
  color: var(--violet);
  background: transparent;
  border-radius: 12px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
  width: 100%;
  margin-top: auto;
}
.btn-outline-violet:hover {
  background: var(--violet);
  color: #fff;
}

/* Trust strip below CPA plan cards */
.cpa-plan-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 40px;
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(108,63,197,.15);
}

.cpa-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

@media (min-width: 768px) {
  .cpa-plan-grid { grid-template-columns: repeat(3, 1fr); }
  .cpa-plan-trust { grid-template-columns: repeat(4, 1fr); }
}
