/* ============================================================================
   Låna Direkt — designsystem
   Nordiskt, dämpat, tillgängligt. Ljust och mörkt läge via [data-theme].
   ========================================================================== */

/* ------------------------------------------------------------------ TOKENS */
:root {
  color-scheme: light;

  /* Ytor */
  --bg:            #F7F5F1;
  --bg-alt:        #FFFDFA;
  --surface:       #FFFFFF;
  --surface-2:     #F3F0EA;
  --surface-3:     #EAE5DC;

  /* Text */
  --ink:           #14171C;
  --ink-2:         #414852;
  --ink-3:         #6B7480;
  --ink-inv:       #FFFFFF;

  /* Linjer */
  --line:          #E3DED4;
  --line-2:        #D2CABC;

  /* Varumärke */
  --brand:         #E2660A;
  --brand-600:     #C4560A;
  --brand-700:     #A2450A;
  --brand-soft:    #FDEEE1;
  --brand-ring:    rgba(226,102,10,.28);

  /* Sekundär (nordisk djupgrön) */
  --deep:          #17423C;
  --deep-2:        #0E2E2A;
  --deep-soft:     #E2EEEA;

  /* Semantiskt */
  --ok:            #1D7A4F;
  --ok-soft:       #E3F3EA;
  --warn:          #9A6100;
  --warn-soft:     #FDF1DA;
  --bad:           #B3261E;
  --bad-soft:      #FBE9E7;
  --gold:          #D9A216;

  /* Form */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(20,23,28,.05), 0 1px 3px rgba(20,23,28,.04);
  --sh-2: 0 2px 4px rgba(20,23,28,.05), 0 8px 20px rgba(20,23,28,.06);
  --sh-3: 0 10px 24px rgba(20,23,28,.08), 0 24px 56px rgba(20,23,28,.09);
  --sh-focus: 0 0 0 3px var(--brand-ring);

  --ff: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ff-num: "Inter", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --step: clamp(56px, 8vw, 104px);
  --nav-h: 68px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:        #0E1114;
  --bg-alt:    #12161A;
  --surface:   #171C21;
  --surface-2: #1E242A;
  --surface-3: #262D34;
  --ink:       #F0EEEA;
  --ink-2:     #B9C0C8;
  --ink-3:     #89929C;
  --line:      #2A3138;
  --line-2:    #3A424B;
  --brand:     #FF8A3D;
  --brand-600: #FF9C57;
  --brand-700: #FFB37D;
  --brand-soft:#2C1E12;
  --brand-ring: rgba(255,138,61,.30);
  --deep:      #7FC3B4;
  --deep-2:    #A5D8CC;
  --deep-soft: #142623;
  --ok:        #57C98D; --ok-soft:  #12271C;
  --warn:      #E0AF52; --warn-soft:#2A210F;
  --bad:       #F2867C; --bad-soft: #2C1614;
  --gold:      #F0C24C;
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 2px 6px rgba(0,0,0,.4), 0 10px 24px rgba(0,0,0,.34);
  --sh-3: 0 12px 30px rgba(0,0,0,.5), 0 30px 64px rgba(0,0,0,.4);
}

