/* CMS Watch client page. Values come from tokens.css (White Rabbit Group design system). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--surface-light);
  color: var(--text-on-light-primary);
  font-family: var(--font-display);
  font-weight: var(--weight-display-regular);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--font-mono-primary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 12px; }
.num { font-family: var(--font-mono-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 20; }
.skip:focus { left: 16px; top: 16px; background: var(--rabbit-white); color: var(--black-950); padding: 12px 20px; border-radius: var(--radius-pill); }
.hp { position: absolute; left: -9999px; }
.texture { background-image: radial-gradient(rgba(250, 250, 249, 0.05) 1px, transparent 1.4px); background-size: 7px 7px; }

/* ---------- Pills (buttons) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono-accent); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 14px 24px; border-radius: var(--radius-pill); border: 0; cursor: pointer; background: transparent;
  transition: background var(--transition-standard), color var(--transition-standard), box-shadow var(--transition-standard);
}
.pill--lg { font-size: 15px; padding: 20px 32px; }
.pill--block { width: 100%; }
.pill--light { background: var(--rabbit-white); color: var(--black-950); }
.pill--light:hover { background: var(--black-150); }
.pill--dark { background: var(--black-950); color: var(--rabbit-white); }
.pill--dark:hover { background: var(--black-750); }
.pill--outline { box-shadow: inset 0 0 0 1px var(--border-on-light); color: var(--black-950); }
.pill--outline:hover { background: var(--black-950); color: var(--rabbit-white); }
.pill--ghost-dark { box-shadow: inset 0 0 0 1px var(--border-on-dark); color: var(--rabbit-white); }
.pill--ghost-dark:hover { background: var(--black-850); }
.pill[hidden] { display: none; }

/* ---------- Tags (status pills) ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; padding: 7px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.tag--crit { box-shadow: inset 0 0 0 1px var(--accent); }
.tag--crit::before, .tag--crit-dark::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); }
.tag--crit-dark { box-shadow: inset 0 0 0 1px var(--accent); color: var(--rabbit-white); }
.tag--dark { background: var(--black-950); color: var(--rabbit-white); }
.tag--tint { background: var(--surface-tint); color: var(--black-750); }
.tag--line { box-shadow: inset 0 0 0 1px var(--black-350); color: var(--black-750); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 88px; padding: 0 var(--gutter-header);
  background: var(--surface-dark); color: var(--rabbit-white); border-bottom: 1px solid var(--black-850);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__badge { width: 40px; height: 40px; border-radius: var(--radius-badge); background: var(--rabbit-white); color: var(--black-950); display: grid; place-items: center; }
.brand__badge svg { stroke: none; }
.brand__badge--lg { width: 48px; height: 48px; }
.brand__name { font-size: 20px; letter-spacing: -0.01em; }
.brand__sub { color: var(--text-on-dark-tertiary); padding-left: 14px; border-left: 1px solid var(--black-750); }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; white-space: nowrap; }
.nav > a:not(.pill):hover { color: var(--text-on-dark-tertiary); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--black-550); color: var(--rabbit-white); cursor: pointer; place-items: center; }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) var(--gutter); max-width: var(--container-max); margin: 0 auto; display: flex; flex-direction: column; }
.section--tint, .section--dark { max-width: none; }
.section--tint { background: var(--surface-tint); }
.section--dark { background-color: var(--surface-dark); color: var(--rabbit-white); }
.section--tint > *, .section--dark > * { width: 100%; max-width: calc(var(--container-max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
/* The title block only; the feed tabs sit in the same row and must stay horizontal. */
.section__head > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.section__aside { font-size: 18px; line-height: 24px; color: var(--text-on-light-secondary); max-width: 440px; }
h2 { font-size: 64px; line-height: 1; font-weight: var(--weight-display-book); letter-spacing: -0.045em; max-width: 18ch; }
.eyebrow { font-family: var(--font-mono-primary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 13px; color: var(--black-550); display: flex; align-items: center; gap: 12px; }
.eyebrow--dark { color: var(--text-on-dark-tertiary); }
.dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--accent); flex-shrink: 0; }

