@font-face {
  font-family: "Manrope 10kwt";
  src: url("/fonts/manrope-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14201c;
  --muted: #5d6863;
  --quiet: #7a827e;
  --line: #cfd4cd;
  --paper: #f2f3ed;
  --surface: #fafbf7;
  --accent: #d94b2b;
  --accent-dark: #9f321d;
  --green: #234c3d;
  --focus: #1e6eb2;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(20, 32, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Manrope 10kwt", ui-sans-serif, system-ui, sans-serif; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
::selection { color: var(--surface); background: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 14px; color: var(--surface); background: var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(20, 32, 28, 0.14); background: rgba(242, 243, 237, 0.94); backdrop-filter: blur(14px); }
.header-row { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.header-row--no-edition { grid-template-columns: 1fr auto; }
.brand { display: inline-flex; width: max-content; align-items: center; text-decoration: none; }
.brand-logo {
  display: block;
  width: 132px;
  max-width: 132px;
  height: auto;
  filter:
    drop-shadow(0 -1px 0 rgba(20, 32, 28, 0.16))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 2px 3px rgba(20, 32, 28, 0.1));
}
.main-nav { display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; font-size: 12.5px; white-space: nowrap; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: none; color: var(--muted); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.edition { justify-self: end; color: var(--quiet); font-size: 12px; font-variant-numeric: tabular-nums; }

.intro { min-height: 460px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 0.72fr); align-items: end; gap: 70px; padding-block: 84px 54px; }
.intro-copy h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 6.8vw, 92px); font-weight: 560; letter-spacing: -0.04em; line-height: 0.96; text-wrap: balance; }
.intro-copy p { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.45; }
.intro-stats { margin: 0; border-top: 1px solid var(--ink); }
.intro-stats div { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.intro-stats dt { color: var(--quiet); font-size: 11px; }
.intro-stats dd { margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; }

.story-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; color: var(--quiet); font-size: 11px; font-variant-numeric: tabular-nums; }
.story-meta strong { color: inherit; font-weight: 720; }