/* ------------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; font-family: var(--ff); background: var(--bg); color: var(--ink);
  font-size: 16.5px; line-height: 1.65; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.32rem); }
p  { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.narrow { max-width: 74ch; }
.sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
      clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip { position:absolute; left:12px; top:-60px; z-index:200; background:var(--brand);
        color:#fff; padding:10px 18px; border-radius:var(--r-sm); font-weight:600;
        transition:top .18s; }
.skip:focus { top:12px; color:#fff; }

/* Beskedet till besökare utan JavaScript, som annars möter tomma listor. */
.noscript { max-width: 760px; margin: 18px auto; padding: 16px 20px;
            border: 1px solid var(--warn, #C98A12); border-left-width: 4px;
            border-radius: var(--r-sm); background: var(--surface);
            color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.noscript b { color: var(--ink); display: block; margin-bottom: 4px; }
.noscript a { color: var(--brand-700); }

/* ------------------------------------------------------------------- IKONER */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em;
      fill: none; stroke: currentColor; stroke-width: 1.85;
      stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.mascot { display: block; width: 100%; height: auto; }

/* ==========================================================================
   MASKOTANIMATION
   Delarna ligger inuti <symbol> i spriten. Eftersom spriten är inline i DOM:en
   kan vi styla dem här — <use>-instanserna ärver de beräknade stilarna.
   Allt stängs av vid prefers-reduced-motion.
   ========================================================================== */
#ld-sprite symbol > *, #ld-sprite g { transform-box: fill-box; }

/* Hela figuren: lugn andning */
.mascot { animation: pgBreathe 5.2s ease-in-out infinite; transform-origin: 50% 92%; will-change: transform; }
.mascot--slow  { animation-duration: 6.8s; animation-delay: -1.4s; }
.mascot--fast  { animation-duration: 4.1s; animation-delay: -2.6s; }
.mascot--still { animation: none; }
@keyframes pgBreathe {
  0%,100% { transform: translateY(0)      scale(1); }
  50%     { transform: translateY(-2.2%)  scale(1.014); }
}

/* Öron — vaggar i otakt */
#ld-sprite .pg-ear { transform-origin: 50% 88%; }
#ld-sprite .pg-ear--l { animation: pgEarL 4.4s ease-in-out infinite; }
#ld-sprite .pg-ear--r { animation: pgEarR 4.4s ease-in-out infinite .55s; }
@keyframes pgEarL { 0%,72%,100% { transform: rotate(0deg); } 80% { transform: rotate(-7deg); } 88% { transform: rotate(3deg); } }
@keyframes pgEarR { 0%,72%,100% { transform: rotate(0deg); } 80% { transform: rotate(7deg); }  88% { transform: rotate(-3deg); } }

/* Blinkningar */
#ld-sprite .pg-eye { transform-origin: 50% 50%; animation: pgBlink 6.1s ease-in-out infinite; }
#ld-sprite .pg-eye--r { animation-delay: .04s; }
@keyframes pgBlink {
  0%, 40%, 46%, 92%, 100% { transform: scaleY(1); }
  43%, 95%                { transform: scaleY(.12); }
}

/* Rekvisita */
#ld-sprite .pg-hold  { animation: pgHold 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes pgHold { 0%,100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-3.5deg) translateY(-2px); } }

#ld-sprite .pg-float { animation: pgFloat 3.1s ease-in-out infinite; }
@keyframes pgFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

#ld-sprite .pg-sway  { animation: pgSway 4.2s ease-in-out infinite; transform-origin: 50% 0%; }
@keyframes pgSway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

#ld-sprite .pg-wave  { animation: pgWave 2.9s ease-in-out infinite; transform-origin: 78% 90%; }
@keyframes pgWave { 0%,60%,100% { transform: rotate(0deg); } 70% { transform: rotate(-14deg); } 80% { transform: rotate(6deg); } 90% { transform: rotate(-8deg); } }

#ld-sprite .pg-pop   { animation: pgPop 3.4s cubic-bezier(.34,1.56,.64,1) infinite; transform-origin: 50% 50%; }
@keyframes pgPop { 0%,55%,100% { transform: scale(1); } 62% { transform: scale(1.22); } 72% { transform: scale(.95); } 80% { transform: scale(1); } }

#ld-sprite .pg-spin  { animation: pgSpin 5.5s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes pgSpin {
  0%,58%,100% { transform: rotate(0deg)  scale(1); }
  70%         { transform: rotate(-9deg) scale(1.06); }
  84%         { transform: rotate(6deg)  scale(1.02); }
}

#ld-sprite .pg-coin  { transform-origin: 50% 50%; }
#ld-sprite .pg-coin--1 { animation: pgCoin 3.4s ease-in-out infinite; }
#ld-sprite .pg-coin--2 { animation: pgCoin 4.0s ease-in-out infinite .5s; }
#ld-sprite .pg-coin--3 { animation: pgCoin 3.1s ease-in-out infinite 1.1s; }
#ld-sprite .pg-coin--4 { animation: pgCoin 3.8s ease-in-out infinite .8s; }
@keyframes pgCoin {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-9px) rotate(6deg); }
}

