/* The colours of docs/design/tokens.json (Aegean Cloud), light and dark. */
:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --outline: #d5dde8;
  --text: #0b1a2e;
  --text-secondary: #4a5a70;
  --primary: #1749e5;
  --on-primary: #ffffff;
  --primary-container: #e3eafd;
  --on-primary-container: #0a2a8f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #1b2742;
    --outline: #2e3c5a;
    --text: #eef2f8;
    --text-secondary: #a9b6ca;
    --primary: #7c9cff;
    --on-primary: #0b1220;
    --primary-container: #1c2e66;
    --on-primary-container: #c9d6ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 28rem;
  margin: 0 auto;
  padding: 40px 20px 48px;
}

.brand {
  margin: 0 0 32px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead { margin: 0 0 24px; color: var(--text-secondary); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  width: 100%;
  margin-bottom: 24px;
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.button[hidden], [hidden] { display: none; }

.steps {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0 0 12px;
  padding: 16px 16px 16px 56px;
  border-radius: 20px;
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.step-title { margin: 2px 0 10px; font-weight: 600; }

.stores { display: flex; flex-wrap: wrap; gap: 8px; }

.note { margin: 8px 0 0; font-size: 14px; color: var(--text-secondary); }

.code {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
}

.code-label { margin: 0; font-size: 14px; color: var(--text-secondary); }

.code-value {
  margin: 4px 0 14px;
  font: 700 30px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
}
