:root {
  --navy: #0b3382;
  --navy-dark: #082766;
  --yellow: #ffe500;
  --green: #10b981;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* Placeholder text still to be filled in before going live */
.todo {
  background: #fff3c4;
  border-bottom: 2px dashed #e0a800;
  padding: 0 4px;
  font-weight: 600;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-header nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.site-header nav a:hover { color: var(--navy); }

/* Logo: same wordmark image as the app */
.wordmark {
  display: inline-block;
  line-height: 0;
}
.wordmark img,
img.wordmark {
  height: 28px;
  width: auto;
}

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding-block: 72px 80px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 18px;
  max-width: 14em;
}
.hero h1 .accent { color: var(--yellow); }
.hero p {
  font-size: 19px;
  max-width: 34em;
  margin: 0 0 28px;
  color: #dbe4f7;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
}
.btn:hover { background: #fff07a; }

/* Sections */
section { padding-block: 64px; }
section.soft { background: var(--bg-soft); }
h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 40em;
  margin: 0 0 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contact-grid .label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-grid .value {
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* "Coming soon" app availability (official store badges go in at launch) */
.store-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #dbe4f7;
}
.store-pill svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Early-access form */
.early-access { background: var(--bg); }
.waitlist {
  max-width: 520px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 18px;
}
.waitlist .field {
  display: grid;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.waitlist label,
.waitlist legend {
  font-weight: 600;
  font-size: 15px;
  padding: 0;
}
.waitlist .optional {
  color: var(--muted);
  font-weight: 400;
}
.waitlist input[type="email"],
.waitlist input[type="text"] {
  font: inherit;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}
.waitlist input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.waitlist .choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.waitlist .choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 500;
  cursor: pointer;
}
.waitlist .choice:has(input:checked) {
  border-color: var(--navy);
  background: #eef3fd;
}
.waitlist .choice input { accent-color: var(--navy); margin: 0; }
.waitlist .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}
.waitlist .consent input {
  margin-top: 3px;
  accent-color: var(--navy);
  flex: none;
}
.waitlist .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.waitlist .btn {
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  justify-self: start;
  background: var(--navy);
  color: #fff;
}
.waitlist .btn:hover { background: var(--navy-dark); }
.waitlist .btn:disabled { opacity: 0.6; cursor: default; }
.form-status {
  margin: 0;
  font-size: 15px;
  min-height: 1.4em;
}
.form-status.success { color: #047857; font-weight: 600; }
.form-status.error { color: #b91c1c; }

/* Legal pages */
.legal {
  max-width: 760px;
  padding-block: 48px 72px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.legal .updated {
  color: var(--muted);
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}
.legal li { margin-bottom: 6px; }
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.legal th, .legal td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  vertical-align: top;
}
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c4d0ea;
  padding-block: 40px;
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.site-footer a { color: #fff; }
.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer p { margin: 8px 0 0; }

@media (max-width: 560px) {
  .site-header nav a.hide-sm { display: none; }
  .hero { padding-block: 48px 56px; }
  section { padding-block: 48px; }
}