#ld-sprite .pg-run  { animation: pgRun 1.35s ease-in-out infinite; transform-origin: 50% 96%; }
@keyframes pgRun {
  0%,100% { transform: rotate(-7deg) translateY(0); }
  50%     { transform: rotate(-9.5deg) translateY(-5px); }
}
#ld-sprite .pg-dash { animation: pgDash 1.05s linear infinite; }
@keyframes pgDash {
  0%   { transform: translateX(6px);  opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateX(-16px); opacity: 0; }
}

/* Extra liv när användaren pekar på maskoten */
.mascot-wrap { position: relative; }
.mascot-wrap:hover .mascot,
.mascot-wrap:focus-within .mascot { animation-duration: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  .mascot, #ld-sprite * { animation: none !important; }
}

/* ------------------------------------------------------------------ HEADER */
.hdr { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
       backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.06rem;
         letter-spacing: -.03em; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft);
               display: grid; place-items: center; overflow: hidden; flex: none;
               border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.brand__mark svg { width: 42px; height: 42px; margin-top: 6px; }
.brand__sub { display: block; font-size: .66rem; font-weight: 600; color: var(--ink-3);
              letter-spacing: .08em; text-transform: uppercase; margin-top: -3px; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--r-sm); font-size: .92rem; font-weight: 550;
         color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--brand-700); background: var(--brand-soft); }
@media (max-width: 1000px) { .nav { display: none; } }

.hdr__act { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
@media (min-width: 1001px) { .hdr__act { margin-left: 10px; } }
/* På smala skärmar får varumärket krympa, och den handlingsknapp som ändå
   upprepas i lådan och i hjälten tas bort — annars sticker huvudet utanför
   sidbredden vid 375 px. */
@media (max-width: 560px) {
  .hdr__in { gap: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand > span:not(.brand__mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hdr__act .btn--primary { display: none; }
}

.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm);
           border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
           cursor: pointer; transition: .15s; }
.iconbtn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }
.navtoggle { display: none; }
@media (max-width: 1000px) { .navtoggle { display: grid; } }

.drawer { position: fixed; inset: var(--nav-h) 0 0; z-index: 89; background: var(--bg-alt);
          border-top: 1px solid var(--line); padding: 18px var(--gut) 40px; overflow-y: auto; }
.drawer a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line);
            font-weight: 600; color: var(--ink); text-decoration: none; }

/* --------------------------------------------------------------- KNAPPAR */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
       font-weight: 650; font-size: .95rem; cursor: pointer; text-decoration: none;
       transition: transform .12s, box-shadow .18s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 6px 16px var(--brand-ring); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn--deep { background: var(--deep); color: var(--bg-alt); }
.btn--deep:hover { filter: brightness(1.08); color: var(--bg-alt); }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ----------------------------------------------------------------- BADGES */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
       border-radius: var(--r-pill); font-size: .74rem; font-weight: 650; letter-spacing: .01em;
       background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag--brand { background: var(--brand-soft); color: var(--brand-700); border-color: color-mix(in srgb, var(--brand) 26%, transparent); }
.tag--ok    { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 28%, transparent); }
.tag--warn  { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.tag--bad   { background: var(--bad-soft); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 28%, transparent); }
.tag--deep  { background: var(--deep-soft); color: var(--deep); border-color: color-mix(in srgb, var(--deep) 26%, transparent); }

