/* ============================================================
   tradlostbredband.se · "Vågrörelse"
   Unik design: petrol/turkos/signal-vågor, editorial serif
   ============================================================ */

/* ---------- 1. Lokala typsnitt ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/tradlostbredband-se/newsreader-variable.woff2') format('woff2-variations'),
       url('/fonts/tradlostbredband-se/newsreader-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/tradlostbredband-se/newsreader-variable-italic.woff2') format('woff2-variations'),
       url('/fonts/tradlostbredband-se/newsreader-variable-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/tradlostbredband-se/inter-tight-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/tradlostbredband-se/inter-tight-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/tradlostbredband-se/inter-tight-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/tradlostbredband-se/inter-tight-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/tradlostbredband-se/jetbrains-mono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- 2. Variabler ---------- */
:root {
  --tb-canvas:      #F7F5F0;
  --tb-canvas-2:    #EFEBE0;
  --tb-surface:     #FFFFFF;
  --tb-surface-2:   #F2EFE6;
  --tb-rule:        #DBD4C4;
  --tb-rule-soft:   #E8E2D2;

  --tb-ink:         #0E1F1B;
  --tb-ink-2:       #2A3D38;
  --tb-muted:       #5E6E6A;
  --tb-muted-soft:  #8B9893;

  --tb-petrol:      #1F4943;
  --tb-petrol-2:    #2D6359;
  --tb-petrol-3:    #133A35;

  --tb-signal:      #1FA88A;
  --tb-signal-2:    #3FC0A6;
  --tb-signal-soft: #C8ECE3;

  --tb-cta:         #00A150;
  --tb-cta-2:       #007F40;
  --tb-cta-soft:    #D7F1E0;

  --tb-warn:        #C9531C;
  --tb-warn-soft:   #FCE6D7;

  --tb-star:        #E8B244;

  --tb-radius-sm: 6px;
  --tb-radius-md: 14px;
  --tb-radius-lg: 22px;
  --tb-radius-pill: 999px;

  --tb-shadow-sm: 0 1px 0 rgba(15, 31, 28, 0.04), 0 1px 2px rgba(15, 31, 28, 0.06);
  --tb-shadow-md: 0 4px 14px rgba(15, 31, 28, 0.07);
  --tb-shadow-lg: 0 22px 60px -28px rgba(15, 31, 28, 0.35);

  --tb-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --tb-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --tb-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- 3. Reset/global ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--tb-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tb-ink);
  background: var(--tb-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tb-petrol); text-decoration-color: var(--tb-signal); text-underline-offset: 3px; }
a:hover { color: var(--tb-cta-2); }

