/* Archiwum wydań (/raport) — strony renderowane przez API, poza buildem Astro.
   Kolory i typografia jak w web/src/styles/industry.css; fonty z @fontsource
   skopiowane do fonts/, żeby nie zależeć od nazw plików z hashem w /_astro/. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #f2f2f3;
  --ink: #1d1f20;
  --ink-2: #424244;
  --ink-3: #5d5d60;
  --line: #d4d4d7;
  --line-2: #e7e7ea;
  --surface: #ffffff;
  --head: #e9e9ea;
  --navy: #1d2d3d;
  --navy-2: #2c455d;
  --sky: #94bce3;
  --sky-soft: #d6ebff;
  --link: #416180;
  --warn-bg: #fff4e5;
  --warn: #b45309;
  --heading: "Barlow Condensed", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Barlow", system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: var(--link); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(34px, 5vw, 58px); max-width: 22ch; }
h2 { font-size: 34px; }
h3, .h3 { font-size: 28px; }
p { margin: 0; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); font-size: 15px; }
.strong { font-weight: 700; }
.ok { color: var(--navy-2); font-weight: 600; font-size: 15px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.main { padding-top: 28px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }

.top { background: var(--ink); color: #f5f5f8; }
.top-in { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--heading); font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: #f5f5f8; text-decoration: none; }
.brand img { border-radius: 2px; }
.top-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 16px; }
.top-nav a { color: var(--line); text-decoration: none; }
.top-nav a.strong { color: #f5f5f8; font-weight: 600; }

.foot { background: var(--ink); color: var(--line); font-size: 15px; }
.foot-in { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { border-radius: 2px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-nav a { color: var(--line); }

.hero { display: flex; flex-direction: column; gap: 16px; }
.crumbs { font-size: 15px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { display: inline-block; border-radius: 2px; padding: 3px 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-fresh { background: var(--sky-soft); color: var(--navy); }
.badge-archive { background: var(--line-2); color: #2b2b2d; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.eyebrow { font-family: var(--heading); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 8px 20px; border-radius: 4px; border: 0; font: inherit; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: var(--sky); color: var(--navy); }
.btn-light:hover { background: #b5d9fd; color: var(--navy); }
.btn-line { border: 1px solid var(--navy); color: var(--navy); background: transparent; font-weight: 600; min-height: 44px; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; font-weight: 400; min-height: 44px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 10px 26px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

.notice { border-radius: 7px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.notice > div { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.notice strong { font-size: 20px; }
.notice span { font-size: 16px; color: var(--ink-2); }
.notice-fresh { background: var(--surface); border: 2px solid var(--navy); }
.notice-old { background: var(--warn-bg); border: 2px solid var(--warn); }

.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 16px; color: var(--ink-2); }
.stats strong { font-family: var(--heading); font-size: 30px; color: var(--ink); }

.block { display: flex; flex-direction: column; gap: 16px; }
.narrow-text { max-width: 820px; }
.table-box { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; }
thead tr { background: var(--head); }
thead th { font-weight: 600; }
tbody tr { border-top: 1px solid var(--line-2); }
.results thead th:first-child, .firm { font-weight: 700; }
.firm { font-size: 17px; }
.contact { display: flex; flex-direction: column; gap: 2px; }
.contact .phone { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact .src { font-size: 13px; color: var(--ink-3); }
.task { color: var(--ink); text-decoration-color: var(--line); }
.locked { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
td.locked { display: table-cell; }
td.locked svg { display: inline; vertical-align: -3px; margin-right: 8px; }
.act { text-align: right; padding-block: 10px; }
.grid th[scope=row] { font-weight: 600; }

.cards { display: none; flex-direction: column; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-top .locked { font-size: 15px; white-space: normal; }
.card-top strong { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-firm { font-size: 19px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-task { font-size: 17px; }

.signup, .buy { background: var(--navy); color: #f5f5f8; border-radius: 7px; padding: 32px; }
.signup { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.signup-head { flex: 999 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup h2, .buy h2 { font-size: 36px; }
.signup p, .buy p { color: var(--line); }
.signup-form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 10px; }
.signup-form label { font-size: 15px; color: var(--line); }
.signup-form input[type=email], .signup-form select { min-height: 48px; padding: 0 14px; border: 0; border-radius: 4px; font: inherit; color: var(--ink); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.consent a { color: #fff; }
.form-error { color: #ffd7a8; font-size: 15px; min-height: 1em; }

.buy { display: flex; flex-direction: column; gap: 22px; }
.buy-head { display: flex; flex-direction: column; gap: 10px; max-width: 62ch; }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.buy-grid div { background: var(--navy-2); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.buy-grid strong { font-family: var(--heading); font-weight: 600; font-size: 28px; }
.buy-grid span, .buy-cta span, .buy-other > span { font-size: 15px; color: var(--line); }
.buy-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-other { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--link); padding-top: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0 14px; text-decoration: none; color: var(--ink); }
.chip-dark { background: transparent; border-color: #749dc4; color: #fff; }
.chip-dark:hover { color: #fff; background: var(--navy-2); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.two-col > div { display: flex; flex-direction: column; gap: 12px; }
.list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq h2 { margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--navy); color: var(--ink); }
.tile-title { font-family: var(--heading); font-weight: 600; font-size: 24px; line-height: 1.1; }
.tile-cta { font-size: 15px; color: var(--navy-2); font-weight: 700; }

.edition { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.edition-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

@media (max-width: 760px) {
  .results-box { display: none; }
  .cards { display: flex; }
  .signup, .buy { padding: 24px 20px; }
  h2 { font-size: 30px; }
}
