/* Finest Fitness - Instant Withdraw Casino Canada
   Design direction: Performance Industrial, high-energy red/black.
   No external fonts. No JavaScript. CSS-only interactive controls. */

/* ---------- Tokens ---------- */
:root {
  --bg: #0c0c0d;
  --surface: #17181a;
  --surface-alt: #1f2023;
  --surface-2: #242629;
  --ink: #f2f2f3;
  --muted: #9a9a9e;
  --line: #303236;
  --line-soft: #26282b;
  --accent: #e11d2a;
  --accent-strong: #b3141f;
  --accent-tint: rgba(225, 29, 42, 0.12);
  --white: #ffffff;
  --focus: #ff5b66;

  --font-display: system-ui, "Arial Narrow", Arial, Helvetica, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-meta: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: clamp(.75rem, .72rem + .12vw, .82rem);
  --step-0: clamp(1rem, .96rem + .18vw, 1.06rem);
  --step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.55rem + 2.4vw, 3.5rem);

  --space-1: .35rem;
  --space-2: .65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;

  --container: 75rem;
  --reading: 44rem;

  --radius-control: 3px;
  --radius-card: 5px;
  --radius-special: 8px;

  --border-thin: 1px solid var(--line);
  --border-strong: 2px solid var(--ink);
  --shadow-low: 0 4px 14px rgba(0, 0, 0, .45);
  --shadow-raised: 0 14px 34px rgba(0, 0, 0, .55);
  --shadow-accent: 0 10px 30px rgba(225, 29, 42, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 var(--space-3);
}
p { margin: 0 0 var(--space-3); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.sr-only {
  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: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--accent); color: var(--white); padding: .6rem 1rem;
  border-radius: var(--radius-control); font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }

/* ---------- Brand mark (bolt/peak) ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  clip-path: polygon(50% 0, 100% 62%, 62% 62%, 62% 100%, 38% 60%, 0 60%);
  transform: skewX(-4deg);
}
.brand__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.18rem; letter-spacing: .02em; }
.brand__name b { color: var(--accent); }

/* ---------- Header + nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12, 12, 13, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: 60px; padding-block: .5rem;
}
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: .7rem .8rem; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .95rem; border-radius: var(--radius-control);
  text-transform: uppercase; letter-spacing: .01em;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: var(--surface-alt); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.nav-toggle, .hero-more-toggle, .cookie-toggle, .read-more-toggle {
  position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0;
}
.nav-btn {
  display: none; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem .8rem; border: var(--border-thin); border-radius: var(--radius-control);
  background: var(--surface-alt); color: var(--ink); font-weight: 700;
  text-transform: uppercase; min-height: 44px;
}
.nav-btn .bars { position: relative; width: 20px; height: 2px; background: var(--ink); display: inline-block; }
.nav-btn .bars::before, .nav-btn .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.nav-btn .bars::before { top: -6px; }
.nav-btn .bars::after { top: 6px; }
.nav-btn .close-txt { display: none; }
.nav-toggle:checked ~ .nav-btn .menu-txt { display: none; }
.nav-toggle:checked ~ .nav-btn .close-txt { display: inline; }
.nav-toggle:focus-visible ~ .nav-btn { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { padding-top: var(--space-3); padding-bottom: var(--space-2); }
.hero-grid { display: grid; gap: var(--space-3); }
.hero__eyebrow { font-family: var(--font-meta); color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; margin-bottom: var(--space-2); }
.hero h1 { font-size: clamp(1.5rem, 1.3rem + 1.4vw, 2.2rem); line-height: 1.05; margin-bottom: var(--space-2); }
.hero h1 .hl { color: var(--accent); display: inline-block; }
.hero__lead { max-width: var(--reading); color: var(--ink); font-size: .95rem; line-height: 1.45; margin-bottom: var(--space-2); }
.hero-more { display: none; max-width: var(--reading); }
.hero-more-toggle:checked ~ .hero-more { display: block; }
.disclosure-btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  min-height: 38px; padding: .2rem .2rem; background: none; border: 0;
  color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em;
}
.disclosure-btn::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease;
}
.hero-more-toggle:checked ~ .disclosure-btn .more-txt { display: none; }
.hero-more-toggle:not(:checked) ~ .disclosure-btn .less-txt { display: none; }
.hero-more-toggle:checked ~ .disclosure-btn::after { transform: rotate(-135deg); }

/* Reviewer byline */
.byline {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card);
  padding: var(--space-2) var(--space-3); max-width: var(--reading); margin-top: var(--space-2);
}
.byline__avatar {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; color: var(--white); font-weight: 800; font-family: var(--font-display); font-size: 1.1rem;
}
.byline__meta { min-width: 0; }
.byline__name { font-weight: 700; white-space: nowrap; }
.byline__role { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.byline__role .role-short { display: none; }
.byline__note { margin-left: auto; padding-left: var(--space-3); border-left: 1px solid var(--line); color: var(--muted); font-size: .8rem; max-width: 12rem; }

/* Editor's choice */
.editor-choice {
  background: var(--surface); border: var(--border-thin); border-top: 3px solid var(--accent);
  border-radius: var(--radius-card); padding: var(--space-4); align-self: start;
}
.editor-choice__tag { font-family: var(--font-meta); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--accent); }
.editor-choice__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; font-weight: 800; margin: .3rem 0 .2rem; }
.editor-choice__offer { background: var(--accent-tint); border-left: 3px solid var(--accent); padding: .6rem .8rem; border-radius: var(--radius-control); margin: var(--space-3) 0; font-size: .95rem; }
.hide-lt-901 { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.3rem; border-radius: var(--radius-control);
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  border: 0; cursor: pointer; font-size: .95rem; font-family: var(--font-display);
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--ink); border: var(--border-thin); }
.btn--ghost:hover { border-color: var(--accent); color: var(--white); }
.btn--block { width: 100%; }

