:root {
  --background: #000;
  --card: #1c1c1e;
  --fill: #2c2c2e;
  --text: #fff;
  --secondary: rgba(235, 235, 245, 0.6);
  --hairline: rgba(84, 84, 88, 0.6);
  --accent: #ff6b2c;
  --on-accent: #000;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--background);
  color: var(--text);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.wordmark {
  margin: 0 0 56px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0 0 16px; }

.lede { color: var(--secondary); }

.code {
  margin: 32px 0;
  padding: 20px 16px;
  background: var(--card);
  border-radius: 26px;
  text-align: center;
}

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

.code-value {
  margin: 0;
  font: 600 40px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  user-select: all;
  -webkit-user-select: all;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.button.primary { background: var(--accent); color: var(--on-accent); }
.button.secondary { background: var(--fill); color: var(--text); margin-top: 12px; }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.pending {
  padding: 16px;
  border: 1px dashed var(--hairline);
  border-radius: 26px;
  color: var(--secondary);
  font-size: 15px;
}

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

ol.steps li {
  position: relative;
  padding: 0 0 20px 40px;
  color: var(--secondary);
  counter-increment: step;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fill);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

ol.steps strong { color: var(--text); font-weight: 600; }

footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--secondary);
  font-size: 13px;
}

.install { margin-top: 32px; }
