/* SEOTOPPEN — FUTUREPEDIA-STIL
   Vitt, luftigt, ljusa kort — som futurepedia.io */

:root {
  --ink: #241b16;
  --ink-soft: #4d4036;
  --muted: #75665a;
  --line: #eee5da;
  --line-strong: #ddcfc0;
  --paper: #fffdfa;
  --bg: #fffaf4;
  --bg-soft: #fcf6ee;
  --warm: #fff3e6;
  --warm-line: #f3dfc9;
  --warm-mid: #f2cea6;
  --accent: #2a211c;
  --accent-dark: #2a211c;
  --accent-soft: #f6eee4;
  --pop: #2a211c;
  --deep: #2a211c;
  --on-deep: #fffdf9;
  --good: #2f7d4f;
  --good-bg: #f2faf4;
  --bad: #b4533c;
  --bad-bg: #fdf5f1;
  --amber: #e8792e;
  --amber-deep: #b4571f;
  --font: "Inter", "InterFallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.07);
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --ease: cubic-bezier(.2,.7,.3,1);
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.layout-single { max-width: 760px; margin: 0 auto; }
.layout-single.text-page { max-width: 720px; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p a, .faq-a a, .disclosure a, .affiliate-note a, .contact-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin: 0 0 .3em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; margin: 0 0 .5em; }
h3 { font-size: 1.1rem; font-weight: 650; margin: 0; }
h4 { font-size: .92rem; font-weight: 650; margin: 0 0 .4em; }
.section-title { margin-top: 2.4em; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 36em; line-height: 1.55; }
.intro { font-size: 1.06rem; color: var(--muted); max-width: 46em; margin-bottom: 1.6em; }
.eyebrow { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7em; }
.ico-wrap { display: inline-flex; align-items: center; }
.ico-wrap svg { display: block; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* HEADER — Futurepedia vit, tunn linje, Join-knapp svart */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,250,244,.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-word { line-height: 1; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-dot { color: var(--accent); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink-soft); font-size: .88rem; font-weight: 550; white-space: nowrap; }
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.header-actions { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: .88rem; font-weight: 650; border: 1px solid var(--ink); white-space: nowrap; }
.header-cta:hover { background: #1f2937; text-decoration: none; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 18px; height: 18px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - 65px); overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 14px; }
.mobile-nav a { display: block; padding: 11px 0; color: var(--ink); font-weight: 550; border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child a { border-bottom: 0; }

/* HERO — Modern Tech / SaaS-stil, med djup, grid och krispiga detaljer */
main { background: #fff; }
.hero { padding: clamp(28px, 5vw, 56px) 0 10px; }
.hero-page { padding-bottom: 8px; }
.hero-page h1 { max-width: 17em; }
.hero-home {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  margin-top: -65px;
  padding: calc(65px + clamp(48px, 8vw, 104px)) 0 clamp(80px, 10vw, 126px);
  background:
    radial-gradient(1200px 520px at 50% -40px, rgba(254, 215, 170, 0.28), transparent 68%),
    radial-gradient(900px 480px at 15% 15%, rgba(255, 237, 213, 0.18), transparent 60%),
    radial-gradient(1000px 600px at 85% 105%, rgba(154, 52, 18, 0.42), transparent 60%),
    linear-gradient(155deg, #ea580c 0%, #c2410c 45%, #9a3412 100%);
}

/* Subtilt vektor-gridmönster i bakgrunden */
.hero-grid-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 30%, transparent 85%);
}

/* Ljusaurora i toppen för djup */
.hero-glow-top {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: min(920px, 90vw); height: 280px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.35) 0%, rgba(254, 215, 170, 0.18) 45%, transparent 70%);
  pointer-events: none; filter: blur(30px);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; }
.hero-orb-1 { width: 560px; height: 560px; left: -220px; top: -140px; background: rgba(255, 255, 255, .08); animation: orbDrift 28s ease-in-out infinite alternate; }
.hero-orb-2 { width: 720px; height: 720px; right: -260px; bottom: -320px; background: rgba(255, 255, 255, .10); animation: orbDrift 34s ease-in-out infinite alternate-reverse; }
.hero-orb-3 { width: 320px; height: 320px; right: 12%; top: -90px; background: rgba(255, 237, 213, .14); animation: orbDrift 24s ease-in-out infinite alternate; }
@keyframes orbDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(24px, -20px, 0) scale(1.05); } }

/* Flytande verktygskort (visas på större skärmar) */
.hero-floating-pills { position: absolute; inset: 0; max-width: 1200px; margin: 0 auto; pointer-events: none; }
.hero-float-card {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.88); color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .84rem; font-weight: 700; z-index: 2;
  transition: transform .3s ease;
}
.hero-float-left {
  left: 20px; top: 38%;
  animation: floatBobLeft 7s ease-in-out infinite alternate;
}
.hero-float-right {
  right: 20px; top: 46%;
  animation: floatBobRight 8s ease-in-out infinite alternate-reverse;
}
@keyframes floatBobLeft { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-16px) rotate(1deg); } }
@keyframes floatBobRight { from { transform: translateY(0) rotate(2deg); } to { transform: translateY(-18px) rotate(-1.5deg); } }
.hero-float-icon {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.hero-float-icon svg { width: 14px; height: 14px; }
.hero-float-logo { background: #fff; padding: 3px; box-shadow: 0 0 0 1px rgba(17, 24, 39, .08); }
.hero-float-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-float-name { font-weight: 750; letter-spacing: -0.01em; }
.hero-float-score {
  font-size: .74rem; background: #fff7ed; color: #c2410c; padding: 2px 6px; border-radius: 999px; border: 1px solid #ffedd5;
}
@media (max-width: 1080px) {
  .hero-floating-pills { display: none; }
}

.hero-copy { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

/* Kicker Badge — ren, skandinavisk, trovärdig redaktionell badge (ej "AI-gadget") */
.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px; border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: .84rem; font-weight: 550; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.01em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-badge:hover {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  text-decoration: none; transform: translateY(-1px);
}
.hero-badge-tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: #ffffff; color: #9a3412;
  font-size: .74rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
.hero-badge-text {
  color: rgba(255, 255, 255, 0.96); font-weight: 600;
}
.hero-badge-arrow {
  display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.8);
  transition: transform .2s ease;
}
.hero-badge:hover .hero-badge-arrow { transform: translateX(2px); color: #fff; }
.hero-badge-arrow svg { width: 13px; height: 13px; }

.hero-home h1 {
  max-width: 14.5em; margin: 0 auto .32em; color: #fff;
  font-size: clamp(2.4rem, 5.8vw, 4.1rem); font-weight: 850; line-height: 1.08; letter-spacing: -0.038em;
  text-shadow: 0 2px 18px rgba(154, 52, 18, 0.3);
}
.hero-sub { margin: 0 auto; max-width: 32em; color: rgba(255, 255, 255, 0.94); font-size: clamp(1.06rem, 2vw, 1.34rem); line-height: 1.55; font-weight: 450; }
.hl {
  position: relative; background: none;
  box-shadow: inset 0 -.14em 0 rgba(255, 255, 255, 0.45);
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: #fff; opacity: .85; border-radius: 2px;
}

/* Sökfält i krispig SaaS-finish */
.hero-search-wrap {
  display: flex; align-items: center; gap: 10px;
  max-width: 650px; margin: 34px auto 0;
  padding: 6px 7px 6px 18px;
  background: #ffffff; border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  box-shadow: 0 22px 50px rgba(94, 26, 4, 0.32), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-search-wrap:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(94, 26, 4, 0.38), 0 0 0 4px rgba(255, 255, 255, 0.35);
}
.hero-search-icon { display: flex; align-items: center; color: #9ca3af; }
.hero-search-icon svg { width: 18px; height: 18px; }
.hero-search-wrap input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: .96rem; color: var(--ink);
}
.hero-search-wrap input::placeholder { color: #9ca3af; font-size: .92rem; }
.hero-search-kbd {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 7px; font-size: .72rem; font-family: monospace; font-weight: 600;
  color: #6b7280; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 6px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.hero-search-wrap .btn {
  border-radius: var(--radius-pill); padding: 11px 22px; white-space: nowrap;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-search-wrap .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.48);
}
.hero-search-hint { margin: 12px 0 0; text-align: center; color: rgba(255, 255, 255, 0.9); font-size: .84rem; min-height: 1.2em; }

/* Knappar i hero */
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; justify-content: center; }
.btn-hero-white, .btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: .98rem; font-weight: 700; border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-hero-white {
  background: #fff; border-color: #fff; color: #c2410c;
  box-shadow: 0 14px 34px rgba(94, 26, 4, 0.26);
}
.btn-hero-white:hover {
  background: #fffaf5; border-color: #fffaf5; text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 18px 40px rgba(94, 26, 4, 0.32);
}
.btn-hero-white svg { width: 14px; height: 14px; transition: transform .2s ease; }
.btn-hero-white:hover svg { transform: translateX(3px); }
.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.24); border-color: #fff; text-decoration: none;
  transform: translateY(-2px);
}
.btn-hero-ghost svg { width: 16px; height: 16px; }

/* Trusted / Leading tools logos med riktiga logotyper */
.hero-trusted { margin-top: clamp(34px, 5.5vw, 52px); }
.hero-trusted-label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); font-weight: 700; margin-bottom: 16px; }
.trusted-logos { display: flex; gap: 12px 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trusted-brand-logo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: var(--ink); font-size: .84rem; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.trusted-brand-logo:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}
.trusted-brand-logo .brand-logo-image {
  width: 22px; height: 22px; padding: 2px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
}
.trusted-brand-logo .brand-logo-word {
  color: var(--ink); font-weight: 700; font-size: .84rem;
}

@media (max-width: 720px) {
  .hero-search-kbd { display: none; }
}

/* Entré-animationer i hero */
.hero-badge-wrap, .hero-home h1, .hero-sub, .hero-home .hero-search-wrap, .hero-search-hint, .hero-cta, .hero-trusted { animation: heroUp .65s var(--ease) both; }
.hero-badge-wrap { animation-delay: .04s; }
.hero-home h1 { animation-delay: .12s; }
.hero-sub { animation-delay: .2s; }
.hero-home .hero-search-wrap { animation-delay: .28s; }
.hero-search-hint { animation-delay: .32s; }
.hero-cta { animation-delay: .38s; }
.hero-trusted { animation-delay: .52s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero-strip i ren SaaS-stil med krispiga delare */
.hero-strip { position: relative; z-index: 3; margin-top: -42px; }
.hero-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  background: #ffffff; border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 20px;
  padding: 18px 28px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
}
.hero-stats { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.hero-stats li { display: flex; flex-direction: column; padding: 0 24px; position: relative; }
.hero-stats li:first-child { padding-left: 0; }
.hero-stats li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px;
  background: var(--line);
}
.hero-stats strong { font-size: 1.58rem; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; margin-top: 2px; }
.category-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.hero-strip .category-pills { margin-top: 0; justify-content: flex-end; }
.category-pill {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: .84rem; font-weight: 650;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .16s var(--ease);
}
.category-pill:hover { border-color: var(--ink-soft); background: var(--bg-soft); color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.category-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 4px 12px rgba(17, 24, 39, 0.16); }
.hero-art, .hero-mark, .hero-chip { display: none !important; }

