:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1c2330;
  --muted: #5b6577;
  --line: #e2e6ec;
  --accent: #2f5fb3;
  --accent-text: #ffffff;
  --good: #1f7a4d;
  --warn: #a15c07;
  --shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 24px rgba(20, 30, 50, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161d;
    --surface: #1a2029;
    --text: #e8ecf2;
    --muted: #9aa5b5;
    --line: #2a3240;
    --accent: #6c9cf0;
    --accent-text: #0d1320;
    --good: #5cc795;
    --warn: #e7a54c;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.logo svg { width: 18px; height: 18px; }
.brand { font-weight: 650; font-size: 17px; color: var(--text); text-decoration: none; }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-text);
  font-weight: 600; font-size: 17px; text-decoration: none;
  padding: 14px 22px; border-radius: 10px;
}
.btn:hover { filter: brightness(1.07); }
.btn svg { width: 20px; height: 20px; }
.small { font-size: 14px; color: var(--muted); margin-top: 10px; }

section { padding: 28px 0; }
h2 { font-size: 22px; margin: 0 0 16px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px 16px 62px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.card b { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }

.note {
  border-left: 4px solid var(--warn); background: var(--surface);
  border-radius: 8px; padding: 12px 16px; color: var(--text); margin-top: 14px;
}

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* the email-confirmed page */
.center { min-height: calc(100vh - 61px); display: grid; place-items: center; padding: 32px 16px; }
.panel {
  width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center;
}
.badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.badge svg { width: 28px; height: 28px; }
.badge.good { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.badge.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.panel h1 { font-size: 26px; margin: 0 0 10px; }
.panel p { color: var(--muted); margin: 0 0 12px; }
.panel .btn { margin-top: 12px; }
[hidden] { display: none !important; }
