:root {
  --bg: #f6f6f9;
  --panel: #ffffff;
  --ink: #1c1d2b;
  --muted: #5c5f73;
  --line: #e1e2ea;
  --accent: #4338ca;
  --on-accent: #ffffff;
  --accent-soft: #eef0fc;
  --warm: #f5a524;
  --on-warm: #1f1503;
  --bad: #a32424;
  --bad-soft: #fdecec;
  --night: #12123a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1020;
    --panel: #171830;
    --ink: #e7e8f2;
    --muted: #9ea1bb;
    --line: #2a2c4a;
    --accent: #a5b4fc;
    --on-accent: #12123a;
    --accent-soft: #1f2148;
    --bad: #f08080;
    --bad-soft: #3a1d1d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button.big { padding: 14px 30px; font-size: 18px; }
.button.warm { background: var(--warm); border-color: var(--warm); color: var(--on-warm); }
.button.light { background: #ffffff; border-color: #ffffff; color: var(--night); }
.button.ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #ffffff; }

/* The top of the page: deep indigo, with a few layered shapes and an amber glow. */
.hero {
  background: var(--night) url("background.svg") center / cover no-repeat;
  color: #ffffff;
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #ffffff; font-weight: 700; font-size: 21px; text-decoration: none; }
.masthead nav { display: flex; align-items: center; gap: 22px; }
.masthead nav a:not(.button) { color: #d6dafe; text-decoration: none; font-weight: 500; }
.masthead nav a:not(.button):hover { color: #ffffff; }
.hero-body { padding: 96px 0 120px; }
.hero-body.short { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.12; margin: 0 0 22px; max-width: 16ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero p { font-size: 20px; color: #d6dafe; max-width: 50ch; margin: 0 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.section { padding: 80px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 19px; max-width: 62ch; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card.feature { padding: 32px; }
.card.feature h3 { font-size: 22px; }
.card.feature ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card.feature li { padding: 6px 0 6px 30px; position: relative; }
.card.feature li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tag { display: inline-block; margin-bottom: 12px; padding: 2px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--warm); color: var(--on-warm);
  font-weight: 700; font-size: 19px;
}
.steps strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .lead { margin-bottom: 24px; }
.panel { background: var(--accent-soft); border-radius: 16px; padding: 28px; }
.panel h3 { margin: 0 0 8px; font-size: 20px; }
.panel p { margin: 0 0 20px; color: var(--muted); }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact { display: grid; gap: 18px; }
.contact .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.optional { color: var(--muted); font-weight: 400; }
.contact input, .contact select, .contact textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact button { justify-self: start; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

/* Privacy and Terms. */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin: 40px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }

footer { padding: 48px 0 28px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-cols h4 { margin: 0 0 10px; color: var(--ink); font-size: 15px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { padding: 3px 0; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.footer-brand p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .masthead nav a:not(.button) { display: none; }
  .masthead nav .button { padding: 7px 14px; }
  .hero-body { padding: 56px 0 80px; }
  .section { padding: 56px 0; }
  .split, .contact .pair { grid-template-columns: 1fr; gap: 24px; }
  .grid.two { grid-template-columns: 1fr; }
  .card.feature { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}
