:root {
  --page-bg: #eef6ff;
  --surface: #ffffff;
  --surface-tint: #f5f9ff;
  --border: #dbe6f5;
  --text: #0f1e33;
  --muted: #5b6b82;
  --accent: #2f6fed;
  --accent-hover: #2560d9;
  --accent-soft: #e8f0ff;
  --ok: #1a9e5c;
  --ok-soft: #e3f7ec;
  --warn: #b4780f;
  --warn-soft: #fdf1de;
  --shadow: 0 1px 2px rgba(15, 30, 51, 0.05), 0 12px 32px -20px rgba(15, 30, 51, 0.18);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin: 0 0 0.6rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section-head { text-align: center; margin: 0 auto 3rem; max-width: 640px; }
.section-head .lede { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.lg { padding: 0.95rem 1.9rem; font-size: 1rem; }

/* ---------------------------------------------------------------- header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand img { width: 30px; height: 30px; }
nav.site-nav { display: flex; align-items: center; gap: 1.8rem; }
nav.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
nav.site-nav a:hover { color: var(--text); text-decoration: none; }
nav.site-nav .nav-signin { display: none; } /* the header button covers desktop; this is for the mobile drawer */
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--text); margin: 0 auto; border-radius: 1px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 5.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: 3rem; margin: 0 0 1.1rem; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 1.15rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-note { font-size: 0.84rem; color: var(--muted); }

.hero-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.phone-mock {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.3rem;
}
.phone-mock .call-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.85rem;
}
.phone-mock .call-row .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--warn-soft); color: var(--warn);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.phone-mock .call-row .meta .num { font-weight: 700; font-size: 0.92rem; }
.phone-mock .call-row .meta .sub { font-size: 0.76rem; color: var(--muted); }
.phone-mock .bubble {
  background: var(--accent);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  max-width: 86%;
  margin-left: auto;
  box-shadow: var(--shadow);
}
.phone-mock .bubble-meta { text-align: right; font-size: 0.72rem; color: var(--muted); margin-top: 0.4rem; }
.hero-stats { display: flex; gap: 1rem; margin-top: 1.1rem; }
.hero-stats .stat { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem 0.6rem; text-align: center; }
.hero-stats .stat .n { font-weight: 800; font-size: 1.15rem; }
.hero-stats .stat .l { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }

/* ------------------------------------------------------------------ logo strip */
.logo-strip { padding: 2.25rem 0; }
.logo-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.logo-strip .item { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-weight: 700; font-size: 0.85rem; }
.logo-strip .item .ic { font-size: 1.05rem; }

/* --------------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.02rem; margin: 0 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* -------------------------------------------------------------------- features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; box-shadow: var(--shadow); }
.feature-card .ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.02rem; margin: 0 0 0.45rem; }
.feature-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ----------------------------------------------------------------- compliance banner */
.callout {
  background: var(--warn-soft);
  border: 1px solid #f2ddb0;
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.callout .ic { font-size: 1.3rem; }
.callout h3 { margin: 0 0 0.3rem; font-size: 0.98rem; color: #7a4f0a; }
.callout p { margin: 0; font-size: 0.87rem; color: #7a4f0a; }

/* --------------------------------------------------------------------- pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); position: relative; }
.plan.featured::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 999px; letter-spacing: 0.03em;
}
.plan h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }
.plan .price { font-size: 2.1rem; font-weight: 800; margin: 0.4rem 0 0.1rem; }
.plan .price span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.plan .billing { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.9rem; }
.plan .plan-note { color: var(--text); font-size: 0.88rem; font-weight: 600; margin-bottom: 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.plan ul li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.88rem; padding: 0.4rem 0; color: var(--text); }
.plan ul li .check { color: var(--ok); font-weight: 800; flex-shrink: 0; }
.plan .btn { width: 100%; }

/* ------------------------------------------------------------------------- faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0.3rem 1.4rem; margin-bottom: 0.85rem; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 1.05rem 0; font-weight: 700; font-size: 0.96rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9rem; }

/* --------------------------------------------------------------------- final cta */
.cta-band {
  background: linear-gradient(135deg, var(--accent), #6f4fed);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 1.75rem; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: #f1f5ff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,0.12); }

/* --------------------------------------------------------------------- footer */
footer.site { border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
footer.site .brand { margin-bottom: 0.6rem; }
footer.site .fcol { min-width: 140px; }
footer.site .fcol h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 0.75rem; }
footer.site .fcol a { display: block; color: var(--text); font-size: 0.88rem; margin-bottom: 0.55rem; font-weight: 500; }
footer.site .fcol a:hover { color: var(--accent); text-decoration: none; }
footer.site .fnote { color: var(--muted); font-size: 0.82rem; max-width: 34ch; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .steps, .features-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 3.25rem 0; }
  .hero h1 { font-size: 2.15rem; }
  nav.site-nav { position: fixed; z-index: 30; inset: 68px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1.1rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.15s ease; border-bottom: 1px solid var(--border); }
  nav.site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-cta .btn.ghost { display: none; }
  nav.site-nav .nav-signin { display: block; }
  .steps, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 1.5rem; }
  footer.site .wrap { flex-direction: column; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 1.1rem; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat { flex: 1 1 40%; }
  .hero h1 { font-size: 1.8rem; }
  .brand { font-size: 1rem; }
  .header-cta { gap: 0.5rem; }
  .header-cta .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
}
@media (max-width: 340px) {
  header.site .wrap { padding: 0 0.85rem; gap: 0.4rem; }
  .brand span.brand-text { display: none; }
  .nav-toggle { width: 32px; height: 32px; }
  .header-cta .btn { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
}
