/* AI news — "signal on paper": warm white, near-black ink, one electric-blue accent, lab colours as dots.
   Geist for everything, Geist Mono for data (counts, times, kickers). Structure by rules, not boxes. */
:root {
    --paper: #f6f6f3; --surface: #ffffff; --tint: #eeeee9;
    --ink: #0b0d12; --ink2: #3a3f4b; --muted: #6b7180; --faint: #a3a8b3;
    --line: #e2e2dc; --line2: #ececE7;
    --accent: #2f5bff; --accent-ink: #1a3fd6; --accent-bg: #e8edff;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
    --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
img { display: block; max-width: 100%; }
.empty { color: var(--muted); padding: 18px 0; }

/* ---- masthead ---- */
.mast { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mast-in { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 62px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.5px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--accent); }
.brand.small { font-size: 18px; }
.desks { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.desks::-webkit-scrollbar { display: none; }
.desks a { padding: 6px 10px; border-radius: 7px; font-size: 14.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.desks a:hover { background: var(--tint); color: var(--ink); }
.desks a.on { background: var(--ink); color: #fff; }
.search input { width: 210px; font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); outline: none; }
.search input:focus { border-color: var(--accent); }
.search.big input { width: 100%; max-width: 560px; font-size: 17px; padding: 12px 16px; margin-top: 14px; }

/* the signature: which labs the news is about, right now */
.pulse { border-top: 1px solid var(--line2); background: var(--surface); }
.pulse-in { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 38px; display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.pulse-in::-webkit-scrollbar { display: none; }
.pulse-lbl { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.pulse-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.pulse-item i, .chip i, .ent-head i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.pulse-item b { font-family: var(--mono); font-weight: 500; color: var(--faint); font-size: 12.5px; }

/* ---- layout ---- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 30px 28px 40px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 36px; }
.cols:first-child { margin-top: 0; }
.rail { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 124px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; }
.sec-head h2 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -.1px; }
.sec-head a { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.panel .sec-head { border-bottom-width: 1px; border-color: var(--line); }

.kicker { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-ink); margin-bottom: 6px; }
.kicker span { color: var(--faint); text-transform: none; letter-spacing: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.eyebrow a { color: var(--accent-ink); }

/* ---- lead ---- */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.lead-img img, .second-img img, .story-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); background: var(--tint); }
.lead-img { display: block; margin-bottom: 16px; }
.lead h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.9px; margin: 0 0 12px; font-weight: 700; }
.standfirst { font-size: 17.5px; color: var(--ink2); margin: 0 0 14px; line-height: 1.5; }
.seconds { display: flex; flex-direction: column; gap: 22px; }
.second { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 16px; }
.second-img { grid-row: span 3; }
.second-img img { aspect-ratio: 4/3; }
.second h2 { font-size: 17px; line-height: 1.28; margin: 0 0 8px; letter-spacing: -.2px; font-weight: 650; }

/* ---- story rows ---- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:not(:has(.row-img)) { grid-template-columns: minmax(0, 1fr); }
.row-img { order: 2; }
.row-img img { width: 128px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: var(--tint); }
.row h3 { font-size: 18px; line-height: 1.3; margin: 0 0 9px; letter-spacing: -.25px; font-weight: 650; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.row-meta.big { margin: 6px 0 22px; }
.feed.narrow { max-width: 820px; }

/* coverage meter: how many outlets carry the story */
.cov { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.cov-bar { display: inline-flex; gap: 2px; }
.cov-bar i { width: 5px; height: 11px; border-radius: 1.5px; background: var(--line); }
.cov-bar i.on { background: var(--faint); }
.cov.multi { color: var(--ink); }
.cov.multi .cov-bar i.on { background: var(--accent); }

.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 2px 9px 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink2); white-space: nowrap; }
.chip:hover { border-color: var(--ink2); color: var(--ink); }

/* ---- rail widgets ---- */
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; line-height: 1.38; }
.mini li:last-child { border-bottom: 0; }
.mini li .chips { display: flex; margin-bottom: 5px; }
.mini a { font-weight: 500; }
.mini .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-left: 4px; white-space: nowrap; }
.mini.dated li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; }
.mini.dated time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.mini.dated .n { grid-column: 2; margin-left: 0; }
.bars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bars a { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; font-size: 14px; font-weight: 500; }
.bars b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.bars i { grid-column: 1 / -1; height: 4px; border-radius: 2px; display: block; opacity: .85; }
.desk-list { list-style: none; margin: 4px 0 0; padding: 0; }
.desk-list a { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; border-bottom: 1px solid var(--line2); }
.desk-list li:last-child a { border-bottom: 0; }
.desk-list b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--muted); }

