/* zipscreens.no - utkast 2026-10. Mobil først, ingen JS, ingen eksterne fonter. */
:root {
  --blekk: #101b2c;
  --tekst: #1d2835;
  --dempet: #566273;
  --linje: #e3ded4;
  --papir: #faf8f4;
  --sand: #f1ece2;
  --flate: #ffffff;
  --sol: #ffab29;
  --sol-lys: #fff1d6;
  --ok: #1f7a4d;
  --feil: #b3261e;
  --radius: 14px;
  --skygge: 0 1px 2px rgba(16, 27, 44, .06), 0 8px 24px rgba(16, 27, 44, .06);
  --skall: 1120px;
  --les: 46rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--papir); color: var(--tekst);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 64px; /* plass til bunnlinja på mobil */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blekk); text-decoration: underline; text-decoration-color: var(--sol); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blekk); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--blekk); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 7vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); font-weight: 750; margin-top: 0; }
h3 { font-size: clamp(1.15rem, 3.4vw, 1.35rem); font-weight: 700; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--blekk); }
small, .liten { font-size: .86rem; color: var(--dempet); }
.skall { width: min(100% - 32px, var(--skall)); margin-inline: auto; }
.les { max-width: var(--les); }
.hopp { position: absolute; left: -999px; top: 0; background: var(--blekk); color: #fff; padding: 10px 14px; z-index: 100; }
.hopp:focus { left: 8px; top: 8px; }

/* utkast-stripe */
.utkast { background: var(--blekk); color: #f4efe6; font-size: .8rem; text-align: center; padding: 6px 12px; }
.utkast a { color: #fff; }

/* topp */
.topp { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250, 248, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linje); }
.topp-inn { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.merke { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; margin-right: auto; }
.merke-navn { font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; color: var(--blekk); }
.merke-navn i { font-style: normal; color: #c27a00; }
.merke-under { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dempet); margin-top: 3px; }
.hovedmeny { display: none; }
.hovedmeny a { text-decoration: none; font-size: .93rem; font-weight: 600; padding: 8px 9px; border-radius: 8px; color: var(--tekst); white-space: nowrap; }
.hovedmeny a:hover, .hovedmeny a[aria-current] { background: var(--sand); color: var(--blekk); }
.knapp {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px;
  background: var(--sol); color: var(--blekk); font-weight: 750; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--sol); line-height: 1.2; text-align: center;
}
.knapp:hover { background: #ffb94d; border-color: #ffb94d; }
.knapp.sekundar { background: transparent; border-color: var(--blekk); }
.knapp.sekundar:hover { background: var(--blekk); color: #fff; }
.knapp.liten { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.topp .knapp.liten { display: none; }
.mobilmeny { position: static; }
.mobilmeny > summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 9px 14px; border: 2px solid var(--blekk);
  border-radius: 999px; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: .95rem;
}
.mobilmeny > summary::-webkit-details-marker { display: none; }
.mobilmeny > summary::before { content: ""; width: 16px; height: 10px; border-block: 2px solid var(--blekk); }
.mobilmeny[open] > summary { background: var(--blekk); color: #fff; }
.mobilmeny[open] > summary::before { border-color: #fff; }
.mobilmeny nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--flate); border-bottom: 1px solid var(--linje);
  box-shadow: var(--skygge); padding: 8px 16px 18px; display: grid; max-height: calc(100vh - 70px); overflow: auto;
}
.mobilmeny nav a { padding: 13px 4px; border-bottom: 1px solid var(--linje); text-decoration: none; font-weight: 650; font-size: 1.05rem; }
.mobilmeny nav a.knapp { margin-top: 14px; border-bottom: 2px solid var(--sol); }

/* brødsmuler */
.smuler { font-size: .84rem; color: var(--dempet); padding: 14px 0 0; }
.smuler ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0; }
.smuler li { margin: 0; }
.smuler li + li::before { content: "›"; margin-right: 8px; }
.smuler a { color: var(--dempet); text-decoration-thickness: 1px; }

/* seksjoner */
.sek { padding: clamp(36px, 7vw, 72px) 0; }
.sek.tett { padding-top: clamp(20px, 4vw, 36px); }
.sek.sand { background: var(--sand); }
.sek.mork { background: var(--blekk); color: #e9e5dc; }
.sek.mork h2, .sek.mork h3, .sek.mork strong { color: #fff; }
.sek.mork a:not(.knapp) { color: #fff; }
.overtittel { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #9a6200; margin: 0 0 .7em; }
.mork .overtittel { color: var(--sol); }
.ingress { font-size: clamp(1.08rem, 2.6vw, 1.25rem); line-height: 1.55; color: var(--tekst); }

/* hero */
.hero { padding: clamp(22px, 5vw, 56px) 0 clamp(28px, 5vw, 56px); }
.hero-rutenett { display: grid; gap: 24px; align-items: center; }
.hero figure { margin: 0; }
.hero img { border-radius: var(--radius); box-shadow: var(--skygge); width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.hero figcaption { margin-top: 8px; }
.knapper { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.3em 0 .4em; }
.knapper .knapp { flex: 1 1 220px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--dempet); margin-top: 1.2em; }
.byline figure { margin: 0; flex: none; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.byline strong { display: block; }

/* kort fortalt */
.kort {
  background: var(--flate); border: 1px solid var(--linje); border-left: 6px solid var(--sol);
  border-radius: var(--radius); padding: 20px 20px 8px; box-shadow: var(--skygge);
}
.kort h2 { font-size: 1.15rem; letter-spacing: 0; }
.kort ul { padding-left: 1.15em; }
.fakta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 1.2em; list-style: none; }
.fakta li { background: var(--flate); border: 1px solid var(--linje); border-radius: 12px; padding: 12px 14px; margin: 0; }
.fakta b { display: block; font-size: 1.25rem; color: var(--blekk); letter-spacing: -.02em; line-height: 1.2; }
.fakta span { font-size: .84rem; color: var(--dempet); line-height: 1.35; display: block; margin-top: 2px; }

/* innholdsfortegnelse */
.innhold { background: var(--flate); border: 1px solid var(--linje); border-radius: var(--radius); padding: 16px 20px; }
.innhold h2 { font-size: 1rem; letter-spacing: .02em; margin-bottom: .6em; }
.innhold ol { margin: 0; padding-left: 1.2em; columns: 1; }
.innhold a { text-decoration-thickness: 1px; }

/* bilder */
figure { margin-inline: 0; }
figure img { border-radius: var(--radius); background: var(--sand); width: 100%; }
figcaption { font-size: .86rem; color: var(--dempet); margin-top: 8px; line-height: 1.45; }
.bilderad { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bilderad figure { margin: 0; }
.bilderad img { aspect-ratio: 1 / 1; object-fit: cover; }
.bilderad.tre { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* steg */
.stegliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: steg; }
.steg {
  counter-increment: steg; background: var(--flate); border: 1px solid var(--linje); border-radius: var(--radius);
  padding: 18px; margin: 0; display: grid; gap: 14px; box-shadow: var(--skygge);
}
.steg h3 { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .5em; }
.steg h3::before {
  content: counter(steg); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blekk); color: #fff;
  display: grid; place-items: center; font-size: 1rem; letter-spacing: 0; margin-top: -4px;
}
.steg p:last-child, .steg figure { margin-bottom: 0; }
.steg figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.steg .tips { background: var(--sol-lys); border-radius: 10px; padding: 10px 14px; font-size: .93rem; }

/* kort-rutenett */
.rutenett { display: grid; gap: 16px; }
.boks { background: var(--flate); border: 1px solid var(--linje); border-radius: var(--radius); padding: 20px; box-shadow: var(--skygge); }
.boks > :last-child { margin-bottom: 0; }
.boks figure { margin: -20px -20px 16px; }
.boks figure img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 3 / 2; object-fit: cover; }
.boks h3 a { text-decoration: none; }
.boks h3 a::after { content: " →"; color: #c27a00; }
.merkelapp { display: inline-block; font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; background: var(--sol-lys); color: #7a4c00; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.merkelapp.feil { background: #fde8e6; color: var(--feil); }

/* låst guide */
.guide { display: grid; gap: 22px; }
.guide ol { columns: 1; padding-left: 1.3em; margin: 0; }
.guide li { break-inside: avoid; }
.guide li::marker { color: var(--sol); font-weight: 700; }
.guide-kort { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 20px; }

/* tabeller */
.tabell-rull { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; border: 1px solid var(--linje); border-radius: var(--radius); background: var(--flate); }
table { border-collapse: collapse; width: 100%; margin: 0; font-size: .95rem; }
caption { text-align: left; font-weight: 700; color: var(--blekk); padding: 14px 14px 6px; caption-side: top; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linje); vertical-align: top; }
thead th { background: var(--sand); color: var(--blekk); font-size: .84rem; letter-spacing: .02em; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--blekk); }
tbody th[scope=row] { min-width: 6.4em; }
td.tall, th.tall { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pris { font-weight: 750; color: var(--blekk); white-space: nowrap; }

td { overflow-wrap: anywhere; }
@media (max-width: 619px) {
  th, td { padding: 10px 12px; }
  table.stabel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stabel, table.stabel tbody, table.stabel tr, table.stabel th, table.stabel td { display: block; }
  table.stabel tr { padding: 14px 16px; border-bottom: 1px solid var(--linje); }
  table.stabel tbody tr:last-child { border-bottom: 0; }
  table.stabel tbody th { padding: 0 0 4px; border: 0; font-size: 1.08rem; min-width: 0; }
  table.stabel td { padding: 6px 0 0; border: 0; text-align: left; white-space: normal; }
  table.stabel td::before {
    content: attr(data-etikett); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--dempet); line-height: 1.5;
  }
  table.stabel td.pris { font-size: 1.1rem; }
}

/* spørsmål og svar */
.faq { background: var(--flate); border: 1px solid var(--linje); border-radius: 12px; margin-bottom: 10px; }
.faq > summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--blekk); position: relative; line-height: 1.35; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: #9a6200; }
.faq[open] > summary::after { content: "–"; }
.faq > div { padding: 0 18px 6px; }
.faq h3 { font-size: inherit; margin: 0; letter-spacing: 0; line-height: inherit; display: inline; }

/* merknader */
.merk { border-left: 4px solid var(--sol); background: var(--sol-lys); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 1.2em; }
.merk > :last-child { margin-bottom: 0; }
.merk.advarsel { border-color: var(--feil); background: #fdeeec; }
.avklar { outline: 2px dashed #c0392b; outline-offset: 2px; background: #fff6d6; padding: 0 4px; border-radius: 4px; }

/* CTA-stripe */
.cta { display: grid; gap: 16px; align-items: center; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; }

/* bunn */
.bunn { background: var(--blekk); color: #cfd5dd; padding: 44px 0 28px; font-size: .93rem; }
.bunn a { color: #fff; text-decoration-thickness: 1px; }
.bunn h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9em; }
.bunn ul { list-style: none; padding: 0; margin: 0; }
.bunn li { margin-bottom: .55em; }
.bunn-rutenett { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bunn-om { grid-column: 1 / -1; }
.bunn-om .merke-navn { color: #fff; }
.bunn-om .merke-navn i { color: var(--sol); }
.bunn-fot { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #9fa9b6; }
address { font-style: normal; }

/* fast bunnlinje på mobil */
.bunnlinje {
  position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--blekk); padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center; box-shadow: 0 -4px 18px rgba(16, 27, 44, .2);
}
body:has(.mobilmeny[open]) .bunnlinje { display: none; }
.bunnlinje span { color: #dfe4ea; font-size: .82rem; line-height: 1.25; flex: 1; }
.bunnlinje .knapp { min-height: 44px; padding: 9px 16px; font-size: .93rem; white-space: nowrap; }

@media (min-width: 620px) {
  .fakta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rutenett.to, .rutenett.tre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bilderad.tre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .innhold ol, .guide ol { columns: 2; column-gap: 2.2em; }
  .steg { padding: 24px; }
  .knapper .knapp { flex: 0 1 auto; }
}
@media (min-width: 860px) {
  body { font-size: 18px; padding-bottom: 0; }
  .bunnlinje { display: none; }
  .hero-rutenett { grid-template-columns: 1.05fr .95fr; gap: 44px; }
  .hero img { aspect-ratio: 4 / 3.3; }
  .steg.medbilde { grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
  .rutenett.tre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide { grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
  .cta { grid-template-columns: 1fr auto; }
  .bunn-rutenett { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .bunn-om { grid-column: auto; }
  .todelt { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .todelt.topp-just { align-items: start; }
  .todelt > figure { margin: 0; }
}
@media (min-width: 1060px) {
  .hovedmeny { display: flex; gap: 2px; }
  .mobilmeny { display: none; }
  .topp .knapp.liten { display: inline-flex; }
  .topp-inn { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .topp, .bunnlinje, .utkast, .knapper { display: none; }
  body { background: #fff; padding: 0; }
}
