/*
 * The onboarding pages — the form and the status page.
 *
 * The landing page's own palette and type (see /index.html), so leaving the
 * pitch for the form does not feel like leaving the site.
 */
:root {
  --bg: #0a0a0f;
  --raised: #101018;
  --surface: #14141c;
  --line: #23232f;
  --line-soft: #1a1a24;
  --text: #f5f5f8;
  --muted: #a0a0b4;
  --faint: #6a6a80;
  --accent: #ff2e7e;
  --accent-soft: rgba(255, 46, 126, 0.14);
  --win: #2eff8f;
  --amber: #ffb547;
  --red: #ff5d73;
  --pad: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Urbanist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--pad); }

header.top { border-bottom: 1px solid var(--line-soft); }
header.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { height: 24px; width: auto; display: block; }
.lockup span { font-weight: 900; letter-spacing: 0.02em; font-size: 16px; }
.lockup small { display: block; font-size: 9px; font-weight: 900; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-top: -2px; }
.spacer { flex: 1; }
.back { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.back:hover { color: var(--text); }

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 6px; }
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; margin: 14px 0 0; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hide { display: none !important; }

.intro { padding: clamp(36px, 7vw, 72px) 0 18px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 26px 0 0; }
.steps div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.steps b { display: block; color: var(--accent); font-size: 12px; letter-spacing: 0.16em; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 14px; }

section.block { background: var(--raised); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(18px, 3.5vw, 30px); margin: 18px 0; }
section.block > p.sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.package { position: relative; display: block; cursor: pointer; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; transition: border-color 0.15s ease, transform 0.15s ease; }
.package:hover { border-color: #3a3a4c; }
.package input { position: absolute; opacity: 0; pointer-events: none; }
.package.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.package .name { font-weight: 800; font-size: 18px; }
.package .price { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; margin: 6px 0 2px; }
.package .price small { font-size: 14px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.package ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.package li { padding: 3px 0; }
.package li b { color: var(--text); }
.package .desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
label .opt { color: var(--faint); font-weight: 600; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; }
textarea { min-height: 76px; resize: vertical; }
.hint { font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.field-err { font-size: 12.5px; color: var(--red); margin-top: 6px; min-height: 0; }
.bad input, .bad select, .bad textarea { border-color: var(--red); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }

.callout { border: 1px solid #5c4a1c; background: #1d170a; border-radius: 14px; padding: 12px 14px;
  font-size: 14px; color: #e8d3a8; margin-top: 14px; }
.callout b { color: var(--amber); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px;
  border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, opacity 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(255, 46, 126, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.form-err { color: var(--red); font-size: 14px; margin-top: 12px; min-height: 20px; }

.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; margin: 16px 0 0; }
.summary div span { display: block; font-size: 12px; color: var(--faint); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 2px; }
.summary div b { font-weight: 700; word-break: break-word; }
/* A transaction hash: a full row, small and monospaced, breaking anywhere. */
.summary code.hash { display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--text); word-break: break-all; line-height: 1.5; }

.statusline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800; border: 1px solid var(--line); background: var(--surface); }
.statusline .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--muted); }
.statusline.ok .dot { background: var(--win); box-shadow: 0 0 10px var(--win); }
.statusline.wait .dot { background: var(--amber); }
.statusline.bad .dot { background: var(--red); }

.linkbox { display: flex; gap: 8px; align-items: center; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.linkbox code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--muted); }
.linkbox button { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

footer.foot { color: var(--faint); font-size: 13px; padding: 34px 0 48px; }
footer.foot a { color: var(--muted); }
