
    /* Appsidan ur Figma (webbfilen): "Webb — Desktop 1440 - Utloggad" och "Webb — Mobil 390".
       Mobil under 900 px (som startsidan), dator från 900 px. Mobilens topp räknas mot 390 bredd under 700 px, 700–899 som startsidans mellanbredd. */
    @font-face { font-family: "Ohno Softie"; src: url("/fonts/OhnoSoftie-Black.woff2") format("woff2"); font-weight: 900; font-display: block; }
    @font-face { font-family: "Inter"; src: url("/fonts/inter-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
    @font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
    @font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
    @font-face { font-family: "Inter"; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
    @font-face { font-family: "Inter"; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
    :root { --cream: #FFEBD2; --ink: #2C2C2C; --bg: #F9F5F6; --m: calc(100vw / 390); --u: calc(100vw / 1440); }
    * { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body { margin: 0; background: var(--bg); color: var(--ink);
      font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
    img { display: block; }

    /* ── Toppen, mobil ── */
    .topp { position: relative; overflow: hidden; background: var(--cream); }
    .topp-bild { position: relative; height: calc(322 * var(--m)); overflow: hidden; }
    .foto { position: absolute; left: calc(-51 * var(--m)); top: calc(77 * var(--m)); width: calc(504 * var(--m)); height: calc(245 * var(--m)); object-fit: cover; }
    .vag { position: absolute; }
    .vag-dator { display: none; }
    .vag-mobil { left: calc(-246.957 * var(--m)); top: calc(-75 * var(--m)); width: calc(785.446 * var(--m)); height: auto; }
    .logga { position: absolute; top: calc(40 * var(--m)); left: 50%; transform: translateX(-50%); width: calc(254 * var(--m)); }
    .logga img { width: 100%; height: auto; }
    .logga-dator { display: none; }
    .band { background: var(--cream); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 11.36px; text-align: center; }
    .band h1 { margin: 0; font-family: "Ohno Softie", Inter, sans-serif; font-weight: 900; color: var(--ink); }
    .band h1 span { display: block; }
    .band h1 .rad1 { font-size: min(57.32px, calc((100vw - 32px) * 0.1601)); /* Figma 57,3 i 358 bred spalt */ line-height: 1.05; }
    /* 0.87: Figmas rubrikruta är 136 hög på dator (85 × 1,05 + 54 × 0,87), inte 143 */
    .band h1 .rad2 { font-size: min(35.82px, calc((100vw - 32px) * 0.10005)); line-height: 0.87; }
    @media (max-width: 899.98px) { .text { max-width: 358px; } } /* Figma mobil 358: texten blir aldrig bredare än så mellan 390 och 900 */
    .text p { margin: 0; font-size: 16px; line-height: 26px; font-weight: 400; } /* som startsidans topptext (Petter 26–27 okt) */
    .text p + p { margin-top: 26.4px; }
    .text .bara-dator { display: none; }
    .text .ladda { display: none; } /* Petter 30 sep: bort även på mobil, knappen står där */
    .text strong { font-weight: 800; } /* Petter 30 sep: fetstil även på mobil; extrabold som startsidan 27 okt */
    .butiker { display: flex; gap: 10px; justify-content: center; margin-top: -1.36px; } /* Figma: 15 px under textrutan (254 hög), texten når 5 px längre */
    .butiker img { height: 48px; width: auto; } /* två märken: 132 + 162 + 10 = 304 på 390 */
    .butiker .knapp-dator { display: none; }
    .telefon { display: none; }

    /* ── Toppen, mellanbredd 700–899 px: som startsidan (Petter 30 sep: "utgå från main") — headern 400 hög, 20 px kräm överst,
       datorns våg, loggan 340 bred 26 från toppen. Resten av sidan är mobilens. ── */
    @media (min-width: 700px) and (max-width: 899.98px) {
      .topp-bild { height: 400px; }
      .foto { left: 0; top: 20px; width: 100%; height: 380px; } /* 20 px kräm överst, som startsidan */
      .vag-mobil { display: none; }
      .vag-dator { display: block; left: 0; top: 20px; width: 100%; height: auto; }
      .logga { top: 26px; width: 340px; }
      .logga-mobil { display: none; }
      .logga-dator { display: block; }
    }
    /* ── Toppen, dator (från 900 px) ── */
    @media (min-width: 900px) {
      /* Headern lika stor som startsidans (Petter 30 sep): 567 hög vid 1440, samma våg, loggan 450 bred 50 från toppen.
         Blir texten högre (smalare fönster, texten minst 14 px) växer bandet nedåt. */
      .topp-bild { height: calc(567 * var(--u)); overflow: hidden; }
      .foto { left: calc(-26 * var(--u)); top: calc(84 * var(--u)); width: calc(1466 * var(--u)); height: calc(556 * var(--u)); } /* Figma 30 sep: nya breda bilden 1466×556 på x −26, y 84 */
      .vag-mobil { display: none; }
      .vag-dator { display: block; left: 0; top: 0; width: 100%; height: auto; }
      .logga { top: calc(50 * var(--u)); width: calc(450 * var(--u)); }
      .logga-mobil { display: none; }
      .logga-dator { display: block; }
      /* Som startsidans plommonband (Petter 30 sep: "utgå från main"): fasta mått, skalar inte med fönstret.
         Rutan = receptkortens (1120, 40 luft på smalare fönster). Telefonen står 655 in i rutan men alltid helt synlig,
         textkolumnen slutar före telefonen, rubriken krymper bara när kolumnen blir för smal för den. */
      .topp { --pad: max(40px, calc(50% - 560px)); }
      /* Figma 1 okt: hela headern 919 hög vid 1440 — bandet är bara så högt som texten + knapparna (50 över, 33 under) */
      .band { padding: 50px var(--pad) 33px; align-items: flex-start; text-align: left; gap: 10px; }
      .band h1, .text { width: min(683px, calc(min(725px, 100% - 280px) + 15px)); margin: 0; }
      .band h1 .rad1 { font-size: min(85px, calc(0.157 * min(683px, min(725px, 100vw - 2 * max(40px, 50vw - 560px) - 280px) + 15px))); }
      .band h1 .rad2 { font-size: min(54px, calc(0.1 * min(683px, min(725px, 100vw - 2 * max(40px, 50vw - 560px) - 280px) + 15px))); }
      .text p { font-size: 18px; line-height: 32px; } /* samma storlek och radavstånd som startsidans text */
      .text p + p { margin-top: 1.1em; line-height: 1.65; } /* Figma: stycke 2 börjar 46 under fetstilsraden, rader 30 */
      .text .ladda { display: none; } /* Petter 30 sep: bort på dator, knapparna står där */
      .text strong { font-weight: 800; }
      .butiker { gap: 10.89px; justify-content: flex-start; margin-top: 9px; } /* Figma: knapparna 945 vid 1440 */
      .butiker .knapp-mobil { display: none; }
      .butiker .knapp-dator { display: block; }
      .butiker img { height: 51.76px; }
      .telefon { display: block; position: absolute; left: calc(var(--pad) + min(725px, 100% - 2 * var(--pad) - 280px)); bottom: 0; width: 472px; height: auto; } /* Figma 1 okt: telefonen 245 bred, 885 in vid 1440. Bilden står på bandets underkant, annars syns skuggans kant (Petter 1 okt) */
    }
    /* ── Korten (del 2: Klubben, Mätaren), mobil ── */
    .kort-rad { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 15px 7.5px 0; }
    .kort { width: 100%; max-width: 375px; background: #fff; border-radius: 35px; padding: 15px 15px 20px 15px; /* Petter 30 sep: 15 vänster, topp, höger · 20 botten */
      display: flex; flex-direction: column; gap: 9.62px; }
    .kort-bild { display: block; width: 100%; height: auto; aspect-ratio: 350 / 302.9; object-fit: cover; border-radius: 25px; }
    .kort-text { width: 100%; max-width: 306.88px; display: flex; flex-direction: column; gap: 8.79px; }
    .kort h2 { margin: 0; font-family: "Ohno Softie", Inter, sans-serif; font-weight: 900; font-size: 33.65px; line-height: 1.05; color: var(--ink); }
    .kort h2 span { display: block; }
    .kort h2 .en-rad-mobil { display: inline; }
    .kort-text > div { font-size: 14px; } /* Petter 30 sep: 14 px på mobil (Figma 12) */
    .kort p, .kort li { font-size: 1em; line-height: 1.65; font-weight: 400; }
    .kort p { margin: 0; }
    .kort ul { margin: 1.65em 0; padding-left: 1.5em; }
    .kort li { font-weight: 700; }

    /* ── Korten, dator (från 900 px) ── */
    @media (min-width: 900px) {
      .kort-rad { flex-direction: row; align-items: stretch; justify-content: center; gap: calc(20 * var(--u)); padding: calc(35 * var(--u)) 0 0; }
      .kort { width: calc(470 * var(--u)); max-width: none; border-radius: calc(45 * var(--u)); padding: calc(25 * var(--u)) calc(25 * var(--u)) calc(40 * var(--u)); gap: calc(20 * var(--u)); }
      .kort-bild { aspect-ratio: 420 / 435; border-radius: calc(20 * var(--u)); }
      .kort-text { max-width: none; gap: calc(12 * var(--u)); }
      .kort h2 { font-size: calc(48 * var(--u)); }
      .kort h2 .en-rad-mobil { display: block; }
      .kort-text > div { font-size: max(13px, calc(15 * var(--u))); }
    }
    /* ── Korten del 4 (Spinni Wizard, Samla recepten, Utforska, Frysloggen): bilden har datorns form även på mobil
       (mobil-Figman saknar korten, Petter 30 sep: "På samma sätt och ordning som desktop") ── */
    .kort-bild.hog { aspect-ratio: 420 / 435; }
    @media (min-width: 900px) {
      .kort-rad.ojamn { align-items: flex-start; } /* Figma: korten i raden är olika höga (832/857) */
    }

    /* ── Ladda ner-kortet (del 6, Figma 1 okt): kräm, telefonen klipps av kortets underkant. Mobil: texten överst, telefonen under ── */
    .ladda-kort { width: calc(100% - 15px); max-width: 375px; margin: 15px auto 0; background: var(--cream); border-radius: 35px; overflow: hidden;
      padding: 30px 20px 0; display: flex; flex-direction: column-reverse; align-items: center; gap: 24px; text-align: center; }
    .ladda-telefon { display: block; width: 240px; height: auto; }
    .ladda-text { display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .ladda-text h2 { margin: 0; font-family: "Ohno Softie", Inter, sans-serif; font-weight: 900; font-size: 33.65px; line-height: 1.05; color: var(--ink); }
    .ladda-text h2 span { display: block; }
    .ladda-text p { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 700; text-wrap: balance; }
    .ladda-butiker { display: flex; align-items: center; justify-content: center; gap: 10px; }
    .ladda-text a img { display: block; height: 48px; width: auto; } /* två märken: 132 + 162 + 10 = 304 i kortet */
    @media (min-width: 900px) {
      .ladda-kort { width: calc(960 * var(--u)); max-width: none; margin-top: calc(35 * var(--u)); border-radius: calc(45 * var(--u));
        padding: calc(35 * var(--u)) calc(101 * var(--u)) 0; flex-direction: row; gap: calc(17 * var(--u)); text-align: left; }
      .ladda-telefon { width: calc(314 * var(--u)); flex-shrink: 0; }
      .ladda-text { width: calc(425 * var(--u)); align-items: flex-start; gap: calc(20 * var(--u)); }
      .ladda-text h2 { font-size: calc(49 * var(--u)); }
      .ladda-text p { font-size: max(16px, calc(20 * var(--u))); }
      .ladda-butiker { gap: calc(12 * var(--u)); }
      .ladda-text a img { height: calc(60 * var(--u)); } /* 165 + 202 + 12 = 379 ryms i textspalten (425) */
    }

    /* ── Foten (del 5): samma som startsidan (Petter 30 sep: "Ska vara samma footer som main") ── */
    .fot { margin-top: 30px; }
    .fot-vag { display: block; width: 100%; height: auto; }
    .fot-brun { background: #3C0F38; padding: 20px 24px 34px; text-align: center; }
    .fot-brun .lank { display: table; margin: 4px auto 0; color: var(--cream); font-size: 12px; font-weight: 300; text-decoration: underline; }
    .fot-brun .lank:first-child { margin-top: 8px; }
    .fot-sociala { margin-top: 16px; } /* ikonerna utan mellanrum mellan länkarna, som startsidan */
    .fot-sociala a { display: inline-block; margin: 0 9px; line-height: 0; }
    .fot-sociala img { display: block; height: 28px; width: auto; }
    /* Tryckytor minst 44 px utan att något flyttar sig — samma som startsidans .tryck/.tryck-fot (4 okt) */
    .fot-brun .lank, .fot-sociala a { position: relative; }
    .fot-brun .lank::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -8px; }
    /* De två länkarna står under varandra: ytorna möts mitt i mellanrummet, så ett tryck aldrig träffar grannen (5 okt). */
    .fot-brun .lank:first-child::after { bottom: -2px; }
    .fot-brun .lank + .lank::after { top: -2px; }
    .fot-sociala a::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: -8px; right: -8px; }
    .fot-brun p { margin: 14px 0 0; color: var(--cream); font-size: 12px; font-weight: 300; }
    /* Receptlänkarna i foten — samma som startsidans fot (webbchatten 2026-10-04, Petter "A") */
    .fot-kategorier { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0; }
    .fot-kategorier a { position: relative; color: var(--cream); font-size: 12px; font-weight: 300; text-decoration: underline; }
    .fot-kategorier a::after { content: ""; position: absolute; top: min(0px, calc((100% - 44px) / 2)); bottom: min(0px, calc((100% - 44px) / 2)); left: min(0px, calc((100% - 44px) / 2)); right: min(0px, calc((100% - 44px) / 2)); }

    /* ── Banderollen (del 3), mobil: Figma "Söksektion" 390×247 ── */
    .banderoll { --b: min(calc(100vw / 390), 1.4px); position: relative; overflow: hidden; margin-top: 15px;
      height: calc(247 * var(--b)); padding-top: calc(39 * var(--b));
      display: flex; flex-direction: column; align-items: center; gap: calc(30 * var(--b)); text-align: center; }
    .banderoll-bild, .banderoll-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .banderoll::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); z-index: 1; }
    .banderoll h2 { position: relative; z-index: 2; margin: 0; font-family: "Ohno Softie", Inter, sans-serif; font-weight: 900;
      font-size: calc(41.54 * var(--b)); line-height: 1.05; color: var(--cream); }
    .banderoll h2 span { display: block; }
    .banderoll-butiker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: calc(16 * var(--b)); }
    .banderoll-butiker img { display: block; height: calc(51.76 * var(--b)); width: auto; }

    /* ── Banderollen, dator: Figma 1440×317, 35 under korten ── */
    @media (min-width: 900px) {
      .banderoll { margin-top: calc(35 * var(--u)); height: calc(317 * var(--u)); padding-top: calc(63.95 * var(--u)); gap: 0; }
      .banderoll h2 { font-size: calc(88.54 * var(--u)); height: calc(79.1 * var(--u)); line-height: 1.05; }
      .banderoll h2 span { display: inline; }
      .banderoll-butiker { margin-top: calc(30 * var(--u)); gap: calc(16 * var(--u)); }
      .banderoll-butiker img { height: calc(75 * var(--u)); }
    }
    .kort-labbet .kort-bild { height: auto; aspect-ratio: 420 / 435; object-fit: cover; object-position: center; }

    /* One continuous feature grid; the final freezer feature closes the row. */
    .kort-flode { display: grid; grid-template-columns: minmax(0, 375px); justify-content: center; gap: 15px; padding: 15px 7.5px 0; }
    @media (min-width: 900px) {
      .kort-flode { grid-template-columns: repeat(2, calc(470 * var(--u))); gap: calc(20 * var(--u)); padding: calc(35 * var(--u)) 0 0; align-items: start; }
      .kort-flode .kort { width: 100%; }
      .kort-flode .kort:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: calc(40 * var(--u)); padding-bottom: calc(25 * var(--u)); }
      .kort-flode .kort:last-child .kort-text { min-width: 0; }
    }

    @media (max-width: 899.98px) {
      .band { text-align:left; align-items:flex-start; gap:12px; padding-left:max(17.5px,calc(50% - 177.5px)); padding-right:max(17.5px,calc(50% - 177.5px)); } /* Samma kant som kortens bild och text: 375px kort, 10px inre luft. */
      .band h1, .text { width:100%; max-width:358px; }
      .band h1 .rad1, .band h1 .rad2 { font-size:min(55px,calc((100vw - 32px)*.15363)); line-height:45px; }
      .text p { font-size:18px; line-height:27px; }
      .butiker { margin-top:3px; justify-content:flex-start; gap:10.89px; }
      .butiker img { height:51.76px; width:auto; max-width:44vw; }
      .kort { padding:10px 10px 20px; gap:20px; }
      .kort-text { max-width:none; }
      .kort-bild, .kort-bild.hog, .kort-labbet .kort-bild { aspect-ratio:355 / 302.885; }
    }
    @media (max-width:699.98px) {
      .topp-bild { height:calc(367 * var(--m)); }
      .foto { left:calc(-85.122 * var(--m)); top:calc(116 * var(--m)); width:calc(554.752 * var(--m)); height:calc(309.809 * var(--m)); object-fit:cover; }
    }

    @media (max-width:899.98px) {
      .funktioner { display:flex; flex-direction:column; }
      .funktioner > .kort-rad, .funktioner > .kort-flode { display:contents; }
      .funktioner .kort { width:calc(100% - 15px); margin:15px auto 0; }
      [data-feature="meter"] { order:2; }
      [data-feature="photo"] { order:1; }
      [data-feature="klubb"] { order:3; padding:15px 10px 20px; gap:15px; }
      [data-feature="spinni"] { order:4; }
      [data-feature="labbet"] { order:5; }
      .funktioner > .banderoll { order:6; }
      [data-feature="qr"] { order:7; }
      [data-feature="utforska"] { order:8; }
      [data-feature="frys"] { order:9; }
      .text strong { display:block; }
      .butiker img.knapp-mobil { width:142.229px; height:51.762px; }
    }
  .mobil-radbryt {display:none;}
@media(max-width:899.98px){.mobil-radbryt {display:inline;}}

    /* Desktop: hela kortpar även runt banderollen. Mobilens ordning behålls. */
    @media (min-width:900px) {
      .funktioner { display:grid; grid-template-columns:minmax(0,1fr) repeat(2,minmax(0,calc(470 * var(--u)))) minmax(0,1fr); column-gap:calc(20 * var(--u)); row-gap:calc(35 * var(--u)); padding-top:calc(35 * var(--u)); }
      .funktioner > .kort-rad, .funktioner > .kort-flode { display:contents; }
      .funktioner .kort { width:100%; min-width:0; }
      .funktioner [data-feature="photo"] { grid-area:1 / 2; }
      .funktioner [data-feature="meter"] { grid-area:1 / 3; }
      .funktioner [data-feature="klubb"] { grid-area:2 / 2; }
      .funktioner [data-feature="spinni"] { grid-area:2 / 3; }
      .funktioner [data-feature="labbet"] { grid-area:3 / 2; }
      .funktioner [data-feature="qr"] { grid-area:3 / 3; }
      .funktioner > .banderoll { grid-area:4 / 1 / 5 / -1; margin-top:0; }
      .funktioner [data-feature="utforska"] { grid-area:5 / 2; }
      .funktioner [data-feature="frys"] { grid-area:5 / 3; }
    }

/* Same layout for every translation. Text wraps and containers grow with content. */
.band .text strong { display:block; }
.band h1 .heading-word { display:inline; white-space:nowrap; }
.band h1,.kort h2,.ladda-text h2 { overflow-wrap:break-word; }
.banderoll { height:auto; min-height:calc(247 * var(--b)); padding-bottom:calc(30 * var(--b)); }
.banderoll h2 { height:auto; max-width:100%; }
@media(min-width:900px) {
  .band { min-height:395.97px; }
  .telefon { top:calc(567 * var(--u) - 127.375px); bottom:auto; }
  .banderoll { height:auto; min-height:calc(317 * var(--u)); padding-bottom:calc(30 * var(--u)); }
  .banderoll h2 { height:auto; }
}

/* Only headings that exceeded two rows use balanced wrapping. */
.band h1.heading-adapted .rad1,.band h1.heading-adapted .rad2 { text-wrap:balance; }

.banderoll h2 { text-wrap:balance; }
