/* skye-web: the setup page. Same paper, ink and neon; one column of steps. */
.setup { max-width: 720px; margin: 0 auto; padding: 120px 20px 80px; }
.setup h1 {
  text-align: center; margin: 14px 0 12px;
  font-size: clamp(34px, 6vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
}
.center { text-align: center; justify-content: center; }
.setup .lede.center { margin: 0 auto 36px; }

.who { font-size: 13px; color: var(--ink-faint); padding: 0 6px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkish { background: none; border: none; font: inherit; font-size: 14px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.btn { cursor: pointer; font-family: inherit; }
button.btn:disabled { opacity: .6; cursor: progress; }

.alert {
  background: #fdecea; border: 1px solid #f3c4bd; color: #8a2a1d;
  border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 15px;
}

.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 14px; padding: 20px 22px;
  transition: opacity .2s;
}
.step[data-state="locked"] { opacity: .5; box-shadow: none; }
.step[data-state="locked"] .step-body { display: none; }
.step[data-state="done"] { box-shadow: none; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; flex: 1; }
.num {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
}
.step[data-state="active"] .num { background: var(--neon); border-color: var(--ink); color: var(--ink); }
.step[data-state="done"] .num { background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 0; }
.step[data-state="done"] .num::after { content: '\2713'; font-size: 14px; }
.state { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--ink-faint); }
.step[data-state="done"] .step-body { padding-top: 6px; }
.step[data-state="done"] .step-body > div:not([hidden]) > .btn { display: none; }
.step-body { padding: 14px 0 2px 40px; color: var(--ink-soft); font-size: 16px; }
.step-body p + .btn, .step-body p + button { margin-top: 14px; }
.step-body .btn { display: inline-block; }
.step-body [hidden], .step [hidden] { display: none !important; }

.row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.row input {
  flex: 1; min-width: 0; font: 15px 'Geist Mono', monospace; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px;
}
.row input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.mini { margin: 4px 0 4px 18px; display: grid; gap: 8px; }
.mini .btn { padding: 8px 16px; font-size: 14px; }
.hint { margin-top: 10px; font-size: 14px; color: var(--ink-faint); white-space: pre-line; }
.working { display: flex; align-items: center; gap: 10px; }
.spin {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.bigcode { margin: 10px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bigcode span {
  font: 600 22px 'Geist Mono', monospace; letter-spacing: 1px; color: var(--ink);
  background: var(--neon); border: 1.5px solid var(--ink); border-radius: 10px; padding: 6px 14px;
}
.copy-sm {
  font: 12px 'Geist Mono', monospace; color: var(--ink-soft); cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper); }
.choice h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.choice p { font-size: 14.5px; }
.choice .ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.done-card {
  text-align: center; margin-top: 26px; padding: 30px 24px; border-radius: var(--radius);
  background: var(--neon); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.done-card h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 8px; }
.done-card p { color: var(--ink); max-width: 34em; margin: 0 auto; }

@media (max-width: 640px) {
  .setup { padding-top: 100px; }
  .step-body { padding-left: 0; }
  .choices { grid-template-columns: 1fr; }
  .who { display: none; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

.trial-note { font: 13.5px 'Geist Mono', monospace; color: var(--ink-faint); margin: -4px 0 14px; }
.plan-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 14px; font-size: 15px; color: var(--ink-soft);
}
.plan-bar[data-status="expired"] { background: var(--amber-bg); border-color: var(--amber-line); color: var(--ink); }
.plan-bar .btn { padding: 9px 18px; font-size: 14px; }
.plan-bar[hidden], .plan-bar [hidden] { display: none !important; }
