/* ─────────────────────────────────────────────────────────────────────────────
   The Reset Program — global stylesheet
   Brand: deep navy + electric cyan/violet accents · Inter + Space Grotesk
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --bg-0: #04060f;
  --bg-1: #060a18;
  --bg-2: #0a1024;
  --bg-3: #0e1632;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text: #e6ebf5;
  --text-dim: #b8c2d6;
  --text-muted: #94a3b8;
  --text-faint: #4b5670;
  --accent: #38bdf8;          /* electric cyan */
  --accent-2: #6366f1;        /* violet */
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: rgba(56, 189, 248, 0.4);
  --danger: #f87171;
  --success: #34d399;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 20px 60px -20px rgba(2, 6, 23, 0.7);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: #7dd3fc; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
h3 { font-size: 20px; margin-bottom: 8px; }
h5 { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }

p { color: var(--text-dim); }
.lead { font-size: 18px; line-height: 1.6; color: #d6deef; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.max-w-2xl { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.small { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 10px; }

.grad {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 60%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent { color: var(--accent); }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #7dd3fc;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--accent-strong);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #04060f;
  box-shadow: 0 10px 30px -12px rgba(56, 189, 248, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); color: #04060f; box-shadow: 0 14px 38px -12px rgba(56, 189, 248, 0.7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface); color: #fff; border-color: var(--accent-strong); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(4, 6, 15, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand:hover { color: #fff; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-text { font-family: 'Space Grotesk', sans-serif; font-size: 17px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text-dim); font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.btn-primary { color: #04060f; }
.site-nav a.btn-primary.active { color: #04060f; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 80px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 100%, rgba(99, 102, 241, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.hero-inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; text-align: left; }
.hero-title { font-size: clamp(42px, 6.4vw, 76px); margin: 14px 0 22px 0; }
.hero-sub { font-size: 19px; max-width: 720px; color: #cbd5e1; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: 0.55;
}
.glow-1 { background: #2563eb; top: -160px; right: -180px; width: 560px; height: 560px; }
.glow-2 { background: #06b6d4; bottom: -240px; left: -160px; width: 480px; height: 480px; opacity: 0.4; }

/* ── Page hero (subpages) ───────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 88px 0 56px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.page-hero h1 { margin-top: 12px; margin-bottom: 18px; font-size: clamp(36px, 5vw, 56px); }
.page-hero.center { text-align: center; }
.page-hero.thanks { padding: 112px 0 80px 0; }

/* ── Stats strip ────────────────────────────────────────────── */
.stats { padding: 36px 0; border-bottom: 1px solid var(--border); background: var(--bg-1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat-num .suffix { font-size: 22px; color: #7dd3fc; margin-left: 4px; }
.stat-label { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; }
.stats-grid .highlight .stat-num { color: #7dd3fc; }
.stats-grid .highlight .stat-num .suffix { color: #fff; }

/* ── Section base ───────────────────────────────────────────── */
.section { padding: 88px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ── Cards & grids ──────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent-strong); background: var(--surface-2); }
.card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; }
.card-icon {
  font-family: 'Space Grotesk', sans-serif;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: #7dd3fc;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 18px;
}

.callout {
  background: rgba(56,189,248,0.06);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: #d6deef;
  font-size: 16px;
  line-height: 1.6;
}
.callout strong { color: #fff; }

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* ── Lists ──────────────────────────────────────────────────── */
ul.bulleted { list-style: none; padding: 0; margin: 0; }
ul.bulleted li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.55;
}
ul.bulleted li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
ul.bulleted li strong { color: #fff; }

/* ── Steps ──────────────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.steps.steps-detailed { grid-template-columns: 1fr; gap: 14px; }
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.steps li:hover { border-color: var(--accent-strong); background: var(--surface-2); }
.steps.steps-detailed li { padding: 28px 32px; }
.step-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.steps li h3 { font-size: 17px; }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid { gap: 22px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.price-card:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-strong), var(--shadow); background: linear-gradient(180deg, rgba(56,189,248,0.08), rgba(56,189,248,0.02)); }
.price-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #04060f;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.price-card h3 { font-size: 22px; }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.price span { font-size: 14px; color: var(--text-muted); font-weight: 500; margin-left: 4px; }
.price-card ul.bulleted { margin-top: 8px; flex: 1; }
.price-card .btn { margin-top: 8px; }

/* ── Founder block ──────────────────────────────────────────── */
.founder-block { align-items: center; }
.founder-photo {
  width: 240px; height: 240px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e3a8a 0%, #38bdf8 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 76px; color: #fff; font-weight: 800;
  letter-spacing: -0.02em;
  border: 1px solid var(--accent-strong);
  flex-shrink: 0;
}

/* ── CTA final ──────────────────────────────────────────────── */
.cta-final {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(56,189,248,0.15), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-final h2 { margin-bottom: 18px; }
.cta-final .btn { margin-top: 28px; }
.cta-row { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Contact form ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-row.two > div { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 13.5px; color: var(--text-dim); font-weight: 500; letter-spacing: 0.02em; }
.contact-form .req { color: var(--accent); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color .12s ease, background .12s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--accent);
  background: var(--bg-3);
}
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1 L6 6 L11 1' stroke='%2394a3b8' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.hp-field { position: absolute; left: -10000px; top: -10000px; width: 1px; height: 1px; overflow: hidden; }

.flash {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 14.5px;
  border: 1px solid transparent;
}
.flash-error { background: rgba(248, 113, 113, 0.1); color: #fecaca; border-color: rgba(248, 113, 113, 0.4); }
.flash-success { background: rgba(52, 211, 153, 0.1); color: #d1fae5; border-color: rgba(52, 211, 153, 0.4); }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-side .card h3 { font-size: 15px; }
.contact-side .card p { font-size: 14.5px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-1); padding-top: 56px; padding-bottom: 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 8px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; margin-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .founder-photo { width: 200px; height: 200px; font-size: 64px; }
}
@media (max-width: 700px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(4, 6, 15, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 22px 24px;
    gap: 14px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, transform .15s ease, visibility 0s .15s;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; transition: opacity .15s ease, transform .15s ease, visibility 0s; }
  .site-nav a { font-size: 16px; }
  .site-nav a.btn-primary { text-align: center; }
  .hero { padding: 64px 0 60px 0; }
  .hero-cta .btn { flex: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-form .form-row.two { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .contact-form-wrap { padding: 24px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}
