:root {
  color-scheme: dark;
  --bg: #0e1511;
  --panel: #15211a;
  --line: #304337;
  --ink: #f2f7ef;
  --muted: #afc0b4;
  --accent: #bbf28c;
  --amber: #ffd08a;
  font-family: Inter, "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 85% 28%, #1b3021 0%, transparent 44%), var(--bg);
}
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .26em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.125rem; font-weight: 750; text-decoration: none; }
.mark { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--accent); border-radius: 50%; }
.mark::after { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
nav { display: flex; gap: 24px; font-size: .9rem; }
nav a { text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 7vw, 105px);
  align-items: center;
  min-height: 500px;
  padding: 76px 0;
}
.eyebrow, .chip, .flow li > span, summary, dl { font-family: "SFMono-Regular", Consolas, monospace; }
.eyebrow { display: flex; gap: 9px; align-items: center; color: var(--accent); font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; }
.eyebrow span, .signal { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--accent); }
h1 { margin: 18px 0; font-size: clamp(3.35rem, 7.2vw, 6.6rem); line-height: .93; letter-spacing: -.075em; }
h1 span { color: var(--accent); }
.intro > p:not(.eyebrow) { max-width: 35ch; margin: 24px 0 28px; font-size: 1.14rem; line-height: 1.55; color: var(--muted); }
.primary { display: inline-flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 7px; background: var(--accent); color: #182515; font-size: .92rem; font-weight: 750; text-decoration: none; }
.primary:hover { color: #182515; background: #d5ffc0; }
.trace { align-self: center; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 20px 55px #05080570; }
.trace-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px; }
.trace-header h2 { margin: 0; font-size: 1.06rem; }
.trace-header p { color: var(--muted); margin: 5px 0 0; font-size: .81rem; }
.chip { padding: 4px 6px; font-size: .68rem; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; color: var(--muted); }
details { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: 9px; margin: 4px; padding: 11px 15px; cursor: pointer; font-size: .82rem; border-radius: 6px; }
summary:hover { background: #1e2f24; }
summary::after { content: "+"; color: var(--muted); font-size: 1rem; }
details[open] summary::after { content: "−"; }
.outcome { margin-left: auto; color: var(--accent); }
.outcome.warning { color: var(--amber); }
.signal.warning { background: var(--amber); }
dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 20px 16px; padding: 12px; border-radius: 6px; background: var(--bg); font-size: .78rem; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.trace-footer { border-top: 1px solid var(--line); padding: 12px 20px; color: var(--muted); font-size: .8rem; }
.flow { padding: 36px 0 52px; border-top: 1px solid var(--line); }
.flow-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.flow-header h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.flow-header a { color: var(--accent); font-size: .87rem; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 24px 0 0; }
.flow li { padding: 17px 18px; border: 1px solid var(--line); border-radius: 8px; }
.flow li > span { font-size: .74rem; color: var(--accent); }
.flow h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.flow p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
@media (max-width: 790px) {
  .hero { grid-template-columns: 1fr; padding: 60px 0; }
  .intro > p:not(.eyebrow) { max-width: 42ch; }
  .flow ol { grid-template-columns: 1fr; }
}
@media (max-width: 475px) {
  .shell { width: calc(100% - 36px); }
  .site-header { gap: 12px; padding: 17px 0; }
  nav { gap: 11px; }
  .flow-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .trace-header { padding: 16px; }
}
