/* ============================================================
   Headstart AI — design system
   Palette: ink #0F2722 / paper #F4F8F5 / wa-green #1DAB61 / gold #C9A35C
   Type: Bricolage Grotesque (display) + Inter (body)
   ============================================================ */

:root {
  --ink: #0F2722;
  --ink-soft: #1B3A33;
  --ink-line: rgba(15, 39, 34, 0.10);
  --paper: #F4F8F5;
  --paper-card: #FFFFFF;
  --green: #1DAB61;
  --green-dark: #168A4E;
  --gold: #C9A35C;
  --text: #16221E;
  --text-muted: #4C5F58;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(15, 39, 34, 0.06), 0 4px 14px rgba(15, 39, 34, 0.05);
  --shadow-md: 0 12px 40px rgba(15, 39, 34, 0.10);
  --shadow-lg: 0 30px 80px rgba(15, 39, 34, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 10vw, 120px); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.h-display { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.h-section { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-card { font-size: 1.28rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text-muted); max-width: 56ch; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(29, 171, 97, 0.28);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(29, 171, 97, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: rgba(15,39,34,0.03); }
.btn-block { width: 100%; }
/* on dark surfaces */
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 245, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--ink-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 18px; height: 18px; }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.96rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed; inset: 70px 0 auto 0; z-index: 49;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-line);
  padding: 18px var(--gutter) 28px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; animation: slideDown 0.3s var(--ease); }
.mobile-nav a { display: block; padding: 14px 0; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--ink-line); color: var(--ink); }
.mobile-nav .btn { margin-top: 18px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 76px); padding-bottom: clamp(56px, 9vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--green); }
.hero .lead { margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 22px; }
.hero-note { font-size: 0.9rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(29,171,97,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(29,171,97,0.18);} 50% { box-shadow: 0 0 0 7px rgba(29,171,97,0.05);} }

/* ---------- phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% 10%;
  background: radial-gradient(ellipse at 50% 40%, rgba(29,171,97,0.14), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(330px, 84vw);
  background: #0a0a0a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0a0a0a; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  background: #E5DDD5;
  background-image: linear-gradient(rgba(229,221,213,0.96), rgba(229,221,213,0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='%23d9cfc4' fill-opacity='0.5'%3E%3Ccircle cx='10' cy='10' r='1.5'/%3E%3Ccircle cx='40' cy='30' r='1.5'/%3E%3Ccircle cx='20' cy='48' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  border-radius: 33px;
  overflow: hidden;
  height: 580px;
  display: flex; flex-direction: column;
}
.wa-header {
  background: #075E54; color: #fff;
  padding: 38px 16px 12px;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.wa-meta { line-height: 1.25; }
.wa-meta .name { font-weight: 600; font-size: 0.98rem; }
.wa-meta .status { font-size: 0.74rem; opacity: 0.85; }
.wa-meta .status b { color: #9ff5c8; font-weight: 600; }
.wa-header .wa-icons { margin-left: auto; display: flex; gap: 16px; opacity: 0.85; }
.wa-header .wa-icons svg { width: 18px; height: 18px; }

.wa-body {
  flex: 1; overflow: hidden;
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 9px;
  scroll-behavior: smooth;
}
/* pushes the message stack to the bottom of the screen, like a real chat;
   collapses automatically once messages overflow so scrolling still works */