.card { border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--border-on-light); background: var(--surface-light); }
.card--dark { background: var(--black-850); box-shadow: inset 0 0 0 1px var(--black-750); color: var(--rabbit-white); }

/* ---------- Hero ---------- */
.hero { background-color: var(--surface-dark); color: var(--rabbit-white); padding: 140px var(--gutter) 120px; }
.hero__grid { max-width: calc(var(--container-max) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 80px; align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: 60px; line-height: 1.02; font-weight: var(--weight-display-book); letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__for { display: block; margin-top: 0.5em; font-size: 0.45em; line-height: 1.3; letter-spacing: -0.01em; color: var(--text-on-dark-secondary); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.stats { background: var(--black-850); border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--black-750); padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.stats__label { color: var(--text-on-dark-tertiary); }
.stat { display: flex; align-items: baseline; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--black-750); }
.stat:last-child { padding-bottom: 0; border-bottom: 0; }
.stat__num { font-family: var(--font-mono-accent); font-size: 68px; line-height: 64px; letter-spacing: -0.055em; min-width: 2.4ch; }
.stat__num--accent { color: var(--accent); }
.stat__txt { font-size: 18px; line-height: 24px; }
.stat__txt--muted { color: var(--text-on-dark-tertiary); }
.stat__label { display: block; color: var(--text-on-dark-primary); }

.banner { max-width: calc(var(--container-max) - 2 * var(--gutter)); margin: 32px auto 0; padding: 18px 24px; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--accent); font-size: 17px; }
.banner[hidden] { display: none; }

/* ---------- Platform pulse ---------- */
.pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.platform { text-align: left; border: 0; cursor: pointer; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--border-on-light); background: var(--surface-light); padding: 28px; display: flex; flex-direction: column; gap: 28px; min-height: 220px; transition: background var(--transition-standard); }
.platform:hover { background: var(--surface-tint); }
.platform[aria-pressed="true"] { background: var(--surface-tint); box-shadow: inset 0 0 0 2px var(--black-950); }
.platform--quiet { background: var(--surface-tint); box-shadow: inset 0 0 0 1px var(--black-150); }
.platform__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.platform__name { font-size: 28px; letter-spacing: -0.02em; }
.platform__counts { display: flex; gap: 32px; margin-top: auto; }
.platform__counts > span { display: flex; flex-direction: column; gap: 6px; }
.platform__counts .num { font-size: 36px; letter-spacing: -0.04em; }
.platform__counts .mono { font-size: 11px; color: var(--black-550); }
.platform__foot { font-size: 15px; color: var(--text-on-light-secondary); border-top: 1px solid var(--black-150); padding-top: 16px; }
.platform--cta { background: var(--surface-dark); color: var(--rabbit-white); box-shadow: none; justify-content: space-between; }
.platform--cta:hover { background: var(--black-850); }
.platform--cta .platform__name { font-size: 26px; line-height: 1.12; }
.platform--cta .mono { color: var(--text-on-dark-tertiary); }
.platform__link { display: flex; align-items: center; gap: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Deadlines ---------- */
.deadlines { border-top: 1px solid var(--border-on-light); }
.deadline { display: grid; grid-template-columns: 200px 180px 150px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--black-350); }
.deadline__days { display: flex; align-items: baseline; gap: 10px; }
.deadline__days .num { font-size: 68px; line-height: 64px; letter-spacing: -0.055em; }
.deadline__days--soon .num { color: var(--accent); }
.deadline__when { font-family: var(--font-mono-accent); font-size: 18px; }
.deadline__platform { font-size: 20px; }
.deadline__what { font-size: 18px; line-height: 26px; }
.link-line { font-family: var(--font-mono-primary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap; justify-self: end; }
.link-line:hover { color: var(--black-550); }
#deadlines > .pill, #feed > .pill { align-self: flex-start; margin: 40px 0 0; width: auto; }
.empty { padding: 48px 0; font-size: 22px; font-weight: var(--weight-display-book); color: var(--text-on-light-secondary); border-bottom: 1px solid var(--black-150); }

/* ---------- Feed ---------- */
.tabs { display: flex; flex-wrap: nowrap; flex-shrink: 0; gap: 4px; padding: 4px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border-on-light); }
.tab { border: 0; cursor: pointer; background: transparent; padding: 14px 24px; border-radius: var(--radius-pill); font-size: 16px; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.tab .num { font-size: 13px; color: var(--black-550); }
.tab[aria-selected="true"] { background: var(--black-950); color: var(--rabbit-white); }
.tab[aria-selected="true"] .num { color: var(--text-on-dark-tertiary); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-top: 1px solid var(--black-150); border-bottom: 1px solid var(--black-150); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 0; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--black-350); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 15px; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--black-950); }
.chip[aria-pressed="true"] { background: var(--black-950); color: var(--rabbit-white); box-shadow: none; }
.search { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border-on-light); width: 340px; flex-shrink: 0; color: var(--black-750); }
.search input { border: 0; outline: none; background: transparent; font-size: 16px; width: 100%; color: var(--black-950); }
.result-line { padding: 16px 0 0; color: var(--black-550); }
.entry { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--black-150); }
.entry__meta { display: flex; flex-direction: column; gap: 10px; }
.entry__meta .num { font-size: 15px; letter-spacing: 0.02em; }
.entry__platform { font-size: 18px; }
.entry__meta .mono { font-size: 11px; color: var(--black-550); overflow-wrap: anywhere; }
.entry__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.entry__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.entry__title { font-size: 28px; line-height: 34px; font-weight: var(--weight-display-regular); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.entry__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.entry__summary { font-size: 18px; line-height: 27px; color: var(--text-on-light-secondary); max-width: 860px; }
.entry__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.entry__actions .pill { font-size: 13px; padding: 14px 22px; }
.entry__actions .link-line { font-size: 11px; color: var(--black-750); }
.handled { font-size: 11px; color: var(--black-550); }
.children { border-top: 1px solid var(--black-150); }
.children li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--black-150); font-size: 17px; }
.children li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.children .num { font-size: 14px; color: var(--black-750); white-space: nowrap; }
.textbtn { align-self: flex-start; border: 0; background: transparent; cursor: pointer; padding: 0 0 2px; font-size: 16px; border-bottom: 1px solid currentColor; }

