:root {
  --page: #FFFBF5;
  --ink: #1B2140;          /* deep navy panel */
  --ink-2: #262D52;
  --text: #2B2B33;
  --muted: #6B6E80;
  --on-ink: #F5F3EE;
  --on-ink-muted: #A9ADC6;
  --spot: #FF8A6B;         /* coral spot colour */
  --spot-soft: #FFC2B0;
  --ok: #7BE0B5;
  --line: rgba(255, 255, 255, .12);
  --radius: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #0E1124; --text: #E9E8F0; --muted: #9A9DB4; color-scheme: dark; }
}
:root[data-theme="dark"] { --page: #0E1124; --text: #E9E8F0; --muted: #9A9DB4; color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--text);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  padding: 16px;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}

.panel {
  background: var(--ink);
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--on-ink);
  border-radius: var(--radius);
  padding: 28px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--spot-soft); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spot); }

h1 {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 10vw, 52px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
}
h1 b { font-weight: 700; }
h1 em { font-style: italic; font-weight: 700; color: var(--spot); }

p { margin: 0; color: var(--on-ink-muted); }
p strong { color: var(--on-ink); }

.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  background: var(--spot); color: var(--ink);
}
.btn.ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn[hidden] { display: none; }

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--on-ink-muted); }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,138,107,.16); color: var(--spot); font-weight: 700; font-size: 14px;
}
.steps li strong { color: var(--on-ink); }

.status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(123,224,181,.18); }
.dot.off { background: var(--spot); box-shadow: 0 0 0 4px rgba(255,138,107,.18); }

.big-check {
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--spot); color: var(--ink);
  margin: auto auto 8px;
  animation: pop .35s cubic-bezier(.2,1.4,.4,1);
}
.big-check svg { width: 56px; height: 56px; }
.center { text-align: center; align-items: center; justify-content: center; }
.spacer { flex: 1; }
.small { font-size: 13px; color: var(--on-ink-muted); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .big-check { animation: none; } }

section { display: contents; }
section[hidden], [hidden] { display: none !important; }