.dashboard { padding-block: 90px 100px; border-top: 1px solid var(--ink); }
.dashboard__head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.dashboard__head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 570; letter-spacing: -0.035em; }
.dashboard__standfirst { max-width: 72ch; margin: 16px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dashboard-fx { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dashboard-fx:empty { display: none; }
.dashboard-fx li { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dashboard-fx li span { color: var(--quiet); font-weight: 500; }
.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 901px) {
  .dashboard-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}
.dashboard-stat { display: block; padding: 28px; border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; }
.dashboard-stat--link { transition: background-color 0.15s ease; }
.dashboard-stat--link:hover { background: #e4e8df; }
.dashboard-stat__value { display: block; color: var(--accent-dark); font-size: clamp(32px, 4vw, 46px); font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dashboard-stat__label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dashboard-roster { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.roster-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(250, 251, 247, 0.7); }
.roster-chip__name { font-size: 11.5px; font-weight: 700; }
.roster-chip__meta { color: var(--quiet); font-size: 10px; }
.dashboard-examples { display: flex; flex-direction: column; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.dashboard-examples:empty { display: none; }
.dashboard-example { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1.45; }
.dashboard-example__head { display: block; }
.dashboard-example__supplier { color: var(--ink); font-weight: 700; }
.dashboard-example__delta { color: var(--accent-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.dashboard-example__title { display: block; color: var(--muted); }
.kind-badge { display: inline-block; margin-right: 10px; padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--accent-dark); font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; vertical-align: middle; }
.signal-row { padding: 16px 0; border-top: 1px solid var(--line); }
.signal-row__brand { font-size: 12px; font-weight: 700; }
.signal-row__tag { color: var(--quiet); font-size: 10.5px; }
.signal-row__title { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.signal-row__note { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--quiet); font-size: 10.5px; }
.dir { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; font-size: 10px; font-weight: 800; }
.dir--up { color: var(--green); background: #dfe8de; }
.dir--down { color: var(--accent-dark); background: #f3e0d6; }

.signal-page-header { padding-block: 56px 34px; border-bottom: 1px solid var(--ink); }
.signal-page-header p { max-width: 66ch; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.signal-list--full { border-top: 1px solid var(--ink); padding-block: 6px 20px; }
.signal-row--full { display: grid; grid-template-columns: 190px 1fr 150px; gap: 26px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.signal-row--full .signal-row__brand { display: block; }
.signal-row--full .signal-row__tag { display: block; margin-top: 6px; }
.signal-row--full .signal-row__title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.signal-row--full .signal-row__note { margin-top: 8px; }
.signal-row--full .signal-row__date { text-align: right; color: var(--quiet); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.paywall { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 20px 0 70px; padding: 28px 30px; border-radius: var(--radius); background: #e4e8df; }
.paywall p { margin: 0; font-size: 14px; line-height: 1.55; max-width: 62ch; }
.paywall a { display: inline-block; padding: 10px 18px; border-radius: 999px; color: #fff; background: var(--green); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.feed-section { padding-block: 106px 118px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.feed-heading h2, .taxonomy h2, .method h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); font-weight: 570; letter-spacing: -0.035em; line-height: 1.06; }
.feed-heading__subtitle { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.feed-heading > #result-count { margin: 0 0 5px; color: var(--quiet); font-size: 12px; }
.filters { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.7fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.search-field input { width: 100%; min-height: 42px; padding: 0 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; }
.search-field input::placeholder { color: #6c7671; opacity: 1; }
.search-field input:focus { border-bottom-color: var(--ink); outline: 0; }
.rubric-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.rubric-tabs button, .tag-cloud span { flex: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; }
.rubric-tabs button:hover, .rubric-tabs button[aria-pressed="true"] { color: #fff; border-color: var(--green); background: var(--green); }
.rubric-tabs button:active, .reset-button:active, .empty-state button:active { transform: translateY(1px); }
.reset-button { border: 0; color: var(--accent-dark); background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.feed-list { margin-top: 0; }
.feed-item { display: grid; grid-template-columns: 128px minmax(0, 1fr) minmax(180px, 0.4fr); gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.feed-item time { color: var(--quiet); font-size: 11px; font-variant-numeric: tabular-nums; }
.feed-item__source { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.feed-item__body { display: flex; gap: 20px; min-width: 0; }
.feed-item__thumb { flex: none; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.feed-item__banner { display: block; width: 100%; max-width: 320px; height: 44px; margin: 0 0 12px; border-radius: 8px; object-fit: contain; background: var(--surface); }
.feed-item h3 { max-width: 31ch; margin: 0; font-size: clamp(21px, 2.4vw, 30px); font-weight: 590; letter-spacing: -0.028em; line-height: 1.16; }
.feed-item h3 a { text-decoration: none; }
.feed-item h3 a:hover { color: var(--accent-dark); }
.feed-item__summary { max-width: 68ch; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feed-item__side { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rubric-label { color: var(--accent-dark); font-size: 10px; font-weight: 760; }
.tags { display: flex; flex-wrap: wrap; gap: 7px 10px; }
.tags span { color: var(--quiet); font-size: 10px; }
.tags span::before { content: "#"; color: var(--accent); }
.read-link { font-size: 11px; font-weight: 700; }
.empty-state { padding: 72px 24px; text-align: center; border-bottom: 1px solid var(--line); }
.empty-state h3 { margin: 0; font-size: 24px; }
.empty-state p { color: var(--muted); }
.empty-state button { padding: 10px 16px; border: 1px solid var(--green); border-radius: 999px; color: #fff; background: var(--green); cursor: pointer; }

.taxonomy { padding-block: 100px; border-top: 1px solid var(--ink); }
.taxonomy > h2 { max-width: 18ch; }
.taxonomy__standfirst { max-width: 60ch; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.taxonomy-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 80px; margin-top: 40px; }
.taxonomy ol { margin: 0; padding: 0; list-style: none; }
.taxonomy li { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.taxonomy li strong { font-size: 15px; }
.taxonomy li span { color: var(--muted); font-size: 12px; }
.tag-principle { align-self: center; padding: 30px; border-radius: var(--radius); background: #e4e8df; }
.tag-principle p { max-width: 48ch; margin: 0; font-size: 16px; line-height: 1.6; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-cloud span { cursor: default; background: rgba(250, 251, 247, 0.7); }

.method { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 90px; padding-block: 104px; border-top: 1px solid var(--ink); }
.method > div p { max-width: 44ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.method ol { margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method li { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.method li span { font-size: 13px; font-weight: 720; }
.method li p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-footer { border-top: 1px solid var(--ink); }
.footer-row { min-height: 126px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; }
.footer-row strong { font-size: 16px; }
.footer-row p, .footer-row a { color: var(--muted); font-size: 11px; }
.footer-row a { justify-self: end; }

.back-link { justify-self: center; color: var(--muted); font-size: 12px; }
.story-shell { width: min(calc(100% - 48px), 1120px); min-height: 70svh; margin-inline: auto; }
.story-loading { padding: 120px 0; color: var(--muted); }
.story-header { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 80px; padding: 86px 0 48px; border-bottom: 1px solid var(--ink); }
.story-header h1 { max-width: 17ch; margin: 18px 0 22px; font-size: clamp(44px, 6vw, 76px); font-weight: 560; letter-spacing: -0.04em; line-height: 1.01; }
.story-dek { max-width: 62ch; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.story-source { align-self: end; padding-top: 16px; border-top: 1px solid var(--line); }
.story-source dt { color: var(--quiet); font-size: 10px; }
.story-source dd { margin: 6px 0 16px; font-size: 12px; line-height: 1.45; }
.story-image { width: 100%; max-width: 100%; margin: 38px 0 0; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.promo-banner-image { width: 100%; max-width: 100%; margin: 38px 0 0; border-radius: var(--radius); aspect-ratio: 1200 / 220; object-fit: contain; background: var(--surface); }
.story-body { display: grid; grid-template-columns: 1fr minmax(0, 680px) 1fr; padding-block: 64px 110px; }
.story-body > * { grid-column: 2; }
.story-body .takeaway { grid-column: 1 / -1; display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 42px; margin: 6px 0 58px; padding: 30px; border-radius: var(--radius); background: #e4e8df; }
.takeaway span { font-size: 11px; font-weight: 720; }
.takeaway p { margin: 0; font-size: 20px; line-height: 1.46; }
.story-body h2 { margin: 46px 0 14px; font-size: 29px; font-weight: 600; letter-spacing: -0.025em; }
.story-body p { margin: 0 0 20px; color: #34413c; font-size: 16px; line-height: 1.78; }
.story-body ul { margin: 2px 0 24px; padding-left: 22px; }
.story-body li { margin: 8px 0; color: #34413c; font-size: 15px; line-height: 1.65; }
.story-end { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--ink); }
.story-end p { color: var(--muted); font-size: 12px; }
.story-end a { font-size: 13px; font-weight: 700; }
.story-error { padding: 120px 0; }
.story-error h1 { margin: 0; font-size: 48px; }
.story-error p { color: var(--muted); }

@media (max-width: 900px) {
  .header-row { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .intro { min-height: auto; grid-template-columns: 1fr; align-items: start; gap: 48px; padding-block: 70px 46px; }
  .intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .intro-stats div { grid-template-columns: 1fr; }
  .signal-row--full { grid-template-columns: 1fr; gap: 6px; }
  .signal-row--full .signal-row__date { text-align: left; }
  .paywall { grid-template-columns: 1fr; text-align: left; }
  .filters { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 110px minmax(0, 1fr); }
  .feed-item__side { grid-column: 2; flex-direction: row; align-items: end; }
  .taxonomy-grid, .method { gap: 46px; }
  .story-header { grid-template-columns: 1fr; gap: 36px; }
  .story-source { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .story-source dt, .story-source dd { grid-column: auto; }
}

@media (max-width: 680px) {
  .shell, .story-shell { width: min(calc(100% - 28px), 1240px); }
  .site-header { position: static; }
  .header-row { min-height: 62px; gap: 14px; }
  .edition { display: none; }
  .brand-logo { width: 120px; }
  .back-link { justify-self: end; }
  .intro { padding-top: 56px; }
  .intro-copy h1 { font-size: clamp(36px, 11.8vw, 54px); }
  .intro-copy p { font-size: 17px; }
  .intro-stats { grid-template-columns: 1fr; }
  .intro-stats div { grid-template-columns: 1fr 1fr; }
  .dashboard__head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dashboard-fx { justify-content: flex-start; }
  .feed-section { padding-block: 78px 90px; }
  .feed-heading { display: block; }
  .feed-heading > #result-count { margin-top: 10px; }
  .filters { gap: 14px; }
  .rubric-tabs { margin-right: -14px; padding-right: 14px; }
  .feed-item { grid-template-columns: 1fr; gap: 10px; padding: 25px 0; }
  .feed-item__date { display: flex; align-items: baseline; justify-content: space-between; }
  .feed-item__source { margin-top: 0; }
  .feed-item__thumb { width: 64px; height: 64px; }
  .feed-item__side { grid-column: 1; }
  .taxonomy, .method { padding-block: 78px; }
  .taxonomy-grid, .method { grid-template-columns: 1fr; gap: 42px; margin-top: 40px; }
  .taxonomy li { grid-template-columns: 1fr; gap: 5px; }
  .tag-principle { padding: 24px; }
  .footer-row { min-height: 120px; grid-template-columns: 1fr auto; }
  .footer-row p { display: none; }
  .story-header { padding-top: 58px; }
  .story-header h1 { font-size: 44px; }
  .story-dek { font-size: 16px; }
  .story-image { aspect-ratio: 4 / 3; }
  .story-body { display: block; padding-block: 42px 80px; }
  .story-body .takeaway { display: block; padding: 24px; }
  .takeaway span { display: block; margin-bottom: 14px; }
  .takeaway p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