/* ---------- Why / plans ---------- */
.why, .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why .card { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.why__label { display: flex; align-items: center; gap: 10px; color: var(--text-on-dark-tertiary); }
.why__label svg { color: var(--rabbit-white); }
.why h3 { font-size: 32px; line-height: 36px; font-weight: var(--weight-display-regular); letter-spacing: -0.02em; }
.why p { font-size: 18px; line-height: 27px; color: var(--text-on-dark-tertiary); }
.plan { padding: 36px; display: flex; flex-direction: column; gap: 24px; min-height: 440px; }
.plan h3 { font-size: 40px; line-height: 40px; font-weight: var(--weight-display-book); letter-spacing: -0.035em; }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan__tag { color: var(--black-550); }
.card--dark .plan__tag { color: var(--text-on-dark-tertiary); }
.plan .pill { margin-top: auto; }
.rows { border-top: 1px solid var(--black-150); }
.rows li { padding: 14px 0; border-bottom: 1px solid var(--black-150); font-size: 17px; }
.rows--dark, .rows--dark li { border-color: var(--black-750); }
.rows--numbered { border-color: var(--black-350); margin-top: 8px; }
.rows--numbered li { display: flex; gap: 14px; align-items: center; border-color: var(--black-350); font-size: 18px; padding: 16px 0; }
.rows--numbered .num { font-size: 13px; color: var(--black-550); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.contact__copy { display: flex; flex-direction: column; gap: 28px; }
.contact__lede { font-size: 22px; line-height: 32px; color: var(--text-on-light-secondary); }
.form { padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.form__context { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-card); background: var(--surface-tint); font-size: 15px; color: var(--black-750); }
.form__context strong { color: var(--black-950); font-weight: var(--weight-display-regular); }
.form[hidden] { display: none; }
.form__context[hidden] { display: none; }
.icon-btn { border: 0; background: transparent; cursor: pointer; padding: 6px; display: flex; color: var(--black-750); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono-primary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 11px; color: var(--black-750); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { margin-bottom: 8px; padding: 0; }
.field input:not([type="checkbox"]), .field select, .field textarea { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 17px; padding: 16px 20px; border: 0; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--black-350); background: var(--surface-light); color: var(--black-950); width: 100%; }
.field textarea { border-radius: var(--radius-card); resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 52px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23080807' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 18px; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--black-950); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
/* Four equal columns on the same 16px gutter as the fields above, so both edges line up. */
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--black-350); font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--black-950); cursor: pointer; white-space: nowrap; transition: background var(--transition-standard), color var(--transition-standard); }
.check:hover { box-shadow: inset 0 0 0 1px var(--black-950); }
/* Tick box in the pixel-grid style: square hairline box; the tick is the check from the
   design system's CircleCheck icon (assets/Icons/circlecheck.svg), same stepped pixels. */
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 16px; height: 16px; margin: 0; border: 1px solid currentColor; border-radius: 0; background: transparent center / 12px auto no-repeat; cursor: pointer; }
.check input:checked { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%2718.8235%2023.5294%2032.9412%2023.5294%27%20fill=%27%23fafaf9%27%3E%3Cpath%20d=%27M18.8235%2032.9412H23.5294V37.6471H18.8235z%27/%3E%3Cpath%20d=%27M23.5294%2037.6471H28.2353V42.3529H23.5294z%27/%3E%3Cpath%20d=%27M28.2353%2042.3529H32.9412V47.0588H28.2353z%27/%3E%3Cpath%20d=%27M32.9412%2037.6471H37.6471V42.3529H32.9412z%27/%3E%3Cpath%20d=%27M37.6471%2032.9412H42.3529V37.6471H37.6471z%27/%3E%3Cpath%20d=%27M42.3529%2028.2353H47.0588V32.9412H42.3529z%27/%3E%3Cpath%20d=%27M47.0588%2023.5294H51.7647V28.2353H47.0588z%27/%3E%3C/svg%3E"); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:has(input:checked) { background: var(--black-950); color: var(--rabbit-white); box-shadow: none; }
.form__status { font-size: 15px; color: var(--black-750); min-height: 1.2em; }
.form__status--error { color: var(--black-950); }
.form-done { padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.form-done[hidden] { display: none; }
.form-done .mono { color: var(--text-on-dark-tertiary); }
.form-done__title { font-size: 40px; line-height: 44px; font-weight: var(--weight-display-book); letter-spacing: -0.035em; }
.form-done .pill { align-self: flex-start; }

/* ---------- Sources + disclaimer ---------- */
.sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-on-light); }
.source-group { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--black-150); display: flex; flex-direction: column; gap: 14px; }
.source-group:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid var(--black-150); }
/* Close off the last cell when the final row is not full. A shadow sits just outside the
   cell, on the same pixel column as the next cell's left border above it. */
