:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-dim: #1d4ed8;
  --danger: #b42318;
  --warning: #9a6700;
  --ok: #1f7a3a;
  --border: #e2e8f0;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1100px, 90vw);
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav > a:not(.nav-cta) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .site-header .container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
}

.nav-cta {
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-dim);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #eef2f9 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.eyebrow {
  display: inline-block;
  background: #e0e7ff;
  color: var(--accent-dim);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  font-weight: 800;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}

.trust-points {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text);
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.trust-points li svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Form */
.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.waitlist-card h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.waitlist-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.35rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"][name="website"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input[type="email"]:focus,
.waitlist-form input[type="text"][name="website"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-primary {
  padding: 0.95rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  opacity: 0.85;
}

.btn-large {
  display: inline-block;
  padding: 1.15rem 2.25rem;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: 10px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
  text-align: left;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-label a {
  font-weight: 600;
}

.mt-16 {
  margin-top: 1rem;
}

.hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.section-intro.text-center {
  margin-inline: auto;
}

.alt-bg {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.alt-bg .card {
  background: var(--surface);
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.card p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* Demo findings */
.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--warning);
  margin-bottom: 1.5rem;
}

.demo-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
}

.finding {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--surface);
}

.alt-bg .finding {
  background: var(--surface);
}

.finding-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.finding-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.badge-nc {
  background: rgba(180, 35, 24, 0.1);
  color: var(--danger);
}

.finding p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.finding p strong {
  color: var(--text);
}

.finding .evidence {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  margin: 0;
}

.insight-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.insight-panel p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.insight-panel p:last-child {
  margin-bottom: 0;
}

.insight-panel strong {
  color: var(--text);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

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

.step {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.alt-bg .step {
  background: var(--surface);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.step p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 5rem 0;
  background: var(--surface);
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band .section-intro {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band .waitlist-form {
  max-width: 420px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--text);
  color: #94a3b8;
  font-size: 0.88rem;
}

.site-footer .logo {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #fff;
}

.site-footer .logo span {
  color: #60a5fa;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-top p {
  margin: 0;
  max-width: 60ch;
}

.footer-legal p {
  margin: 0 0 1rem;
  max-width: 72ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-coherence {
  font-style: italic;
  color: #94a3b8;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.5rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  color: var(--accent-dim);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

/* Legal band */
.legal-band {
  background: var(--text);
  color: #eaf1fb;
}

.legal-band h2 {
  color: #ffffff;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
}

.section-intro-light {
  color: #c5d6f0;
}

.legal-band .section-intro {
  color: #94a3b8;
}

.how-it-works-section {
  background: var(--surface);
}

.legal-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.legal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
}

.legal-ref {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.legal-card h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.legal-card p {
  color: #cbd5e1;
  font-size: 0.94rem;
  margin: 0;
}

.legal-foot {
  font-size: 0.8rem;
  color: #9fb8db;
  margin: 0;
}

.alt-bg .legal-foot {
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
}

.faq-list.mx-auto {
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Success page */
.success-page {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: linear-gradient(180deg, #eef2f9 0%, var(--bg) 100%);
}

.success-box {
  width: min(520px, 100%);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 122, 58, 0.1);
  color: var(--ok);
}

.success-box .eyebrow {
  margin-bottom: 0.85rem;
}

.success-box h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.success-box .lead-sm {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

.success-box .form-note {
  margin: 0 0 1.75rem;
}

.success-back {
  display: inline-block;
  padding: 0.95rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.success-back:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid,
  .legal-grid,
  .steps,
  .cards-2 {
    grid-template-columns: 1fr;
  }
}
