:root {
  --navy-950: #0a1e3d;
  --navy-900: #0f2d5a;
  --brand: #1a4f8a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-500: #3b82f6;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --green-400: #4ade80;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --red-600: #dc2626;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon, .card-icon svg, .tick svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 0.5rem; border: 1px solid transparent;
  font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue-500); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: .875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-800); }
.btn-white { background: #fff; color: var(--blue-800); }
.btn-white:hover { background: var(--blue-50); }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.nav-inner { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.25rem; }
.nav-links { display: none; gap: 1.5rem; font-size: .875rem; color: var(--gray-600); }
.nav-links a:hover { color: var(--blue-700); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 6rem 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center / cover no-repeat fixed;
}
@supports (-webkit-touch-callout: none) { .hero { background-attachment: scroll; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(10, 30, 61, .95), rgba(15, 45, 90, .93), rgba(26, 79, 138, .88));
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 9999px; padding: .375rem 1rem; font-size: .875rem; font-weight: 500; margin-bottom: 1.5rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .7);
}
.tagline { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; margin-bottom: 1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tagline span { color: var(--blue-300); }
.lead { font-size: 1.125rem; color: rgba(255, 255, 255, .92); margin-bottom: 2rem; max-width: 36rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.lead strong { color: #fff; }

.waitlist { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 36rem; }
.waitlist input[type="email"] {
  flex: 1 1 16rem; min-width: 0; padding: .75rem 1rem; border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff;
  font: inherit; outline: none; transition: border-color .2s, background .2s;
}
.waitlist input[type="email"]::placeholder { color: rgba(255, 255, 255, .65); }
.waitlist input[type="email"]:focus { border-color: #fff; background: rgba(255, 255, 255, .2); }
.waitlist input[type="email"].is-invalid { border-color: #fca5a5; }
.waitlist .btn { flex: 0 0 auto; }
.waitlist .form-status { flex-basis: 100%; }
.hero-note { margin-top: .75rem; font-size: .8125rem; color: var(--blue-200); }

/* Trust Score card */
.score-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem; padding: 2rem;
}
.score-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.score-label { font-weight: 700; font-size: 1.125rem; }
.score-sub { font-size: .8125rem; color: var(--blue-200); }
.score-ring {
  --score: 0;
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: conic-gradient(var(--green-400) calc(var(--score) * 1%), rgba(255, 255, 255, .15) 0);
}
.score-ring span {
  width: 66px; height: 66px; border-radius: 50%; background: var(--navy-900);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 800;
}
.score-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.score-list li {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255, 255, 255, .1); border-radius: .75rem; padding: .75rem 1rem; font-weight: 500;
}
.tick {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--green-400); color: #fff;
}
.tick svg { width: 15px; height: 15px; stroke-width: 3; }
.tick-blue { background: var(--blue-100); color: var(--blue-700); width: 24px; height: 24px; }
.tick-blue svg { width: 13px; height: 13px; }

/* Strip */
.strip { background: var(--blue-700); padding: 2.5rem 0; color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 1024px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-value { font-size: 1.875rem; font-weight: 800; }
.strip-label { color: var(--blue-200); font-size: .875rem; margin-top: .25rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-muted { background: var(--gray-50); }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2, .lead-copy h2 { font-size: 1.875rem; }
.section-head p { color: var(--gray-500); margin: .75rem auto 0; max-width: 36rem; }

.card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-100);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05); padding: 1.5rem;
}
.checks-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .checks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .checks-grid { grid-template-columns: repeat(5, 1fr); } }
.checks-grid .card { transition: box-shadow .2s, transform .2s; }
.checks-grid .card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.card-icon {
  width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* Lead form */
.lead-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: 0.9fr 1.1fr; } }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50); border-radius: 9999px; padding: .25rem .75rem; margin-bottom: 1rem;
}
.lead-copy p { color: var(--gray-500); margin-top: .75rem; }
.perks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; color: var(--gray-700); }
.perks li { display: flex; align-items: center; gap: .75rem; }

.lead-form { display: grid; gap: 1rem; padding: 2rem; box-shadow: 0 10px 30px rgba(15, 45, 90, .08); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-700); margin-bottom: .25rem; }
.input {
  width: 100%; padding: .5rem .75rem; border: 1px solid var(--gray-300); border-radius: .5rem;
  font: inherit; font-size: .875rem; background: #fff; color: var(--gray-900); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--gray-400); }
.input:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--blue-500); }
.input.is-invalid { border-color: #f87171; }
textarea.input { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; color: var(--gray-600); }
.consent input { margin-top: .2rem; accent-color: var(--blue-700); }

.form-status { font-size: .875rem; min-height: 1.25rem; }
.form-status:empty { display: none; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.form-status.ok { color: #15803d; }
.form-status.err { color: var(--red-600); }
.hero .form-status.ok { color: var(--green-400); }
.hero .form-status.err { color: #fca5a5; }

/* CTA + footer */
.cta { background: linear-gradient(to right, var(--navy-900), var(--brand)); color: #fff; text-align: center; padding: 4rem 0; }
.cta-inner { max-width: 42rem; }
.cta h2 { font-size: 1.875rem; margin-bottom: .75rem; }
.cta p { color: var(--blue-200); margin-bottom: 2rem; }
.footer { background: var(--navy-900); color: var(--blue-200); text-align: center; font-size: .875rem; padding: 2rem 1.5rem; }
.footer p + p { margin-top: .25rem; }

@media (max-width: 480px) {
  .hero { padding: 4rem 0; }
  .waitlist .btn { width: 100%; }
  .score-card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}