/* ------------------------------------------------------------------- HERO */
.hero { position: relative; padding: clamp(36px, 6vw, 76px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.hero::before { content:""; position:absolute; inset:-30% -10% auto -10%; height: 620px; z-index:-1;
  background:
    radial-gradient(46% 52% at 18% 22%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(42% 48% at 82% 12%, color-mix(in srgb, var(--deep) 15%, transparent), transparent 68%); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 650;
           color: var(--deep); background: var(--deep-soft); padding: 6px 14px; border-radius: var(--r-pill);
           border: 1px solid color-mix(in srgb, var(--deep) 22%, transparent); margin-bottom: 18px; }
.hero h1 { margin-bottom: .38em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: var(--ink-2); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .87rem; color: var(--ink-3); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .ic { color: var(--ok); }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art .mascot { max-width: 400px; filter: drop-shadow(0 24px 40px rgba(20,23,28,.14)); }
.hero__chip { position: absolute; background: var(--surface); border: 1px solid var(--line);
              border-radius: var(--r-md); padding: 10px 14px; box-shadow: var(--sh-2); font-size: .82rem; }
.hero__chip b { display: block; font-size: 1.06rem; letter-spacing: -.02em; }
.hero__chip--a { top: 1%;    left: -5%;  animation: chipA 5.4s ease-in-out infinite; }
.hero__chip--b { bottom: 2%; right: -5%; animation: chipB 6.2s ease-in-out infinite; }
@keyframes chipA { 0%,100% { transform: translateY(0)     rotate(-1.5deg); }
                   50%     { transform: translateY(-8px)  rotate(1deg); } }
@keyframes chipB { 0%,100% { transform: translateY(0)     rotate(1.5deg); }
                   50%     { transform: translateY(-10px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .hero__chip { animation: none; } }
@media (max-width: 940px) { .hero__art .mascot { max-width: 280px; } .hero__chip { display: none; } }

/* --------------------------------------------------------------- RÄNTELÄGE */
.ticker { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg);
          padding: 4px; box-shadow: var(--sh-1); margin-top: clamp(20px, 3vw, 34px); }
.ticker__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.ticker__i { padding: 14px 18px; border-right: 1px solid var(--line); }
.ticker__i:last-child { border-right: 0; }
.ticker__k { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
             color: var(--ink-3); font-weight: 650; }
.ticker__v { display: block; font-size: 1.28rem; font-weight: 750; letter-spacing: -.03em;
             font-variant-numeric: tabular-nums; line-height: 1.3; }
.ticker__n { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 860px) { .ticker__in { grid-template-columns: repeat(2, 1fr); }
  .ticker__i { border-bottom: 1px solid var(--line); }
  .ticker__i:nth-child(2n) { border-right: 0; }
  .ticker__i:last-child { grid-column: span 2; border-bottom: 0; } }

/* --------------------------------------------------------------- SEKTIONER */
.sec { padding: var(--step) 0; }
.sec--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec--deep { background: var(--deep-2); color: #E9F1EE; border-block: 1px solid var(--deep-2); }
.sec--deep h2, .sec--deep h3 { color: #fff; }
.sec--deep .sec__lead { color: #B9CFC9; }

.sec__head { max-width: 68ch; margin-bottom: clamp(26px, 4vw, 44px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__lead { color: var(--ink-2); font-size: 1.03rem; }
.sec__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
               letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

.headrow { display: flex; align-items: flex-end; gap: 22px; margin-bottom: clamp(26px, 4vw, 40px); }
.headrow__art { width: clamp(88px, 12vw, 132px); flex: none; }
.headrow__txt { flex: 1; min-width: 0; }
.headrow__txt > :last-child { margin-bottom: 0; }
@media (max-width: 620px) { .headrow { flex-direction: column; align-items: flex-start; gap: 12px; }
  .headrow__art { width: 92px; } }

/* ================================================================ LÅNGIVARBAND
   Ett band som rullar långsamt i sidled. Spåret innehåller listan två gånger
   och förskjuts exakt halva sin bredd, så att varvet börjar om osynligt.

   Två saker att inte råka ändra:
   • .lbar__viewport har overflow: hidden — utan den blir spåret sidbredd och
     hela sidan får vågrät rullning.
   • Kopian är aria-hidden, annars läser skärmläsaren upp varje långivare två
     gånger.
   ========================================================================== */
.lbar { padding: clamp(26px, 4vw, 40px) 0 0; }
.lbar__h { font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 650; text-align: center;
           color: var(--ink-2); letter-spacing: -.01em; margin: 0 0 18px; }
.lbar__viewport { overflow: hidden; position: relative;
                  /* Tonar ut kanterna så att banden inte klipps tvärt av. */
                  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
                          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Mellanrummet ligger som margin på korten, inte som gap på spåret. Med gap
   blir halva spårbredden inte exakt en omgång — det saknas ett halvt mellanrum,
   och bandet hoppar det avståndet vid varje varv. */
.lbar__track { display: flex; width: max-content;
               animation: lbarScroll 64s linear infinite; }
.lbar__viewport:hover .lbar__track,
.lbar__viewport:focus-within .lbar__track { animation-play-state: paused; }
@keyframes lbarScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lbar__i { display: flex; align-items: center; gap: 10px; flex: none;
           margin-right: 12px;
           padding: 11px 18px 11px 12px; border-radius: var(--r-md);
           border: 1px solid var(--line); background: var(--surface);
           box-shadow: var(--sh-1); text-decoration: none; color: var(--ink);
           transition: border-color .15s, box-shadow .15s, transform .15s; }
.lbar__i:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-2);
                 transform: translateY(-2px); }
.lbar__mark { width: 34px; height: 34px; border-radius: 9px; flex: none;
              display: grid; place-items: center; color: #fff;
              font-size: .78rem; font-weight: 800; letter-spacing: -.02em; }
.lbar__n { font-weight: 650; font-size: .95rem; white-space: nowrap; }
.lbar__t { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-3);
           white-space: nowrap; }

/* Rullande text är en tillgänglighetsrisk och gör vissa läsare åksjuka.
   Vid reduced motion står bandet stilla och blir en vanlig radbruten lista. */
@media (prefers-reduced-motion: reduce) {
  .lbar__viewport { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .lbar__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center;
                 padding-inline: var(--gut); }
  .lbar__i { margin-bottom: 12px; }
  .lbar__track [data-dup] { display: none; }
}

/* -------------------------------------------------------------- SVARSRUTA */
.answer { border-left: 4px solid var(--brand); background: var(--brand-soft);
          padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 26px; }
.answer__k { font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
             color: var(--brand-700); display: block; margin-bottom: 6px; }
.answer p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.answer p + p { margin-top: .7em; }

/* ---------------------------------------------------------------- KATEGORI */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cats { grid-template-columns: 1fr; } }
.cat { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg);
       background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
       transition: transform .16s, box-shadow .18s, border-color .16s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); color: var(--ink); }
.cat__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
           background: var(--brand-soft); color: var(--brand-700); }
.cat__ic .ic { width: 22px; height: 22px; }
.cat b { font-size: 1.03rem; letter-spacing: -.02em; }
.cat span { font-size: .87rem; color: var(--ink-3); line-height: 1.5; }
.cat__go { margin-top: auto; padding-top: 8px; font-size: .84rem; font-weight: 650; color: var(--brand-700);
           display: inline-flex; align-items: center; gap: 5px; }
.cat:hover .cat__go .ic { transform: translateX(3px); }
.cat__go .ic { width: 15px; height: 15px; transition: transform .16s; }

/* ============================== JÄMFÖRELSE ================================ */
.compare { display: grid; grid-template-columns: 306px 1fr; gap: 26px; align-items: start; }
@media (max-width: 1040px) { .compare { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
         box-shadow: var(--sh-1); }
.panel__h { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex;
            align-items: center; gap: 9px; font-weight: 700; font-size: .96rem; }
.panel__b { padding: 20px; }

.filters { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 1040px) { .filters { position: static; } }

.fgroup { margin-bottom: 22px; }
.fgroup:last-child { margin-bottom: 0; }
.flabel { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
          font-size: .82rem; font-weight: 650; color: var(--ink-2); margin-bottom: 9px; }
.flabel output { font-variant-numeric: tabular-nums; font-weight: 750; color: var(--ink); font-size: .95rem; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
                      background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surface-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px;
  margin-top: -8px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,.25); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--sh-focus); }

.field { width: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
         background: var(--bg-alt); color: var(--ink); }
.field:focus { outline: none; border-color: var(--brand); box-shadow: var(--sh-focus); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
        background: var(--bg-alt); font-size: .84rem; font-weight: 600; cursor: pointer;
        color: var(--ink-2); transition: .14s; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.check { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .89rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }

/* Resultat */
.reshead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.reshead__n { font-weight: 700; }
.reshead__n b { color: var(--brand-700); }
.reshead__sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--ink-3); }
.reshead__sort select { width: auto; padding: 8px 30px 8px 12px; font-size: .87rem; }

.offers { display: flex; flex-direction: column; gap: 14px; }

.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
         box-shadow: var(--sh-1); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.offer:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.offer--top { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 0 0 1px var(--brand-ring), var(--sh-2); }
.offer__rank { position: absolute; top: 0; left: 0; }

.offer__main { display: grid; grid-template-columns: 200px 1fr 190px; gap: 20px; padding: 18px 20px; align-items: center; }
@media (max-width: 900px) { .offer__main { grid-template-columns: 1fr; gap: 16px; } }

.offer__id { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center;
              font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -.03em; }
.logo__t { min-width: 0; }
.logo__t h3 { margin: 0; font-size: 1.04rem; letter-spacing: -.02em; line-height: 1.25; font-weight: 700; }
.logo__t span { display: block; font-size: .78rem; color: var(--ink-3); }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--ink-3); }
.stars .ic { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); stroke: none; }

