:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f9;
  --ink: #0e0f13;
  --muted: #5d6170;
  --line: #e7e7ee;
  --dark: #0b0b10;
  --dark-2: #15151d;
  --dark-ink: #f4f4f7;
  --dark-muted: #a3a6b4;
  --accent: #2f6bff;
  --accent-hover: #1f56e0;
  --g1: var(--accent);
  --g2: var(--accent);
  /* Solid accent, kept as a gradient value so background-clip text still works. */
  --grad: linear-gradient(var(--accent), var(--accent));
  --radius: 16px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(14, 15, 19, .04), 0 8px 24px rgba(14, 15, 19, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 16, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--dark-ink);
  text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--dark-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .nav-cta {
  color: #fff; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .18);
}
.nav .nav-cta:hover { background: rgba(255, 255, 255, .08); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(47, 107, 255, .25);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-hover); box-shadow: 0 12px 30px rgba(47, 107, 255, .32); }
.btn-ghost {
  background: transparent; color: var(--dark-ink); box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--dark-ink);
  padding: 96px 0 104px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: var(--g1); top: -240px; right: -140px; opacity: .35; }
.hero::after { display: none; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--dark-ink); margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 22px; max-width: 880px;
}
.hero p.sub { font-size: clamp(17px, 2vw, 20px); color: var(--dark-muted); max-width: 600px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.funnel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 64px; max-width: 760px;
}
.funnel-step {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 16px 18px;
}
.funnel-step span { display: block; font-size: 12px; color: var(--dark-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.funnel-step strong { font-size: 17px; font-weight: 600; }

/* Sections */
section { padding: 96px 0; scroll-margin-top: 48px; }
section.alt { background: var(--bg-soft); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.03em; font-weight: 800; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 48px; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-grid .lede { margin-bottom: 0; }
.stat-list { display: grid; gap: 14px; }
.stat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.stat .icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
}
.stat h3 { margin: 0 0 2px; font-size: 16px; }
.stat p { margin: 0; color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14,15,19,.04), 0 16px 40px rgba(14,15,19,.1); }
.card .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Opt-in */
.sms-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.sms-grid .lede { margin-bottom: 28px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--grad);
}
.form-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: 0 2px 4px rgba(14,15,19,.04), 0 24px 60px rgba(14,15,19,.08);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; background: var(--bg-soft); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 24px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.consent input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--g1); }
.consent a { color: var(--ink); font-weight: 600; }
.form-card .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; text-align: center; }
.form-success { display: none; padding: 14px 16px; border-radius: 12px; background: #e9f7ee; color: #17603a; margin-top: 16px; font-size: 14px; font-weight: 500; }
.form-error { display: none; padding: 14px 16px; border-radius: 12px; background: #fdecee; color: #9b1c31; margin-top: 16px; font-size: 14px; font-weight: 500; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Contact */
.contact-band {
  background: var(--dark); color: var(--dark-ink); border-radius: 24px;
  padding: 56px; position: relative; overflow: hidden;
}
.contact-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: var(--g2); filter: blur(100px); opacity: .25; right: -120px; top: -160px;
}
.contact-band > * { position: relative; z-index: 1; }
.contact-band h2 { color: #fff; }
.contact-band .lede { color: var(--dark-muted); margin-bottom: 32px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 640px; }
.contact-card {
  display: block; text-decoration: none; padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .15s;
}
.contact-card:hover { background: rgba(255,255,255,.09); }
.contact-card span { display: block; font-size: 12px; color: var(--dark-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-card strong { font-size: 17px; font-weight: 600; word-break: break-word; }

/* Legal pages */
.legal-hero { background: var(--dark); color: var(--dark-ink); padding: 72px 0 56px; position: relative; overflow: hidden; }
.legal-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--g1); filter: blur(100px); opacity: .3; right: -140px; top: -220px;
}
.legal-hero .wrap { position: relative; z-index: 1; max-width: 800px; }
.legal-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 8px; letter-spacing: -0.03em; font-weight: 800; }
.legal-hero .updated { color: var(--dark-muted); margin: 0; }
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #2c2f38; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--g1); font-weight: 500; }
.legal .callout {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px;
  border-left: 4px solid var(--g2);
}
.legal .callout p { margin: 0; }

/* Footer */
.site-footer { padding: 40px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 24px; }

/* Responsive */
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .about-grid, .sms-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 80px; }
  .contact-band { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .funnel { grid-template-columns: 1fr; margin-top: 48px; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .brand { font-size: 15px; }
  .nav .nav-cta { padding: 7px 13px; font-size: 13px; }
}
