:root {
  --navy: #071b33;
  --blue: #2f6bff;
  --cyan: #55d6d0;
  --ink: #10233d;
  --muted: #64748b;
  --paper: #f3f0e8;
  --white: #ffffff;
  --line: #dce5f0;
  --orange: #ff5c35;
  --yellow: #f4c95d;
  --shadow: 0 18px 45px rgba(7, 27, 51, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.hero { color: var(--white); background: radial-gradient(circle at 80% 10%, rgba(85,214,208,.22), transparent 28%), linear-gradient(135deg, #06162b 0%, #0a2850 68%, #103c70 100%); padding-bottom: 72px; }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { color: var(--cyan); font-size: 1.4rem; }
.powered { color: #bbcae0; font-size: .82rem; }
.powered strong { color: white; }
.hero-copy { padding-top: 64px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(85,214,208,.36); border-radius: 999px; color: #c8fffb; background: rgba(85,214,208,.08); font-size: .78rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(85,214,208,.12); }
.eyebrow, .kicker, .activity-label, .prompt-label { color: var(--blue); letter-spacing: .16em; font-weight: 800; font-size: .71rem; }
.hero .eyebrow { margin-top: 34px; color: var(--cyan); }
h1 { font-size: clamp(2.7rem, 8vw, 5.6rem); line-height: .98; letter-spacing: -.065em; margin: 12px 0 22px; max-width: 820px; }
h1 span { color: var(--cyan); }
.lede { color: #d3deee; font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 620px; }
.refresh { color: #91a5bf; font-size: .78rem; margin-top: 28px; }
.section { padding: 72px 0 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.kicker { margin: 0 0 8px; }
h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.045em; }
.edition { font: 750 .7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); letter-spacing: .08em; }
.count, .time-pill { color: var(--muted); border: 1px solid var(--ink); border-radius: 0; padding: 7px 12px; font-size: .76rem; white-space: nowrap; background: transparent; }
.signal-monitor { min-height: 112px; display: grid; grid-template-columns: 160px 1fr 150px; align-items: center; gap: 24px; margin-bottom: 18px; padding: 18px 22px; background: var(--navy); color: white; }
.monitor-copy span { display: block; color: var(--cyan); font: 800 .62rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.monitor-copy strong { display: block; margin-top: 8px; font-size: .86rem; }
.pulse-line { width: 100%; height: 74px; }
.pulse-grid { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1; }
.pulse-path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: square; stroke-linejoin: bevel; filter: drop-shadow(0 0 5px rgba(85,214,208,.5)); }
.source-mix { display: grid; gap: 8px; font: 700 .65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.source-mix span { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; background: var(--cyan); }
.dot-git { background: var(--yellow); }
.dot-hn { background: var(--orange); }
.signal-grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.signal-card { background: #faf8f2; border: 0; border-radius: 0; padding: 24px; cursor: pointer; transition: background .18s ease; position: relative; overflow: hidden; }
.signal-card:hover, .signal-card:focus-within { background: white; }
.lead-signal { grid-row: 1 / span 2; padding: 34px; }
.lead-signal::after { content: "01"; position: absolute; right: -10px; bottom: -46px; color: rgba(47,107,255,.07); font: 900 12rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.12em; pointer-events: none; }
.signal-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; }
.source { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.source-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--blue); color: white; font: 800 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.signal-2 .source-mark { background: var(--yellow); color: var(--navy); }
.signal-3 .source-mark { background: var(--orange); }
.evidence-score { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; margin-top: 24px; color: var(--muted); }
.evidence-score span { font: 750 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.evidence-score strong { color: var(--ink); font: 850 1.35rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.evidence-score i { grid-column: 1 / -1; display: block; height: 5px; background: linear-gradient(90deg, var(--blue) var(--score), #d8d4ca var(--score)); }
.signal-2 .evidence-score i { background: linear-gradient(90deg, #c89c20 var(--score), #d8d4ca var(--score)); }
.signal-3 .evidence-score i { background: linear-gradient(90deg, var(--orange) var(--score), #d8d4ca var(--score)); }
.signal-card h3 { font: 750 1.1rem/1.25 Georgia, "Times New Roman", serif; margin: 18px 0 12px; letter-spacing: -.02em; }
.lead-signal h3 { max-width: 620px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.03; }
.signal-card p { color: var(--muted); line-height: 1.58; font-size: .9rem; }
.signal-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; font-size: .82rem; text-decoration: none; }
.choice-note { margin: -8px 0 24px; color: var(--muted); }
.activity-list { display: grid; gap: 22px; }
.activity-card { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 0; border: 2px solid var(--ink); border-radius: 0; color: var(--ink); background: #f9c74f; box-shadow: 9px 9px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.activity-card:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--ink); }
.action-card-2 { background: #8ed8d4; }
.action-card-3 { background: #d8cdf4; }
.action-card-2 .action-rail { background: var(--blue); color: white; }
.action-card-3 .action-rail { background: var(--navy); color: white; }
.activity-card.completed { opacity: .72; }
.activity-card.completed::after { content: "ACTION TAKEN"; position: absolute; right: 28px; top: 22px; padding: 5px 8px; border: 2px solid #14805e; color: #14805e; font: 900 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; transform: rotate(-2deg); }
.activity-card { position: relative; }
.action-rail { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 18px; background: var(--orange); border-right: 2px solid var(--ink); color: var(--navy); }
.action-rail span { font: 850 .68rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.action-rail strong { font: 900 4rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-card > div:last-child { padding: 32px 34px 34px 0; }
.activity-label, .prompt-label { color: var(--navy); }
.activity-card h3 { margin: 8px 0 10px; font-size: clamp(1.5rem, 4vw, 2rem); }
.activity-card > div > p { color: #29384a; line-height: 1.6; }
.action-path { display: flex; align-items: center; margin: 22px 0; font: 750 .67rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.action-path span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.action-path b { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--ink); background: #faf8f2; }
.action-path i { flex: 1; height: 1px; min-width: 15px; margin: 0 8px; background: var(--ink); }
.prompt-box { margin: 24px 0; padding: 18px; border-radius: 0; background: #faf8f2; border: 2px solid var(--ink); }
.prompt-box summary { cursor: pointer; font-weight: 850; }
.prompt-box p:last-child { margin-bottom: 0; color: var(--ink); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { border: 2px solid var(--ink); border-radius: 0; padding: 12px 17px; font-weight: 800; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.button-primary { background: var(--blue); color: white; }
.button-secondary { background: #faf8f2; color: var(--ink); }
.button[disabled] { opacity: .65; cursor: default; }
.feedback { min-height: 20px; margin-bottom: 0; font-size: .82rem; }
.progress-card { display: flex; align-items: center; gap: 28px; padding: 28px; background: #faf8f2; border: 2px solid var(--ink); border-radius: 0; }
.progress-stamp { flex: 0 0 148px; min-height: 92px; display: grid; place-items: center; align-content: center; gap: 6px; border: 3px double var(--orange); color: var(--orange); transform: rotate(-2deg); }
.progress-stamp span { font: 900 .92rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.progress-stamp small { font: 750 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.progress-stamp.complete { border-color: #14805e; color: #14805e; }
.progress-card h3 { margin: 0 0 7px; }
.progress-card p { color: var(--muted); margin: 0 0 12px; }
.text-button { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 760; cursor: pointer; }
.about { padding-bottom: 72px; max-width: 760px; }
.about > p:not(.kicker) { color: var(--muted); line-height: 1.7; }
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: .78rem; }
footer { background: var(--navy); color: #bdcce0; padding: 28px 0; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer a { color: var(--cyan); text-decoration: none; }
.error-card { grid-column: 1 / -1; padding: 22px; background: #fff2f2; color: #8f1d1d; border: 1px solid #f0bcbc; border-radius: 16px; }
@media (max-width: 760px) {
  .hero { padding-bottom: 54px; }
  .hero-copy { padding-top: 44px; }
  .signal-monitor { grid-template-columns: 1fr; gap: 10px; }
  .source-mix { display: flex; gap: 18px; }
  .signal-grid { display: block; border-width: 1px; }
  .signal-card { border-bottom: 1px solid var(--ink); }
  .lead-signal { padding: 24px; }
  .lead-signal h3 { font-size: 2.2rem; }
  .activity-card { grid-template-columns: 1fr; }
  .action-rail { min-height: auto; flex-direction: row; border-right: 0; border-bottom: 2px solid var(--ink); }
  .activity-card > div:last-child { padding: 24px; }
  .action-path { align-items: flex-start; }
  .progress-card { align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .wrap { width: min(100% - 24px, 1080px); }
  .powered { display: none; }
  .section { padding-top: 56px; }
  .progress-card { flex-direction: column; }
  .progress-stamp { align-self: flex-start; }
  .action-path { display: grid; gap: 8px; }
  .action-path i { display: none; }
}