h1, h2, h3, h4 {
  font-family: var(--tb-display);
  font-weight: 500;
  color: var(--tb-ink);
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
h1 { font-size: clamp(2.2rem, 4.6vw + 0.4rem, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.3vw + 0.6rem, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 1.1vw + 0.8rem, 1.55rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
.tb-script { font-style: italic; font-weight: 400; color: var(--tb-petrol); }

p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

::selection { background: var(--tb-signal-soft); color: var(--tb-petrol-3); }

/* ---------- 4. Layout — container, sektioner, vågor ---------- */
.tb-container { max-width: 1180px; margin: 0 auto; padding: 0 1.4rem; }
.tb-container--narrow { max-width: 760px; }
.tb-container--wide { max-width: 1320px; }
@media (max-width: 480px) {
  .tb-container { padding: 0 1.1rem; }
}

.tb-section { padding: 4rem 0; position: relative; }
.tb-section--tight { padding: 2.4rem 0; }
@media (max-width: 600px) {
  .tb-section { padding: 2.4rem 0; }
  .tb-section--tight { padding: 1.6rem 0; }
}
.tb-section--canvas { background: var(--tb-canvas); }
.tb-section--canvas-2 { background: var(--tb-canvas-2); }
.tb-section--surface { background: var(--tb-surface); }
.tb-section--petrol { background: var(--tb-petrol); color: #E7F1EE; }
.tb-section--petrol h1, .tb-section--petrol h2, .tb-section--petrol h3 { color: #FFFFFF; }
.tb-section--petrol a { color: var(--tb-signal-2); }

/* Sinusvåg som sektionsdelare */
.tb-wave {
  display: block;
  width: 100%;
  height: 56px;
  color: var(--tb-canvas);
}
.tb-wave svg { display: block; width: 100%; height: 100%; }

/* ---------- 5. Header / topbar ---------- */
.tb-topbar {
  background: var(--tb-petrol);
  color: #D8E8E3;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tb-topbar .tb-container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.8rem; padding-bottom: 0.8rem; gap: 1rem; }
.tb-topbar a { color: #C8ECE3; text-decoration: none; }
.tb-topbar a:hover { color: #FFFFFF; }
.tb-topbar-meta { font-family: var(--tb-mono); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; opacity: 0.78; }
.tb-topbar-meta::before { content: '◉'; color: var(--tb-signal-2); margin-right: 0.45rem; }

.tb-nav {
  background: var(--tb-petrol-3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tb-nav .tb-container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.tb-nav a {
  color: #E1F1ED;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}
.tb-nav a:hover, .tb-nav a.active { color: var(--tb-signal-2); border-bottom-color: var(--tb-signal); }

.tb-brand {
  background: var(--tb-canvas);
  padding: 1.6rem 0 1.2rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--tb-rule-soft);
}
.tb-brand img { display: inline-block; max-height: 56px; width: auto; }
.tb-brand-tagline {
  font-family: var(--tb-display);
  font-style: italic;
  color: var(--tb-petrol-2);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ---------- 6. Hero ---------- */
.tb-hero {
  position: relative;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 18% 10%, var(--tb-signal-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 95% 90%, #F4ECCF 0%, transparent 60%),
    var(--tb-canvas);
  overflow: hidden;
}
.tb-hero::before,
.tb-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: var(--tb-signal);
  opacity: 0.22;
  pointer-events: none;
}
.tb-hero::before { width: 540px; height: 540px; top: -240px; right: -160px; }
.tb-hero::after { width: 320px; height: 320px; bottom: -140px; left: -100px; opacity: 0.18; }

.tb-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) {
  .tb-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.tb-hero-eyebrow {
  font-family: var(--tb-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tb-petrol-2);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.tb-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--tb-signal);
}
.tb-hero h1 { margin-bottom: 1.1rem; }
.tb-hero h1 em { font-style: italic; color: var(--tb-petrol); }
.tb-hero-lead {
  font-size: 1.18rem;
  color: var(--tb-ink-2);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.tb-hero-meta {
  font-family: var(--tb-mono);
  font-size: 0.82rem;
  color: var(--tb-muted);
  letter-spacing: 0.01em;
}
.tb-hero-meta strong { color: var(--tb-petrol); font-weight: 500; }

.tb-hero-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* "Antennradar" — visuell hero-art med koncentriska vågor */
.tb-hero-radar {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}
.tb-hero-radar svg { width: 100%; height: 100%; }
.tb-radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--tb-signal);
  opacity: 0;
  animation: tb-radar-pulse 4.8s ease-out infinite;
}
.tb-radar-pulse:nth-child(2) { animation-delay: 1.2s; }
.tb-radar-pulse:nth-child(3) { animation-delay: 2.4s; }
.tb-radar-pulse:nth-child(4) { animation-delay: 3.6s; }
@keyframes tb-radar-pulse {
  0%   { transform: scale(0.34); opacity: 0.95; }
  100% { transform: scale(1.0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-radar-pulse { animation: none; opacity: 0.4; transform: scale(0.8); }
}

/* ---------- 7. Knappar ---------- */
.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--tb-sans);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--tb-radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn-primary {
  background: var(--tb-cta);
  color: #FFFFFF;
  box-shadow: 0 2px 0 var(--tb-cta-2), 0 8px 18px -8px rgba(0,161,80,0.55);
}
.tb-btn-primary:hover { background: var(--tb-cta-2); color: #FFFFFF; }
.tb-btn-petrol {
  background: var(--tb-petrol);
  color: #FFFFFF;
}
.tb-btn-petrol:hover { background: var(--tb-petrol-2); color: #FFFFFF; }
.tb-btn-ghost {
  background: transparent;
  color: var(--tb-petrol);
  border-color: var(--tb-petrol);
}
.tb-btn-ghost:hover { background: var(--tb-petrol); color: #FFFFFF; }
.tb-btn-line {
  background: transparent;
  color: var(--tb-petrol);
  border: none;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid var(--tb-signal);
  border-radius: 0;
  font-weight: 600;
}
.tb-btn-line:hover { color: var(--tb-cta); border-bottom-color: var(--tb-cta); }

/* ---------- 8. Pills / badges ---------- */
.tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  background: var(--tb-surface-2);
  color: var(--tb-petrol);
  border-radius: var(--tb-radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--tb-sans);
  border: 1px solid var(--tb-rule-soft);
  white-space: nowrap;
  line-height: 1.2;
}
.tb-pill--signal { background: var(--tb-signal-soft); color: var(--tb-petrol-3); border-color: transparent; }
.tb-pill--cta { background: var(--tb-cta-soft); color: var(--tb-cta-2); border-color: transparent; }
.tb-pill--warn { background: var(--tb-warn-soft); color: var(--tb-warn); border-color: transparent; }
.tb-pill--dark { background: var(--tb-petrol); color: #DDEDE9; border-color: transparent; }
.tb-pill--mono { font-family: var(--tb-mono); font-size: 0.78rem; letter-spacing: -0.01em; }

.tb-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--tb-petrol);
  color: #FFFFFF;
  font-family: var(--tb-mono);
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}
.tb-rank--top {
  width: auto; height: auto;
  border-radius: var(--tb-radius-pill);
  padding: 0.32rem 0.8rem;
  background: var(--tb-cta);
  font-family: var(--tb-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- 9. Jämförpris-badge ---------- */
.tb-jmf {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.85rem;
  background: var(--tb-petrol-3);
  color: #E0F1EC;
  border-radius: var(--tb-radius-pill);
  font-family: var(--tb-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  cursor: help;
}
.tb-jmf::before {
  content: '◢';
  color: var(--tb-signal-2);
  font-size: 0.65rem;
}

/* ---------- 10. Stjärnor (visuella, inga siffror) ---------- */
.tb-stars {
  display: inline-flex;
  gap: 1px;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--tb-star);
  letter-spacing: 0;
}
.tb-stars-track { position: relative; display: inline-block; color: var(--tb-rule); font-family: var(--tb-sans); }
.tb-stars-fill { position: absolute; top: 0; left: 0; color: var(--tb-star); overflow: hidden; white-space: nowrap; font-family: var(--tb-sans); }

/* ---------- 11. Deal-lista ---------- */
.tb-deal-list { display: grid; gap: 1.1rem; margin: 1.5rem 0; }
.tb-deal {
  position: relative;
  background: var(--tb-surface);
  border: 1px solid var(--tb-rule-soft);
  border-radius: var(--tb-radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 122px 1fr 220px;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem 1.2rem 1.2rem;
  box-shadow: var(--tb-shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.tb-deal:hover { box-shadow: var(--tb-shadow-md); transform: translateY(-1px); }
@media (max-width: 760px) {
  .tb-deal {
    grid-template-columns: 80px 1fr;
    gap: 0.9rem 1rem;
    padding: 1rem;
  }
}

/* Toppstreck — signal-färg på #1 */
.tb-deal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tb-rule-soft);
}
.tb-deal--top::before { background: linear-gradient(90deg, var(--tb-signal) 0%, var(--tb-cta) 100%); }

/* Topplinje innehåll: rank+jmf */
.tb-deal-topline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--tb-rule-soft);
  margin-bottom: 0.6rem;
}
.tb-deal-topline-left { display: flex; align-items: center; gap: 0.6rem; }
.tb-deal-topline-right { display: flex; align-items: center; gap: 0.5rem; }
.tb-deal-cat {
  font-family: var(--tb-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tb-muted);
}

@media (max-width: 760px) {
  .tb-deal-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .tb-deal-topline-left,
  .tb-deal-topline-right {
    width: 100%;
    margin-left: 0;
  }
  .tb-deal-topline-right { justify-content: flex-start; }
  .tb-jmf {
    font-size: 0.72rem;
    padding: 0.28rem 0.7rem;
    white-space: normal;
  }
  .tb-deal-cat {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
}
@media (max-width: 380px) {
  .tb-deal-topline-left { flex-wrap: wrap; }
  .tb-deal-cat { width: 100%; }
}

.tb-deal-logo {
  display: flex; align-items: center; justify-content: center;
  background: var(--tb-canvas);
  border-radius: var(--tb-radius-sm);
  padding: 0.5rem;
}
.tb-deal-logo img { max-width: 100%; max-height: 68px; object-fit: contain; }
@media (max-width: 760px) {
  .tb-deal-logo img { max-height: 44px; }
}

.tb-deal-info { display: flex; flex-direction: column; gap: 0.5rem; }
.tb-deal-info h3 {
  font-family: var(--tb-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.tb-deal-info h3 small {
  display: block;
  font-family: var(--tb-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--tb-muted);
  margin-top: 0.1rem;
}
.tb-deal-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tb-deal-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  text-align: right;
}
.tb-deal-price-big {
  font-family: var(--tb-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--tb-petrol);
  line-height: 1;
}
.tb-deal-price-suffix { font-family: var(--tb-sans); font-size: 0.92rem; color: var(--tb-ink-2); }
.tb-deal-price-meta { font-size: 0.78rem; color: var(--tb-muted); }
.tb-deal-cta { width: 100%; text-align: center; padding: 0.85rem 1rem; }

@media (max-width: 760px) {
  .tb-deal-price {
    grid-column: 1 / -1;
    align-items: stretch;
    text-align: left;
    padding-top: 0.6rem;
    border-top: 1px solid var(--tb-rule-soft);
  }
  .tb-deal-price-row {
    display: flex; align-items: baseline; justify-content: space-between;
  }
}

/* ---------- 12. Operatörs-tiles ---------- */
.tb-op-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tb-op-tile {
  background: var(--tb-surface);
  border: 1px solid var(--tb-rule-soft);
  border-radius: var(--tb-radius-md);
  padding: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--tb-shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.tb-op-tile:hover { box-shadow: var(--tb-shadow-md); transform: translateY(-2px); }
.tb-op-tile-rank {
  position: absolute;
  top: 0.7rem; right: 0.9rem;
  font-family: var(--tb-mono);
  font-size: 0.72rem;
  color: var(--tb-muted);
  background: var(--tb-canvas);
  padding: 0.15rem 0.45rem;
  border-radius: var(--tb-radius-pill);
  border: 1px solid var(--tb-rule-soft);
}
.tb-op-tile-logo {
  height: 60px;
  display: flex; align-items: center;
  margin-bottom: 0.2rem;
}
.tb-op-tile-logo img { max-height: 56px; max-width: 130px; object-fit: contain; }
.tb-op-tile h3 {
  font-family: var(--tb-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.tb-op-tile-facts { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--tb-ink-2); }
.tb-op-tile-facts li { display: flex; align-items: center; gap: 0.45rem; padding: 0.18rem 0; }
.tb-op-tile-facts li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tb-signal); flex-shrink: 0;
}
.tb-op-tile-cta {
  display: flex; gap: 0.45rem; margin-top: auto; padding-top: 0.6rem;
  border-top: 1px solid var(--tb-rule-soft);
}
.tb-op-tile-cta a { flex: 1; text-align: center; font-size: 0.85rem; padding: 0.6rem 0.4rem; }

/* ---------- 13. Topic-grid (hub-navigering) ---------- */
.tb-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tb-topic-card {
  background: var(--tb-surface);
  border: 1px solid var(--tb-rule-soft);
  border-radius: var(--tb-radius-md);
  padding: 1.4rem 1.3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--tb-ink);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.tb-topic-card:hover {
  box-shadow: var(--tb-shadow-md);
  border-color: var(--tb-signal);
  color: var(--tb-ink);
  transform: translateY(-2px);
}
.tb-topic-card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tb-signal-soft);
  color: var(--tb-petrol-3);
  border-radius: 50%;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.tb-topic-card h3 {
  font-family: var(--tb-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}
.tb-topic-card p { font-size: 0.92rem; color: var(--tb-muted); margin: 0; }
.tb-topic-card-arrow {
  font-family: var(--tb-mono);
  font-size: 0.85rem;
  color: var(--tb-petrol);
  margin-top: 0.45rem;
  letter-spacing: 0.02em;
}

/* ---------- 14. CTA-box ---------- */
.tb-cta-box {
  background: var(--tb-petrol);
  color: #E1F1ED;
  border-radius: var(--tb-radius-lg);
  padding: 2rem 2rem;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}
.tb-cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px solid var(--tb-signal-2);
  opacity: 0.3;
}
.tb-cta-box::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid var(--tb-signal-2);
  opacity: 0.4;
}
.tb-cta-box h3 {
  font-family: var(--tb-display);
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  max-width: 26ch;
  position: relative; z-index: 2;
}
.tb-cta-box p { max-width: 60ch; position: relative; z-index: 2; }
.tb-cta-box-buttons { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; position: relative; z-index: 2; }
.tb-cta-box .tb-btn-petrol { background: #FFFFFF; color: var(--tb-petrol); }
.tb-cta-box .tb-btn-petrol:hover { background: var(--tb-signal-soft); }
.tb-cta-box .tb-btn-ghost { border-color: rgba(255,255,255,0.4); color: #FFFFFF; }
.tb-cta-box .tb-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #FFFFFF; }

/* ---------- 15. FAQ ---------- */
.tb-faq { margin: 1.5rem 0; }
.tb-faq-item {
  border-bottom: 1px solid var(--tb-rule-soft);
  padding: 1.1rem 0;
}
.tb-faq-item:first-child { border-top: 1px solid var(--tb-rule-soft); }
.tb-faq-item { padding: 0; }
.tb-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.4rem 1.1rem 0;
  position: relative;
  user-select: none;
}
.tb-faq-item summary::-webkit-details-marker { display: none; }
.tb-faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--tb-petrol);
  border-bottom: 2px solid var(--tb-petrol);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}
.tb-faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.tb-faq-q {
  font-family: var(--tb-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--tb-petrol);
  margin: 0;
  display: block;
}
.tb-faq-q:hover { color: var(--tb-cta-2); }
.tb-faq-a { color: var(--tb-ink-2); padding: 0 2rem 1.1rem 0; }
.tb-faq-a p:last-child { margin-bottom: 0; }

/* ---------- 16. Brödtext-typografi för artiklar ---------- */
.tb-prose {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--tb-ink);
}
.tb-prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--tb-rule-soft);
}
.tb-prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.tb-prose h3 { margin-top: 1.8rem; }
.tb-prose ul, .tb-prose ol { margin: 1rem 0; }
.tb-prose figure { margin: 1.5rem 0; }
.tb-prose figure img { border-radius: var(--tb-radius-md); }
.tb-prose figure figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--tb-muted);
  margin-top: 0.5rem;
  font-style: italic;
}
.tb-prose blockquote {
  font-family: var(--tb-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--tb-petrol);
  border-left: 3px solid var(--tb-signal);
  padding: 0.6rem 0 0.6rem 1.4rem;
  margin: 2rem 0;
}
.tb-prose a { color: var(--tb-petrol); text-decoration: underline; text-decoration-color: var(--tb-signal); text-underline-offset: 3px; }
.tb-prose a:hover { color: var(--tb-cta); text-decoration-color: var(--tb-cta); }

/* Faktaruta */
.tb-fact {
  background: var(--tb-canvas-2);
  border-left: 3px solid var(--tb-signal);
  border-radius: 0 var(--tb-radius-sm) var(--tb-radius-sm) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
}
.tb-fact h4 {
  font-family: var(--tb-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tb-petrol-2);
  margin-bottom: 0.6rem;
}
.tb-fact p:last-child { margin-bottom: 0; }
.tb-fact ul:last-child, .tb-fact ol:last-child { margin-bottom: 0; }

/* ---------- 17. Tabeller ---------- */
.tb-table-wrap { overflow-x: auto; margin: 1.4rem 0; }
.tb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: var(--tb-surface);
  border-radius: var(--tb-radius-md);
  overflow: hidden;
  box-shadow: var(--tb-shadow-sm);
}
.tb-table thead th {
  background: var(--tb-petrol);
  color: #FFFFFF;
  text-align: left;
  font-family: var(--tb-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1rem;
}
.tb-table tbody td { padding: 0.78rem 1rem; border-bottom: 1px solid var(--tb-rule-soft); vertical-align: top; }
.tb-table tbody tr:last-child td { border-bottom: none; }
.tb-table tbody tr:hover td { background: var(--tb-surface-2); }

/* ---------- 18. Breadcrumb ---------- */
.tb-crumbs {
  font-family: var(--tb-mono);
  font-size: 0.78rem;
  color: var(--tb-muted);
  margin: 1.2rem 0 0.6rem;
  letter-spacing: 0.01em;
}
.tb-crumbs a { color: var(--tb-petrol); text-decoration: none; }
.tb-crumbs a:hover { color: var(--tb-cta); }
.tb-crumbs span.sep { margin: 0 0.5rem; color: var(--tb-muted-soft); }

/* ---------- 19. Footer ---------- */
.tb-footer {
  background: var(--tb-petrol-3);
  color: #C8DCD7;
  padding: 3rem 0 1.4rem;
  margin-top: 4rem;
}
.tb-footer h4 {
  font-family: var(--tb-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tb-signal-2);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.tb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 880px) {
  .tb-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 520px) {
  .tb-footer-grid { grid-template-columns: 1fr; }
}
.tb-footer-brand {
  font-family: var(--tb-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.tb-footer ul { list-style: none; padding: 0; margin: 0; }
.tb-footer ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.tb-footer a { color: #C8DCD7; text-decoration: none; }
.tb-footer a:hover { color: var(--tb-signal-2); }
.tb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--tb-muted-soft);
  text-align: center;
  font-family: var(--tb-mono);
  letter-spacing: 0.01em;
}

/* ---------- 20. Tooltip-stil för Bootstrap ---------- */
.tooltip {
  font-family: var(--tb-sans) !important;
  --bs-tooltip-bg: var(--tb-petrol-3);
  --bs-tooltip-color: #E0F1EC;
  --bs-tooltip-max-width: 280px;
  --bs-tooltip-padding-x: 0.85rem;
  --bs-tooltip-padding-y: 0.6rem;
  --bs-tooltip-font-size: 0.85rem;
  --bs-tooltip-border-radius: var(--tb-radius-md);
}

/* ---------- 21. Misc — fri text & helpers ---------- */
.tb-section-eyebrow {
  font-family: var(--tb-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tb-petrol-2);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tb-section-eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--tb-signal);
}
.tb-section-intro {
  font-size: 1.08rem;
  color: var(--tb-ink-2);
  max-width: 64ch;
  margin: 0 0 1.5rem;
}
.tb-mute { color: var(--tb-muted); }
.tb-text-mono { font-family: var(--tb-mono); }
.tb-text-serif { font-family: var(--tb-display); }
.tb-divider {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 2rem 0; color: var(--tb-muted);
}
.tb-divider::before, .tb-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--tb-rule-soft);
}

/* Affiliate-disclosure (Konsumentverket-krav) */
.tb-affiliate-disclosure {
  background: var(--tb-canvas-2);
  border-radius: var(--tb-radius-md);
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  color: var(--tb-muted);
  display: flex; align-items: baseline; gap: 0.5rem;
  margin: 1.2rem 0;
  line-height: 1.5;
  border: 1px solid var(--tb-rule-soft);
}
.tb-ad-tag {
  display: inline-block;
  font-family: var(--tb-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--tb-petrol);
  color: #FFFFFF;
  padding: 0.18rem 0.55rem;
  border-radius: var(--tb-radius-pill);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .tb-affiliate-disclosure { flex-direction: column; gap: 0.4rem; }
}

/* Inline-CTA i artiklar */
.tb-cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.2rem;
  flex-wrap: wrap;
  background: var(--tb-petrol);
  color: #E1F1ED;
  border-radius: var(--tb-radius-md);
  padding: 1rem 1.3rem;
  margin: 1.6rem 0;
  position: relative;
  overflow: hidden;
}
.tb-cta-inline::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--tb-signal-2);
  opacity: 0.3;
}
.tb-cta-inline-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; position: relative; z-index: 2; }
.tb-cta-inline-text strong {
  font-family: var(--tb-display);
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.3;
}
.tb-cta-inline-text span { font-size: 0.92rem; color: #C8DCD7; }
.tb-cta-inline .tb-btn-primary { flex: 0 0 auto; position: relative; z-index: 2; }

/* Bootstrap-table-stil: gör tb-table responsiv på mobil */
.tb-table-wrap.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
  .tb-table { font-size: 0.88rem; }
  .tb-table thead th, .tb-table tbody td { padding: 0.6rem 0.7rem; }
}