.source-group:last-child:not(:nth-child(4n)) { box-shadow: 1px 0 0 var(--black-150); }
.source-group__name { font-size: 22px; }
.source-group ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-on-light-secondary); }
.source-group a:hover { color: var(--black-950); text-decoration: underline; text-underline-offset: 3px; }
.source-off { font-family: var(--font-mono-primary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 10px; margin-left: 8px; padding: 3px 8px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--accent); color: var(--black-950); }
.disclaimer { margin-top: 80px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 80px; padding-top: 40px; border-top: 1px solid var(--border-on-light); }
.disclaimer > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.disclaimer__intro { font-size: 18px; line-height: 26px; color: var(--text-on-light-secondary); }
.disclaimer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.disclaimer__grid p { font-size: 17px; line-height: 26px; color: var(--text-on-light-secondary); }
.disclaimer__grid strong { color: var(--black-950); font-weight: var(--weight-display-regular); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-dark); color: var(--rabbit-white); padding: 100px var(--gutter) 80px; }
.footer__top, .footer__base { max-width: calc(var(--container-max) - 2 * var(--gutter)); margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.footer__brand .brand__name { font-size: 24px; }
.footer__brand p { font-size: 18px; line-height: 26px; color: var(--text-on-dark-tertiary); }
.footer__nav { display: flex; gap: 64px; }
.footer__nav div { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.footer__nav .mono { color: var(--text-on-dark-tertiary); }
.footer__nav a:hover { color: var(--text-on-dark-tertiary); }
.footer__base { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--black-750); font-size: 14px; color: var(--text-on-dark-tertiary); flex-wrap: wrap; }
.footer__base .mono { color: var(--text-on-dark-tertiary); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav { gap: 24px; font-size: 15px; }
  .brand__sub { display: none; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* the form column is narrow here */
  .hero h1 { font-size: 48px; }
  h2 { font-size: 52px; }
  .deadline { grid-template-columns: 150px 140px 120px minmax(0, 1fr) auto; gap: 24px; }
  .entry { grid-template-columns: 160px minmax(0, 1fr) 180px; gap: 28px; }
  .filters { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; --space-section: 88px; }
  .hero { padding: 96px var(--gutter) 88px; }
  .hero__grid, .contact, .disclaimer { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* form is full width again */
  .pulse, .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-group:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .source-group:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--black-150); }
  .source-group:last-child:not(:nth-child(4n)) { box-shadow: none; }
  .source-group:last-child:nth-child(2n + 1) { box-shadow: 1px 0 0 var(--black-150); }
  .why, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { min-height: 0; }
  .deadline { grid-template-columns: 120px minmax(0, 1fr) auto; }
  .deadline__when, .deadline__platform { grid-column: 2; }
  .deadline__what { grid-column: 2; }
  .deadline .link-line { grid-column: 3; grid-row: 1; }
  .deadline { row-gap: 6px; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .entry__meta { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
  .entry__actions { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --gutter-header: 16px; --space-section: 56px; }
  body { font-size: 16px; }
  .topbar { height: 64px; }
  .brand__name { font-size: 16px; }
  .brand__sub { display: none; }
  .brand__badge { width: 32px; height: 32px; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--surface-dark); border-bottom: 1px solid var(--black-850); }
  .nav.is-open { display: flex; }
  .nav > a:not(.pill) { padding: 14px 0; border-bottom: 1px solid var(--black-850); }
  .nav .pill { margin-top: 16px; }
  .hero { padding: 56px var(--gutter) 48px; }
  .hero h1 { font-size: 34px; line-height: 1.05; }
  .hero__cta .pill { width: 100%; }
  .stats { padding: 20px; gap: 16px; }
  .stat { gap: 14px; padding-bottom: 16px; }
  .stat__num { font-size: 40px; line-height: 40px; }
  .stat__txt { font-size: 15px; line-height: 20px; }
  h2 { font-size: 36px; line-height: 38px; }
  .section__head { margin-bottom: 28px; gap: 20px; }
  .section__aside { font-size: 16px; }
  .pulse { display: flex; overflow-x: auto; gap: 8px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-snap-type: x mandatory; }
  .platform { flex: 0 0 220px; min-height: 180px; padding: 20px; gap: 18px; scroll-snap-align: start; }
  .platform__name { font-size: 22px; }
  .deadline { grid-template-columns: 64px minmax(0, 1fr); padding: 20px 0; gap: 4px 16px; }
  .deadline__days { flex-direction: column; gap: 0; grid-row: span 3; }
  .deadline__days .num { font-size: 40px; line-height: 40px; }
  .deadline .link-line { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 6px; }
  .deadline__what { font-size: 16px; line-height: 23px; }
  .tabs { width: 100%; }
  .tabs { flex-shrink: 1; }
  .tab { flex: 1; justify-content: center; padding: 12px 8px; font-size: 15px; white-space: nowrap; }
  .tab__extra { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .entry { padding: 24px 0; }
  .entry__title { font-size: 21px; line-height: 27px; }
  .entry__summary { font-size: 15px; line-height: 22px; }
  .children li { flex-direction: column; gap: 4px; font-size: 15px; }
  .grid2, .disclaimer__grid, .sources { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .check { padding: 10px 16px; }
  .source-group, .source-group:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .source-group:last-child:nth-child(n) { box-shadow: none; }
  .form { padding: 20px; }
  .contact__lede { font-size: 17px; line-height: 25px; }
  .footer { padding: 48px var(--gutter); }
  .footer__nav { gap: 40px; }
}