/* Header ovanpå hero (startsidan) */
.page-home .site-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.page-home .site-header .brand, .page-home .site-header .brand-dot { color: #fff; }
.page-home .main-nav a { color: rgba(255, 255, 255, .92); }
.page-home .main-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.page-home .header-search-btn { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.page-home .header-cta { background: #fff; border-color: #fff; color: #b45309; }
.page-home .header-cta:hover { background: #fff7ed; }
.page-home .nav-toggle { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.page-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, .92); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
}
.page-home .site-header.is-scrolled .brand, .page-home .site-header.is-scrolled .brand-dot { color: var(--ink); }
.page-home .site-header.is-scrolled .main-nav a { color: var(--ink-soft); }
.page-home .site-header.is-scrolled .main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.page-home .site-header.is-scrolled .header-search-btn { background: #fff; border-color: var(--line); color: var(--muted); }
.page-home .site-header.is-scrolled .header-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-home .site-header.is-scrolled .nav-toggle { background: #fff; border-color: var(--line); color: var(--ink); }

/* Path — ljusa kort */
.path-section { margin: 2.4rem 0 1.8rem; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; text-align: left; }
.section-heading-row .eyebrow { margin-bottom: 4px; }
.section-heading-row .section-title { margin: 0; }
.path-heading-note { color: var(--muted); font-size: .88rem; padding-bottom: 4px; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.path-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  text-align: left;
}
.path-card::after { display: none; }
.path-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.path-card-kicker { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.path-card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin: 12px 0 10px; border-radius: 10px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); }
.path-card-icon svg { width: 18px; height: 18px; }
.path-card > strong { font-size: 1.18rem; line-height: 1.2; }
.path-card-desc { margin-top: 6px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.path-card-logos { display: flex; gap: 6px; margin-top: 14px; }
.path-card-logos .brand-logo-image { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.path-card-logos .brand-logo-word { display: none; }
.path-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--ink); font-size: .86rem; font-weight: 650; }
.path-card-link svg { width: 14px; height: 14px; }

/* Finder dialog */
.finder-dialog { width: min(620px, calc(100% - 28px)); max-width: 620px; height: min(88dvh, 850px); max-height: min(88dvh, 850px); padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.18); overflow: hidden; }
.finder-dialog::backdrop { background: rgba(17,24,39,.45); backdrop-filter: blur(4px); }
.finder-form { position: relative; width: 100%; height: 100%; box-sizing: border-box; padding: clamp(22px, 5vw, 30px); overflow-y: auto; }
.finder-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 1.4rem; cursor: pointer; }
.finder-form h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
.finder-intro { color: var(--muted); font-size: .92rem; }
.finder-fieldset { margin: 20px 0 0; padding: 0; border: 0; }
.finder-fieldset legend { margin-bottom: 10px; font-weight: 650; font-size: .94rem; }
.finder-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.finder-options-inline { grid-template-columns: repeat(3,minmax(0,1fr)); }
.finder-option { position: relative; cursor: pointer; }
.finder-option input { position: absolute; opacity: 0; pointer-events: none; }
.finder-option span { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-soft); font-size: .86rem; font-weight: 560; }
.finder-option span svg { width: 16px; height: 16px; }
.finder-option:hover span { border-color: var(--line-strong); background: var(--bg-soft); }
.finder-option.selected span, .finder-option input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.finder-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.finder-submit { margin-top: 18px; }
.finder-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.finder-result[hidden] { display: none; }
.finder-pick { padding: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.finder-pick-best { border-color: var(--ink); background: #fff; }
.finder-pick-rank { color: var(--ink); font-size: .68rem; letter-spacing: .07em; font-weight: 700; text-transform: uppercase; }
.finder-pick-main { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.finder-pick-main img { width: 34px; height: 34px; object-fit: contain; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.finder-pick-main small { color: var(--muted); font-size: .78rem; }
.finder-pick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 0 44px; font-size: .84rem; font-weight: 600; }
.finder-again { margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }

/* Method — ljus */
.method-section { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 3rem 0; padding: clamp(22px, 4vw, 32px); border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.method-copy .eyebrow { color: var(--muted); }
.method-copy h2 { color: var(--ink); }
.method-copy p:not(.eyebrow) { color: var(--muted); }
.method-copy .text-link { color: var(--ink); }
.method-steps { display: grid; gap: 2px; }
.method-step { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.method-step:last-child { border-bottom: 0; }
.method-step > span { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.method-step strong { color: var(--ink); }
.method-step p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }

/* Topp 5 — varma kort med podiekänsla */
.top5 { margin: 14px 0 8px; }
.top5-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.top5-row {
  position: relative;
  display: grid; grid-template-columns: 44px 46px minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 15px 18px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.top5-row::after {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  opacity: 0; transition: opacity .22s var(--ease);
}
.top5-row:hover { transform: translateY(-3px); border-color: #fdba74; box-shadow: 0 16px 36px rgba(234, 88, 12, .15); }
.top5-row:hover::after { opacity: 1; }
.top5-rank { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; font-weight: 800; font-size: 1.02rem; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.top5-rank.rank-1 { background: linear-gradient(140deg, #fb923c, #ea580c 55%, #c2410c); color: #fff; border-color: transparent; box-shadow: 0 10px 22px rgba(234, 88, 12, .32); }
.top5-rank.rank-2 { background: linear-gradient(140deg, #ffffff, #ffedd5); color: #c2410c; border-color: #fdba74; }
.top5-rank.rank-3 { background: linear-gradient(140deg, #fff7ed, #fed7aa); color: #9a3412; border-color: #fed7aa; }
.top5-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.top5-name { font-weight: 700; font-size: 1.04rem; letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.top5-for { color: var(--muted); font-size: .85rem; }
.top5-row .brand-logo-image { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.top5-row .mini-badge { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.score-ring {
  --score: 10;
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: conic-gradient(#ea580c calc(var(--score) * 10%), #ffedd5 0);
}
.score-ring::before { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.score-ring strong { position: relative; font-size: .88rem; font-weight: 800; color: #c2410c; letter-spacing: -.02em; }
.top5-actions { display: inline-flex; align-items: center; gap: 12px; justify-content: flex-end; }
.top5-actions .jump { padding: 9px 6px; transition: color .18s var(--ease); }
.top5-actions .jump svg { transition: transform .18s var(--ease); }
.top5-actions .jump:hover { color: #c2410c; text-decoration: none; }
.top5-actions .jump:hover svg { transform: translateX(3px); }
.top5-actions .tool-outbound {
  background: linear-gradient(140deg, #f97316, #ea580c 55%, #c2410c); border-color: transparent;
  box-shadow: 0 8px 18px rgba(234, 88, 12, .28);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.top5-actions .tool-outbound:hover { background: linear-gradient(140deg, #ea580c, #c2410c); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(234, 88, 12, .34); text-decoration: none; }

/* Brand logos */
.brand-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; }
.brand-logo-image { display: block; width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; border: 1px solid var(--line); }
.brand-logo-word { font-size: .9rem; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.brand-logo-mark-only .brand-logo-word { display: none; }
.brand-logo-large { gap: 9px; }
.brand-logo-large .brand-logo-image { width: 36px; height: 36px; border-radius: 10px; }
.brand-logo-large .brand-logo-word { font-size: .96rem; }
.tool-brand-link { color: inherit; }
.tool-brand-link:hover { color: var(--ink); }

/* Tool mini / showcase */
.tool-mini { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; color: var(--ink); box-shadow: var(--shadow-sm); }
.tool-mini:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); text-decoration: none; }
.tool-mini-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool-mini-one { color: var(--muted); font-size: .84rem; line-height: 1.5; margin: 10px 0 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tool-mini-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.tool-mini-price { color: var(--ink); font-size: .78rem; font-weight: 650; }
.tool-mini-domain { color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-mini-actions { display: flex; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.mini-review, .tool-outbound, .mini-partner { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 600; }
.mini-review { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.tool-outbound { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.tool-outbound:hover { background: #1f2937; text-decoration: none; }
.mini-partner { width: 100%; color: var(--ink); border: 1px solid var(--line); background: var(--bg-soft); }

.rank-chip { display: inline-flex; font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.rank-chip.rank-1 { background: var(--ink); color: #fff; border-color: var(--ink); }
.rank-chip.rank-2 { background: #fff; color: var(--ink); }
.rank-chip.rank-3 { background: var(--bg-soft); color: var(--ink); }

/* Breadcrumbs */
.breadcrumbs { padding-top: 16px; font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* Showcase */
.showcase { margin: 8px 0 10px; }
.showcase-lead { color: var(--muted); max-width: 42em; margin-top: -.2em; text-align: left; }
.showcase-cat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.showcase-cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.showcase-cat-head h3 { font-size: 1.1rem; }
.showcase-cat-head p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }
.showcase-price-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 0 0 14px; }
.showcase-price-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); }
.showcase-price-item:hover { border-color: var(--line-strong); text-decoration: none; background: #fff; }
.showcase-price-item strong { font-size: .8rem; font-weight: 650; }
.showcase-price-item span { color: var(--muted); font-size: .74rem; }
.showcase-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.showcase-tool { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.showcase-tool:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.showcase-tool-head { display: flex; align-items: center; gap: 8px; min-height: 38px; flex-wrap: wrap; }
.showcase-tool-head .brand-logo { min-width: 0; flex: 0 1 auto; }
.showcase-tool-head .mini-badge { flex: 0 0 auto; }
.showcase-tool > p { display: -webkit-box; min-height: 3.6em; margin: 10px 0 12px; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.showcase-tool-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.showcase-tool-foot > span { flex: 1 1 100%; color: var(--muted); font-size: .74rem; }
.showcase-tool-price { display: flex; align-items: baseline; gap: 6px; color: var(--ink) !important; font-size: .84rem !important; font-weight: 700; }
.showcase-tool-price small { color: var(--muted); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.showcase-tool-foot > a:not(.tool-outbound) { font-size: .82rem; font-weight: 600; }
.showcase-review-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 7px 13px; border: 1px solid var(--ink); border-radius: var(--radius-pill); background: var(--ink); color: #fff !important; font-size: .78rem !important; font-weight: 650; }
.showcase-review-btn:hover { background: #000; border-color: #000; text-decoration: none; }
.showcase-more { margin-top: 12px; border-top: 1px solid var(--line); }
.showcase-more summary { width: fit-content; min-height: 40px; padding: 12px 0 2px; color: var(--ink); font-size: .86rem; font-weight: 600; cursor: pointer; }
.showcase-more .showcase-tool-grid { margin-top: 12px; }
.tool-view-dialog { width: min(480px, calc(100% - 28px)); max-width: 480px; max-height: min(84dvh, 680px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.tool-view-dialog::backdrop { background: rgba(17,24,39,.45); }
.tool-view-panel { position: relative; padding: 28px; }
.tool-view-brand { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.tool-view-brand img { width: 44px; height: 44px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; object-fit: contain; }

/* Sökning och sortering */
.table-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 18px 0; }
.table-controls[hidden], .table-empty[hidden] { display: none; }
.table-controls label { display: grid; gap: 6px; flex: 1 1 210px; min-width: 0; font-size: .82rem; font-weight: 650; }
.table-controls .table-search { flex: 2 1 280px; }
.table-controls input, .table-controls select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; }
.table-controls input:focus-visible, .table-controls select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.table-empty { padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--bg-soft); color: var(--muted); }
@media (max-width: 540px) {
  .table-controls label { flex-basis: 100%; }
  .table-controls [data-table-reset] { margin-right: 80px; }
}

/* Budgetkalkylator */
.budget-calculator { margin: 28px 0 36px; padding: 24px; border: 1px solid var(--warm-line); border-radius: 18px; background: linear-gradient(135deg, #fff, var(--warm)); }
.budget-calculator[hidden] { display: none; }
.budget-note { color: var(--muted); font-size: .84rem; }
.budget-picker { margin: 18px 0; }
.budget-picker > summary { font-weight: 650; cursor: pointer; padding: 10px 0; }
.budget-group { padding: 0; border: 0; margin: 20px 0; min-width: 0; }
.budget-group legend { font-size: .85rem; font-weight: 700; margin-bottom: 10px; }
.budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.budget-tool { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.budget-tool.is-selected { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.budget-choice { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .84rem; min-height: 44px; }
.budget-choice strong { overflow-wrap: anywhere; }
.budget-choice .brand-logo { flex-shrink: 0; }
.budget-choice .brand-logo-image { width: 24px; height: 24px; }
.budget-amount-label { display: grid; gap: 5px; font-size: .75rem; color: var(--muted); margin: 10px 0; }
.budget-amount-label input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font: inherit; font-size: .9rem; background: #fff; }
.budget-amount-label input:disabled { background: var(--bg-soft); color: var(--muted); }
.budget-amount-label input[aria-invalid="true"] { border-color: var(--bad); }
.budget-amount-label input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.budget-tool > small { color: var(--muted); font-size: .72rem; display: block; }
.budget-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; }
.budget-actions label { display: flex; align-items: center; gap: 8px; }
.budget-total { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 20px 0 0; margin-top: 16px; border-top: 1px solid var(--warm-line); }
.budget-total > span { display: grid; gap: 4px; }
.budget-total small { color: var(--muted); font-size: .78rem; }
.budget-total strong { font-size: clamp(1.25rem, 3vw, 1.8rem); }
.budget-total p { flex-basis: 100%; font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 900px) { .budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .budget-grid { grid-template-columns: 1fr; } .budget-calculator { padding: 16px; } }

/* TOC, table, cards */
.toc { margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.toc-toggle { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 14px 16px; font: inherit; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.toc-list { list-style: none; margin: 0; padding: 4px 16px 14px; }
.toc-collapsed .toc-list { display: none; }
.toc-list a { display: block; padding: 6px 0; color: var(--muted); font-size: .94rem; border-bottom: 1px dashed var(--line); }
.toc-list a:hover { color: var(--ink); text-decoration: none; }
@media (min-width: 720px) { .toc-list { columns: 2; column-gap: 28px; } }
.compare-block { margin: 28px 0; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.compare-table thead th { text-align: left; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); white-space: nowrap; }
.compare-table tbody th, .compare-table tbody td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.compare-table tbody tr[hidden] { display: none; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--bg-soft); }
.cell-tool { min-width: 190px; }
.tool-inline { display: flex; align-items: center; gap: 9px; }
.tool-inline-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.tool-inline .brand-logo, .tool-link-row .brand-logo { flex: 0 0 auto; }
.tool-link-row { display: flex; align-items: center; gap: 10px; }
.tool-link-row:hover { text-decoration: none; }
.tool-link-row:hover .tool-name { text-decoration: underline; text-underline-offset: 3px; }
.tool-name { font-weight: 650; }
.tool-mono { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--tile, var(--ink)); color: #fff; }
.mini-badge { display: inline-flex; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 7px; border-radius: var(--radius-pill); }
.cell-score { width: 76px; }
.score-badge { display: inline-flex; align-items: baseline; gap: 1px; min-width: 44px; padding: 4px 8px; border-radius: var(--radius-pill); font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .86rem; }
.score-max { font-size: .7rem; color: var(--muted); font-weight: 550; }
.cell-price { white-space: nowrap; color: var(--muted); }
.jump { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; font-weight: 600; font-size: .84rem; white-space: nowrap; }
.table-note { font-size: .82rem; color: var(--muted); margin: 10px 2px 0; }
.table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.quick-compare-table { table-layout: fixed; min-width: 780px; }
.quick-compare-table .col-score { width: 84px; }
.quick-compare-table .col-tool { width: 230px; }
.quick-compare-table .cell-price { white-space: normal; overflow-wrap: anywhere; }
.quick-compare-table .cell-action { width: 104px; box-sizing: border-box; }
.quick-compare-table .mini-badge { max-width: 100%; box-sizing: border-box; }
.prices-layout { max-width: none; }
.page-prices .answer-box { max-width: 820px; box-sizing: border-box; }
.prices-table { min-width: 960px; table-layout: fixed; }
.prices-table col:nth-child(1) { width: 220px; }
.prices-table col:nth-child(2) { width: 124px; }
.prices-table col:nth-child(3) { width: 175px; }
.prices-table col:nth-child(5) { width: 78px; }
.prices-table col:nth-child(6) { width: 110px; }
.prices-table .cell-price { white-space: normal; color: var(--ink-soft); }
.prices-table .cell-details { color: var(--muted); font-size: .85rem; }
.prices-table .cell-price, .prices-table .cell-details { overflow-wrap: anywhere; }
.cat-pill { display: inline-block; padding: 4px 8px; border-radius: 7px; background: var(--bg-soft); color: var(--ink-soft); font-size: .75rem; font-weight: 600; }
.price-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 10px; }
.price-filter-label { font-size: .86rem; font-weight: 650; margin-right: 4px; }
.filter-btn { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink-soft); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.filter-btn:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.price-filter-note, .price-results { color: var(--muted); font-size: .82rem; }
.price-results { margin: 0 0 12px; }
.table-scroll-hint { display: none; margin: 0 0 8px; color: var(--muted); font-size: .78rem; }
@media (max-width: 1000px) {
  .page-prices .table-scroll-hint { display: block; }
}
@media (max-width: 840px) {
  .table-scroll-hint { display: block; }
  .prices-table .cell-tool { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 var(--line); }
  .prices-table thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 var(--line); }
  .prices-table col:nth-child(1) { width: 190px; }
}
/* Priser v2: tydligare tabell och mobilkort (filter-hidden måste vinna över grid) */
.prices-table tbody tr.price-row { transition: background .15s var(--ease); }
.prices-table tbody tr.price-row:hover { background: #fffaf5; }
.prices-table .cell-price strong { font-size: .95rem; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.cat-pill { white-space: nowrap; }
.cat-pill-ai { background: #fff7ed; color: #c2410c; }
.cat-pill-seo { background: #ecfeff; color: #0e7490; }
.budget-jump { margin: 0 0 14px; font-size: .86rem; }
.budget-jump a { font-weight: 650; color: #c2410c; }
@media (max-width: 700px) {
  .prices-table, .prices-table tbody, .prices-table tr, .prices-table th, .prices-table td { display: block; width: auto; min-width: 0; box-sizing: border-box; }
  .prices-table { table-layout: auto; min-width: 0 !important; }
  .prices-table colgroup, .prices-table thead { display: none; }
  .prices-table tbody { display: grid; gap: 12px; }
  .prices-table tr.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .prices-table tr.price-row[hidden] { display: none; }
  .prices-table tr.price-row:hover { background: #fff; }
  .prices-table .cell-tool { grid-column: 1 / -1; position: static; background: none; box-shadow: none; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
  .prices-table td { padding: 0; border: 0; }
  .prices-table td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; font-weight: 700; margin-bottom: 3px; }
  .prices-table .cell-details { grid-column: 1 / -1; font-size: .84rem; }
  .prices-table .cell-action { grid-column: 1 / -1; width: auto; }
  .prices-table .cell-action .jump { display: inline-flex; align-items: center; gap: 4px; }
  .table-scroll-hint { display: none !important; }
}
.tools-block { margin-top: 32px; }
/* Recensionskort — varm, euforisk känsla */
.tool-card {
  position: relative; overflow: hidden;
  margin-top: 20px;
  background:
    radial-gradient(520px 220px at 18% 0%, rgba(254, 215, 170, .45), transparent 68%),
    radial-gradient(560px 240px at 92% 6%, rgba(253, 186, 116, .22), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, #fffbf5 72%, #fff7ed 100%);
  border: 1px solid var(--warm-line);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 10px 28px rgba(194, 65, 12, .08), 0 1px 3px rgba(0,0,0,.05);
  scroll-margin-top: 72px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--warm-mid); box-shadow: 0 18px 42px rgba(194, 65, 12, .13), 0 4px 14px rgba(0,0,0,.05); }
.tool-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #fb923c, #f97316 28%, #ea580c 58%, #c2410c);
  opacity: .95;
}
/* Placering = ton: ju lägre rank, desto mörkare/dovare kort */
.tool-card.tone-1 { background: radial-gradient(520px 220px at 18% 0%, rgba(254,215,170,.48), transparent 68%), radial-gradient(560px 240px at 92% 6%, rgba(253,186,116,.24), transparent 66%), linear-gradient(180deg, #ffffff 0%, #fffbf5 72%, #fff7ed 100%); border-color: var(--warm-line); }
.tool-card.tone-1::before { background: linear-gradient(90deg, #fb923c, #f97316 28%, #ea580c 58%, #c2410c); opacity: .98; }
.tool-card.tone-2 { background: radial-gradient(520px 220px at 18% 0%, rgba(254,215,170,.32), transparent 68%), linear-gradient(180deg, #fffcf7 0%, #fff7ed 78%, #fef3e2 100%); border-color: #fde8cc; }
.tool-card.tone-2::before { background: linear-gradient(90deg, #fdba74, #fb923c 40%, #ea580c 78%); opacity: .9; }
.tool-card.tone-3 { background: linear-gradient(180deg, #fffaf2 0%, #fef6e8 100%); border-color: #fde8cc; }
.tool-card.tone-3::before { background: linear-gradient(90deg, #fdba74, #f97316 55%, #d97706); opacity: .82; }
.tool-card.tone-4 { background: linear-gradient(180deg, #fffefb 0%, #fdf6ec 100%); border-color: #f3e0c2; }
.tool-card.tone-4::before { background: linear-gradient(90deg, #e7c9a6, #d6b48e 55%, #b8936a); opacity: .72; }
.tool-card.tone-5 { background: linear-gradient(180deg, #fdfdfc 0%, #f7f1e8 100%); border-color: #e8ddd0; }
.tool-card.tone-5::before { background: linear-gradient(90deg, #c9b8a3, #a89882 60%, #8a7d6e); opacity: .6; }
.tool-card.tone-6 { background: linear-gradient(180deg, #fcfcfa 0%, #f1ece4 100%); border-color: #ddd6ca; box-shadow: 0 6px 18px rgba(17,24,39,.06), 0 1px 2px rgba(0,0,0,.04); }
.tool-card.tone-6::before { background: linear-gradient(90deg, #b8b0a3, #9a9389 60%, #78716c); opacity: .5; }
.tool-card.tone-5 .dive-meta, .tool-card.tone-6 .dive-meta { background: linear-gradient(180deg, #fff, #faf7f2); border-color: #e8ddd0; }
.tool-card.tone-5 .dive-rating, .tool-card.tone-6 .dive-rating { background: linear-gradient(135deg, #fff 0%, #fdf6ec 60%, #f5ebe0 100%); border-color: #e8ddd0; }
.tool-card.tone-6 .score-bar span { background: linear-gradient(90deg, #a8a29e, #78716c); }
.tool-card.tone-5 .score-bar span { background: linear-gradient(90deg, #d6b48e, #a89882); }
.rank-chip.rank-muted { background: #f5f5f4; color: #78716c; border-color: #e7e5e4; box-shadow: none; }
.tool-head { display: flex; gap: 16px; align-items: flex-start; }
.tool-head .brand-logo-image { width: 46px; height: 46px; border-radius: 12px; border-color: var(--warm-line); box-shadow: 0 6px 18px rgba(194, 65, 12, .12); background: #fff; padding: 4px; }
.tool-head-text { flex: 1; min-width: 0; }
.tool-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool-title-row h3 { font-size: 1.32rem; letter-spacing: -.03em; }
.dive-num { color: #9a3412; font-weight: 800; margin-right: 2px; opacity: .55; }
.badge { display: inline-flex; font-size: .66rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; padding: 4px 9px; border-radius: var(--radius-pill); }
.rank-chip { box-shadow: 0 2px 10px rgba(194,65,12,.12); }
.tool-one { color: #4b5563; font-size: .98rem; line-height: 1.5; margin: 7px 0 0; max-width: 46em; }
.tool-summary { margin: 18px 0 4px; color: #4b5563; line-height: 1.6; }
.tool-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin: 20px 0 22px; }
.tool-grid h4, .pros h4, .cons h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; }
.check-list, .plain-list, .pros ul, .cons ul { list-style: none; margin: 0; padding: 0; }
.check-list li, .pros li, .cons li { display: flex; gap: 9px; margin: 0 0 7px; font-size: .92rem; color: #374151; line-height: 1.5; }
.plain-list li { position: relative; padding-left: 16px; margin: 0 0 7px; font-size: .92rem; color: #374151; line-height: 1.5; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(180deg, #fb923c, #ea580c); box-shadow: 0 1px 4px rgba(234,88,12,.25); }
.li-ico { color: var(--ink); flex: 0 0 auto; display: inline-flex; }
.pros li .li-ico { color: var(--good); }
.cons li .li-ico { color: #f87171; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
.pros, .cons { border-radius: 14px; padding: 16px 16px 14px; border: 1px solid var(--line); }
.pros { background: linear-gradient(180deg, #f0fdf4, #ecfdf5); border-color: #bbf7d0; }
.cons { background: linear-gradient(180deg, #fef2f2, #fff1f2); border-color: #fecaca; }
.pros h4, .cons h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.tool-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px dashed var(--warm-line); padding-top: 18px; margin-top: 6px; }
.tool-price { display: flex; flex-direction: column; gap: 2px; }
.price-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; font-weight: 700; }
.price-value { font-weight: 750; color: var(--ink); font-size: 1.02rem; letter-spacing: -.02em; }
.tool-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-cta .tool-outbound { background: linear-gradient(140deg, #f97316, #ea580c 55%, #c2410c); border-color: transparent; box-shadow: 0 8px 18px rgba(234,88,12,.26); }
.tool-cta .tool-outbound:hover { background: linear-gradient(140deg, #ea580c, #c2410c); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(234,88,12,.32); text-decoration: none; }
.tool-cta .btn-primary { background: linear-gradient(140deg, #f97316, #ea580c); border-color: transparent; box-shadow: 0 8px 18px rgba(234,88,12,.22); }
.tool-cta .btn-primary:hover { background: linear-gradient(140deg, #ea580c, #c2410c); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; cursor: pointer; font-weight: 600; font-size: .92rem; border-radius: var(--radius-pill); border: 1px solid transparent; padding: 10px 16px; transition: background .15s var(--ease), border-color .15s var(--ease), transform .16s var(--ease); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #1f2937; }
.affiliate-tag { font-size: .55rem; line-height: 1.5; font-weight: 500; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 0 5px; border-radius: var(--radius-pill); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.faq-block { margin-top: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q button { width: 100%; background: none; border: 0; cursor: pointer; font: inherit; display: flex; justify-content: space-between; gap: 12px; padding: 16px 2px; text-align: left; color: var(--ink); font-size: 1rem; font-weight: 560; }
.faq-a { padding: 0 2px 16px; color: var(--muted); max-width: 46em; }
.related-section { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink); }
.related-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-title { font-weight: 650; }
.related-desc { color: var(--muted); font-size: .88rem; flex: 1; }
.related-link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.disclosure, .affiliate-note { display: flex; gap: 12px; margin-top: 36px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.why-section { margin-top: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.why-ico { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.updated { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.contact-card, .about-links { margin-top: 28px; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.site-footer { margin-top: 56px; background: var(--ink); color: #9ca3af; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.footer-heading { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.footer-statement p { color: #9ca3af; font-size: .94rem; max-width: 32em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: #9ca3af; font-size: .9rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; margin: 0; }
.footer-copy, .footer-note { color: #6b7280; font-size: .78rem; }
.byline { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-size: .88rem; color: var(--muted); }
.byline strong { color: var(--ink); }
.byline-meta { min-width: 0; }
.byline-sep { margin: 0 6px; }
@media (max-width: 480px) { .byline { align-items: flex-start; } .byline-meta { display: flex; flex-direction: column; gap: 2px; } .byline-sep { display: none; } }
.byline-avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); flex: 0 0 auto; }
.intro-note { font-size: .84rem; color: var(--muted); max-width: 46em; margin-bottom: 1.6em; }
.picks { margin: 22px 0 30px; }
.pick-list { list-style: none; counter-reset: pick; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pick-list li { counter-increment: pick; display: grid; grid-template-columns: 24px minmax(180px, 230px) 1fr; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.pick-list li::before { content: counter(pick); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; }
.pick-list li.pick-1::before { background: var(--ink); }
.pick-list a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; min-width: 0; }
.pick-list .brand-logo { flex: 0 0 auto; }
.pick-list .brand-logo-image { width: 28px; height: 28px; }
@media (max-width: 600px) {
  .pick-list li { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; }
  .pick-for { grid-column: 2; }
}
.pick-for { color: var(--muted); font-size: .9rem; }
.dive-num { color: var(--ink); font-weight: 700; margin-right: 2px; }
.dive-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 8px; padding: 15px 16px; background: linear-gradient(180deg, #fff, #fffbf5); border: 1px solid var(--warm-line); border-radius: 14px; box-shadow: 0 6px 18px rgba(194,65,12,.06); }
.dive-meta dt { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a3412; opacity: .7; margin-bottom: 3px; }
.dive-meta dd { margin: 0; font-size: .88rem; font-weight: 650; color: var(--ink); }
.dive-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: #9ca3af; font-weight: 700; margin: 22px 0 .55em; }
.dive-text { color: #4b5563; font-size: .96rem; max-width: 46em; line-height: 1.6; }
.dive-rating { position: relative; overflow: hidden; margin: 8px 0 20px; padding: 16px 16px 14px; border: 1px solid var(--warm-line); border-radius: 14px; background: linear-gradient(135deg, #fff 0%, #fff7ed 55%, #ffedd5 100%); box-shadow: 0 8px 20px rgba(194,65,12,.07); }
.dive-rating::before { content: ""; position: absolute; right: -18px; top: -18px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(251,146,60,.22), transparent 62%); pointer-events: none; }
.dive-rating-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dive-rating-head h4 { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: #9a3412; font-weight: 750; }
.dive-rating .score-badge { background: linear-gradient(140deg, #fb923c, #ea580c); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(234,88,12,.24); }
.dive-rating .score-max { color: rgba(255,255,255,.82); }
.score-bar { height: 8px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--warm-line); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.06); }
.score-bar span { display: block; height: 100%; background: linear-gradient(90deg, #fb923c, #f97316 40%, #ea580c 75%, #c2410c); border-radius: var(--radius-pill); }

@media (max-width: 900px) {
  .path-grid, .why-grid, .related-grid { grid-template-columns: 1fr; }
  .showcase-tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .method-section { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .tool-grid, .pros-cons { grid-template-columns: 1fr; }
  .dive-meta { grid-template-columns: 1fr 1fr; }
  .tool-card { padding: 20px 16px; }
  .hero-search-wrap { padding: 5px 5px 5px 14px; }
  .category-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .showcase-tool-grid, .showcase-price-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > * { min-width: 0; }
  .finder-options, .finder-options-inline { grid-template-columns: 1fr; }
  .top5-row { grid-template-columns: 38px 42px minmax(0,1fr) auto; gap: 10px; padding: 13px; }
  .top5-actions { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
  .hero-stats { gap: 12px; }
  .hero-stats li { min-width: 0; flex: 1; }
  .trusted-logos { gap: 14px; font-size: .84rem; }
}

.ai-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .8rem; background: #fff; }
.ai-table th, .ai-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ai-table thead th { background: var(--bg-soft); font-weight: 700; }
.ai-table tbody th { color: var(--muted); font-weight: 600; width: 30%; }

/* ── 12 FEATURES — NYA KOMPONENTER ── */
.dim-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 14px; margin: 10px 0 12px; }
.dim { display: grid; grid-template-columns: 88px 1fr 28px; align-items: center; gap: 8px; font-size: .78rem; }
.dim-label { color: var(--muted); font-weight: 550; font-size: .74rem; letter-spacing: .02em; }
.dim-bar { height: 6px; border-radius: 999px; background: #ffedd5; overflow: hidden; border: 1px solid var(--warm-line); }
.dim-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #fb923c, #ea580c 70%, #c2410c); }
.dim strong { text-align: right; font-weight: 750; color: #9a3412; font-size: .82rem; }
.community-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: .76rem; font-weight: 650; }
.community-badge small { color: var(--muted); font-weight: 500; }
.community-badge .ico-wrap svg { width: 13px; height: 13px; color: #f59e0b; }
.price-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 650; border: 1px solid var(--line); background: #fff; }
.price-pill.pill-down { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.price-pill.pill-up { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.price-pill.pill-stable { background: var(--bg-soft); color: var(--muted); }
.price-pill .ico-wrap svg { width: 12px; height: 12px; }
.demo-strip { margin: 14px 0 16px; padding: 12px 14px; border: 1px solid var(--warm-line); border-radius: 14px; background: linear-gradient(180deg, #fff, #fff7ed); }
.demo-strip-head { font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #9a3412; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.demo-strip-head .ico-wrap svg { width: 14px; height: 14px; }
.demo-note-inline { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: .72rem; }
.demo-track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.demo-item { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; }
.demo-before { color: var(--muted); text-decoration: line-through 1.5px rgba(0,0,0,.18); }
.demo-arrow { color: #ea580c; font-weight: 800; }
.demo-after { color: var(--good); font-weight: 750; }
.demo-item small { color: var(--muted); font-size: .72rem; }
.card-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-bottom: 10px; flex-wrap: wrap; }
.compare-check { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: .76rem; font-weight: 700; cursor: pointer; user-select: none; white-space: nowrap; flex: 0 0 auto; transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease); }
.compare-check:hover { background: #ffedd5; border-color: #fb923c; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(234,88,12,.12); }
.compare-check:active { transform: translateY(0) scale(.98); }
.compare-check:has(input:checked) { background: linear-gradient(140deg, #f97316, #ea580c); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(234,88,12,.28); }
.compare-check input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare-check::before { content: ""; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; border: 1.5px solid #fb923c; border-radius: 5px; background: #fff; color: #ea580c; font-size: 11px; font-weight: 900; line-height: 1; transition: background .16s var(--ease), border-color .16s var(--ease); }
.compare-check:has(input:checked)::before { content: "✓"; background: #fff; border-color: #fff; }
.compare-check:has(input:focus-visible) { outline: 2px solid #c2410c; outline-offset: 3px; }
.compare-check .ico-wrap svg { width: 13px; height: 13px; }
.shortlist-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #fecdd3; border-radius: 999px; background: #fff; font: inherit; font-size: .76rem; font-weight: 700; color: #9f1239; cursor: pointer; white-space: nowrap; flex: 0 0 auto; transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.shortlist-btn:hover { background: #fff1f2; border-color: #fda4af; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(225,29,72,.12); }
.shortlist-btn:active { transform: translateY(0) scale(.98); }
.shortlist-btn.is-saved { background: linear-gradient(140deg, #fb7185, #e11d48); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(225,29,72,.25); }
.shortlist-btn.is-saved .ico-wrap svg path { fill: currentColor; }
.shortlist-btn .ico-wrap svg { width: 14px; height: 14px; }
.shortlist-btn:focus-visible { outline: 2px solid #e11d48; outline-offset: 3px; }
/* Tool-lista: när ett verktyg valts via "Läs recension" visas bara det, med en knapp för att fälla ut resten */
.tool-focus-bar { display: none; justify-content: flex-end; margin: 0 0 12px; }
.tool-focus:has(.tool-card:target) .tool-focus-bar { display: flex; }
.tool-focus:has(.tool-card:target):not(.is-expanded) .tool-card:not(:target) { display: none; }
.tool-focus-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.tool-focus-toggle:hover { border-color: var(--ink-soft); }
.showcase-mini-actions { display: inline-flex; gap: 6px; flex: 0 0 auto; margin-left: auto; flex-wrap: wrap; }
.home-filter { margin: 18px 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.home-filter-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.home-filter-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: .88rem; }
.home-filter-count { color: var(--muted); font-size: .78rem; }
.home-filter-clear { margin-left: auto; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .76rem; cursor: pointer; }
.home-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.filter-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.home-filter-price { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
/* Enkel panel — bara handtaget får en neon-orange glöd. */
.home-filter-price input[type="range"] { -webkit-appearance: none; appearance: none; width: 140px; height: 32px; background: transparent; cursor: pointer; }
.home-filter-price input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: #e7e5e4; }
.home-filter-price input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -7px; border: 1.5px solid #fff; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffedd5 0%, #fb923c 45%, #ea580c 100%); box-shadow: 0 0 0 2px rgba(234,88,12,.16), 0 0 10px rgba(249,115,22,.85), 0 0 20px rgba(249,115,22,.45); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.home-filter-price input[type="range"]:hover::-webkit-slider-thumb, .home-filter-price input[type="range"]:focus-visible::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 3px rgba(234,88,12,.2), 0 0 14px rgba(249,115,22,1), 0 0 28px rgba(249,115,22,.6); }
.home-filter-price input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: #e7e5e4; }
.home-filter-price input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 1.5px solid #fff; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffedd5 0%, #fb923c 45%, #ea580c 100%); box-shadow: 0 0 0 2px rgba(234,88,12,.16), 0 0 10px rgba(249,115,22,.85), 0 0 20px rgba(249,115,22,.45); }
.home-filter-price input[type="range"]:focus-visible { outline: none; }
.home-price-val { color: var(--ink); font-weight: 650; font-size: .78rem; }
@media (max-width: 640px) {
  .home-filter-price input[type="range"] { width: 120px; }
  .breadcrumbs a, .byline-link { display: inline-flex; align-items: center; min-height: 24px; }
}
@media (max-width: 360px) {
  .hero-badge { padding: 8px 12px; gap: 8px; font-size: .72rem; }
  .hero-badge-tag { display: none; }
}
@media (max-width: 840px) {
  .page-offers .table-scroll-hint { display: block !important; }
}
.proof-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 14px 0; padding: 12px 16px; border: 1px solid var(--warm-line); border-radius: 14px; background: linear-gradient(135deg, #fff 0%, #fff7ed 100%); }
.proof-items { display: flex; gap: 14px; flex-wrap: wrap; }
.proof-item { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-soft); }
.proof-item .ico-wrap svg { width: 14px; height: 14px; color: #ea580c; }
.proof-link { font-size: .82rem; font-weight: 650; display: inline-flex; gap: 4px; align-items: center; }
.usecase-section { margin: 28px 0 10px; }
.usecase-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 12px; }
.usecase-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
.usecase-card:hover { border-color: #fdba74; box-shadow: var(--shadow-card); text-decoration: none; transform: translateY(-2px); }
.usecase-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.usecase-desc { font-size: .82rem; color: var(--muted); }
.usecase-blurb { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.usecase-tools { font-size: .74rem; color: #9a3412; }
.usecase-link { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 650; display: inline-flex; gap: 4px; }
/* Changelog — kompakt och ren, med företagslogotyper */
.changelog-teaser { margin: 24px 0; padding: 15px 18px 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.changelog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.changelog-head .section-title { margin: 0; font-size: 1.06rem; }
.changelog-list { list-style: none; margin: 8px 0 0; padding: 0; }
.chg-item { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); }
.chg-item:first-child { border-top: 0; }
.chg-logo { display: inline-flex; align-items: center; justify-content: center; }
.chg-logo .brand-logo { gap: 0; }
.chg-logo .brand-logo-image { width: 30px; height: 30px; border-radius: 9px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); object-fit: contain; }
.chg-logo-fv { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--line); }
.chg-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.chg-body strong { font-size: .855rem; letter-spacing: -.012em; line-height: 1.3; }
.chg-desc { font-size: .755rem; color: var(--muted); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chg-meta { display: inline-flex; align-items: center; gap: 9px; }
.chg-meta time { font-size: .735rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chg-type { font-size: .615rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.chg-pris { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.chg-funktion { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.chg-innehåll { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.price-watch { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.price-watch label { font-weight: 650; font-size: .82rem; white-space: nowrap; }
.price-watch > div { display: flex; gap: 7px; flex: 1 1 240px; min-width: 0; }
.price-watch input[type="email"] { flex: 1; min-width: 0; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .82rem; }
.price-watch small { color: var(--muted); font-size: .715rem; flex-basis: 100%; }
.price-watch-ok { margin: 0; color: var(--good); font-weight: 650; font-size: .795rem; flex-basis: 100%; }
.compare-bar { position: sticky; bottom: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--warm-line); box-shadow: 0 -12px 30px rgba(0,0,0,.08); padding: 10px 0; }
.compare-bar[hidden] { display: none; }
/* Chatten får inte täcka Jämför/Rensa när jämförelsebaren är öppen. */
.compare-bar-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.compare-bar-label { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; }
.compare-bar-label small { color: var(--muted); }
.compare-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.compare-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; }
.compare-chip button { border: 0; background: transparent; font-size: 1rem; line-height: 1; cursor: pointer; color: var(--muted); }
.compare-bar-actions { display: inline-flex; gap: 8px; margin-left: auto; }
.compare-bar-actions .btn { padding: 8px 14px; font-size: .82rem; }
/* Jämför-knappen: orange och inbjudande */
#compare-open { background: linear-gradient(140deg, #f97316, #ea580c 60%, #c2410c); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(234,88,12,.26); }
#compare-open:hover:not(:disabled) { background: linear-gradient(140deg, #ea580c, #c2410c); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(234,88,12,.34); }
#compare-open:disabled { opacity: .55; box-shadow: none; cursor: not-allowed; }
#compare-open:focus-visible { outline: 2px solid #c2410c; outline-offset: 3px; }
.compare-dialog { width: min(900px, calc(100% - 28px)); max-width: 900px; max-height: min(88vh, 800px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.2); overflow: auto; }
.compare-dialog::backdrop { background: rgba(17,24,39,.5); backdrop-filter: blur(4px); }
.compare-dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.compare-dialog-body { padding: 16px; }
/* Detaljerad sida-vid-sida-jämförelse */
#compare-dialog { width: min(1100px, calc(100% - 24px)); max-width: 1100px; max-height: min(92vh, 980px); border-radius: 20px; }
#compare-dialog .compare-dialog-head { align-items: flex-start; gap: 18px; padding: 18px 22px 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.compare-dialog-heading { min-width: 0; }
.compare-dialog-kicker { display: block; margin-bottom: 5px; font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #c2410c; }
#compare-dialog .compare-dialog-head h3 { margin: 0; font-size: 1.34rem; line-height: 1.15; letter-spacing: -.025em; }
.compare-dialog-sub { margin: 5px 0 0; max-width: 62ch; color: var(--muted); font-size: .82rem; line-height: 1.45; }
#compare-dialog .finder-close { flex: 0 0 auto; }
#compare-dialog .compare-dialog-body { padding: 20px 22px 22px; background: linear-gradient(180deg, #fffaf3 0%, #fffdfa 100%); }
.cmp-board { display: flex; flex-direction: column; gap: 14px; }
.cmp-summary { display: flex; flex-wrap: wrap; gap: 9px; }
.cmp-summary-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 13px; border: 1px solid var(--warm-line); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(28,25,23,.04); }
.cmp-summary-item > span { color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cmp-summary-item strong { color: var(--ink); font-size: .86rem; line-height: 1.3; }
.cmp-summary-cheap { border-color: #bbf7d0; background: #f0fdf4; }
.cmp-summary-cheap strong { color: #166534; }
.cmp-summary-best { border-color: #fed7aa; background: #fff7ed; }
.cmp-summary-best strong { color: #9a3412; }
.cmp-summary-count { margin-left: auto; }
.cmp-summary-count strong { font-weight: 650; color: var(--ink-soft); }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: stretch; }
.cmp-card { container-type: inline-size; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e7dfd3; border-top: 4px solid var(--cmp-accent); border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(28,25,23,.07); }
.cmp-card-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 16px 14px; background: #fff; background: linear-gradient(180deg, var(--cmp-soft), #fff 88%); }
.cmp-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border: 1px solid #e9e0d4; border-radius: 13px; background: #fff; box-shadow: 0 4px 10px rgba(28,25,23,.06); }
.cmp-logo img { display: block; width: 34px; height: 34px; object-fit: contain; }
.cmp-logo-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: var(--cmp-soft); color: var(--cmp-accent); font-size: 1.1rem; font-weight: 800; }
.cmp-logo-fallback[hidden] { display: none; }
.cmp-card-identity { min-width: 0; flex: 1; }
.cmp-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cmp-name-row h4 { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.25; letter-spacing: -.02em; }
.cmp-tool-badge { padding: 2px 7px; border-radius: 999px; background: var(--cmp-soft); color: var(--cmp-accent); font-size: .63rem; font-weight: 750; white-space: nowrap; }
.cmp-card-identity > p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.cmp-score { position: relative; display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: conic-gradient(var(--score-color) calc(var(--score) * 10%), #eee8de 0); }
.cmp-score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.cmp-score > span { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 1px; }
.cmp-score strong { color: var(--ink); font-size: 1.06rem; line-height: 1; }
.cmp-score small { color: var(--muted); font-size: .55rem; font-weight: 700; }
.cmp-price { padding: 12px 16px; border-top: 1px solid #f0e9df; border-bottom: 1px solid #f0e9df; }
.cmp-price-free { background: #f0fdfa; }
.cmp-price-low { background: #f7fdf9; }
.cmp-price-mid { background: #fffcf5; }
.cmp-price-high { background: #fff7f7; }
.cmp-price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cmp-price-head > span:first-child { color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cmp-price-tag { padding: 2px 7px; border-radius: 999px; font-size: .64rem; font-weight: 800; white-space: nowrap; }
.cmp-price-free .cmp-price-tag { background: #ccfbf1; color: #115e59; }
.cmp-price-low .cmp-price-tag { background: #dcfce7; color: #166534; }
.cmp-price-mid .cmp-price-tag { background: #fef3c7; color: #92400e; }
.cmp-price-high .cmp-price-tag { background: #fee2e2; color: #b91c1c; }
.cmp-price-value { display: block; margin: 4px 0 7px; color: var(--ink); font-size: 1.12rem; font-weight: 800; line-height: 1.22; letter-spacing: -.02em; }
.cmp-price-free .cmp-price-value { color: #0f766e; }
.cmp-price-low .cmp-price-value { color: #166534; }
.cmp-price-mid .cmp-price-value { color: #92400e; }
.cmp-price-high .cmp-price-value { color: #b91c1c; }
.cmp-price-meter { height: 6px; overflow: hidden; border-radius: 999px; background: #ece6dc; }
.cmp-price-meter span { display: block; height: 100%; border-radius: inherit; background: #15803d; transition: width .35s var(--ease); }
.cmp-price-free .cmp-price-meter span { background: linear-gradient(90deg, #2dd4bf, #0d9488); }
.cmp-price-low .cmp-price-meter span { background: linear-gradient(90deg, #4ade80, #16a34a); }
.cmp-price-mid .cmp-price-meter span { background: linear-gradient(90deg, #fbbf24, #d97706); }
.cmp-price-high .cmp-price-meter span { background: linear-gradient(90deg, #f87171, #dc2626); }
.cmp-price-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 8px; min-height: 18px; margin-top: 7px; color: var(--muted); font-size: .68rem; }
.cmp-win { color: #166534; font-weight: 800; }
.cmp-high { color: #b91c1c; font-weight: 800; }
.cmp-offer { padding: 2px 6px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: .63rem; font-weight: 700; }
.cmp-card-body { display: flex; flex: 1; flex-direction: column; gap: 13px; padding: 14px 16px 16px; }
.cmp-bestfor { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border: 1px solid #efe7dc; border-radius: 10px; background: #faf7f2; }
.cmp-bestfor span { color: var(--muted); font-size: .64rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cmp-bestfor strong { color: var(--ink); font-size: .84rem; line-height: 1.35; }
.cmp-section h5, .cmp-pros h5, .cmp-cons h5, .cmp-pricing summary { margin: 0 0 6px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.cmp-dims { display: flex; flex-direction: column; gap: 6px; }
.cmp-dim { display: grid; grid-template-columns: 78px 1fr 20px; align-items: center; gap: 7px; font-size: .72rem; }
.cmp-dim > span { color: var(--ink-soft); }
.cmp-dim-bar { height: 6px; overflow: hidden; border-radius: 999px; background: #f0eae0; }
.cmp-dim-bar i { display: block; height: 100%; border-radius: inherit; background: var(--cmp-accent); }
.cmp-dim strong { color: var(--ink); font-size: .7rem; text-align: right; }
.cmp-feature-list { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
.cmp-feature-list li { position: relative; padding-left: 19px; color: var(--ink-soft); font-size: .78rem; line-height: 1.4; }
.cmp-feature-list li::before { content: "✓"; position: absolute; top: 0; left: 0; color: var(--cmp-accent); font-weight: 900; }
.cmp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-pros, .cmp-cons { padding: 10px 11px; border-radius: 11px; }
.cmp-pros { border: 1px solid #dcfce7; background: #f5fdf7; }
.cmp-cons { border: 1px solid #fdecc8; background: #fffaf0; }
.cmp-pros h5 { color: #166534; }
.cmp-cons h5 { color: #92400e; }
.cmp-pros ul, .cmp-cons ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cmp-pros li, .cmp-cons li { position: relative; padding-left: 14px; font-size: .73rem; line-height: 1.35; }
.cmp-pros li::before { content: "+"; position: absolute; top: 0; left: 0; color: #15803d; font-weight: 900; }
.cmp-cons li::before { content: "–"; position: absolute; top: 0; left: 0; color: #b45309; font-weight: 900; }
.cmp-pricing { padding-top: 10px; border-top: 1px solid #f0e9df; }
.cmp-pricing summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: #9a3412; cursor: pointer; list-style: none; }
.cmp-pricing summary::-webkit-details-marker { display: none; }
.cmp-pricing summary::after { content: "+"; color: #c2410c; font-size: 1rem; line-height: 1; }
.cmp-pricing[open] summary::after { content: "–"; }
.cmp-pricing p { margin: 6px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.cmp-card-foot { display: flex; gap: 8px; margin-top: auto; padding: 0 16px 16px; }
.cmp-card-foot .btn { flex: 1; justify-content: center; padding: 9px 10px; font-size: .78rem; }
.cmp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin: 0; padding: 10px 12px; border: 1px solid #efe7dc; border-radius: 12px; background: #fff; color: var(--muted); font-size: .7rem; }
.cmp-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.cmp-dot { width: 8px; height: 8px; border-radius: 50%; }
.cmp-legend-note { flex-basis: 100%; line-height: 1.45; }
.cmp-vs-row { display: flex; justify-content: center; }
.cmp-vs-row .btn { font-size: .8rem; }
@container (max-width: 380px) { .cmp-pros-cons { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  #compare-dialog { width: calc(100% - 12px); max-height: 94vh; border-radius: 14px; }
  #compare-dialog .compare-dialog-head { padding: 14px 15px; }
  #compare-dialog .compare-dialog-body { padding: 12px; }
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-summary-count { margin-left: 0; }
  .cmp-card-head { padding: 13px; }
  .cmp-price { padding: 11px 13px; }
  .cmp-card-body { padding: 12px 13px 14px; }
  .cmp-card-foot { padding: 0 13px 13px; }
  .cmp-score { width: 52px; height: 52px; flex-basis: 52px; }
}
.compare-actions-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.shortlist-actions { display: inline-flex; gap: 8px; }
.shortlist-hint { color: var(--good); font-size: .78rem; font-weight: 600; }
.vs-section { margin: 24px 0 8px; }
.vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.vs-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 650; font-size: .88rem; }
.vs-card:hover { border-color: #fdba74; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.vs-card .ico-wrap svg { width: 16px; height: 16px; color: #ea580c; }
.header-shortlist-count { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-family: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.header-shortlist-count[hidden] { display: none; }
.header-shortlist-count .ico-wrap svg { width: 12px; height: 12px; }
.vs-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 16px 0 18px; }
.vs-hero-card { min-width: 0; box-sizing: border-box; padding: 18px; border: 1px solid var(--warm-line); border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #fff7ed 100%); }
.vs-hero-card .brand-logo { min-width: 0; max-width: 100%; }
@media (max-width: 700px) { .vs-hero { grid-template-columns: 1fr; gap: 10px; } .vs-hero-card { width: 100%; } .vs-badge { justify-self: center; } }
.vs-badge { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.vs-dim-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 10px; }
.vs-dim-table th, .vs-dim-table td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.vs-dim-table thead th { background: var(--bg-soft); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-winner { background: #f0fdf4; font-weight: 750; color: #15803d; }
.ai-compare-mini { margin: 8px 0; padding: 10px; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; }
.ai-compare-head { font-weight: 750; font-size: .88rem; margin-bottom: 6px; }
.ai-compare-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* ── NYA SIDTYPER: Alternativ, Artiklar, Recensioner, Gratis verktyg ── */
.answer-box { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; padding: 18px 20px; border: 1px solid var(--warm-line); border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #fff7ed 100%); box-shadow: 0 8px 20px rgba(194,65,12,.06); }
.answer-box .answer-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; background: linear-gradient(140deg, #fb923c, #ea580c); color: #fff; }
.answer-box .answer-mark .ico-wrap svg { width: 19px; height: 19px; }
.answer-box > div { min-width: 0; }
.answer-box > div > strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9a3412; margin-bottom: 5px; }
.answer-box p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.alt-pick { margin: 16px 0; padding: 18px; border: 1px solid var(--warm-line); border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #fffbf5 100%); }
.alt-pick-head { display: flex; align-items: center; gap: 12px; }
.alt-pick-head .brand-logo-large { flex: 1; min-width: 0; }
.alt-rank { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; font-weight: 800; font-size: .95rem; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.alt-rank.rank-1 { background: linear-gradient(140deg, #fb923c, #ea580c 55%, #c2410c); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(234,88,12,.3); }
.alt-rank.rank-2 { background: linear-gradient(140deg, #ffffff, #ffedd5); color: #c2410c; border-color: #fdba74; }
.alt-rank.rank-3 { background: linear-gradient(140deg, #fff7ed, #fed7aa); color: #9a3412; border-color: #fed7aa; }
.alt-why { margin: 10px 0 12px; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.alt-pick .dive-meta { margin: 0 0 12px; }
.alt-pick-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.alt-pick-actions .btn { font-size: .86rem; padding: 9px 15px; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.review-score { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.review-score .score-badge { background: linear-gradient(140deg, #fb923c, #ea580c); color: #fff; border-color: transparent; }
.review-score .score-max { color: rgba(255,255,255,.85); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 16px 0; }
.article-card { display: flex; flex-direction: column; gap: 7px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
.article-card:hover { border-color: #fdba74; box-shadow: var(--shadow-card); text-decoration: none; transform: translateY(-2px); }
.article-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a3412; }
.article-card strong { font-size: 1.02rem; line-height: 1.3; letter-spacing: -.015em; }
.article-desc { font-size: .88rem; color: var(--muted); line-height: 1.55; flex: 1; }
.article-meta { font-size: .74rem; color: var(--muted); }
/* Gratis verktyg */
.free-tool-panel { margin: 16px 0 22px; padding: 18px; border: 1px solid var(--warm-line); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fffbf5 100%); box-shadow: 0 10px 28px rgba(194,65,12,.07); }
.ft-fields { display: grid; gap: 12px; }
.ft-field { display: grid; gap: 5px; }
.ft-label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9a3412; }
.ft-input { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font: inherit; font-size: .92rem; color: var(--ink); }
.ft-input:focus { outline: none; border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249,115,22,.16); }
.ft-textarea { resize: vertical; line-height: 1.55; font-family: inherit; }
.ft-meters { display: grid; gap: 9px; margin: 14px 0; }
.ft-meter { display: grid; grid-template-columns: 92px 1fr 116px; align-items: center; gap: 10px; }
.ft-meter .ft-label { margin: 0; }
.ft-bar { height: 7px; border-radius: 999px; background: var(--warm-line); overflow: hidden; }
.ft-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34d399, #15803d); border-radius: 999px; transition: width .25s var(--ease); }
.ft-meter strong { font-size: .76rem; color: var(--muted); font-weight: 650; text-align: right; }
.ft-result { margin-top: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.ft-result-head { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.ft-result-head .ico-wrap svg { width: 14px; height: 14px; }
.ft-serp { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.ft-serp-url { font-size: .78rem; color: var(--good); word-break: break-all; }
.ft-serp-title { font-size: 1.05rem; line-height: 1.3; color: #1a0dab; margin: 2px 0 3px; }
.ft-serp-desc { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }
.ft-hint { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.ft-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ft-stat { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.ft-stat strong { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ft-stat span { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ft-stat-big strong { color: #c2410c; font-size: 1.62rem; }
.ft-scale { width: 100%; border-collapse: collapse; font-size: .82rem; margin-top: 6px; }
.ft-scale th, .ft-scale td { padding: 6px 9px; border: 1px solid var(--line); text-align: left; background: #fff; }
.ft-scale th { white-space: nowrap; font-weight: 700; color: var(--ink); }
.ft-scale td { color: var(--muted); }
.ft-code { margin: 0 0 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; }
.ft-bots { margin: 14px 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-soft); }
.ft-bot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 9px 0; }
.ft-check { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.ft-check:has(input:checked) { border-color: var(--warm-mid); background: var(--warm); }
.ft-check input { accent-color: var(--amber); }
.ft-qa-list { display: grid; gap: 12px; margin: 12px 0; }
.ft-qa { position: relative; display: grid; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-soft); }
.ft-rm { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.ft-qa-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }

/* Lugna reveal-animationer vid scroll */
html.js .reveal { opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease) var(--reveal-delay, 0s), translate .6s var(--ease) var(--reveal-delay, 0s), transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
html.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .mq-track, .ai-bot-launcher-pulse, .ai-msg-typing span { animation: none !important; }
  html.js .reveal { opacity: 1 !important; translate: none !important; }
}

/* === Förenklad kort-UI, trust-block & rabatter (2026-09) === */

/* === Startsidan: mikrointeraktioner (emil-design-eng / review-animations) === */
/* Tryck-feedback: knappar och pills svarar direkt när de trycks ned */
.btn:active, .hero-search-wrap .btn:active, .btn-hero-white:active, .btn-hero-ghost:active,
.hero-badge:active, .category-pill:active, .trusted-brand-logo:active, .top5-actions .tool-outbound:active { transform: scale(.97); }

/* Stagger: hero-elementen kommer in i följd i stället för samtidigt (30–80 ms steg) */
.hero-home h1 { animation-delay: 40ms; }
.hero-sub { animation-delay: 80ms; }
.hero-home .hero-search-wrap { animation-delay: 120ms; }
.hero-search-hint { animation-delay: 140ms; }
.hero-cta { animation-delay: 160ms; }
.hero-trusted { animation-delay: 200ms; }

/* Tangentbordsfokus som syns på startsidans kontroller */
.hero-search-wrap .btn:focus-visible, .btn-hero-white:focus-visible, .btn-hero-ghost:focus-visible, .hero-badge:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
.category-pill:focus-visible, .trusted-brand-logo:focus-visible, .top5-actions .tool-outbound:focus-visible, .top5-row a:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}

/* Touch-enheter får inte kvarstående hover-lyft efter ett tryck */
@media (hover: none) {
  .hero-badge:hover, .hero-search-wrap .btn:hover, .btn-hero-white:hover, .btn-hero-ghost:hover,
  .trusted-brand-logo:hover, .category-pill:hover, .top5-row:hover, .top5-actions .tool-outbound:hover, .path-card:hover { transform: none; }
}

/* Startsidan visar sekundära knappar vid hover/fokus. Behåll dem i tabbordningen.
   På guidesidornas långa recensionskort är Jämför/Spara alltid synliga. */
@media (hover: hover) {
  .showcase-mini-actions { opacity: 0; }
  .showcase-tool:hover .showcase-mini-actions, .showcase-tool:focus-within .showcase-mini-actions,
  .tool-card:hover .card-actions, .tool-card:focus-within .card-actions,
  .showcase-tool:has(input:checked) .showcase-mini-actions, .showcase-tool:has(.shortlist-btn.is-saved) .showcase-mini-actions,
  .tool-card:has(input:checked) .card-actions, .tool-card:has(.shortlist-btn.is-saved) .card-actions { opacity: 1; }
}

/* Rabatt-badge (inline erbjudanden — aldrig popups) */
.offer-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--warm-line); background: var(--warm); color: #c2410c; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.offer-badge .ico-wrap svg { width: 12px; height: 12px; }
.offer-badge.offer-free { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.showcase-tool-price .offer-badge { margin-left: 2px; }

/* Prisdetaljer: "Visa alla priser" */
.showcase-price-more { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 2px; }
.showcase-price-more summary { width: fit-content; padding: 8px 0 2px; color: var(--ink); font-size: .82rem; font-weight: 650; cursor: pointer; }
.showcase-price-rest { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 8px; }

/* Sparade verktyg — dialog i stället för sticky-bar */
.shortlist-dialog { width: min(420px, calc(100% - 28px)); }
.shortlist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shortlist-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft); }
.shortlist-list a { font-weight: 650; font-size: .88rem; }
.shortlist-list button { border: 0; background: transparent; font-size: 1.05rem; line-height: 1; cursor: pointer; color: var(--muted); }
.shortlist-empty { color: var(--muted); font-size: .86rem; }
.shortlist-actions { display: flex; gap: 8px; padding: 4px 16px 14px; }
.shortlist-hint { margin: 0; padding: 0 16px 12px; }

/* Trust-block: Så jobbar vi + Varför Seotoppen + finansiering (ett sektion) */
.trust-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; margin: 3rem 0; }
.trust-method { padding: clamp(22px, 4vw, 32px); border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.trust-method h2 { margin: 4px 0 10px; }
.trust-method > p { color: var(--muted); max-width: 40em; }
.trust-method .method-steps { margin-top: 18px; }
.trust-side { display: grid; gap: 16px; }
.trust-why .why-grid { grid-template-columns: 1fr; gap: 10px; }
.trust-why .section-title, .trust-note .section-title { font-size: 1.12rem; margin-bottom: 10px; }
.trust-note { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.trust-note p { color: var(--muted); font-size: .88rem; }

@media (max-width: 980px) {
  .trust-section { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .showcase-price-rest { grid-template-columns: 1fr; }
}

/* === Jämför verktyg: vinkande gubbe som bjuder in till korten === */
.showcase-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.showcase-intro > div:not(.showcase-mascot) { min-width: 0; flex: 1 1 320px; }
.showcase-intro > .showcase-mascot { flex: 0 0 150px; width: 150px; }
.showcase-mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Armen viftar tre gånger och vilar sedan. Rotationen sker kring axeln (skuldran). */
.mascot-arm { transform-box: view-box; transform-origin: 42px 66px; animation: mascotWave .9s ease-in-out 3; }
@keyframes mascotWave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-14deg); } }
/* Pratbubblan kommer in efter gubben, med stil från befintlig toastIn */
.mascot-bubble { animation: toastIn .4s var(--ease) .3s both; }
@media (max-width: 720px) { .showcase-intro > .showcase-mascot { flex-basis: 112px; width: 112px; } }

/* === Varmare jämförelse + AI-assistent === */
#compare-dialog { border-color: #eadccb; background: #fffdf8; }
#compare-dialog .compare-dialog-head { background: rgba(255,250,243,.97); border-bottom-color: #f0e1d0; }
#compare-dialog .compare-dialog-kicker { color: #b4571f; }
#compare-dialog .compare-dialog-sub { color: #806c5d; }
#compare-dialog .compare-dialog-body { background: linear-gradient(180deg, #fff8ef 0%, #fffdf8 100%); }
.cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.cmp-main { min-width: 0; }
.cmp-chat { display: none; flex-direction: column; min-height: 0; overflow: hidden; border: 1px solid #efdfcd; border-radius: 16px; background: #fffdf8; box-shadow: 0 10px 26px rgba(80,48,25,.08); }
.cmp-chat-head { display: flex; align-items: center; gap: 9px; padding: 12px; border-bottom: 1px solid #f2e3d2; background: #fff7ec; }
.cmp-chat-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; background: linear-gradient(140deg, #f59e0b, #ea580c); color: #fff; box-shadow: 0 5px 12px rgba(234,88,12,.2); }
.cmp-chat-avatar .ico-wrap svg { width: 18px; height: 18px; }
.cmp-chat-id { min-width: 0; flex: 1; }
.cmp-chat-id strong { display: block; color: var(--ink); font-size: .84rem; line-height: 1.2; }
.cmp-chat-id small { display: block; margin-top: 2px; color: var(--muted); font-size: .64rem; line-height: 1.3; }
.cmp-chat-clear { border: 0; background: transparent; color: #9a6a4a; font: inherit; font-size: .66rem; font-weight: 650; cursor: pointer; padding: 3px; }
.cmp-chat-clear:hover { color: #b4571f; text-decoration: underline; text-underline-offset: 2px; }
.cmp-chat-close { display: none; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid #ecd8c2; border-radius: 50%; background: #fffdf9; color: #7a5c46; font-size: 1rem; line-height: 1; cursor: pointer; }
.cmp-chat-log { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; padding: 12px; background: #fffaf3; scrollbar-width: thin; scrollbar-color: #e3cdb6 transparent; }
.cmp-chat-msg { max-width: 93%; padding: 8px 10px; border-radius: 12px; font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
.cmp-chat-msg--bot { align-self: flex-start; border: 1px solid #f1dfca; border-bottom-left-radius: 4px; background: #fff6ea; color: #4a392d; }
.cmp-chat-msg--user { align-self: flex-end; border: 1px solid #f0d3b8; border-bottom-right-radius: 4px; background: #fbe5d1; color: #4a3021; }
.cmp-chat-msg p { margin: 0 0 .45em; }
.cmp-chat-msg p:last-child { margin-bottom: 0; }
.cmp-chat-msg strong { color: var(--ink); font-weight: 750; }
.cmp-chat-msg a { color: #a84c1e; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.cmp-chat-msg ul { margin: 4px 0 0; padding-left: 15px; }
.cmp-chat-msg li { margin-bottom: 3px; }
.cmp-chat-msg li:last-child { margin-bottom: 0; }
.cmp-chat-dots { display: inline-flex; gap: 3px; align-items: center; padding: 2px 0; }
.cmp-chat-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b99b80; animation: cmpChatDot 1s ease-in-out infinite; }
.cmp-chat-dots i:nth-child(2) { animation-delay: .15s; }
.cmp-chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cmpChatDot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.cmp-chat-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 12px 0; background: #fffdf8; }
.cmp-chat-chip { padding: 4px 8px; border: 1px solid #efdac4; border-radius: 999px; background: #fffaf3; color: #8e5a2f; font: inherit; font-size: .66rem; font-weight: 600; line-height: 1.3; cursor: pointer; text-align: left; }
.cmp-chat-chip:hover { border-color: #d79b63; background: #fff3e4; }
.cmp-chat-form { display: flex; gap: 6px; padding: 10px 12px 5px; background: #fffdf8; }
.cmp-chat-form input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #e8d5c1; border-radius: 10px; background: #fffdfa; color: var(--ink); font: inherit; font-size: .78rem; }
.cmp-chat-form input::placeholder { color: #a28c79; }
.cmp-chat-form input:focus { outline: none; border-color: #e8792e; box-shadow: 0 0 0 3px rgba(232,121,46,.14); }
.cmp-chat-form button { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 0; border-radius: 10px; background: linear-gradient(140deg, #f59e0b, #ea580c); color: #fff; cursor: pointer; box-shadow: 0 4px 10px rgba(234,88,12,.18); }
.cmp-chat-form button:hover { background: linear-gradient(140deg, #ea8a0b, #d94d08); }
.cmp-chat-form button .ico-wrap svg { width: 15px; height: 15px; }
.cmp-chat-note { margin: 0; padding: 0 12px 11px; color: #9a8777; font-size: .62rem; line-height: 1.4; background: #fffdf8; }
.cmp-chat-launcher { display: none; align-items: center; gap: 7px; padding: 10px 15px; border: 0; border-radius: 999px; background: linear-gradient(140deg, #f59e0b, #ea580c); color: #fff; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(180,70,20,.28); }
.cmp-chat-launcher .ico-wrap svg { width: 15px; height: 15px; }
.cmp-chat-launcher[hidden] { display: none; }

/* Ljusa, varma accenter i jämförelsekorten */
.cmp-summary-item { border-color: #efdfcd; background: #fffdf8; }
.cmp-summary-cheap { border-color: #dcebdc; background: #f6fbf4; }
.cmp-summary-cheap strong { color: #3f7d58; }
.cmp-summary-best { border-color: #f2ddc5; background: #fff6e9; }
.cmp-summary-best strong { color: #9a5a2c; }
.cmp-card { position: relative; border-color: #ecdfcf; border-top: 0; background: #fffdf9; }
.cmp-card::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--cmp-accent), var(--cmp-soft)); pointer-events: none; }
.cmp-card-head { background: #fffdf9; background: linear-gradient(180deg, var(--cmp-soft), #fffdf9 88%); }
.cmp-logo { border-color: #efe2d3; background: #fffdf9; }
.cmp-score { background: conic-gradient(var(--score-color) calc(var(--score) * 10%), #f1e8dd 0); }
.cmp-score::before { background: #fffdf9; }
.cmp-price { border-top-color: #f1e5d7; border-bottom-color: #f1e5d7; }
.cmp-price-free { background: #f3fbf8; }
.cmp-price-low { background: #f6fbf4; }
.cmp-price-mid { background: #fffaf0; }
.cmp-price-high { background: #fff5ef; }
.cmp-price-free .cmp-price-tag { background: #dff3ec; color: #28675f; }
.cmp-price-low .cmp-price-tag { background: #e3f1e3; color: #3f6f4b; }
.cmp-price-mid .cmp-price-tag { background: #f9eac9; color: #7d5a1c; }
.cmp-price-high .cmp-price-tag { background: #f8e0d5; color: #8f3a2a; }
.cmp-price-free .cmp-price-value { color: #2f766d; }
.cmp-price-low .cmp-price-value { color: #3f7d58; }
.cmp-price-mid .cmp-price-value { color: #8a611f; }
.cmp-price-high .cmp-price-value { color: #a8452f; }
.cmp-price-free .cmp-price-meter span { background: linear-gradient(90deg, #8fd3c7, #4e9b8f); }
.cmp-price-low .cmp-price-meter span { background: linear-gradient(90deg, #8fc9a0, #4f9468); }
.cmp-price-mid .cmp-price-meter span { background: linear-gradient(90deg, #e8c985, #bf8b3e); }
.cmp-price-high .cmp-price-meter span { background: linear-gradient(90deg, #e6a28e, #c25a3f); }
.cmp-win { color: #3f7d58; }
.cmp-high { color: #a8452f; }
.cmp-bestfor { border-color: #f0e4d6; background: #fdf7ef; }
.cmp-dim-bar { background: #f1e8dd; }
.cmp-pros { border-color: #e1efdf; background: #f6fbf4; }
.cmp-pros h5 { color: #3f6f4b; }
.cmp-pros li::before { color: #3f7d58; }
.cmp-cons { border-color: #f4e3c8; background: #fffaf0; }
.cmp-cons h5 { color: #8a611f; }
.cmp-cons li::before { color: #a8722f; }
.cmp-pricing { border-top-color: #f1e5d7; }
.cmp-pricing summary { color: #a4571f; }
.cmp-legend { border-color: #efdfcd; background: #fffdf8; }
@media (min-width: 1240px) {
  #compare-dialog { width: min(1240px, calc(100% - 24px)); max-width: 1240px; }
  .cmp-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cmp-chat { display: flex; position: sticky; top: 112px; height: min(620px, calc(92vh - 150px)); }
  .cmp-chat-close, .cmp-chat-launcher { display: none; }
}
@media (max-width: 1239px) {
  .cmp-chat.is-open { display: flex; position: fixed; z-index: 90; right: 12px; bottom: 12px; width: min(380px, calc(100vw - 24px)); height: min(620px, calc(100vh - 24px)); }
  .cmp-chat-close { display: grid; }
  .cmp-chat-launcher { display: inline-flex; position: fixed; z-index: 80; right: 18px; bottom: 18px; }
}
@media (max-width: 760px) {
  .cmp-chat.is-open { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 14px; }
  .cmp-chat-head { padding: 10px 11px; }
  .cmp-chat-log { padding: 10px; }
  .cmp-chat-chips { padding: 7px 10px 0; }
  .cmp-chat-form { padding: 9px 10px 4px; }
  .cmp-chat-note { padding: 0 10px 9px; }
  .cmp-chat-launcher { right: 14px; bottom: 14px; padding: 9px 13px; }
}

/* === 2026-11: tydligare startsida, metod, källor och jämförelsetabell === */
.start-here { margin: 34px 0 12px; }
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.start-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 20px 18px 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.start-card:hover { transform: translateY(-2px); border-color: var(--warm-mid); box-shadow: var(--shadow-card); text-decoration: none; }
.start-card:first-child { border-color: var(--warm-line); background: linear-gradient(180deg, #fff, var(--warm)); }
.start-num { position: absolute; top: 16px; right: 17px; color: #b9a897; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.start-card .related-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 2px; border: 1px solid var(--warm-line); border-radius: 10px; background: #fff; color: #b45309; }
.start-card .related-ico svg { width: 16px; height: 16px; }
.start-kicker { color: #9a3412; font-size: .66rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.start-card strong { max-width: 16em; font-size: 1.02rem; line-height: 1.3; letter-spacing: -.02em; }
.start-desc { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.start-card .related-link { margin-top: auto; padding-top: 8px; font-size: .82rem; }

.guide-answer { margin-top: 22px; border-left: 4px solid #e9a35c; }
.guide-answer p strong { color: var(--ink); }

.method-box { margin: 30px 0 26px; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.method-box-head { max-width: 54em; }
.method-box-head .section-title { margin: 0 0 8px; }
.method-box-head > p:not(.eyebrow) { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.criteria-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 14px; }
.criterion { padding: 14px 14px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.criterion > span { display: block; margin-bottom: 8px; color: #b9a897; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.criterion strong { display: block; margin-bottom: 4px; font-size: .86rem; }
.criterion p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.method-box-note { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.method-box-note strong { color: var(--ink-soft); }

.sources-block { margin: 34px 0 30px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.sources-block > p { max-width: 62em; color: var(--muted); font-size: .9rem; }
.sources-meta { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 14px 0 12px; padding: 0; list-style: none; }
.source-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 9px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft); min-width: 0; }
.source-list li > span:last-child { min-width: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.source-list .brand-logo-image { width: 28px; height: 28px; }
.source-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.source-links > span:first-child { color: var(--ink-soft); font-weight: 650; }
.source-links a { display: inline-flex; align-items: center; gap: 2px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.source-links a .ico-wrap svg { width: 10px; height: 10px; opacity: .65; }
.source-links-compact { font-size: .7rem; }
.billing-line { margin: -2px 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.billing-line strong { color: var(--ink-soft); }
.tool-footer-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tool-footer-info .source-links { max-width: 42em; }

.quick-compare-table { min-width: 1120px; }
.quick-compare-table .col-tool { width: 210px; }
.quick-compare-table .col-bestfor { width: 160px; }
.quick-compare-table .col-price { width: 150px; }
.quick-compare-table .col-payment { width: 190px; }
.quick-compare-table .col-offer { width: 112px; }
.quick-compare-table .col-outbound { width: 156px; }
.quick-compare-table .cell-bestfor { font-weight: 600; color: var(--ink-soft); }
.quick-compare-table .cell-payment { color: var(--muted); font-size: .82rem; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
.quick-compare-table .cell-offer { white-space: nowrap; }
.quick-compare-table .cell-outbound { white-space: nowrap; }
.quick-compare-table .cell-outbound .tool-outbound { padding: 7px 10px; font-size: .72rem; }
/* Knappen får aldrig vara bredare än kolumnen: den krymper och radbryter i stället. */
.quick-compare-table .cell-outbound .tool-outbound { min-width: 0; max-width: 100%; box-sizing: border-box; white-space: normal; flex-wrap: wrap; row-gap: 4px; justify-content: center; }
.quick-compare-table .cell-action { width: 104px; }
.quick-compare-table .cell-action .jump { font-size: .8rem; }
.quick-compare-table .offer-badge { font-size: .66rem; }

@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-card { padding: 16px; }
  .criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .start-here { margin-top: 26px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .criteria-grid { grid-template-columns: 1fr; }
  .method-box, .sources-block { padding: 18px 16px; }
  .guide-answer { padding: 15px 14px; }
  .guide-answer p { font-size: .96rem; }
}

/* Jämförelsetabellen ska rymmas i innehållskolumnen på desktop. */
.quick-compare-table { min-width: 1060px; }
.quick-compare-table .col-score { width: 68px; }
.quick-compare-table .col-tool { width: 190px; }
.quick-compare-table .col-bestfor { width: 126px; }
.quick-compare-table .col-price { width: 132px; }
.quick-compare-table .col-payment { width: 166px; }
.quick-compare-table .col-offer { width: 128px; }
.quick-compare-table .col-outbound { width: 138px; }
.quick-compare-table .col-action { width: 92px; }

/* Mobil: jämförelsetabellen blir läsbara kort i stället för en bred tabell. */
@media (max-width: 960px) {
  .quick-compare-table { min-width: 0; table-layout: auto; }
  .quick-compare-table colgroup, .quick-compare-table thead { display: none; }
  .quick-compare-table, .quick-compare-table tbody, .quick-compare-table tr, .quick-compare-table th, .quick-compare-table td { display: block; width: auto; }
  .quick-compare-table tbody { display: grid; gap: 12px; padding: 10px; }
  .quick-compare-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .quick-compare-table tr[hidden] { display: none; }
  .quick-compare-table td { border: 0; padding: 0; min-width: 0; }
  .quick-compare-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .quick-compare-table .cell-tool { grid-column: 1 / -1; padding-bottom: 2px; }
  .quick-compare-table .cell-bestfor { grid-column: 1 / -1; }
  .quick-compare-table .cell-score { grid-column: 1 / -1; }
  .quick-compare-table .cell-action { grid-column: 1 / -1; }
  .quick-compare-table .cell-outbound { display: flex; flex-direction: column; justify-content: flex-end; }
  .quick-compare-table .tool-outbound-compact { width: 100%; max-width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 4px; }
  .quick-compare-table .cell-action .jump { width: 100%; justify-content: space-between; }
  .quick-compare-table .table-scroll-hint { display: none; }
}

.quick-compare-table .offer-badge { max-width: 100%; padding: 4px 7px; font-size: .72rem; line-height: 1.3; white-space: normal; }

@media (max-width: 960px) {
  .quick-compare-table tbody td { padding: 0; border: 0; }
  .quick-compare-table tr { grid-template-columns: 58px minmax(0, 1fr); }
  .quick-compare-table .cell-score { grid-column: 1; }
  .quick-compare-table .cell-tool { grid-column: 2; }
  .quick-compare-table .cell-bestfor,
  .quick-compare-table .cell-action { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .quick-compare-table tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quick-compare-table .cell-score { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
  .quick-compare-table .cell-score::before { margin-bottom: 0; }
  .quick-compare-table .cell-tool { grid-column: 1 / -1; padding: 0 0 2px; }
}

@media (max-width: 960px) {
  .compare-block .table-scroll-hint { display: none; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .compare-block .table-scroll-hint { display: block; }
}

@media (max-width: 480px) {
  .byline-meta { display: block; line-height: 1.55; }
  .byline-meta > strong, .byline-meta > time, .byline-meta > a, .byline-meta .byline-sep { display: inline; }
  .byline-sep { margin: 0 4px; }
}

.offer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.offer-actions .tool-outbound-compact { width: auto; }
.offer-actions .jump { white-space: nowrap; }

.page-offers .layout-single { max-width: 1120px; }
.page-offers .answer-box,
.page-offers .faq-block,
.page-offers .table-note,
.page-offers .disclosure { max-width: 860px; }
@media (max-width: 1050px) {
  .page-offers .table-scroll-hint { display: block !important; }
}

.offer-actions .tool-outbound-compact { white-space: nowrap; }

/* Livesök i hero: tydliga träffar i stället för att bara filtrera en sektion längre ner. */
.hero-search-results {
  max-width: 650px; max-height: min(420px, 55vh); overflow: auto;
  margin: 10px auto 0; padding: 7px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 55px rgba(94, 26, 4, 0.28), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.hero-search-results[hidden] { display: none; }
.hero-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none;
}
.hero-result:hover, .hero-result:focus-visible { background: #fff7ed; }
.hero-result img { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; }
.hero-result-main { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.hero-result-main strong { font-size: .9rem; }
.hero-result-main small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-result-score { flex: 0 0 auto; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); font-size: .72rem; font-weight: 700; }
.hero-result-all { display: block; margin-top: 4px; padding: 11px 12px; border-top: 1px solid var(--line); color: #c2410c; font-size: .82rem; font-weight: 700; text-align: center; }
.hero-result-empty { margin: 0; padding: 13px 12px 8px; color: var(--muted); font-size: .86rem; text-align: center; }
@media (max-width: 760px) {
  .hero-search-results { max-width: none; margin: 10px 0 0; }
}

.hero-result-main small { white-space: normal; overflow: hidden; text-overflow: clip; }

/* === 2026-11: mobilfinjusteringar === */

/* Startsidans header är transparent ovanpå hero. När mobilmenyn är öppen
   måste den bli ljus igen, annars blir vit logga och vita ikoner osynliga. */
.page-home .site-header:has(.mobile-nav:not([hidden])) {
  background: rgba(255, 250, 244, .97);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
}
.page-home .site-header:has(.mobile-nav:not([hidden])) .brand,
.page-home .site-header:has(.mobile-nav:not([hidden])) .brand-dot { color: var(--ink); }
.page-home .site-header:has(.mobile-nav:not([hidden])) .main-nav a { color: var(--ink-soft); }
.page-home .site-header:has(.mobile-nav:not([hidden])) .header-search-btn { background: #fff; border-color: var(--line); color: var(--muted); }
.page-home .site-header:has(.mobile-nav:not([hidden])) .header-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-home .site-header:has(.mobile-nav:not([hidden])) .nav-toggle { background: #fff; border-color: var(--line); color: var(--ink); }

@media (max-width: 480px) {
  /* Statistikraden i hero-strippen: tre jämna kolumner även vid 320 px. */
  .hero-strip-inner { padding: 16px; border-radius: 16px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; }
  .hero-stats li { flex: none; min-width: 0; padding: 0 10px; }
  .hero-stats li:first-child { padding-left: 0; }
  .hero-stats li:last-child { padding-right: 0; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero-stats span { font-size: .64rem; letter-spacing: .04em; }

  /* Verktygskorten får aldrig bli bredare än sin kolumn. */
  .showcase-tool-grid, .showcase-price-list { grid-template-columns: minmax(0, 1fr); }
  .showcase-tool { min-width: 0; }
  .showcase-tool-price { flex-wrap: wrap; }
}

/* Smala telefoner: topp-5-korten staplas snyggt i stället för att
   verktygsnamnet hamnar ovanför rank och logga. */
@media (max-width: 400px) {
  .top5-row {
    grid-template-columns: 36px 38px minmax(0, 1fr) 42px;
    align-items: start;
    gap: 8px;
    padding: 12px;
  }
  .top5-rank { width: 36px; height: 36px; border-radius: 11px; font-size: .9rem; }
  .top5-row .brand-logo-image { width: 38px; height: 38px; border-radius: 10px; }
  .top5-name { display: block; font-size: .98rem; line-height: 1.3; }
  .top5-name .mini-badge { margin-top: 4px; }
  .top5-for { font-size: .8rem; }
  .score-ring { width: 42px; height: 42px; }
  .score-ring strong { font-size: .8rem; }
  .top5-actions { grid-column: 1 / -1; justify-content: space-between; gap: 8px; }
}

/* Jämförelsetabellen på mobil: verktyget först, betyget därefter. */
@media (max-width: 960px) {
  .quick-compare-table .cell-tool { order: 1; }
  .quick-compare-table .cell-score { order: 2; }
  .quick-compare-table .cell-bestfor { order: 3; }
  .quick-compare-table .cell-price { order: 4; }
  .quick-compare-table .cell-payment { order: 5; }
  .quick-compare-table .cell-offer { order: 6; }
  .quick-compare-table .cell-outbound { order: 7; }
  .quick-compare-table .cell-action { order: 8; }
  .quick-compare-table .cell-action::before { display: none; }
}

/* Priskort på mobil: betyg och recensionslänk delar sista raden. */
@media (max-width: 700px) {
  .prices-table .cell-score { grid-column: 1; }
  .prices-table .cell-action { grid-column: 2; align-self: center; justify-self: start; width: auto; }
}

.price-watch-msg{margin:.5rem 0 0;font-size:.875rem}

/* Cookiebanner */
.consent-banner{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);width:min(680px,calc(100% - 32px));background:var(--paper);border:1px solid var(--line-strong);border-radius:var(--radius);box-shadow:0 12px 40px rgba(36,27,22,.18);padding:20px;z-index:999}
.consent-banner p{margin:0 0 12px;font-size:.9rem;line-height:1.55;color:var(--ink-soft)}
.consent-banner .consent-title{color:var(--ink)}
.consent-banner a{color:inherit}
.consent-actions{display:flex;gap:8px;flex-wrap:wrap}
.consent-actions .btn{flex:1;min-width:140px;justify-content:center}
.consent-settings{display:none;margin-top:12px;border-top:1px solid var(--line);padding-top:8px}
.consent-banner.show-settings .consent-settings{display:block}
.consent-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:.9rem;color:var(--ink)}
.consent-row small{display:block;color:var(--muted);font-size:.8rem}
.consent-always{font-size:.8rem;color:var(--muted);white-space:nowrap}
.consent-gpc{font-size:.85rem;color:var(--muted)}
.consent-switch{position:relative;width:44px;height:24px;flex:none}
.consent-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.consent-switch span{display:block;width:44px;height:24px;border-radius:var(--radius-pill);background:var(--line-strong);transition:background .2s}
.consent-switch span::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:var(--shadow-sm)}
.consent-switch input:checked+span{background:var(--good)}
.consent-switch input:checked+span::after{transform:translateX(20px)}
.consent-switch input:disabled+span{opacity:.5;cursor:default}

/* Länkknapp i sidfoten (Cookieinställningar) */
.link-btn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.link-btn:hover{text-decoration:underline}