/* Sitemap */
.tb-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem 1.6rem;
  margin: 1.8rem 0 1rem;
}
.tb-sitemap-col h2 {
  font-family: var(--tb-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tb-petrol-2);
  margin: 0 0 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--tb-rule-soft);
}
.tb-sitemap-col ul { list-style: none; padding: 0; margin: 0; }
.tb-sitemap-col li { margin: 0; padding: 0.28rem 0; }
.tb-sitemap-col a {
  display: block;
  color: var(--tb-ink);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.45;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: border-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.tb-sitemap-col a:hover {
  color: var(--tb-petrol);
  border-left-color: var(--tb-signal);
  padding-left: 0.85rem;
}

/* Artikel-figure (AI-bild i artiklar) */
.tb-article-figure {
  margin: 1.8rem 0;
  text-align: center;
}
.tb-article-figure img {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-sm);
  display: block;
  margin: 0 auto;
}
.tb-article-figure figcaption {
  font-size: 0.82rem;
  color: var(--tb-muted);
  margin-top: 0.6rem;
  font-style: italic;
  max-width: 60ch;
  margin-left: auto; margin-right: auto;
}

/* Sticky mobil-CTA (visas endast under 760px) */
.tb-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--tb-petrol-3);
  color: #FFFFFF;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  z-index: 50;
  box-shadow: 0 -4px 14px rgba(15,31,28,0.18);
  align-items: center;
  gap: 0.7rem;
}
.tb-sticky-cta-text { flex: 1 1 auto; font-size: 0.85rem; line-height: 1.25; }
.tb-sticky-cta-text strong { color: #FFFFFF; display: block; font-family: var(--tb-display); font-size: 1rem; }
.tb-sticky-cta-text span { color: #C8DCD7; font-size: 0.78rem; }
.tb-sticky-cta .tb-btn-primary { padding: 0.7rem 1.1rem; font-size: 0.92rem; }
@media (max-width: 760px) {
  .tb-sticky-cta { display: flex; }
  body { padding-bottom: 90px; }
  .tb-footer { padding-bottom: 1.4rem; }
}

/* Print */
@media print {
  .tb-hero-radar, .tb-topbar, .tb-nav, .tb-footer, .tb-cta-box::before, .tb-cta-box::after { display: none; }
}
