:root {
  color-scheme: light dark;
  --aurora: #efe9fd, #e6eefc, #e0b9f1, #fdebdf;
  --bloom-1: #e2dcf4;
  --bloom-2: #cfe0f7;
  --bloom-3: #f6dae6;
  --bloom-4: #fbdcc8;
  --grain: 0.03;
  --accent: #1d46b8;
  --text: #16131f;
  --muted: #50505b;
  --inverse: #ffffff;
  --positive: #185e35;
  --glass: rgba(255, 255, 255, 0.32);
  --rim: rgba(255, 255, 255, 0.9);
  --shadow: rgba(30, 28, 45, 0.07);
  --separator: rgba(22, 19, 31, 0.08);
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --aurora: #0e0e13, #0f141e, #24162c, #191512;
    --bloom-1: #25263a;
    --bloom-2: #1b2a40;
    --bloom-3: #33222c;
    --bloom-4: #3a2a1f;
    --grain: 0.04;
    --accent: #8fb0ff;
    --text: #f4f1fb;
    --muted: #b0b0ba;
    --inverse: #0e0e13;
    --positive: #6fd08c;
    --glass: rgba(28, 28, 34, 0.4);
    --rim: rgba(255, 255, 255, 0.18);
    --shadow: rgba(0, 0, 0, 0.35);
    --separator: rgba(255, 255, 255, 0.08);
  }
}

* {
  box-sizing: border-box;
}
html {
  background: linear-gradient(135deg, var(--aurora)) fixed;
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Blooms and grain sit behind everything, fixed like the app's background. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(circle at 10% 12%, var(--bloom-1) 0, transparent 45%),
    radial-gradient(circle at 95% 30%, var(--bloom-2) 0, transparent 42%),
    radial-gradient(circle at 20% 70%, var(--bloom-3) 0, transparent 45%),
    radial-gradient(circle at 90% 90%, var(--bloom-4) 0, transparent 42%);
}
body::after {
  background: url("/grain.png");
  opacity: var(--grain);
}

a {
  color: var(--accent);
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--rim);
  border-radius: 22px;
  box-shadow: 0 12px 32px var(--shadow);
}
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.05;
}
.accent {
  color: var(--accent);
}
.muted {
  color: var(--muted);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

/* Landing */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 56px;
}
.hero h1 {
  font-size: clamp(48px, 7.5vw, 84px);
  margin: 0 0 24px;
}
.lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 32px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--inverse);
  text-decoration: none;
  line-height: 1.15;
}
.store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.store small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}
.store strong {
  font-size: 18px;
  font-weight: 600;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
}
.text-link::after {
  content: " \2192";
}

/* Phone-sized preview of the Summary screen */
.preview {
  justify-self: center;
  width: 100%;
  max-width: 340px;
  padding: 22px;
  border-radius: 34px;
}
.preview-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.preview-amount {
  font-size: 52px;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.preview-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.bar {
  height: 8px;
  border-radius: 4px;
  background: var(--separator);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--text);
}
.preview .bar {
  margin-bottom: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--separator);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.row .dot {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  flex: none;
}
.row .name {
  flex: 1;
}
.row .bar {
  width: 64px;
  height: 6px;
}
.positive {
  color: var(--positive);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 15px;
}
.trust div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 56px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section h2,
.split h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 14px;
}
.section-head p,
.split p {
  color: var(--muted);
  font-size: 19px;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.split.reverse > :first-child {
  order: 2;
}
.split ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
}
.split li {
  display: flex;
  gap: 10px;
}
.split li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
  margin-top: 10px;
  flex: none;
}
.panel {
  padding: 24px;
}
.panel-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid var(--rim);
  font-size: 15px;
}
.chip.on {
  background: var(--text);
  color: var(--inverse);
  border-color: transparent;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  padding: 24px;
}
.card h3 {
  font-size: 17px;
  margin: 14px 0 6px;
}
.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.plan {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 17px;
  margin: 0 0 12px;
}
.price {
  font-size: 44px;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.plan .muted {
  font-size: 15px;
  margin: 6px 0 20px;
}
.plan ul {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid var(--separator);
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.fineprint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.faq details {
  padding: 18px 22px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.closing {
  text-align: center;
  padding: 56px 24px;
  margin: 40px 0 0;
}
.closing h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 0 0 12px;
}
.closing p {
  color: var(--muted);
  font-size: 19px;
  margin: 0 0 28px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 40px 0 48px;
  font-size: 15px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 20px;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}

/* Legal pages */
.doc {
  max-width: 760px;
  margin: 8px auto 48px;
  padding: 36px 32px;
}
.doc h1 {
  font-size: clamp(34px, 6vw, 44px);
  margin: 0 0 4px;
}
.doc h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}
.doc .updated {
  color: var(--muted);
  margin: 0 0 24px;
}
.doc li + li {
  margin-top: 6px;
}
form {
  display: grid;
  gap: 12px;
}
label {
  display: grid;
  gap: 4px;
  font-weight: 600;
  font-size: 15px;
}
input,
textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rim);
  background: var(--glass);
  color: var(--text);
}
form button {
  font: inherit;
  font-weight: 600;
  padding: 14px;
  border: 0;
  border-radius: 27px;
  background: var(--text);
  color: var(--inverse);
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 32px;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .grid,
  .pricing {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links a:not(:last-child) {
    display: none;
  }
  .doc {
    padding: 28px 20px;
  }
}