.wa-spacer { margin-top: auto; flex: none; }
/* hidden until revealed during the animation (removed entirely so the stack grows upward) */
.wa-body .is-hidden { display: none !important; }
.wa-daystamp { align-self: center; background: #d7e9d2; color: #44614b; font-size: 0.68rem; padding: 4px 12px; border-radius: 8px; margin-bottom: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.05); }

.bubble {
  max-width: 78%;
  padding: 8px 11px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 1px 1px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.bubble.in { animation: bubbleIn 0.42s var(--ease) forwards; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.bubble .time { position: absolute; right: 9px; bottom: 5px; font-size: 0.62rem; color: rgba(0,0,0,0.42); display: inline-flex; align-items: center; gap: 3px; }
.bubble.them { align-self: flex-start; background: #fff; border-top-left-radius: 3px; color: #1d1d1d; }
.bubble.me { align-self: flex-end; background: #DCF8C6; border-top-right-radius: 3px; color: #103a23; }
.bubble.me .time svg { width: 14px; height: 11px; color: #8aa0ad; transition: color 0.3s ease; }
.bubble.me.read .time svg { color: #34b7f1; }
/* header "typing…" state */
.wa-meta .status i { font-style: normal; color: #9ff5c8; font-weight: 600; }
.bubble strong { font-weight: 600; }

/* typing indicator bubble */
.typing { align-self: flex-start; background: #fff; border-radius: 12px; border-top-left-radius: 3px; padding: 12px 14px; display: none; box-shadow: 0 1px 1px rgba(0,0,0,0.10); width: max-content; }
.typing.show { display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa39d; animation: typeBounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeBounce { 0%,60%,100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* confirmation card bubble */
.confirm-card { align-self: flex-end; max-width: 82%; background: #fff; border-radius: 12px; border-top-right-radius: 3px; padding: 0; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,0.12); opacity: 0; transform: translateY(10px) scale(0.98); }
.confirm-card.in { animation: bubbleIn 0.42s var(--ease) forwards; }
.confirm-card .cc-top { background: var(--green); color: #fff; padding: 10px 13px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; }
.confirm-card .cc-top svg { width: 17px; height: 17px; }
.confirm-card .cc-body { padding: 11px 13px 8px; font-size: 0.8rem; color: #1d1d1d; }
.confirm-card .cc-row { display: flex; gap: 8px; padding: 3px 0; }
.confirm-card .cc-row .lab { color: #6b7a72; min-width: 62px; }
.confirm-card .cc-row .val { font-weight: 600; color: #103a23; }
.confirm-card .cc-time { text-align: right; font-size: 0.62rem; color: rgba(0,0,0,0.42); padding: 0 13px 8px; }

.wa-input { background: #f0f0f0; padding: 9px 12px; display: flex; align-items: center; gap: 10px; }
.wa-input .pill { flex: 1; background: #fff; border-radius: 20px; padding: 9px 14px; font-size: 0.8rem; color: #9aa39d; }
.wa-input .send { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.wa-input .send svg { width: 17px; height: 17px; color: #fff; }

.phone-replay { margin-top: 18px; text-align: center; }
.phone-replay button { background: none; border: 1px solid var(--ink-line); color: var(--text-muted); border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; font-weight: 500; display: inline-flex; gap: 7px; align-items: center; transition: color 0.2s, border-color 0.2s; }
.phone-replay button:hover { color: var(--ink); border-color: var(--ink); }
.phone-replay svg { width: 15px; height: 15px; }

/* ---------- stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .eyebrow { color: var(--gold); }
.stats h2 { color: #fff; }
.stats .lead { color: rgba(255,255,255,0.74); }
.stats-head { max-width: 60ch; margin-bottom: 56px; }
.stats-head .eyebrow { margin-bottom: 18px; }
.stats-head h2 { margin-bottom: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-card { background: var(--ink-soft); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius); padding: 30px 26px; }
.stat-card .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; color: var(--green); letter-spacing: -0.03em; }
.stat-card .num.gold { color: var(--gold); }
.stat-card .num.plain { color: #fff; }
.stat-card .label { margin-top: 12px; font-weight: 600; font-size: 1.02rem; color: #fff; }
.stat-card .sub { margin-top: 7px; font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.5; }
.stats-foot { margin-top: 34px; font-size: 0.84rem; color: rgba(255,255,255,0.5); }

/* ---------- features ---------- */
.features-head { max-width: 60ch; margin-bottom: 52px; }
.features-head .eyebrow { margin-bottom: 18px; }
.features-head h2 { margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(29,171,97,0.4); }
.feature-card .ficon { width: 50px; height: 50px; border-radius: 14px; background: rgba(29,171,97,0.10); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.feature-card .ficon svg { width: 25px; height: 25px; }
.feature-card h3 { margin-bottom: 9px; }
.feature-card p { font-size: 0.96rem; color: var(--text-muted); }
.feature-card.wide { grid-column: span 1; }

/* ---------- final cta ---------- */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta-inner { max-width: 720px; margin-inline: auto; }
.cta .eyebrow { color: var(--gold); margin-bottom: 20px; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 20px; }
.cta p { color: rgba(255,255,255,0.76); font-size: 1.15rem; margin-bottom: 34px; max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }
.cta-fine { margin-top: 22px; font-size: 0.86rem; color: rgba(255,255,255,0.5); }

/* compliance note strip */
.compliance {
  border: 1px dashed var(--ink-line);
  border-radius: var(--radius);
  background: rgba(15,39,34,0.02);
  padding: 26px 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.compliance .ci { width: 42px; height: 42px; flex: none; border-radius: 11px; background: rgba(201,163,92,0.14); color: var(--gold); display: grid; place-items: center; }
.compliance .ci svg { width: 22px; height: 22px; }
.compliance h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.compliance p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: 56px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .mark { background: var(--green); color: #fff; }
.footer-about { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 34ch; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.95rem; color: rgba(255,255,255,0.72); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer-bottom .placeholder-tag { color: var(--gold); }

/* ---------- generic page header ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(36px, 5vw, 56px); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; max-width: 18ch; }
.page-hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* ---------- steps (how it works) ---------- */
.step-list { display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  background: var(--paper-card); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 30px 30px;
  box-shadow: var(--shadow-sm);
  align-items: start;
}
.step .snum { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.step h3 { margin-bottom: 8px; font-size: 1.3rem; }
.step p { color: var(--text-muted); font-size: 0.98rem; }
.step .meta { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--green); }
.step .meta svg { width: 16px; height: 16px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--paper-card); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 32px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: -12px; left: 30px;
  background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 5px 13px; border-radius: 999px;
}
.price-card .pname { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.price-card .pdesc { font-size: 0.92rem; color: var(--text-muted); margin-top: 6px; min-height: 42px; }
.price-card .pprice { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-card .pprice .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--ink); letter-spacing: -0.02em; }
.price-card .pprice .per { font-size: 0.9rem; color: var(--text-muted); }
.price-card .placeholder-tag { font-size: 0.74rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 22px; }
.price-card ul.feats { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-card ul.feats li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--text); align-items: flex-start; }
.price-card ul.feats li svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.price-card .btn { width: 100%; }

.pricing-note { margin-top: 30px; text-align: center; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.contact-card-wa {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 36px 34px; box-shadow: var(--shadow-md);
}
.contact-card-wa .eyebrow { color: var(--gold); margin-bottom: 18px; }
.contact-card-wa h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.contact-card-wa p { color: rgba(255,255,255,0.72); font-size: 0.98rem; margin-bottom: 24px; }
.contact-card-wa .btn { margin-bottom: 12px; }
.contact-list { margin-top: 26px; display: grid; gap: 16px; }
.contact-list .ci-row { display: flex; gap: 14px; align-items: center; }
.contact-list .ci-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); color: var(--green); display: grid; place-items: center; flex: none; }
.contact-list .ci-ic svg { width: 19px; height: 19px; }
.contact-list .ci-row .lab { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.contact-list .ci-row .val { font-weight: 600; color: #fff; font-size: 0.96rem; }

.form-card { background: var(--paper-card); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-sub { font-size: 0.94rem; color: var(--text-muted); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-line); background: var(--paper);
  font: inherit; font-size: 0.96rem; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,171,97,0.14); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-fine { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.form-fine .placeholder-tag { color: var(--gold); font-weight: 600; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--paper-card); border: 1px solid var(--ink-line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex: none; transition: transform 0.3s var(--ease); color: var(--green); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.98rem; }

/* ---------- generic centered intro ---------- */
.center-head { text-align: center; max-width: 60ch; margin-inline: auto; margin-bottom: 54px; }
.center-head .eyebrow { margin-bottom: 18px; }
.center-head h2 { margin-bottom: 16px; }
.center-head .lead { margin-inline: auto; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: left; order: 1; }
  .phone-stage { order: 2; }
  .stat-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.featured::before { left: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .btn-row { flex-direction: column; }
  .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .step .snum { width: 46px; height: 46px; font-size: 1.3rem; }
  .compliance { flex-direction: column; gap: 12px; }
}

@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .phone { width: 86vw; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bubble, .confirm-card { opacity: 1 !important; transform: none !important; }
  .hero-note .dot { animation: none !important; }
}
