/* Shared stylesheet for the FeedAssist comparison and question pages. The
   palette is the app's, value for value (Network Blue for actions, the wire's
   teal, stone ground, ink type) — the same tokens as the front page. */
:root {
  --blue: #0a66c2;        /* Accent.primary */
  --blue-deep: #004182;   /* Accent.deep */
  --sky: #378fe9;         /* Accent.leaf */
  --sky-light: #71b7fb;
  --tint: #e8f1fb;        /* Accent.tint */
  --teal: #0b7a75;        /* Palette.ticker — 5.2:1 as text on white */
  --teal-deep: #085e5a;
  --brass: #c9a227;
  --ink: #191919;
  --ink-soft: #56606b;
  --night: #0f1113;
  --paper: #ffffff;
  --paper-soft: #f3f4f6;  /* NetBlue.stone */
  --line: #e1e4e8;        /* NetBlue.edge */
  --grad: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 100%);
  --radius: 16px;         /* Brand.Radius.card */
  --shadow: 0 8px 22px rgba(25,25,25,.09);
  --red: #c8102e;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}
/* The brand serif (same file the front page loads; cached across pages). */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/SourceSerif4-Bold.woff2?v=1") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Keyboard: a visible ring on everything focusable (white on the gradient
   banner), and a skip link that slides in on focus. */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cta :focus-visible { outline-color: #fff; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 1100; background: var(--blue-deep); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 0 0 10px 10px; text-decoration: none; }
.skip-link:focus { top: 0; }
main { scroll-margin-top: 64px; }  /* clear the sticky header when the skip link lands */
main:focus { outline: none; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }

/* Masthead: date and edition over the nav, as on the front page. */
.masthead { background: var(--paper-soft); border-bottom: 3px double var(--ink); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 34px; padding: 6px 24px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.masthead-inner > * { white-space: nowrap; }
.masthead time { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.masthead-edition { flex: 1; text-align: center; }
.masthead .js-edition { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .masthead-edition { display: none; } .masthead-inner { font-size: .66rem; } }

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav a { margin-left: 18px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem; }
nav a:hover { color: var(--blue); }
.btn-small { background: var(--blue); color: #fff !important; padding: 8px 14px; border-radius: 12px; }
/* Narrow screens: keep the wordmark and the button on one line each; the two
   text links go (the front page's nav does the same). */
.brand, .btn-small { white-space: nowrap; }
@media (max-width: 560px) { nav a:not(.btn-small) { display: none; } }

.hero { background: var(--paper-soft); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.kicker { color: var(--blue); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 10px 0 14px; }
.sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 46em; }
h2 { font-size: 1.45rem; margin: 44px 0 16px; }
section.wrap p { color: var(--ink-soft); margin-bottom: 12px; max-width: 52em; }

.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.v-card.highlight { border-color: var(--blue); background: linear-gradient(180deg, rgba(10,102,194,.05), transparent); }
.v-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.v-card ul { padding-left: 18px; color: var(--ink-soft); }
.v-card li { margin-bottom: 8px; }
@media (max-width: 700px) { .verdict { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
thead th.fa { color: var(--blue); }
td.fa { background: rgba(10,102,194,.05); font-weight: 600; }
td:first-child { font-weight: 600; color: var(--ink); width: 32%; }
tbody tr:last-child td { border-bottom: none; }
.note { font-size: .85rem; color: var(--ink-soft); margin-top: 12px; }
.note a { color: var(--blue); }

.cta { background: var(--grad); color: #fff; text-align: center; padding: 52px 0; margin-top: 56px; }
.cta h2 { margin: 0 0 8px; }
.cta p { opacity: .92; margin-bottom: 20px; }
.btn { display: inline-block; background: #fff; color: var(--blue); font-weight: 800; padding: 13px 26px; border-radius: 12px; text-decoration: none; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; font-weight: 600; }
.foot-links a:hover { color: var(--blue); }
.foot-note { color: var(--ink-soft); font-size: .8rem; max-width: 60em; }