.offer__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 620px) { .offer__nums { grid-template-columns: repeat(2, 1fr); } }
.num { min-width: 0; }
.num__k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
          color: var(--ink-3); font-weight: 650; margin-bottom: 1px; }
.num__v { display: block; font-size: 1.16rem; font-weight: 750; letter-spacing: -.03em;
          font-variant-numeric: tabular-nums; line-height: 1.25; }
.num__v.is-hero { color: var(--brand-700); }
.num__n { display: block; font-size: .74rem; color: var(--ink-3); line-height: 1.35; }

.offer__act { display: flex; flex-direction: column; gap: 8px; }
.offer__act .btn { width: 100%; }
.offer__meta { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 11px 20px;
               border-top: 1px solid var(--line); background: var(--surface-2); font-size: .82rem; color: var(--ink-3); }
.offer__foot button { background: none; border: 0; padding: 0; color: var(--brand-700); font-weight: 650;
                      cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; }
.offer__foot .ic { width: 14px; height: 14px; }
.offer__det { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.offer__det[hidden] { display: none !important; }
.detgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 18px; }
@media (max-width: 760px) { .detgrid { grid-template-columns: 1fr; gap: 16px; } }
.detgrid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 8px; }
.plist { list-style: none; padding: 0; margin: 0 0 14px; font-size: .89rem; }
.plist li { display: flex; gap: 8px; padding: 3px 0; align-items: flex-start; }
.plist .ic { width: 16px; height: 16px; margin-top: 4px; flex: none; }
.plist--pro .ic { color: var(--ok); }
.plist--con .ic { color: var(--bad); }
.spectable { font-size: .87rem; }
.spectable tr { border-bottom: 1px solid var(--line); }
.spectable tr:last-child { border-bottom: 0; }
/* Etiketten får radbrytas — långa etiketter (betygsmodellen) sprängde annars
   sidbredden på mobil. Värdet hålls ihop i stället, det är alltid kort. */
