:root {
  --bg: #fbf8f4; --fg: #1f1a17; --muted: #6b625b; --card: #ffffff; --line: #e6ddd3;
  --accent: #8a2fb8; --accent-fg: #ffffff; --danger: #b3261e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17120f; --fg: #f1ebe5; --muted: #b3a89e; --card: #221b17; --line: #3a302a;
          --accent: #cf9bff; --accent-fg: #1a0f22; --danger: #ffb4ab; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg);
       font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
header { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline; border-bottom: 1px solid var(--line);
         padding-bottom: .75rem; margin-bottom: 1.5rem; }
header a.brand { font-weight: 700; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
nav a { color: var(--muted); margin-right: 1rem; }
a { color: var(--accent); }
h1 { font-size: 1.8rem; line-height: 1.25; margin: .5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; }
.table { overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
button { font: inherit; border: 0; border-radius: 10px; padding: .65rem 1.1rem; cursor: pointer;
         background: var(--accent); color: var(--accent-fg); }
button.danger { background: var(--danger); color: var(--bg); }
button:disabled { opacity: .5; cursor: default; }
.status { margin-top: .75rem; min-height: 1.5em; }
footer { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .9rem; }

/* ── Homepage ─────────────────────────────────────────────────────────── */
:root { --hero-a: #f3e8ff; --hero-b: #e0f7fa; --shadow: 0 12px 40px rgba(40, 20, 60, .18); --teal: #00a3b4; }
@media (prefers-color-scheme: dark) { :root { --hero-a: #241634; --hero-b: #0e2a2e; --shadow: 0 12px 40px rgba(0, 0, 0, .5); --teal: #4fd6e3; } }

.home .wrap { max-width: 72rem; }
img, video { max-width: 100%; height: auto; display: block; }
.shot { border-radius: 18px; box-shadow: var(--shadow); background: #1d1f24; }

.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); border-radius: 28px;
        padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; gap: 2rem; align-items: center;
        grid-template-columns: 1.05fr 1fr; margin-bottom: 4rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 32rem; }
.hero .art { position: relative; }
.badge { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1rem; padding: .6rem 1rem; border-radius: 999px;
         background: var(--fg); color: var(--bg); font-weight: 600; font-size: .95rem; }
.badge small { font-weight: 400; opacity: .75; }
a.badge { text-decoration: none; }
a.badge:hover { opacity: .9; }

.beta { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); border-radius: 24px;
        padding: clamp(1.5rem, 4vw, 2.5rem); margin: 0 0 3rem; scroll-margin-top: 1rem; }
.beta h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .25rem 0 .5rem; letter-spacing: -.01em; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem;
         grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
            padding: 1rem 1.25rem; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem;
                    border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700;
                    margin-bottom: .5rem; }
.steps li strong { display: block; }

.section-title { text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; }

.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; margin-bottom: 4.5rem; }
.themes figure { margin: 0; }
.themes figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .5rem; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin: 0 0 4.5rem; }
.feature.flip .text { order: 2; }
.feature .text h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .75rem; letter-spacing: -.01em; }
.feature .text p { color: var(--muted); font-size: 1.05rem; }
.feature .media { display: flex; justify-content: center; gap: 1rem; }
.feature .media video { width: 100%; max-width: 24rem; }
.feature .media.tall img, .feature .media.tall video { max-height: 34rem; width: auto; }
.feature .media.pair img { width: 48%; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); }

.why { margin: 0 0 4.5rem; text-align: center; scroll-margin-top: 1rem; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: left; }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 34rem; }
.compare th, .compare td { padding: .65rem .85rem; border: 1px solid var(--line); vertical-align: middle; }
.compare tr > :first-child { border-left: 0; }
.compare tr > :last-child { border-right: 0; }
.compare thead tr:first-child > * { border-top: 0; }
.compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare tr.group th { background: var(--bg); color: var(--accent); text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; font-weight: 700; text-align: left; padding: 1.6rem .85rem .5rem; border-left: 0; border-right: 0; }
.compare tbody:first-of-type tr.group th { padding-top: .9rem; }
.compare thead th { font-size: .95rem; position: sticky; top: 0; background: var(--card); }
.compare thead th.us { color: var(--teal); }
.compare tbody th { font-weight: 600; }
.compare td { text-align: center; font-size: 1.1rem; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .yes { color: #2fb36b; }
.compare .no { color: #e5534b; }
.compare .soon { color: #9a6700; font-size: .9rem; font-weight: 600; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .compare .soon { color: #e3b341; } }
.compare td.yes:not(.count) { white-space: nowrap; }
.compare .count { font-weight: 700; }
.unk { color: var(--muted); }
.compare-note { color: var(--muted); font-size: .85rem; max-width: 46rem; margin: .75rem auto 0; }
.privacy-band { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 2rem; text-align: center; }
.privacy-band h2 { margin-top: 0; }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .themes { grid-template-columns: 1fr 1fr; gap: .75rem; }
}
