:root {
  color-scheme: dark;
  --bg: #09111f;
  --panel: #111c2f;
  --panel-2: #16243b;
  --text: #eef5ff;
  --muted: #abc0d8;
  --line: rgba(255,255,255,.13);
  --brand: #83f7c3;
  --brand-2: #82aaff;
  --warning: #ffd166;
  --danger: #ff8fa3;
  --good: #8ff7a7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(130,170,255,.22), transparent 34rem),
    radial-gradient(circle at 85% 20%, rgba(131,247,195,.15), transparent 30rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  position: sticky;
  top: 0;
  background: rgba(9,17,31,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.brand {
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  font-size: 1.15rem;
}
.brand span { color: var(--brand); }
nav { display: flex; gap: .35rem; flex-wrap: wrap; }
nav a {
  color: var(--muted);
  padding: .55rem .75rem;
  border-radius: 999px;
}
nav a.active, nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) 0;
}
footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}
.hero-copy, .hero-panel, .panel, .card, .callout {
  background: linear-gradient(145deg, rgba(17,28,47,.96), rgba(15,25,42,.88));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
}
.hero-copy { padding: clamp(1.5rem, 5vw, 4rem); }
.hero-panel, .panel, .card, .callout { padding: 1.25rem; }
.hero h1, .page-title h1 {
  margin: .35rem 0 1rem;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.07em;
}
.hero p, .page-title p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 70ch; }
.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .72rem;
}
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.button:hover { text-decoration: none; background: rgba(255,255,255,.13); }
.button.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #07111f; border: 0; }
.button.large { width: 100%; font-size: 1.05rem; min-height: 3.25rem; }
.grid { display: grid; gap: 1rem; margin: 1rem 0; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card h3, .panel h2, .callout h2 { margin: .4rem 0 .5rem; }
.card p, .panel p, .callout p, li { color: var(--muted); line-height: 1.6; }
.check-list { padding-left: 1.25rem; }
.page-title { margin-bottom: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 1rem; }
.stack { display: grid; gap: .8rem; }
label { font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  color: var(--text);
  padding: .85rem 1rem;
  font: inherit;
}
textarea { resize: vertical; }
.callout { background: linear-gradient(145deg, rgba(22,36,59,.96), rgba(17,28,47,.82)); }
.warning { border-color: rgba(255,209,102,.4); }
.muted { color: var(--muted); }
.uri {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(0,0,0,.24);
}
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .55rem 1rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; word-break: break-word; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.status {
  display: inline-flex;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  white-space: nowrap;
}
.status.claimed, .status.approved, .status.receipt_exported { color: var(--good); }
.status.denied, .status.expired { color: var(--danger); }
.status.handoff_issued, .status.review_started { color: var(--warning); }
.timeline { display: grid; gap: .75rem; }
.timeline-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.timeline-item time { color: var(--brand); font-size: .85rem; }
.timeline-item h3 { margin: .25rem 0; }
.timeline-item p { margin: 0; }
.section-heading { margin-bottom: 1rem; }
.handoff-card { display: grid; gap: .75rem; }
code { color: var(--brand); }
@media (max-width: 820px) {
  .hero, .grid.two, .grid.three, .split { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero h1, .page-title h1 { font-size: clamp(2.1rem, 12vw, 3.7rem); }
}
