:root {
  --bg: #0b101c;
  --panel: rgba(15, 22, 38, 0.8);
  --text: #edf3fb;
  --muted: #aab8cf;
  --line: rgba(255,255,255,0.12);
  --accent: #7cf3d0;
  --accent-2: #68a9ff;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --shadow: 0 20px 50px rgba(0,0,0,0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(124,243,208,0.12), transparent 30%), linear-gradient(180deg, #09101a 0%, #0e1728 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }
.hero, .section { padding: 72px 0; }
.hero-grid, .tool-layout, .result-grid, .three-up { display: grid; gap: 24px; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.tool-layout { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.result-grid { grid-template-columns: repeat(2, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.hero h1, .section h2, .hero-mini h1 { margin: 0 0 16px; line-height: 1.02; letter-spacing: -0.04em; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.9rem); }
.section h2, .hero-mini h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.7; max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--accent); font-weight: 700; margin: 0 0 14px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 22px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: 0.2s ease;
  font: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #08101a; }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.cta-row, .planner-actions, .inline-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row { margin: 28px 0; }
.bullet-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.compact li + li { margin-top: 8px; }
.small-note { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.mini-label { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; }
.section-heading { margin-bottom: 28px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.full-width { grid-column: 1 / -1; }
label span { display: block; margin-bottom: 8px; font-weight: 600; }
input[type="number"], input[type="text"], textarea, select {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--text); padding: 14px 16px; font: inherit;
}
textarea { min-height: 220px; resize: vertical; }
.planner textarea { min-height: 120px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 999px; font-weight: 800; letter-spacing: -0.01em; border: 1px solid transparent;
}
.status-good { background: rgba(52,211,153,0.12); color: #c8ffea; border-color: rgba(52,211,153,0.28); }
.status-warn { background: rgba(251,191,36,0.12); color: #ffe6a4; border-color: rgba(251,191,36,0.28); }
.status-bad { background: rgba(251,113,133,0.12); color: #ffd2db; border-color: rgba(251,113,133,0.28); }
.top-gap { margin-top: 18px; }
.accent-card { background: linear-gradient(180deg, rgba(124,243,208,0.07), rgba(104,169,255,0.08)), var(--panel); }
.caveat-card { margin-top: 24px; }
.table-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.info-card h3, .card h3, .card h4 { margin-top: 0; }
.error-note { color: #ffd2db; font-weight: 600; margin-top: 16px; }
.wide-card { grid-column: 1 / -1; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose a { color: var(--accent); text-decoration: underline; }
.muted-band { background: rgba(255,255,255,0.02); }
.site-footer {
  width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px;
  display: flex; justify-content: space-between; gap: 18px; color: var(--muted); border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-grid, .tool-layout, .result-grid, .three-up, .field-grid { grid-template-columns: 1fr; }
  .wide-card, .full-width { grid-column: auto; }
  .table-header, .site-footer { flex-direction: column; align-items: flex-start; }
}
@media print {
  .btn, .site-footer nav, .eyebrow { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .hero, .section { box-shadow: none; background: #fff; border-color: #ddd; }
}
