:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(14, 23, 38, 0.86);
  --panel-2: rgba(24, 38, 61, 0.9);
  --text: #edf6ff;
  --muted: #a6bdd6;
  --line: rgba(144, 190, 255, 0.18);
  --accent: #78e6d5;
  --accent-2: #ffd166;
  --accent-3: #ff7b72;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(120,230,213,0.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255,209,102,0.12), transparent 25%),
    linear-gradient(180deg, #091220 0%, #050a14 100%);
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: 0.08; background-image: radial-gradient(circle, rgba(255,255,255,.6) 0.7px, transparent 0.7px); background-size: 18px 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.accent { background: linear-gradient(135deg, rgba(120,230,213,.18), rgba(255,209,102,.12)), var(--panel); }
.tilt { transform: rotate(-0.7deg); }
.hero { margin-bottom: 1.2rem; }
.eyebrow { color: var(--accent-2); letter-spacing: .15em; font-size: .78rem; text-transform: uppercase; }
.lede, .muted-line, .hint { color: var(--muted); }
.grid { display: grid; gap: 1rem; margin-top: 1rem; }
.two-up { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.section-heading { margin-bottom: 1rem; }
.project, .report-panel, .terminal { height: 100%; }
.spark-list { margin: 0; padding-left: 1.2rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.badges span, .pill {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: .35rem .7rem;
  color: #dff7ff;
  background: rgba(255,255,255,0.05);
}
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; }
.button {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: .85rem 1rem;
  font-weight: 700; font-size: .95rem; transition: transform .12s ease, opacity .12s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: linear-gradient(135deg, var(--accent), #67b8ff); color: #072033; }
.ghost { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid rgba(255,255,255,0.12); }
pre {
  white-space: pre-wrap; word-wrap: break-word; margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #d9f4ff;
}
.terminal-bar { display: flex; gap: .4rem; margin-bottom: .8rem; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); }
label { display: block; margin-bottom: .7rem; font-weight: 600; }
input[type="range"] { width: 100%; }
.footer { margin-top: 1.5rem; color: var(--muted); text-align: center; }
@media (max-width: 720px) { .shell { width: min(100% - 1rem, 1120px); } }
