:root {
  --bg: #0a0a0a;
  --bg-raised: #101010;
  --bg-panel: #0d0f0f;
  --fg: #ededed;
  --fg-muted: #a1a1a1;
  --fg-dim: #6f6f6f;
  --border: #262626;
  --border-soft: #1c1c1c;
  --green: #3fb950;
  --green-soft: rgba(63, 185, 80, 0.14);
  --yellow: #d29922;
  --blue: #58a6ff;
  --gray-cell: #2a2e33;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.pulse-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-soft); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63,185,80,.45); }
  70% { box-shadow: 0 0 0 7px rgba(63,185,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); }
}

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border-soft); background: rgba(10,10,10,.8); backdrop-filter: blur(12px); }
.nav-wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 210deg, #3fb950, #d7ff5e 46%, #101010 46%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.brand-badge { padding: 3px 7px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg-muted); background: var(--bg-raised); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .1em; }
.desktop-nav { display: flex; gap: 26px; font-size: 14px; color: var(--fg-muted); }
.desktop-nav a:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.gh-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 13px; background: var(--bg-raised); transition: color .15s, border-color .15s; }
.gh-link:hover { color: var(--fg); border-color: #404040; }
.gh-link svg { opacity: .85; }
.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; border: 1px solid transparent; }
.button-primary { color: #0a0a0a; background: var(--fg); }
.button-primary:hover { background: #d8d8d8; }
.button-ghost { color: var(--fg); border-color: var(--border); background: var(--bg-raised); }
.button-ghost:hover { border-color: #404040; }
.nav-cta { border-radius: 999px; padding: 0 16px; }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-toggle span { width: 20px; height: 1.5px; display: block; margin: 5px 0; background: var(--fg); }
.mobile-menu { display: none; }

/* HERO */
.hero { position: relative; padding: 120px 0 90px; border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%); }
.hero-inner { position: relative; max-width: 880px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-raised); color: var(--fg-muted); font-size: 12px; }
.hero-badge.mono { font-size: 11px; letter-spacing: .02em; }
h1 { font-size: clamp(44px, 7vw, 78px); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
h1 em { font-style: italic; font-weight: 500; color: var(--fg-dim); }
.hero-lede { max-width: 560px; margin: 26px 0 32px; color: var(--fg-muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button { min-height: 42px; padding: 0 18px; font-size: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 56px 0 0; border: 1px solid var(--border-soft); border-radius: 12px; background: rgba(16,16,16,.6); overflow: hidden; }
.hero-stats > div { flex: 1 1 160px; min-width: 150px; padding: 16px 20px; border-right: 1px solid var(--border-soft); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats dt { color: var(--fg-dim); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-stats dd { margin: 4px 0 0; color: var(--fg); font-size: 22px; font-weight: 600; letter-spacing: -.03em; font-family: var(--sans); }

/* STATUS */
.status-section { padding: 88px 0 72px; }
.status-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: stretch; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-raised); font-size: 13px; }
.pill-label { display: flex; align-items: center; padding: 7px 10px; color: #fff; background: #3c3c3c; font-size: 12px; }
.pill-neutral .pill-label { background: transparent; color: var(--fg-dim); }
.pill-value { display: flex; align-items: center; padding: 7px 10px; color: #7ee787; background: #22331f; font-weight: 600; font-variant-numeric: tabular-nums; }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.panel { border: 1px solid var(--border-soft); border-radius: 10px; background: var(--bg-panel); padding: 18px; }
.panel-title { min-height: 22px; margin-bottom: 14px; color: var(--fg); font-size: 13px; }
.panel-title .mono { color: var(--fg); font-size: 12.5px; }
.treemap { position: relative; height: 400px; border: 1px solid #060707; background: #050606; overflow: hidden; }
.cell-layer, .block-layer { position: absolute; inset: 0; z-index: 0; }
.block { position: absolute; overflow: hidden; outline: 1px solid #050606; outline-offset: -1px; background: var(--gray-cell); }
.block-inner { position: absolute; inset: 0; display: block; }
.block-label { position: absolute; z-index: 3; top: 4px; left: 4px; max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; color: #f2f8f3; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.25; padding: 2px 6px 3px; border-radius: 4px; background: rgba(5, 10, 9, .68); box-shadow: 0 1px 4px rgba(0,0,0,.45); white-space: nowrap; pointer-events: none; }
.cell { position: absolute; background: transparent; transition: background-color .5s ease; }
.cell.filled { background-color: var(--fill, var(--green)); }
.block.mini .cell, .block.mini { }

.status-note { margin-top: 22px; color: var(--fg-dim); font-size: 11px; line-height: 1.8; max-width: 760px; }

/* SECTION SHARED */
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; color: var(--fg-muted); font-size: 14px; }
.section-head.left h2 { margin: 0; }

/* LOG */
.log-section { padding: 88px 0; border-top: 1px solid var(--border-soft); }
.log-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-soft); }
.log-entry { display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--border-soft); }
.log-entry time { color: var(--fg-dim); font-size: 11px; letter-spacing: .08em; }
.log-body h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.log-body p { max-width: 640px; color: var(--fg-muted); font-size: 13px; }
.tag { padding: 4px 9px; border-radius: 999px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; white-space: nowrap; }
.tag-green { color: #7ee787; background: var(--green-soft); border: 1px solid rgba(63,185,80,.3); }
.tag-blue { color: var(--blue); background: rgba(88,166,255,.12); border: 1px solid rgba(88,166,255,.3); }
.tag-neutral { color: var(--fg-muted); background: var(--bg-raised); border: 1px solid var(--border); }

/* TARGETS TABLE */
.targets-section { padding: 88px 0; border-top: 1px solid var(--border-soft); background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 40%); }
.table-wrap { border: 1px solid var(--border-soft); border-radius: 10px; overflow-x: auto; background: var(--bg-raised); }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
thead th { padding: 13px 18px; border-bottom: 1px solid var(--border-soft); color: var(--fg-dim); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-align: left; background: rgba(255,255,255,.015); }
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--border-soft); font-size: 13px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody td b { display: block; font-weight: 600; }
tbody td small { display: block; margin-top: 2px; color: var(--fg-dim); font-size: 11px; }
tbody td.mono { color: var(--fg-muted); font-size: 12px; }
.td-flex { display: flex; align-items: center; gap: 10px; }
.bar { width: 130px; height: 6px; border-radius: 999px; background: #1b1b1b; overflow: hidden; }
.bar i { display: block; width: var(--w, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2ea043, #56d364); }
.green-t { color: #7ee787; font-size: 11px; }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--fg-muted); white-space: nowrap; }
.state i { width: 7px; height: 7px; border-radius: 50%; }
.state-green { color: #7ee787; }.state-green i { background: var(--green); }
.state-yellow { color: #e3b341; }.state-yellow i { background: var(--yellow); }
.state-gray { color: var(--fg-dim); }.state-gray i { background: #4a4a4a; }

/* DISCLOSURE */
.disclosure-section { padding: 88px 0; border-top: 1px solid var(--border-soft); }
.disclosure-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.eyebrow { color: var(--fg-dim); font-size: 11px; letter-spacing: .14em; margin-bottom: 16px; }
.disclosure-copy h2 { margin-bottom: 18px; }
.disclosure-copy > p { color: var(--fg-muted); font-size: 14px; margin-bottom: 28px; }
.rule-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rule-list li { position: relative; padding-left: 26px; color: var(--fg-muted); font-size: 14px; line-height: 1.6; }
.rule-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.rule-list b { color: var(--fg); font-weight: 600; }
.disclosure-card { border: 1px solid var(--border-soft); border-radius: 10px; background: var(--bg-raised); padding: 22px; }
.card-kicker { margin-bottom: 16px; color: var(--fg-dim); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.state-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--fg); }

/* FAQ */
.faq-section { padding: 88px 0 96px; border-top: 1px solid var(--border-soft); }
.faq-grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--border-soft); }
.faq-list details { border-bottom: 1px solid var(--border-soft); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--fg-dim); font-weight: 400; font-size: 18px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 640px; margin: -6px 44px 22px 0; color: var(--fg-muted); font-size: 13.5px; line-height: 1.75; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border-soft); background: #070707; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 40px 0; }
.footer-left p { margin-top: 12px; color: var(--fg-dim); font-size: 12px; line-height: 1.7; }
.footer-brand { }
.footer-right { display: flex; align-items: center; gap: 26px; color: var(--fg-dim); font-size: 11px; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .panels { grid-template-columns: 1fr; }
  .treemap { height: 340px; }
  .disclosure-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .log-entry { grid-template-columns: 80px 1fr; }
  .log-entry .tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 36px, 640px); }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 18px 18px; border-top: 1px solid var(--border-soft); background: rgba(10,10,10,.97); }
  .mobile-menu a { padding: 10px 0; color: var(--fg-muted); font-size: 14px; }
  .hero { padding: 88px 0 70px; }
  .hero-stats > div { flex: 1 1 45%; border-bottom: 1px solid var(--border-soft); }
  .hero-stats > div:nth-child(2n) { border-right: 0; }
  .hero-stats > div:nth-child(n+3) { border-bottom: 0; }
  .status-head { flex-direction: column; align-items: flex-start; }
  .log-list { border-top: 0; }
  .log-entry { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .log-entry time { display: block; }
}
@media (max-width: 480px) {
  .hero-badges { gap: 7px; }
  h1 { font-size: 46px; }
  .panels { gap: 16px; }
  .panel { padding: 12px; }
  .treemap { height: 290px; }
  .pill-label, .pill-value { font-size: 11px; padding: 6px 8px; }
}
