/* ==========================================================================
   IPTV Sweden 4K — Design Tokens
   ========================================================================== */
:root {
  /* Brand palette — deep Nordic navy + warm premium gold + 4K cyan accent.
     Deliberately distinct from generic "flag blue/yellow" combos: navy reads
     premium/trustworthy, gold reads value without looking discount-cheap,
     cyan is reserved for 4K/tech signaling only. */
  --navy-950: #071527;
  --navy-900: #0A2240;
  --navy-800: #0F2E56;
  --navy-700: #15406F;
  --navy-600: #1C548C;
  --navy-500: #2569A8;

  --gold-600: #B9852A;
  --gold-500: #D9A03F;
  --gold-400: #E8B85C;
  --gold-300: #F3D08C;
  --gold-050: #FBF3E2;

  --cyan-500: #1FB6C4;
  --cyan-400: #3FD3DF;

  --ink-900: #0E1720;
  --ink-700: #2A3644;
  --muted-600: #5B6B7C;
  --muted-400: #8698A8;

  --bg: #F5F8FB;
  --surface: #FFFFFF;
  --surface-alt: #EFF4F9;
  --border: #E1E8F0;
  --border-strong: #C9D5E1;

  --success-600: #1B8F5E;
  --success-050: #E7F6EF;
  --danger-600: #C3453F;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.875rem;
  --lh-tight: 1.2;
  --lh-normal: 1.55;
  --lh-relaxed: 1.75;

  /* Spacing scale (px) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(10, 34, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 34, 64, 0.10);
  --shadow-lg: 0 18px 48px rgba(10, 34, 64, 0.18);

  /* Layout */
  --container-max: 1200px;
  --container-pad: 24px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
}

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


/* ==========================================================================
   Base / Reset / Typography
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0 0 var(--sp-4); color: var(--navy-900); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 var(--sp-4); color: var(--ink-700); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; color: var(--ink-700); }
li { margin-bottom: var(--sp-2); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); }
blockquote {
  margin: 0 0 var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface-alt);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
}
hr { border: none; border-top: 1px solid var(--border); margin: var(--sp-8) 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* Focus visibility — required a11y baseline, absent in the reference site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: var(--sp-20) 0; }
.section--tight { padding: var(--sp-12) 0; }
.section--alt { background: var(--surface-alt); }

.kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-050);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}

.lead {
  font-size: var(--fs-md);
  color: var(--muted-600);
  line-height: var(--lh-relaxed);
  max-width: 68ch;
}

.section-head {
  max-width: 720px;
  margin: 0 0 var(--sp-10);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  :root { --fs-3xl: 2.375rem; --fs-2xl: 1.875rem; }
  .section { padding: var(--sp-16) 0; }
}
@media (max-width: 768px) {
  :root { --fs-3xl: 2rem; --fs-2xl: 1.625rem; --container-pad: 20px; }
  .section { padding: var(--sp-12) 0; }
}
@media (max-width: 480px) {
  :root { --fs-3xl: 1.7rem; --fs-2xl: 1.4rem; --fs-xl: 1.35rem; }
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  min-height: 48px;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 20px rgba(217, 160, 63, 0.35);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(217, 160, 63, 0.45); color: var(--navy-950); }

.btn--secondary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 34, 64, 0.25);
}
.btn--secondary:hover { background: var(--navy-800); color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); color: #fff; }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { background: #1EBE5A; color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: var(--fs-xs); }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-950);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand__mark { color: var(--gold-600); }
.brand img { height: 34px; width: auto; }
@media (max-width: 400px) {
  /* The wordmark logo's fixed aspect ratio (300:40) renders ~255px wide at
     34px tall — on very narrow phones (≤400px) that leaves too little room
     next to the hamburger button and overflows the viewport. Shrinking it
     here keeps the header on one line without horizontal scroll. */
  .brand img { height: 26px; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }

.nav__mobile-panel { display: none; }

@media (max-width: 1150px) {
  /* Threshold raised from 900px: adding a second nav item (Abonnemang +
     Priser split into separate links) made the full desktop nav wider than
     it used to be, and it was overflowing the viewport (causing horizontal
     scroll) between roughly 901px and 1130px before switching to the
     mobile menu. 1150px keeps a safety margin so it never overflows. */
  .nav__links { display: none; }
  .nav__actions .btn--primary.nav__cta-desktop { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav__mobile-panel {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    z-index: 99;
    padding: var(--sp-6) var(--container-pad) var(--sp-10);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease);
  }
  .nav__mobile-panel.is-open { transform: translateX(0); }
  .nav__mobile-panel ul { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
  .nav__mobile-panel li { border-bottom: 1px solid var(--border); margin: 0; }
  .nav__mobile-panel a {
    display: block;
    padding: 16px 4px;
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--navy-900);
    min-height: 48px;
  }
  .nav__mobile-contact { display: flex; flex-direction: column; gap: var(--sp-3); }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.feature-card__icon svg { width: 26px; height: 26px; color: var(--gold-400); }
.feature-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature-card p { font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.feature-card__link { font-weight: 700; font-size: var(--fs-sm); }

/* Trust strip */
.trust-strip {
  background: var(--navy-950);
  color: #fff;
  padding: var(--sp-6) 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  text-align: center;
}
.trust-strip__item strong { display: block; font-size: var(--fs-lg); color: var(--gold-400); font-weight: 800; }
.trust-strip__item span { font-size: var(--fs-xs); color: #B9C8D6; }
@media (max-width: 640px) { .trust-strip__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Pricing cards
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan-card--popular {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
@media (max-width: 1024px) { .plan-card--popular { transform: none; } }

.plan-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan-card__duration {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-600);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.plan-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-card__permonth { font-size: var(--fs-sm); color: var(--muted-600); margin-bottom: var(--sp-2); }
.plan-card__save {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--success-600);
  background: var(--success-050);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-5);
}
.plan-card__features { list-style: none; margin: 0 0 var(--sp-6); padding: 0; flex-grow: 1; }
.plan-card__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  margin-bottom: var(--sp-3);
}
.plan-card__features svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--success-600); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-5);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.faq-item[open] summary .faq-icon { background: var(--gold-050); transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-700); font-size: var(--fs-sm); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  padding: var(--sp-4) 0;
  font-size: var(--fs-xs);
  color: var(--muted-600);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs a { color: var(--muted-600); font-weight: 600; }
