:root {
  color-scheme: dark;
  --bg: #0e0f12;
  --panel: #17181c;
  --label: #f5f5f7;
  --muted: #98989d;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #1db954;
  --on-accent: #04210d;
  --cyan: #3ec6e0;
  --gold: #f5a623;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--label);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(62, 198, 224, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 10%, rgba(245, 166, 35, 0.1), transparent 55%);
}

.wrap {
  position: relative;
  width: min(640px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 48px;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.lede {
  margin: 0 0 32px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.platform {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.platform-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
}

.platform-btn:hover {
  color: var(--label);
}

.platform-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--label);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-primary.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--label);
}

.note {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
}

.step {
  background: var(--panel);
  padding: 16px 18px;
}

.step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

footer {
  position: relative;
  width: min(640px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--cyan);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}