.spectable th { text-align: left; font-weight: 550; color: var(--ink-3); padding: 6px 12px 6px 0; }
.spectable td { text-align: right; padding: 6px 0; font-variant-numeric: tabular-nums; font-weight: 600;
                white-space: nowrap; }

.repex { font-size: .78rem; color: var(--ink-3); line-height: 1.55; padding: 12px 20px;
         border-top: 1px dashed var(--line); background: var(--bg-alt); }
.repex b { color: var(--ink-2); font-weight: 650; }

.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty svg.mascot { max-width: 130px; margin: 0 auto 12px; }

/* Poängmätare */
.score { display: inline-flex; align-items: center; gap: 8px; }
.score__bar { display: block; width: 54px; height: 6px; border-radius: 3px;
              background: var(--surface-3); overflow: hidden; flex: none; }
.score__fill { display: block; height: 100%; border-radius: 3px;
               background: linear-gradient(90deg, var(--brand), var(--gold)); }
.score__v { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .82rem; }

/* Jämförelsefack */
.tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80;
        background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill);
        box-shadow: var(--sh-3); padding: 9px 9px 9px 20px; display: flex; align-items: center; gap: 14px;
        max-width: calc(100% - 24px); }
.tray[hidden] { display: none !important; }
.tray__n { font-size: .88rem; font-weight: 650; white-space: nowrap; }
.tray__x { background: none; border: 0; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; }

