/* Vela Blue (skill vela-blue-design): one electric blue, white ink, thin grid, thin type. */
:root {
  --blue: #1414ff;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.22);
  --track: rgba(255, 255, 255, 0.10);
  --cell: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--blue); }
body {
  min-height: 100vh;
  background: var(--blue);
  color: var(--white);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
.grid {
  position: fixed; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: -1px -1px;
}
a { color: inherit; }
.mono, code, pre, .eyebrow, .chip, dt, .switch button, .max { font-family: "JetBrains Mono", ui-monospace, monospace; }

.top {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; height: var(--cell); margin: 0 auto; padding: 0 40px;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 30px; font-weight: 400; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 38px; height: 38px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
nav a { text-decoration: none; color: var(--soft); }
nav a:hover { color: var(--white); }

main {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 0 40px 80px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0;
}
.panel { background: var(--blue); border: 1px solid var(--line); margin: -0.5px; padding: 40px; }
.hero { grid-column: 1 / -1; padding: 64px 40px 48px; }
.card { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; }
.how { grid-column: 1 / -1; }
.fine { grid-column: 1 / -1; color: var(--soft); font-size: 15px; line-height: 1.6; }

.eyebrow { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
h1 { margin-top: 18px; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; font-weight: 300; letter-spacing: -0.035em; }
h2 { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; }
.lede { margin-top: 24px; max-width: 640px; font-size: 22px; line-height: 1.45; color: var(--soft); }
.soft { color: var(--soft); }
.status { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 16px; }
.chip { border: 1px solid var(--white); padding: 6px 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.chip[data-tone="live"] { background: var(--white); color: var(--blue); }

.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
dt { color: var(--soft); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; align-self: center; }
dd { font-variant-numeric: tabular-nums; text-align: right; }
.big { font-size: 64px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.switch button { background: transparent; color: var(--soft); border: 0; padding: 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--white); color: var(--blue); }
.field { display: grid; gap: 8px; font-size: 13px; color: var(--soft); }
.input { display: flex; border: 1px solid var(--white); }
.input input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: 300 28px "Inter Tight", sans-serif; padding: 12px 16px; outline: none; }
.input input::placeholder { color: var(--track); }
.max { background: transparent; color: var(--white); border: 0; border-left: 1px solid var(--line); padding: 0 18px; font-size: 13px; cursor: pointer; }

.btn { background: transparent; color: var(--white); border: 1px solid var(--white); padding: 12px 20px; font: 400 16px "Inter Tight", sans-serif; cursor: pointer; }
.btn.solid { background: var(--white); color: var(--blue); font-size: 18px; padding: 16px 20px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:focus-visible, .switch button:focus-visible, .max:focus-visible, .input:focus-within { outline: 2px solid var(--white); outline-offset: 3px; }
.note { min-height: 1.4em; font-size: 15px; line-height: 1.5; color: var(--soft); }
.note[data-tone="ok"] { color: var(--white); }
.note[data-tone="warn"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

.how ol { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; counter-reset: step; }
.how li { counter-increment: step; font-size: 18px; line-height: 1.5; color: var(--soft); }
.how li::before { content: "0" counter(step); display: block; font: 400 13px "JetBrains Mono", monospace; color: var(--white); margin-bottom: 12px; }
.how b { color: var(--white); font-weight: 400; }
code { font-size: 0.85em; }
.code { margin-top: 32px; border: 1px solid var(--line); padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }

@media (max-width: 860px) {
  .top, main { padding-left: 16px; padding-right: 16px; }
  nav { gap: 16px; font-size: 14px; }
  nav a { display: none; }
  .card { grid-column: 1 / -1; }
  .panel { padding: 28px 20px; }
  .how ol { grid-template-columns: 1fr; }
  .big { font-size: 48px; }
}
