:root {
  color-scheme: light;
  --page: #f4f7fc; --paper: #fff; --ink: #16243b; --muted: #465874; --line: #ccd9ea;
  --blue: #2556a1; --blue-hover: #1f4684; --blue-soft: #e5eefc; --night: #111c30; --night-2: #1b2a47;
  --night-ink: #eef4ff; --night-muted: #b6c8e4; --gold: #8a5a00;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.6 "Segoe UI", system-ui, sans-serif; background: var(--page); color: var(--ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2 { letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
a { color: var(--blue); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #4a79c7; outline-offset: 3px; }
.shell { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.header { border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav { display: flex; gap: clamp(.8rem, 2.5vw, 1.8rem); flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; }
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 36ch; margin-block: 1.1rem 1.6rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .55rem 1.2rem; border-radius: .7rem; border: 1px solid transparent; background: var(--blue); color: #fff; font-weight: 650; text-decoration: none; }
a.button:hover { background: var(--blue-hover); }
.button.ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
a.button.ghost:hover { background: var(--blue-soft); }
.button.pending { background: #5b6f91; cursor: default; }
.note { color: var(--muted); font-size: .9rem; margin-top: .9rem; }

/* product illustration, built in HTML with invented data */
.demo { background: var(--night); border-radius: 1.1rem; padding: .7rem; box-shadow: 0 24px 55px rgb(17 28 48 / .25); }
.demo-screen { background: var(--page); border-radius: .65rem; padding: 1rem; display: grid; gap: .55rem; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.demo-head span { color: var(--muted); font-size: .8rem; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.demo-chips i { font-style: normal; font-size: .8rem; font-weight: 600; padding: .1rem .65rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.demo-chips i.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.demo ol { list-style: none; padding: 0; display: grid; gap: .45rem; }
.demo li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; padding: .55rem .75rem; }
.demo li > b:first-child { color: var(--gold); text-align: center; }
.demo li strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo li small { color: var(--muted); }
.demo li > b:last-child { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.demo-caption { color: var(--night-muted); font-size: .78rem; text-align: center; padding-top: .5rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: .9rem; padding: 1.25rem; }
.card p { color: var(--muted); margin-top: .45rem; }
.step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; background: var(--blue-soft); color: var(--blue); font-weight: 700; margin-bottom: .8rem; }

.dark { background: var(--night); color: var(--night-ink); }
.dark p, .dark li { color: var(--night-muted); }
.dark b { color: var(--night-ink); }
.dark ul { padding-left: 1.2rem; display: grid; gap: .6rem; margin-top: 1.4rem; max-width: 62ch; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.6rem; max-width: 46rem; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: .9rem; padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.plan.featured { border: 2px solid var(--blue); }
.price b { font-size: 2.6rem; letter-spacing: -.04em; }
.price span { color: var(--muted); }
.plan ul { padding: 0; list-style: none; display: grid; gap: .4rem; }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: .5rem; }

details { background: var(--paper); border: 1px solid var(--line); border-radius: .75rem; padding: .8rem 1rem; margin-top: .6rem; max-width: 46rem; }
summary { cursor: pointer; font-weight: 650; }
details p { color: var(--muted); margin-top: .6rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding-block: 1.6rem; }
.footer p { max-width: 54ch; }

.document { max-width: 46rem; padding-block: 2.5rem 4rem; }
.document h2 { font-size: 1.35rem; margin-top: 2rem; }
.document p, .document ul { margin-top: .7rem; }
.document h1 { font-size: 2.2rem; }

@media (max-width: 800px) { .hero { grid-template-columns: minmax(0, 1fr); } }