/* ---- page heads ---- */
.page-head { padding: 8px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; line-height: 1.08; margin: 8px 0 10px; font-weight: 750; display: flex; align-items: center; gap: 14px; }
.page-head p { color: var(--ink2); font-size: 17.5px; max-width: 680px; margin: 0; }
.entity-head h1 i { width: 16px; height: 16px; border-radius: 50%; background: var(--ent); display: inline-block; flex: none; }
.entity-head .chips { margin-top: 16px; }
.mix { display: flex; gap: 2px; margin-top: 18px; max-width: 680px; font-family: var(--mono); font-size: 11px; color: #fff; }
.mix span { padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; border-radius: 3px; }
.mix-releases { background: var(--accent); } .mix-research { background: #0f766e; } .mix-business { background: #b45309; }
.mix-policy { background: #be123c; } .mix-products { background: #52525b; }

/* ---- story page ---- */
.story h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -1px; margin: 4px 0 10px; font-weight: 720; max-width: 920px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.story-img { margin-bottom: 20px; }
.attrib { font-size: 13.5px; color: var(--muted); margin: -4px 0 26px; }
.attrib a { text-decoration: underline; }
.cov-title { font-size: 20px; letter-spacing: -.3px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin: 10px 0 0; }
.cov-title span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.coverage { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.coverage li { padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); position: relative; counter-increment: c; }
.coverage li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.coverage .src { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); margin-bottom: 3px; }
.coverage .src time { color: var(--faint); margin-left: 6px; }
.coverage a { font-size: 16.5px; font-weight: 550; line-height: 1.35; }
.coverage a span { color: var(--faint); font-size: 13px; }
.entity .ent-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.entity p { color: var(--ink2); font-size: 14.5px; margin: 6px 0 10px; }
.entity .more { font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink); }

/* ---- labs / models ---- */
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 24px; }
.lab-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ent); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.lab-card:hover { border-color: var(--ink2); border-top-color: var(--ent); color: inherit; }
.lab-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.lab-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--ent); }
.lab-card p { margin: 0; color: var(--ink2); font-size: 14px; }
.lab-stats { display: flex; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lab-stats b { color: var(--ink); font-weight: 600; }
.lab-top { font-size: 13.5px; color: var(--ink2); border-top: 1px solid var(--line2); padding-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line2); font-size: 14.5px; vertical-align: middle; }
.tbl th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; background: var(--tint); }
.tbl .num { text-align: right; font-family: var(--mono); }
.tbl .headline a { font-weight: 500; }

/* ---- timeline ---- */
.timeline { max-width: 880px; margin-top: 10px; }
.day { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.day h2 { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-ink); margin: 3px 0 0; text-transform: uppercase; letter-spacing: .05em; }
.day ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.day li { font-size: 15.5px; line-height: 1.4; }
.day li .chips { display: flex; margin-bottom: 4px; }
.day li a { font-weight: 550; }
.day .n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-left: 6px; }

/* ---- prose ---- */
.prose { max-width: 720px; }
.prose h1 { font-size: 38px; letter-spacing: -1px; margin: 8px 0 16px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p { color: var(--ink2); font-size: 17px; }
.prose a { color: var(--accent-ink); text-decoration: underline; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 36px 28px 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-in p { color: var(--muted); font-size: 14px; max-width: 42ch; }
.foot h4 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; font-weight: 500; }
.foot nav a { display: block; font-size: 14px; color: var(--ink2); padding: 3px 0; }
.foot-fine { max-width: 1280px; margin: 0 auto; padding: 14px 28px 26px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line2); }

/* ---- responsive ---- */
@media (max-width: 1080px) {
    .search input { width: 150px; }
    .cols, .story-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
}
@media (max-width: 900px) {
    .lead-grid, .cols, .story-grid { grid-template-columns: minmax(0, 1fr); }
    .rail { position: static; }
    .search { display: none; }
    .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .mast-in, .pulse-in, .wrap, .foot-in, .foot-fine { padding-left: 16px; padding-right: 16px; }
    .mast-in { gap: 14px; }
    .brand-name { display: none; }
    .second { grid-template-columns: 110px minmax(0, 1fr); }
    .row { grid-template-columns: minmax(0, 1fr) 92px; }
    .row-img img { width: 92px; }
    .row h3 { font-size: 16.5px; }
    .day { grid-template-columns: 1fr; gap: 8px; }
    .tbl .headline, .tbl th:nth-child(4) { display: none; }
    .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; }
    .tbl td { white-space: normal; }
    .tbl .chip { white-space: normal; }
}