/* ------------------------------------------------------------------ MODAL */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none !important; }
.modal__bd { position: absolute; inset: 0; background: rgba(12,14,17,.55); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: var(--surface); border-radius: var(--r-xl);
              box-shadow: var(--sh-3); width: min(980px, 100%); max-height: min(86vh, 900px);
              overflow: auto; border: 1px solid var(--line); }
.modal__h { position: sticky; top: 0; background: var(--surface); border-bottom: 1px solid var(--line);
            padding: 18px 22px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.modal__h h3 { margin: 0; }
.modal__h .iconbtn { margin-left: auto; }
.modal__b { padding: 22px; }

.cmp { width: 100%; font-size: .89rem; }
.cmp th, .cmp td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { position: sticky; top: 0; background: var(--surface-2); font-size: .8rem;
                text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.cmp tbody th { font-weight: 550; color: var(--ink-3); white-space: nowrap; }
.cmp td { font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp .is-best { color: var(--ok); }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------- KALKYLER */
.calcgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Rutnätsceller får som standard inte krympa under sitt innehåll (min-width: auto).
   Utan detta spränger en bred tabell hela sidbredden i stället för att rulla
   inuti sin egen .tablewrap. */
.calcgrid > *, .compare > *, .grid2 > *, .grid3 > * { min-width: 0; }
@media (max-width: 940px) { .calcgrid { grid-template-columns: 1fr; } }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.kpi__k { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
          color: var(--ink-3); font-weight: 650; }
.kpi__v { display: block; font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em;
          font-variant-numeric: tabular-nums; line-height: 1.3; }
.kpi--hero { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 24%, transparent); }
.kpi--hero .kpi__v { color: var(--brand-700); }

/* Staplarna sträcks till full höjd (align-items: stretch är standard) så att
   segmentens procenthöjder har något definit att räknas mot. */
.bars { display: flex; align-items: stretch; gap: 3px; height: 132px; padding-top: 8px; }
.bar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end;
       gap: 2px; min-width: 0; height: 100%; }
.bar__i { display: block; flex: 0 0 auto; border-radius: 2px 2px 0 0; min-height: 2px; }
.bar__i--r { background: var(--brand); }
.bar__i--a { background: var(--deep); }
.legend { display: flex; gap: 16px; font-size: .8rem; color: var(--ink-3); margin-top: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

.amort { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.amort table { font-size: .84rem; }
.amort th, .amort td { padding: 7px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.amort thead th { position: sticky; top: 0; background: var(--surface-2); text-align: right;
                  font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.amort thead th:first-child, .amort td:first-child { text-align: left; }
.amort td { text-align: right; }
.amort tbody tr:nth-child(12n) { background: var(--surface-2); }

/* ---------------------------------------------------------------- TABELLER */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.dtable { font-size: .9rem; min-width: 640px; }
.dtable th, .dtable td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.dtable thead th { background: var(--surface-2); font-size: .77rem; text-transform: uppercase;
                   letter-spacing: .06em; color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover { background: var(--surface-2); }
.dtable .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.dtable .name { font-weight: 700; }

/* ------------------------------------------------------------------- KORT */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
        padding: 22px; box-shadow: var(--sh-1); }
.card--flat { box-shadow: none; background: var(--bg-alt); }
.card h2, .card h3 { font-size: 1.06rem; margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }
.card__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
            background: var(--deep-soft); color: var(--deep); margin-bottom: 14px; }

.stepgrid { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .stepgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .stepgrid { grid-template-columns: 1fr; } }
.step { counter-increment: s; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--r-lg); padding: 22px; position: relative; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px;
                border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750;
                font-size: .95rem; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* -------------------------------------------------------------------- FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 17px 22px; cursor: pointer; font-weight: 650; list-style: none;
               display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq summary:hover { background: var(--surface-2); }
.faq__a { padding: 0 22px 20px 22px; color: var(--ink-2); max-width: 82ch; }
.faq__a > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- ORDLISTA */
.gloss { columns: 2; column-gap: 34px; }
@media (max-width: 760px) { .gloss { columns: 1; } }
.gloss div { break-inside: avoid; margin-bottom: 15px; }
.gloss dt { font-weight: 700; font-size: .95rem; }
.gloss dd { margin: 2px 0 0; font-size: .89rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ TEAM */
.person { display: flex; gap: 14px; }
.person__av { width: 58px; height: 58px; border-radius: 50%; background: var(--brand-soft); flex: none;
              display: grid; place-items: center; font-weight: 750; color: var(--brand-700); font-size: 1.05rem;
              border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.person b { display: block; font-size: 1.02rem; letter-spacing: -.02em; }
.person > div > span { display: block; font-size: .82rem; color: var(--brand-700); font-weight: 650; }
.person p { font-size: .88rem; color: var(--ink-2); margin: 6px 0 0; }

/* --------------------------------------------------------------- VARNING */
.warnbox { border: 1px solid color-mix(in srgb, var(--warn) 36%, transparent); background: var(--warn-soft);
           border-radius: var(--r-lg); padding: 20px 24px; display: flex; gap: 16px; }
.warnbox .ic { width: 26px; height: 26px; color: var(--warn); flex: none; margin-top: 2px; }
.warnbox h3 { color: var(--warn); font-size: 1.05rem; margin-bottom: .3em; }
.warnbox p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.warnbox p + p { margin-top: .6em; }

/* --------------------------------------------------------------- SOURCES */
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sources li { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; }
.sources .ic { width: 16px; height: 16px; margin-top: 5px; color: var(--ink-3); flex: none; }
.sources li > span { min-width: 0; }
.sources b { display: block; font-weight: 650; }
.sources li > span > span { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.45; }

/* ------------------------------------------------------------------ FOOTER */
.ftr { background: var(--deep-2); color: #C6D6D1; padding: clamp(46px, 6vw, 76px) 0 32px; font-size: .9rem; }
.ftr a { color: #C6D6D1; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; margin-bottom: 38px; }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: #fff; font-weight: 800; }
.ftr__brand .brand__mark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.ftr__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .8rem;
              color: #93A9A3; display: grid; gap: 12px; }
.ftr__legal p { margin: 0; max-width: 105ch; }
.ftr__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ftr__badges .tag { background: rgba(255,255,255,.07); color: #C6D6D1; border-color: rgba(255,255,255,.14); }

/* ------------------------------------------------------------------- MISC */
.disclosure { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--ink-2);
              background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
              padding: 13px 16px; }
.disclosure .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--ink-3); flex: none; }
.updated { font-size: .82rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }
.updated .ic { width: 15px; height: 15px; }

.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 150;
         background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: var(--r-pill);
         font-size: .88rem; font-weight: 600; box-shadow: var(--sh-3); opacity: 0; pointer-events: none;
         transition: opacity .22s, transform .22s; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* Inzoomning är en förstärkning, aldrig ett krav. Utan JS (eller vid
   reducerad rörelse) är allt innehåll synligt från början. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

.crumbs { font-size: .84rem; color: var(--ink-3); padding-top: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand-700); text-decoration: underline; }

@media print {
  .hdr, .tray, .filters, .ftr, .btn, .toast { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .offer { break-inside: avoid; box-shadow: none; }
}
