:root {
  --navy: #0d2649;
  --deep: #050d1a;
  --ink: #14202e;
  --soft: #5a6573;
  --paper: #f6f8fb;
  --line: #dfe5ee;
  --blue: #5aa6ff;
  --gold: #e3b341;
  --green: #22a35a;
  --amber: #e08a1e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 28px; font-weight: 800; }
h3 { font-size: 1.08rem; margin: 0 0 6px; font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav sits on the navy hero */
.nav { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; z-index: 2; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.nav-cta { text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }
.nav-cta:hover { background: rgba(255,255,255,0.2); }

/* Hero */
.hero {
  color: #fff; padding: 120px 0 96px;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--navy), var(--deep));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; margin: 0 0 20px; }
.lede { font-size: 1.15rem; color: rgba(255,255,255,0.78); margin: 0 0 30px; max-width: 34em; }
.lede strong { color: #fff; }

/* Waitlist form */
.waitlist { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; padding: 18px; max-width: 560px; }
.row { display: flex; gap: 10px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 15px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(5,13,26,0.55); color: #fff; outline: none;
}
.waitlist input[type=email]::placeholder { color: rgba(255,255,255,0.45); }
.waitlist input[type=email]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(90,166,255,0.25); }
.waitlist button {
  font: inherit; font-weight: 700; font-size: 1rem; padding: 15px 22px; border-radius: 14px; border: 0;
  background: #fff; color: var(--navy); cursor: pointer; white-space: nowrap;
}
.waitlist button:hover { background: #e9f1ff; }
.waitlist button:disabled { opacity: 0.6; cursor: default; }
.iphone { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.iphone legend { width: 100%; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px; padding: 0; }
.iphone label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.iphone input { accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.status { margin: 12px 2px 0; font-weight: 600; min-height: 0; }
.status:empty { display: none; }
.status.ok { color: #7ee2a8; }
.status.err { color: #ffb4a8; }
.fine { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 12px 2px 0; }
.waitlist.done .row, .waitlist.done .iphone { display: none; }

/* Phone mock */
.mock { display: flex; justify-content: center; }
.phone {
  width: 300px; padding: 14px; border-radius: 44px; background: #0a1220;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(90,166,255,0.15);
}
.score-card { background: #fff; color: var(--ink); border-radius: 32px; padding: 24px 22px 20px; }
.score-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; color: var(--soft); }
.score-num { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.score-num span { font-size: 4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.score-num b { font-size: 1.8rem; color: var(--blue); }
.score-sub { margin: 4px 0 16px; font-size: 0.8rem; color: var(--soft); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: 82px 1fr 28px; align-items: center; gap: 8px; font-size: 0.78rem; }
.bars i { display: block; height: 7px; border-radius: 9px; background: linear-gradient(90deg, var(--green) var(--w), #e8edf3 var(--w)); }
.bars i.warn { background: linear-gradient(90deg, var(--amber) var(--w), #e8edf3 var(--w)); }
.bars em { font-style: normal; font-weight: 700; text-align: right; }
.fix { margin-top: 16px; padding: 12px; border-radius: 14px; background: #fff6e8; font-size: 0.78rem; line-height: 1.4; }
.fix b { display: block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.fix span { font-weight: 800; color: var(--green); }

/* How it works */
.how { padding-top: 88px; padding-bottom: 72px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps > div { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.steps p { margin: 0; color: var(--soft); }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* What it checks */
.checks { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid > div { border-radius: 18px; padding: 20px; background: var(--paper); }
.grid p { margin: 0; color: var(--soft); font-size: 0.93rem; }
.split { margin-top: 36px; }
.split p { margin: 0 0 10px; font-weight: 700; }
.bar { display: flex; border-radius: 14px; overflow: hidden; font-size: 0.85rem; font-weight: 700; color: #fff; }
.bar span { flex: 0 0 var(--w); padding: 12px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar span:nth-child(1) { background: var(--navy); }
.bar span:nth-child(2) { background: #2f6fb8; }
.bar span:nth-child(3) { background: var(--gold); color: var(--ink); }

/* Privacy */
.privacy-note { display: flex; gap: 24px; align-items: center; padding-top: 72px; padding-bottom: 24px; }
.privacy-note h2 { margin-bottom: 8px; }
.privacy-note p { margin: 0; color: var(--soft); max-width: 46em; }
.privacy-note img { flex: none; }

/* FAQ */
.faq { padding-top: 56px; padding-bottom: 80px; }
.faq details { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--soft); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--soft); }

/* Bottom CTA */
.cta { color: #fff; text-align: center; padding: 80px 0; background: linear-gradient(180deg, var(--navy), var(--deep)); }
.cta .waitlist { margin: 0 auto; text-align: left; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 40px; color: var(--soft); font-size: 0.85rem; }
.footer nav { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 96px 0 64px; }
  .row { flex-direction: column; }
  .waitlist button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .phone { width: 100%; max-width: 300px; }
  .privacy-note { flex-direction: column; align-items: flex-start; }
  .bar { flex-direction: column; gap: 6px; border-radius: 0; }
  .bar span { flex: none; width: max(var(--w), 45%); border-radius: 10px; padding: 10px 12px; }
  .nav-cta { padding: 8px 12px; font-size: 0.85rem; }
}
