:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #0b0c0e;
  --line: #2b2d32;
  --ink: #f2f3f5;
  --muted: #a6a9b1;
  --accent: #ff994d;
  font: 14px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg,#ffffff07 1px, transparent 1px); background-size: 48px 48px; }
header, main, footer { max-width: 1480px; margin: auto; padding-inline: clamp(14px, 4vw, 56px); }
header { display: flex; align-items: center; gap: clamp(10px, 4vw, 55px); min-height: 68px; position: sticky; top: 0; z-index: 5; background: #080809f5; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: .07em; line-height: 1.25; }
.brand img { flex: none; }
nav { display: flex; gap: 28px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
header button { margin-left: auto; white-space: nowrap; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.skip { position: fixed; left: 20px; top: -200px; z-index: 8; background: var(--panel); padding: 10px; }
.skip:focus { top: 12px; }
button, input { font: inherit; }
button, .button { display: inline-flex; justify-content: center; align-items: center; padding: 9px 13px; min-height: 42px; border: 1px solid var(--line); border-radius: 3px; background: #0d0e10; color: var(--ink); font-size: 11px; cursor: pointer; }
button:hover:not(:disabled), .button:hover { border-color: var(--accent); color: var(--accent); }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.accent { background: #ff994d16; color: var(--accent); border-color: var(--accent); }
.accent:hover:not(:disabled) { background: var(--accent); color: #13100d; }
.intro { position: relative; isolation: isolate; overflow: hidden; min-height: 405px; display: flex; align-items: center; margin-top: 20px; border: 1px solid var(--line); background: #030304; }
.intro::before, .intro::after { content: ""; position: absolute; z-index: 2; pointer-events: none; width: 23px; height: 23px; border-color: var(--accent); border-style: solid; }
.intro::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.intro::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
#rotation-field, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-scrim { background: linear-gradient(90deg,#030304 0%,#030304e8 30%,#03030445 76%,transparent), radial-gradient(ellipse at 20% 80%,#ff8b2912,transparent 65%); }
.hero-copy { position: relative; padding: clamp(18px, 5vw, 70px); width: 100%; }
.kicker, .eyebrow, .panel-head { font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.kicker { margin: 0 0 18px; }
.kicker b { color: var(--accent); }
h1 { font-size: clamp(24px, 5.35vw, 73px); line-height: 1.06; letter-spacing: -.075em; margin: 0; }
h1 b { color: transparent; background: linear-gradient(100deg,#fff0dc,var(--accent) 65%,#ffc089); background-clip: text; }
p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.description { max-width: 59ch; margin: 17px 0; }
.actions, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips { margin: 20px 0; }
.chips span { padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); background: #0b0c0edb; font-size: 9px; }
.hero-copy .button { text-transform: uppercase; }
.strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); border-top: 0; background: var(--panel); }
.strip > div { display: flex; gap: 7px 12px; flex-wrap: wrap; align-items: baseline; padding: 12px; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip span, .network { font-size: 10px; color: var(--muted); }
.strip strong { font-size: 12px; }
.network { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0 18px; }
.network span:first-child::before { content: "● "; color: var(--accent); }
.workspace { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.35fr) minmax(0,1fr); gap: 10px; }
.panel { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 14px; min-height: 49px; }
.tag { border: 1px solid #664328; color: var(--accent); padding: 4px 6px; white-space: nowrap; }
.panel-body { padding: 16px; }
h2 { margin: 8px 0; font-size: 19px; letter-spacing: -.05em; }
.metrics { margin: 18px 0; }
.metrics div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.metrics dt { color: var(--muted); }
.metrics dd { margin: 0; }
.clock { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 11px 14px; background: #080809; }
.clock strong { display: block; margin-top: 4px; font-size: 25px; color: var(--accent); }
.clock-mark { color: var(--accent); font-size: 30px; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; }
.steps li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { color: var(--muted); font-size: 11px; }
.steps li[aria-current] > span, .steps li[aria-current] strong { color: var(--accent); }
.steps strong { font-size: 12px; }
.steps p, .note { margin: 5px 0 8px; font-size: 11px; }
.ticket #ticket-note { margin-top: 0; }
form { margin-top: 12px; }
label { display: block; font-size: 12px; }
input[type=number] { width: 100%; min-height: 40px; padding: 8px 10px; margin: 6px 0; border: 1px solid var(--line); border-radius: 3px; background: #070809; color: var(--ink); }
.full { width: 100%; justify-content: space-between; }
.backup { margin-top: 10px; }
.import { position: relative; overflow: hidden; }
.import:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.import input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
output { display: block; margin-top: 14px; padding: 10px; border: 1px solid var(--line); overflow-wrap: anywhere; white-space: pre-line; font-size: 11px; line-height: 1.6; }
#notice[data-error] { color: #ffad94; }
.privacy { margin-top: 14px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 14px; }
.privacy-grid strong { font-size: 12px; }
.privacy-grid a { color: var(--accent); font-size: 11px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; padding-block: 18px; }
@media (max-width: 950px) { .workspace { grid-template-columns: 1fr 1fr; } .ticket { grid-column: 1 / -1; } }
@media (max-width: 620px) {
  header { min-height: 61px; }
  header nav { display: none; }
  .brand { font-size: 11px; }
  .brand img { width: 28px; height: 28px; }
  .intro { min-height: 335px; }
  .workspace, .privacy-grid { grid-template-columns: 1fr; }
  .strip span { font-size: 8px; }
  .strip strong { font-size: 11px; }
  .network { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.description a { color: var(--accent); text-decoration: underline; }
.creator { margin-top: 16px; }
.creator-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; }
.creator-fields input { display: block; width: 100%; min-height: 40px; padding: 8px 10px; margin: 6px 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #070809; color: var(--ink); }