.breadcrumbs a:hover { color: var(--navy-800); }
.breadcrumbs [aria-current="page"] { color: var(--ink-900); font-weight: 700; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/images/texture-wave.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(217,160,63,0.25), transparent 60%);
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-banner p { color: #C6D3E0; max-width: 60ch; margin: 0 auto var(--sp-6); }
.cta-banner__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Related content grid / TOC
   ========================================================================== */
.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card__label { font-size: var(--fs-xs); font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; display: block; }
.related-card h3 { font-size: var(--fs-base); margin-bottom: 4px; color: var(--navy-900); }
.related-card p { font-size: var(--fs-xs); color: var(--muted-600); margin: 0; }

.toc {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: var(--sp-2); }
.toc a { font-size: var(--fs-sm); color: var(--ink-700); font-weight: 600; }
.toc a:hover { color: var(--navy-900); }

/* TL;DR callout */
.tldr {
  background: var(--gold-050);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.tldr strong { color: var(--navy-950); }

/* Editorial byline block */
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--muted-600);
  margin: var(--sp-3) 0 var(--sp-8);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.byline strong { color: var(--ink-700); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: #A9BBCC; padding-top: var(--sp-16); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}
.footer-grid h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-4); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--sp-2); }
.footer-grid a { color: #A9BBCC; font-size: var(--fs-sm); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: #93A6B8; font-size: var(--fs-sm); max-width: 40ch; }
.footer-contact { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-contact a { color: #E8B85C; font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-5) 0;
  font-size: var(--fs-xs);
  color: #7A8CA0;
  text-align: center;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; color: #fff; }
@media (max-width: 480px) {
  .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy-950);
  color: #DCE6EF;
  padding: var(--sp-5) var(--container-pad);
  z-index: 200;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cookie-banner p { color: #DCE6EF; font-size: var(--fs-sm); margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--gold-400); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ==========================================================================
   Table styling (comparison tables etc.)
   ========================================================================== */
.table-wrap { overflow-x: auto; margin: var(--sp-6) 0; border-radius: var(--radius-md); border: 1px solid var(--border); }
.table-wrap table { min-width: 480px; }
.table-wrap th { background: var(--surface-alt); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-600); }
.table-wrap td { font-size: var(--fs-sm); color: var(--ink-700); }
.table-wrap tr:last-child td { border-bottom: none; }

/* Badge */
.badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.badge--gold { background: var(--gold-050); color: var(--gold-600); }
.badge--success { background: var(--success-050); color: var(--success-600); }
.badge--cyan { background: rgba(31,182,196,0.12); color: var(--cyan-500); }


/* ==========================================================================
   Article / long-form content layout
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--sp-12);
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

.article-body h2 { margin-top: var(--sp-10); scroll-margin-top: calc(var(--header-h) + 16px); }
.article-body h3 { margin-top: var(--sp-6); scroll-margin-top: calc(var(--header-h) + 16px); }
.article-body p { font-size: var(--fs-base); line-height: var(--lh-relaxed); }
.article-body ul li, .article-body ol li { line-height: var(--lh-relaxed); }
.article-body figure { margin: var(--sp-6) 0; }
.article-body figcaption { font-size: var(--fs-xs); color: var(--muted-600); margin-top: var(--sp-2); }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }

.page-hero {
  padding: var(--sp-8) 0 var(--sp-10);
}
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: var(--sp-3); }

/* Homepage hero: kept short and viewport-friendly so the pricing section
   (which now follows immediately after the trust strip) is reached with
   minimal scrolling on both desktop and mobile. */
.page-hero--compact {
  padding: var(--sp-6) 0 var(--sp-8);
}
@media (max-width: 640px) {
  .page-hero--compact { padding: var(--sp-5) 0 var(--sp-6); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.step-list { counter-reset: step; list-style: none; padding: 0; margin: var(--sp-6) 0; }
.step-list > li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: var(--sp-6);
}
.step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm);
}
.step-list h3 { margin-bottom: 4px; }

.callout {
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
  border: 1px solid var(--border);
}
.callout--warning { background: #FDF3E8; border-color: #EFCFA0; }
.callout--info { background: rgba(31,182,196,0.08); border-color: rgba(31,182,196,0.35); }
.callout strong { display: block; margin-bottom: 4px; color: var(--navy-950); }
.callout p:last-child { margin-bottom: 0; }