/* ---------- Section headings ---------- */
.section-head { margin-bottom: var(--space-4); }
.section-head--center { text-align: center; }
.section-head h2 { font-size: var(--step-2); }
.section-head p { color: var(--muted); max-width: var(--reading); }
.section-head--center p { margin-inline: auto; }
.slash {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: .15rem .6rem; transform: skewX(-10deg); font-family: var(--font-display);
  text-transform: uppercase; font-weight: 800;
}
.slash > span { display: inline-block; transform: skewX(10deg); }

/* Tighten the gap between the hero and the section right after it (ranked list) */
.hero + .section--tight { padding-top: var(--space-3); }
.hero + .section--tight .section-head { margin-bottom: var(--space-2); }

/* ---------- Ranked list ---------- */
.ranked { display: grid; gap: var(--space-3); }

.op-card {
  display: grid; align-items: center; gap: var(--space-3);
  grid-template-columns: 52px 15rem minmax(0, 1fr) 11rem;
  background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card);
  padding: var(--space-4);
}
.op-card__rank { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--muted); line-height: 1; text-align: center; }
.op-id { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.op-mark {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: var(--radius-control);
  background: linear-gradient(135deg, var(--surface-2), #0f0f10); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 1.15rem;
}
.op-logo {
  width: 100%; max-width: 220px; height: 46px; flex: 1 1 auto; border-radius: var(--radius-control);
  background: var(--surface-2); border: 1px solid var(--line); object-fit: contain; padding: .2rem;
}
.op-name { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.15rem; }
.op-name small { display: block; font-family: var(--font-body); text-transform: none; font-weight: 500; color: var(--muted); font-size: .74rem; letter-spacing: 0; }
.op-offer {
  background: var(--surface-alt); border-left: 3px solid var(--accent);
  padding: .6rem .9rem; border-radius: var(--radius-control); font-size: .95rem;
}
.op-offer strong { color: var(--accent); }
.op-cta { display: flex; }

/* Featured card */
.op-card--featured {
  border-color: var(--accent); background: linear-gradient(180deg, rgba(225,29,42,.08), var(--surface) 55%);
  box-shadow: var(--shadow-accent); padding-top: 0; row-gap: 0;
}
.op-card--featured .op-ribbon {
  grid-column: 1 / -1; margin: 0 calc(var(--space-4) * -1) var(--space-3);
  background: var(--accent); color: var(--white);
  padding: .5rem var(--space-4); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.op-ribbon .tag { font-family: var(--font-meta); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; background: rgba(0,0,0,.28); padding: .15rem .5rem; border-radius: 2px; }
.op-ribbon .why { font-weight: 600; font-size: .85rem; }
.op-card--featured .op-body { display: contents; }
.op-card--featured .op-rank { color: var(--accent); }
.op-card--featured .op-card__rank { color: var(--accent); font-size: 2.9rem; }
.op-card--featured .op-name { font-size: 1.35rem; }
.op-card--featured .op-offer { background: var(--accent-tint); border-left-width: 4px; }
.badge-rec {
  display: inline-block; margin-top: .35rem; font-family: var(--font-meta);
  text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; color: var(--white);
  background: var(--accent); padding: .12rem .5rem; border-radius: 2px;
}

.list-note { margin-top: var(--space-3); color: var(--muted); font-size: .84rem; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: var(--border-thin); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.data caption { text-align: left; padding: var(--space-3); background: var(--surface-alt); color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
table.data thead th { background: #0f0f10; color: var(--white); text-align: left; padding: .8rem 1rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid var(--accent); }
table.data td, table.data th[scope="row"] { padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--surface); }
table.data tbody tr:hover { background: var(--surface-alt); }
table.data th[scope="row"] { font-family: var(--font-display); text-transform: uppercase; }

/* ---------- Method grid ---------- */
.grid-4 { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
.method-card { background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card); padding: var(--space-4); }
.method-card__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.method-card h3 { font-size: 1.05rem; margin: .3rem 0 .4rem; }
.method-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* two-panel */
.duo { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
.panel { background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card); padding: var(--space-4); }
.panel--up { border-top: 3px solid var(--accent); }
.panel--down { border-top: 3px solid var(--muted); }
.panel ul { margin: 0; padding-left: 1.1rem; }
.panel li { margin-bottom: .4rem; }

/* stat strip */
.stat-strip { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.stat { background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card); padding: var(--space-3) var(--space-4); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.stat span { color: var(--muted); font-size: .82rem; }

/* ---------- Safe gambling panel ---------- */
.safe-panel { background: var(--surface); border: var(--border-thin); border-left: 4px solid var(--accent); border-radius: var(--radius-card); padding: var(--space-5); }
.safe-panel h2 { font-size: var(--step-1); }
.safe-panel ul { columns: 2; column-gap: var(--space-5); margin: 0 0 var(--space-3); padding-left: 1.1rem; }
.safe-panel li { margin-bottom: .35rem; }

/* ---------- Article + TOC ---------- */
.article-wrap { display: grid; gap: var(--space-5); }
.article { max-width: var(--reading); }
.article h2 { font-size: var(--step-1); margin-top: var(--space-5); }
.article h2:first-of-type { margin-top: 0; }
.article h3 { font-size: 1.05rem; margin-top: var(--space-4); }
.article ol.article-body { counter-reset: sec; list-style: none; padding: 0; margin: 0; }
.toc { display: none; }
.toc__inner { position: sticky; top: 80px; background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card); padding: var(--space-4); }
.toc h2 { font-size: 1rem; margin-bottom: var(--space-3); }
.toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0; }
.toc li { counter-increment: toc; margin-bottom: .35rem; }
.toc a { display: flex; gap: .5rem; color: var(--muted); text-decoration: none; font-size: .86rem; padding: .15rem 0; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-family: var(--font-meta); font-size: .78rem; }
.toc a:hover { color: var(--ink); }
.worked { background: var(--surface); border: var(--border-thin); border-radius: var(--radius-card); padding: var(--space-4); margin-bottom: var(--space-3); }

/* ---------- FAQ ---------- */
.faq { max-width: var(--reading); }
.faq details { border: var(--border-thin); border-radius: var(--radius-card); background: var(--surface); margin-bottom: var(--space-2); }
.faq summary { cursor: pointer; padding: var(--space-3) var(--space-4); font-family: var(--font-display); text-transform: uppercase; font-weight: 700; list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 var(--space-4) var(--space-4); margin: 0; color: var(--muted); }

/* ---------- Read-more (generic content pages) ---------- */
.read-more { display: none; }
.read-more-toggle:checked ~ .read-more { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding-block: var(--space-6); margin-top: var(--space-6); }
.footer-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.footer-col h3 { font-size: .9rem; color: var(--muted); letter-spacing: .06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-legal p { margin-bottom: var(--space-2); }

/* ---------- Cookie notice ---------- */
.cookie-note {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--surface-alt); border-top: 2px solid var(--accent);
  padding: .8rem 1rem; display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  opacity: 0; visibility: hidden;
  animation: cookie-in .35s ease-out 2s forwards;
}
.cookie-note p { margin: 0; font-size: .88rem; flex: 1 1 16rem; }
.cookie-dismiss { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.2rem; background: var(--accent); color: var(--white); border-radius: var(--radius-control); font-weight: 700; cursor: pointer; text-transform: uppercase; }
.cookie-toggle:checked ~ .cookie-note { display: none; }
@keyframes cookie-in { from { opacity: 0; visibility: visible; transform: translateY(12px); } to { opacity: 1; visibility: visible; transform: translateY(0); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--accent); border-radius: var(--radius-control); text-decoration: none;
}
.to-top::before { content: ""; width: 12px; height: 12px; border-top: 3px solid var(--white); border-left: 3px solid var(--white); transform: rotate(45deg); margin-top: 4px; }
.cookie-toggle:not(:checked) ~ .to-top { bottom: 6.5rem; }
@supports (animation-timeline: scroll()) {
  .to-top { opacity: 0; animation: fade-in-top linear both; animation-timeline: scroll(root); animation-range: 200px 600px; }
  @keyframes fade-in-top { to { opacity: 1; } }
}

/* ---------- Generic content pages ---------- */
.page-head { padding-block: var(--space-5) var(--space-4); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-2); }
.page-head p { color: var(--muted); max-width: var(--reading); margin: 0; }
.prose { max-width: var(--reading); }
.prose h2 { font-size: var(--step-1); margin-top: var(--space-5); }
.prose h3 { font-size: 1.05rem; margin-top: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.callout { background: var(--surface); border: var(--border-thin); border-left: 4px solid var(--accent); border-radius: var(--radius-card); padding: var(--space-4); margin: var(--space-4) 0; }
.contact-details { list-style: none; padding: 0; }
.contact-details li { margin-bottom: .6rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: var(--space-3); }
.breadcrumb a { color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-delay: 0s !important; transition: none !important; }
  .cookie-note { opacity: 1; visibility: visible; transform: none; }
}

/* ================= Breakpoints ================= */

/* Method 4-col + stat strip + duo at >=981 */
@media (min-width: 981px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
}
/* Method 2-col between 561 and 980 */
@media (min-width: 561px) and (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Hero two-column + desktop nav at >=901 */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 58% 42%; align-items: start; }
  .hide-lt-901 { display: block; }
}

/* Below 901: hamburger */
@media (max-width: 900px) {
  .nav-btn { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--space-2) 1rem var(--space-3);
  }
  .site-header { position: sticky; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .9rem .4rem; border-bottom: 1px solid var(--line-soft); min-height: 44px; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* Article two-col with sticky TOC at >=1100 */
@media (min-width: 1100px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; }
  .toc { display: block; }
}

/* Operator cards fold at <=980: CTA on its own row */
@media (max-width: 980px) {
  .op-card { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "rank id" "offer offer" "cta cta"; row-gap: var(--space-3); }
  .op-card__rank { grid-area: rank; text-align: left; }
  .op-id { grid-area: id; }
  .op-offer { grid-area: offer; }
  .op-cta { grid-area: cta; }
  .op-cta .btn { width: 100%; }
  .op-card--featured .op-ribbon { margin-bottom: var(--space-3); }
}

/* Operator cards stack at <=700 */
@media (max-width: 700px) {
  .op-card { grid-template-columns: 1fr; grid-template-areas: "rank" "id" "offer" "cta"; }
  .safe-panel ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .byline__note { max-width: 9rem; }
}
@media (min-width: 701px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Cookie one row at <=560 */
@media (max-width: 560px) {
  .cookie-note { flex-wrap: nowrap; padding: .7rem .8rem; }
  .cookie-note p { font-size: .76rem; }
  .cookie-dismiss { flex: 0 0 auto; }
  .cookie-toggle:not(:checked) ~ .to-top { bottom: 8rem; }
}

/* Byline narrow phone */
@media (max-width: 700px) {
  .byline__role .role-long { display: none; }
  .byline__role .role-short { display: inline; }
}
@media (max-width: 360px) {
  .byline { gap: var(--space-2); padding: var(--space-2); }
  .byline__avatar { width: 40px; height: 40px; font-size: 1rem; }
  .byline__name { font-size: .9rem; }
  .byline__note { max-width: 7.5rem; font-size: .72rem; }
}
@media (max-width: 340px) {
  .brand { gap: .4rem; }
  .brand__name { font-size: 1rem; }
}
