:root {
  color-scheme: light dark;
  --paper: #f5f8fd;
  --card: #fff;
  --ink: #0a1230;
  --soft: #4b5674;
  --line: #d9e1ef;
  --blue: #0b62c4;
  --good: #0f7a43;
  --dial: #080e22;
  --ring: #4ee38c;
  --round: ui-rounded, "SF Pro Rounded", system-ui, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #080e22;
    --card: #101a38;
    --ink: #eef3ff;
    --soft: #a9b6d6;
    --line: #223158;
    --blue: #79b8ff;
    --good: #4ee38c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3, .brand, .store b, .steps li::before { font-family: var(--round); }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }

/* Top */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 2rem; height: 2rem; border-radius: 0.5rem; }
.top nav { display: flex; gap: 1.25rem; }
.top nav a { color: inherit; text-decoration: none; padding-block: 0.4rem; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(140deg, #0e70dc, #0540a8 75%); color: #fff; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.hero .text { padding-block: 3.5rem 5rem; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.025em; }
.hero p.lead { margin-top: 1.25rem; font-size: 1.2rem; max-width: 34ch; }
.hero .needs { margin-top: 1.25rem; font-size: 0.95rem; }
.watch { width: 100%; max-width: 26rem; justify-self: center; display: block; margin-block: -1.5rem; }
.watch .note { animation: arrive 0.7s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.watch .arc { stroke-dasharray: 100; animation: fill 1.2s 0.2s ease-out both; }
@keyframes arrive { from { transform: translateY(14px); } }
@keyframes fill { from { stroke-dashoffset: 25; } }
@media (prefers-reduced-motion: reduce) { .watch .note, .watch .arc { animation: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.store { display: block; min-width: 11.5rem; padding: 0.7rem 1.2rem; border-radius: 1rem; background: var(--dial); color: #fff; text-decoration: none; line-height: 1.3; border: 1px solid #ffffff2e; }
.store small { display: block; font-size: 0.85rem; color: #c5d2f0; }
.store b { font-size: 1.1rem; }
a.store[href]:hover { background: #141f45; }

/* Sections */
main section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--line); }
main section:last-child { border-bottom: 0; }
.intro { margin-top: 0.75rem; color: var(--soft); max-width: 60ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.6rem; }
.list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; }
.list svg { width: 1.25rem; height: 1.25rem; margin-top: 0.22rem; fill: none; stroke: var(--soft); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.list.yes svg { stroke: var(--good); }
.list span { display: block; color: var(--soft); font-size: 0.95rem; }
.steps { list-style: none; counter-reset: s; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.75rem; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--dial); border: 3px solid var(--ring); color: #fff; font-weight: 800; margin-bottom: 0.8rem; }
.steps p { margin-top: 0.4rem; color: var(--soft); }
.plain { margin-top: 1.25rem; }

/* Text pages */
.doc { max-width: 44rem; padding-block: 2.5rem 4rem; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.doc .date { color: var(--soft); margin-top: 0.5rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.doc h3 { margin-top: 1.5rem; }
.doc p, .doc ul, .doc ol { margin: 0.75rem 0 0; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-top: 0.45rem; }
.box { margin-top: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem 1.5rem; }
.box p:first-child, .box ul:first-child { margin-top: 0; }
.scroll { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--soft); font-weight: 600; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 0.9rem; font-weight: 600; }
details > :last-child { margin-bottom: 1.1rem; }
.mail { font-size: 1.25rem; font-weight: 700; }

.foot { border-top: 1px solid var(--line); color: var(--soft); font-size: 0.92rem; }
.foot .wrap { padding-block: 2rem 3rem; display: grid; gap: 0.9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

@media (max-width: 46rem) {
  .top { gap: 0.5rem; }
  .top nav { gap: 0.9rem; font-size: 0.97rem; }
  .hero .grid, .two { grid-template-columns: 1fr; }
  .hero .text { padding-block: 2rem 1rem; }
  .watch { max-width: 19rem; margin-block: 0 -6rem; }
  /* Tables become a list of entries. */
  table { min-width: 0; }
  thead { display: none; }
  tr, td { display: block; }
  tr + tr { border-top: 1px solid var(--line); }
  tr { padding: 0.8rem 1rem; }
  td { border: 0; padding: 0.1rem 0; }
  td:first-child { font-weight: 600; }
  td:nth-child(2):nth-last-child(2)::before { content: "To: "; color: var(--soft); }
  td:nth-child(3)::before { content: "Why: "; color: var(--soft); }
}
