/*
 * ProTop hjemmeside – prototype (#982, docs/hjemmeside/plan.md).
 * Bygd på designsystemet til søsterappens hjemmeside (søsterrepoet i #982: website/design/DESIGNSYSTEM.md,
 * design-tokens.json og css/site.css): mørk hero med produktet i enhetsrammer, løftestripe, vekslende lyse
 * seksjoner, korte overskrifter, kort i rutenett, avsluttende blått bånd og lys bunntekst.
 * Fargene er ProTops egne (src/brand/protopBrand.js). Ingen eksterne fonter eller skript.
 */
:root {
  /* ProTop i stedet for søsterappens navy/blå */
  --navy: #07274c;          /* hero og bunn, ProTop navy */
  --ink: #10284a;           /* overskrifter */
  --muted: #4f6079;         /* brødtekst */
  --blue: #0a6acb;          /* knapper og lenker (ProTop digital blå, mørknet til 5,3:1 mot hvitt) */
  --blue-hover: #0858a9;
  --brand: #1099f4;         /* ProTop digital blå til flater og detaljer */
  --on-dark: #6ec8ff;       /* fremheving mot navy */
  /* søsterappens seksjonsfarger, tilpasset */
  --bg: #f7faff;
  --sky: #edf5ff;
  --steel: #f0f3f8;
  --mint: #edf7f3;
  --line: #d6e1ef;
  --white: #fff;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: 48px;
  --space: 90px;
  --radius-img: 24px;
  --radius-card: 16px;
  --radius-btn: 8px;
}
@media (max-width: 1150px) { :root { --gutter: 36px; --space: 68px; } }
@media (max-width: 680px) { :root { --gutter: 20px; --space: 48px; --radius-img: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 22px; line-height: 1.12; letter-spacing: -.035em; color: inherit; }
h1 { font-size: clamp(44px, 4.75vw, 68px); font-weight: 800; }
h2 { font-size: clamp(32px, 3.3vw, 48px); font-weight: 800; color: var(--ink); }
h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
p { margin: 0 0 22px; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { display: block; color: var(--blue); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--muted); max-width: 58ch; }
.small { font-size: 13px; color: var(--muted); }

/* Knapper */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 23px; border: 1px solid transparent; border-radius: var(--radius-btn); background: var(--blue); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--blue-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { background: var(--white); border-color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--on-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #eef4fb; }
.btn--sm { min-height: 44px; padding: 10px 18px; }
@media (max-width: 680px) { .actions .btn { width: 100%; } }

/* Toppmeny */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand .symbol { width: 36px; }
.brand .word { width: 116px; }
.nav__menu { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0; }
.nav__links a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 15px; border-radius: 6px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--blue); }
.nav__actions { display: flex; gap: 18px; align-items: center; }
.nav__login { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.nav__toggle span:not(.visually-hidden), .nav__toggle span:not(.visually-hidden)::before, .nav__toggle span:not(.visually-hidden)::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.nav__toggle span:not(.visually-hidden)::before { position: absolute; top: -6px; }
.nav__toggle span:not(.visually-hidden)::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span:not(.visually-hidden) { background: transparent; }
.nav__toggle[aria-expanded="true"] span:not(.visually-hidden)::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:not(.visually-hidden)::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1150px) {
  .nav { min-height: 72px; }
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 40px rgba(7,39,76,.12); }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; margin: 0; }
  .nav__links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__actions { margin-top: 18px; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__login { text-align: center; padding: 10px; }
}

/* Hero (mørk) */
.hero { background: var(--navy); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero .eyebrow { color: var(--on-dark); }
.hero h1 { color: #fff; font-size: clamp(32px, 9.2vw, 52px); }
@media (min-width: 1151px) { .hero h1 { font-size: clamp(44px, 3.9vw, 57px); hyphens: none; -webkit-hyphens: none; } }
.hero h1 .accent { color: var(--on-dark); }
.hero .lead { color: #c9d6e6; }
.hero .small { color: #9fb2c9; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 1150px) { .hero__grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 56px 0 64px; } }
.hero__visual { position: relative; padding: 0 0 26px; }
.hero__visual .ps--wide { width: 94%; }
.hero__visual .ps--phone { position: absolute; right: 0; bottom: 0; width: min(22%, 170px); }

/* Løftestripe */
.promise { padding: 46px 0; background: var(--bg); }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise__item { border-top: 1px solid var(--line); padding-top: 22px; }
.promise__item h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 6px; }
.promise__item p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 680px) { .promise__grid { grid-template-columns: 1fr; gap: 16px; } }

/* Produktbilder i enhetsrammer (plassholdere til skjermbildene er godkjent) */
.ps { position: relative; margin: 0; }
/* Enhetsrammer: laptop, nettbrett og mobil. Tegnet i ren CSS, tynne og nøytrale, med myk skygge. Fungerer på mørk og lys
   bakgrunn. Skjermbildet fyller hele skjermflaten (object-fit: cover). Ingen merkenavn eller kopierte maler. */
.ps__frame { position: relative; background: #0a0e14; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 26px 60px rgba(4,18,38,.38), 0 4px 12px rgba(4,18,38,.22); }
.ps__viewport { overflow: hidden; background: #fff; display: block; line-height: 0; }
.ps__viewport img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Laptop (16:10): tynn ramme med kamerahakk, og en smal sølvgrå bunn med en liten fordypning */
.ps--wide .ps__frame { border-radius: 12px 12px 3px 3px; padding: 11px 9px 9px; }
.ps--wide .ps__frame::before { content: ""; position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1c2531; }
.ps--wide .ps__viewport { border-radius: 3px; aspect-ratio: 1440 / 900; }
.ps--wide::after { content: ""; display: block; height: 13px; margin: 0 -5%; border-radius: 0 0 16px 16px / 0 0 12px 12px;
  background: linear-gradient(#dfe3e8 0, #c3c9d1 55%, #aab1bb 100%); box-shadow: 0 10px 24px rgba(4,18,38,.3); }
.ps--wide::before { content: ""; position: absolute; left: 50%; bottom: 7px; z-index: 1; width: 16%; height: 5px; margin-left: -8%;
  border-radius: 0 0 8px 8px; background: linear-gradient(#aab1bb, #cfd4db); }
/* Nettbrett (stående 820 x 1180): jevne, avrundede hjørner */
.ps--tablet .ps__frame { border-radius: 22px; padding: 9px; }
.ps--tablet .ps__viewport { border-radius: 14px; aspect-ratio: 820 / 1180; }
/* Mobil (9:19,5): tynn ramme, avrundede hjørner og en liten kamerapille øverst */
.ps--phone .ps__frame { border-radius: 26px; padding: 6px; }
.ps--phone .ps__frame::before { content: ""; position: absolute; top: 11px; left: 50%; z-index: 2; width: 22%; height: 6px; margin-left: -11%; border-radius: 6px; background: #05080c; box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.ps--phone .ps__viewport { border-radius: 20px; aspect-ratio: 9 / 19.5; }
/* Skjermbredde: PC = laptop med mobil delvis foran. Nettbrett-bredde = én nettbrettlignende ramme. Mobil = én ramme i full bredde,
   uten overlappende telefon eller nettbrett som skjuler innholdet. */
@media (max-width: 1150px) {
  .hero__visual .ps--phone, .feature__visual .ps--wide + .ps--phone, .feature__visual .ps--wide + .ps--tablet { display: none; }
  .ps--wide::before, .ps--wide::after, .ps--wide .ps__frame::before { display: none; }
  .ps--wide .ps__frame { border-radius: 22px; padding: 9px; }
  .ps--wide .ps__viewport { border-radius: 14px; }
}
@media (max-width: 680px) {
  .ps--wide .ps__frame { border-radius: 16px; padding: 6px; }
  .ps--wide .ps__viewport { border-radius: 10px; }
}
/* Seksjoner */
.section { padding-block: var(--space); scroll-margin-top: 100px; }
.section--sky { background: var(--sky); }
.section--steel { background: var(--steel); }
.section--mint { background: var(--mint); }
.section--white { background: var(--white); }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* Funksjonsfelt: tekst og bilde side om side, vekslende */
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__copy p { color: var(--muted); font-size: 17px; }
.feature__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.feature__visual .ps--wide { width: 100%; }
.feature__visual .ps--wide + .ps--phone { position: absolute; right: -2%; bottom: -26px; width: min(22%, 160px); }
.feature__visual .ps--wide + .ps--tablet { position: absolute; right: -2%; bottom: -26px; width: min(32%, 230px); }
.feature__visual .ps--phone:only-child { width: min(60%, 300px); }
@media (max-width: 1150px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--flip .feature__copy { order: 0; }
  .feature__visual { padding-bottom: 26px; }
}
.bullets { list-style: none; padding: 0; margin: 0 0 28px; }
.bullets li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--ink); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.note { border-left: 3px solid var(--blue); padding: 2px 0 2px 16px; color: var(--muted); margin-bottom: 22px; }

/* Flyt: time → faktura */
.flow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; list-style: none; counter-reset: flow; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 600; color: var(--ink); font-size: 14px; }
.flow li::before { counter-increment: flow; content: counter(flow); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; margin-right: 8px; }

/* Kort */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1150px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--sky); border: 1px solid #dbe7f6; border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.section--sky .card, .section--mint .card, .section--steel .card { background: #fff; }
a.card:hover { box-shadow: 0 14px 34px rgba(7,39,76,.1); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card .more { margin-top: auto; color: var(--ink); font-size: 15px; }
.card .more::after { content: " →"; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); margin-bottom: 22px; box-shadow: 0 1px 0 var(--line); }
.section--sky .icon, .section--mint .icon, .section--steel .icon { background: var(--sky); }
.icon svg { width: 26px; height: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

/* Kom i gang */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step p { color: var(--muted); margin: 0; }

/* Spørsmål og svar: overskrift til venstre på PC */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 1150px) { .faq { grid-template-columns: 1fr; gap: 24px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Avsluttende invitasjon */
.closing { background: var(--blue); color: #fff; text-align: center; padding-block: 88px; }
.closing .eyebrow { color: #cfe3fb; }
.closing h2 { color: #fff; }
.closing p { color: #e4eefb; max-width: 52ch; margin-inline: auto; }
.closing .actions { justify-content: center; }

/* Sidetopp for undersider */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero .eyebrow { color: var(--on-dark); }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { color: #c9d6e6; margin: 0; }
.page-hero .chips { margin-top: 28px; }
.page-hero .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.page-hero a.chip:hover { border-color: #fff; color: #fff; }

/* Pris */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1150px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 14px 34px rgba(7,39,76,.1); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h2 { font-size: 24px; margin-bottom: 6px; }
.plan p { color: var(--muted); font-size: 15px; }
.price { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 0 0 18px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .btn { margin-top: auto; }
.notice { background: #fff8e6; border: 1px solid #f0d58f; color: #634a00; border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 32px; }

/* Skjema */
.contact { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
@media (max-width: 1150px) { .contact { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 30px; display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(10,106,203,.15); }
.hp { position: absolute; left: -9999px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 40px; }

/* Bunntekst (lys, som søsterappen) */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(4, 1fr); }
@media (max-width: 1150px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }
.footer__brand img { width: 150px; margin-bottom: 14px; }
.footer h2 { color: var(--ink); font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* Lett inn-animasjon */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: #1f7a57; }
.form__status.is-error { color: #b3261e; }
/* Seksjon uten skjermbilde: teksten står alene og får en lesbar bredde */
.feature__copy:only-child { grid-column: 1 / -1; max-width: 760px; }
.count { color: var(--muted); font-size: 13px; justify-self: end; }

/* Nettbrett: stående, faktisk 820 x 1180. Høyere enn mobil, lavere enn PC-rammen ved siden av. */
.feature__visual .ps--tablet:only-child { width: min(58%, 380px); }

/* hero-bg */
/* Skyline av strektegnede søyler langs bunnen av heroen, med et svakt punktrutenett. Tegnes og animeres av hero.js.
   Uten skript står sluttstillingen fra HTML. Teksten ligger over, og skylinen starter ved 42 % av bredden. */
.hero { position: relative; padding-bottom: 196px; }
.hero > .container { position: relative; z-index: 1; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__bg::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .25), #000 60%); mask-image: linear-gradient(to right, rgba(0, 0, 0, .25), #000 60%); }
.hero__bg text { font-family: var(--font); }
.hero__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 1150px) { .hero { padding-bottom: 170px; } }
@media (max-width: 680px) {
  .hero { padding-bottom: 214px; }
  .hero__grid { gap: 28px; }
}
/* /hero-bg */

/* Berøring: hover finnes ikke på mobil. Samme respons med :active, og tydelig fokus for tastatur og skjermleser. */
@media (hover: none) {
  .btn:active { background: var(--blue-hover); transform: scale(.985); }
  .btn--secondary:active { background: var(--white); border-color: var(--ink); }
  .btn--on-dark:active { background: rgba(255,255,255,.12); border-color: #fff; }
  .btn--white:active { background: #eef4fb; }
  a.card:active { box-shadow: 0 8px 20px rgba(7,39,76,.12); transform: translateY(-1px); }
  a.chip:active { border-color: var(--blue); color: var(--blue); }
  .page-hero a.chip:active { border-color: #fff; color: #fff; }
  .btn, a.card, a.chip { transition: transform .12s ease, box-shadow .12s ease, background .12s ease; -webkit-tap-highlight-color: transparent; }
}

/* ───────── Priser: prisberegner og oversikter ───────── */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin-top: 26px; }
.kind { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-card); background: rgba(255,255,255,.06); color: #dbe6f3; font-size: 15px; }
.kind strong { color: #fff; font-size: 17px; }
.small.on-dark { color: #c9d6e6; }
@media (max-width: 680px) { .kinds { grid-template-columns: 1fr; } }
.notice { background: var(--sky); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px 16px; font-size: 15px; color: var(--ink); }
.sub { font-size: 16px; margin: 6px 0 12px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.tier--pop { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), 0 14px 34px rgba(7,39,76,.1); }
.tier h3 { margin: 0; }
.tier__badge { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; }
.tier__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--muted); }
.tier__price strong { font-size: 40px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.tier__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tier__list li::before { content: "✓ "; color: #0a7a4b; font-weight: 800; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier--pop { margin-top: 10px; } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 36px; } }
.keyrows { list-style: none; margin: 0 0 20px; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.keyrows li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.keyrows li:last-child { border-bottom: 0; }
.keyrows strong { white-space: nowrap; }
.keyrows--plain li { display: block; }
.keyrows__rich { display: block; }
.keyrows__top { display: flex; justify-content: space-between; gap: 16px; }
.keyrows__rich .small { margin: 4px 0 0; }
.tier__inherit { margin: 8px 0 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.steps3 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.flow { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.flow li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.flow span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; gap: 20px; } }


/* Setninger med tall fra prislisten skjules til tallene er lastet (uten skript, eller om prislisten ikke kan hentes). */
html:not(.pris-ready) .needs-pris { display: none; }

/* ───────── Priser: bedrift først, større skrift ───────── */
.pris { font-size: 18px; }
.pris .lead { font-size: 20px; max-width: 60ch; }
.pris h2 { margin-bottom: 14px; }
.pris .sub { font-size: 22px; margin: 36px 0 14px; }
.pris .note { font-size: 17px; color: var(--muted); margin: 22px 0 0; }
.ico { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.formula { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.formula__box { flex: 1 1 190px; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.formula__box strong { font-size: 20px; }
.formula__box span { font-size: 16px; color: var(--muted); }
.formula__box--sum { background: var(--blue); border-color: var(--blue); color: #fff; }
.formula__box--sum span { color: #e6f1fc; }
.formula__op { align-self: center; font-size: 30px; font-weight: 800; color: var(--blue); }
@media (max-width: 680px) { .formula { flex-direction: column; } .formula__op { align-self: flex-start; padding-left: 10px; font-size: 24px; line-height: 1; } .formula__box { flex-basis: auto; } }
.example { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.example h3 { font-size: 24px; margin-bottom: 18px; }
.stack { display: flex; gap: 4px; min-height: 92px; border-radius: 14px; overflow: hidden; }
.stack__seg { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 18px; color: #fff; min-width: 0; flex-basis: 0; }
.stack__seg strong { font-size: 24px; letter-spacing: -.02em; }
.stack__seg span { font-size: 15px; }
.seg-b { background: #0a6acb; } .seg-p { background: #07274c; }
.stack__key { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 16px; color: var(--muted); }
.stack__key li { display: flex; align-items: center; gap: 10px; }
.dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.stack__sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; }
.stack__sum strong { font-size: 32px; letter-spacing: -.03em; }
@media (max-width: 680px) { .stack { flex-direction: column; min-height: 0; } .stack__seg { flex-basis: auto; } .example { padding: 20px; } }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.pcard__head { display: flex; align-items: center; gap: 14px; color: var(--blue); }
.pcard__head h3 { margin: 0; color: var(--ink); font-size: 22px; }
.pcard__levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcard__levels--one { grid-template-columns: 1fr; }
.plevel { background: var(--sky); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.section--sky .plevel { background: var(--bg); }
.plevel__name { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.plevel__price { margin: 0; color: var(--muted); font-size: 15px; }
.plevel__price strong { display: block; font-size: 30px; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.plevel__inherit { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.plevel__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: 16px; }
.plevel__list li::before { content: "✓ "; color: #0a7a4b; font-weight: 800; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pcard { padding: 18px; } .pcard__levels { grid-template-columns: 1fr; } }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.why strong { font-size: 20px; }
.why span { color: var(--muted); font-size: 17px; }
.pris .tier__list, .pris .tier__inherit { font-size: 17px; }
.pris .mx { font-size: 17px; }
.pris .mx__group th { background: var(--sky); text-align: left; font-size: 17px; letter-spacing: -.01em; width: auto; }
.pris .mx tbody th { width: 46%; font-weight: 500; }
.pris .mx__price th { font-weight: 700; }
.badge--pop { display: block; width: max-content; margin: 6px auto 0; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; }
.pris .faq summary { font-size: 19px; }
.pris .faq details p { font-size: 18px; }
.tablewrap { position: relative; overflow-x: auto; margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.mx { width: 100%; border-collapse: collapse; min-width: 520px; }
.mx th, .mx td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mx thead th { background: var(--sky); }
.mx tbody th { text-align: left; }
.mx tr:last-child th, .mx tr:last-child td { border-bottom: 0; }
.mx__price td { font-weight: 800; letter-spacing: -.02em; }
.mx .ok { color: #0a7a4b; font-weight: 800; font-size: 20px; }
.mx .no { color: var(--muted); }
.more { margin-top: 34px; }
.more summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--blue); color: var(--blue); border-radius: var(--radius-btn); font-weight: 700; font-size: 17px; list-style: none; background: var(--white); }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { margin-bottom: 18px; }
.example .small { font-size: 16px; }
.seg-ai { background: transparent; border: 2px dashed var(--blue); color: var(--ink); flex: 0 0 auto; min-width: 180px; }
.seg-ai span { color: var(--muted); }
.calc { list-style: none; margin: 18px 0 0; padding: 0; font-size: 17px; }
.calc li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc__disc strong { color: #0a7a4b; }
.calc__ai { color: var(--muted); }
.calc__ai strong { font-weight: 600; }
@media (max-width: 680px) { .seg-ai { min-width: 0; } }
.calc strong, .stack__seg strong, .stack__sum strong, .keyrows strong { white-space: nowrap; }
.pris .mx th, .pris .mx td { overflow-wrap: break-word; }
@media (max-width: 680px) {
  .pris .tablewrap { overflow-x: visible; }
  .pris .mx { min-width: 0; table-layout: fixed; font-size: 15px; }
  .pris .mx th, .pris .mx td { padding: 10px 6px; }
  .pris .mx tbody th { width: 40%; }
  .pris .mx__group th { font-size: 16px; }
  .badge--pop { white-space: normal; font-size: 10px; padding: 3px 6px; }
  .pris .mx .ok { font-size: 18px; }
}
@media (max-width: 680px) { .pris .mx__price td { font-size: 14px; } }
@media (max-width: 680px) { .pris .mx__price td { font-size: 13px; padding-inline: 2px; letter-spacing: -.03em; } .pris .mx tbody th { width: 36%; } }

/* ───────── Priser: tre nivåer, kalkulator, sammenligning ───────── */
.phero { background: var(--bg); padding: 72px 0 8px; text-align: center; }
.phero h1 { font-size: clamp(36px, 4.4vw, 60px); color: var(--ink); max-width: 20ch; margin-inline: auto; }
.phero .lead { margin: 0 auto; font-size: 21px; }
.psec { padding-top: 40px; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ncard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 36px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.ncard--pop { border: 2px solid var(--blue); box-shadow: 0 18px 44px rgba(10,106,203,.16); }
.ncard__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 99px; letter-spacing: .04em; }
.ncard h3 { margin: 0; font-size: 28px; }
.ncard__for { margin: 0; min-height: 3em; color: var(--muted); font-size: 17px; }
.ncard__price { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--muted); font-size: 18px; }
.ncard__price strong { font-size: 48px; letter-spacing: -.04em; color: var(--ink); line-height: 1.05; white-space: nowrap; }
.ncard__sub { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.ncard .btn { width: 100%; }
.ncard__inherit { margin: 18px 0 0; font-weight: 700; font-size: 17px; }
.ncard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 17px; }
.ncard__list li::before, .free__list li::before { content: "✓ "; color: #0a7a4b; font-weight: 800; }
.free { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px 36px; background: var(--sky); border: 1px solid var(--line); border-radius: 20px; }
.free h3 { font-size: 26px; }
.free__copy p { font-size: 18px; color: var(--muted); }
.free__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 17px; }
@media (max-width: 879px) { .ncards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; } .ncard--pop { order: -1; } .ncard__for { min-height: 0; } .free { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 480px) { .free__list { grid-template-columns: 1fr; } .ncard { padding: 28px 22px; } }
.kcalc { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.kpanel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin: 0 0 18px; min-width: 0; }
.kpanel h3 { margin: 0 0 14px; font-size: 20px; }
.kpanel legend { padding: 0; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper__btn { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 26px; cursor: pointer; }
.stepper__btn:hover:not(:disabled) { border-color: var(--blue); }
.stepper__btn:disabled { opacity: .4; cursor: default; }
.stepper__num { width: 100px; height: 52px; text-align: center; font: inherit; font-size: 22px; font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opts--wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt.is-on { border-color: var(--blue); background: var(--sky); box-shadow: inset 0 0 0 1px var(--blue); }
.opt:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt__name { font-weight: 700; font-size: 17px; pointer-events: none; }
.opt__txt { display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.opt__price { font-size: 14px; color: var(--muted); }
.ksum { position: sticky; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 16px 40px rgba(7,39,76,.1); }
.ksum__bar { display: none; }
.ksum__cap { display: block; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ksum__sum { display: block; font-size: 46px; letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; margin: 2px 0 14px; }
.ksum__big { font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.ksum__lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: 16px; }
.ksum__lines li, .ksum__incl { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ksum__lines strong, .ksum__lines span:last-child { white-space: nowrap; }
.ksum__incl { margin: 0 0 16px; border-bottom: 0; font-size: 16px; }
.ksum .btn { width: 100%; }
@media (max-width: 1100px) {
  .kcalc { grid-template-columns: 1fr; }
  .ksum { position: fixed; inset: auto 0 0 0; z-index: 60; border-radius: 18px 18px 0 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); max-height: 82vh; overflow-y: auto; box-shadow: 0 -10px 30px rgba(7,39,76,.18); }
  .ksum__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ksum__body { display: none; padding-top: 12px; }
  .ksum.is-open .ksum__body { display: block; }
  .ksum__sum { font-size: 36px; }
  .pris { padding-bottom: 84px; }
}
@media (max-width: 680px) { .opts, .opts--wrap { grid-template-columns: 1fr; } .kpanel { padding: 18px; } }
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.cmp thead th { background: var(--sky); font-size: 18px; }
.cmp tbody th { text-align: left; font-weight: 500; width: 38%; }
.cmp .cmp__group th { background: var(--sky); font-weight: 800; font-size: 16px; letter-spacing: .02em; text-align: left; width: auto; }
.cmp .is-pop { background: rgba(10,106,203,.07); }
.cmp thead .is-pop { background: rgba(10,106,203,.16); color: var(--blue); }
.cmp .ok { color: #0a7a4b; font-weight: 800; font-size: 20px; }
.cmp .no { color: var(--muted); }
.cmp__q { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
.cmp__q:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.cmp__ex { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.ncard__head { margin: 20px 0 8px; font-size: 16px; letter-spacing: 0; }
.ncard__same { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.sub--center { text-align: center; margin-top: 56px; }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.acard { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.acard h3 { margin: 0; font-size: 19px; }
.acard p { margin: 0; font-size: 15px; color: var(--muted); }
.acard strong { margin-top: auto; padding-top: 8px; font-size: 17px; }
@media (max-width: 980px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .addons { grid-template-columns: 1fr; } }
.ksum__regn { margin: 4px 0 14px; font-size: 15px; color: var(--muted); }
.cmp__txt { font-size: 14px; font-weight: 700; }
.ncard__inherit { margin: 22px 0 -6px; font-weight: 800; font-size: 17px; color: var(--blue); }

/* Designføring fra designansvarlig: lav hero, like høye nivåkort, ett resultat i kalkulatoren */
.phero { padding: 36px 0 0; }
.phero h1 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 10px; }
.phero .lead { font-size: 18px; }
.psec { padding-top: 28px; }
.ncard h3 { font-size: 24px; }
.ncard__for { min-height: 0; font-size: 16px; }
.ncard__sub { font-size: 16px; }
.ncard__price { margin-top: 4px; }
.ncard__lists { display: flex; flex-direction: column; flex: 1; }
.ncard__head { margin: 16px 0 8px; font-size: 16px; }
.ncard__inherit { margin: 20px 0 -4px; color: var(--ink); }
.ncard--pop { box-shadow: none; }
.free-line { margin: 24px auto 0; max-width: 70ch; text-align: center; color: var(--muted); font-size: 17px; }
@media (max-width: 680px) { .ncard__price strong { font-size: 40px; } .phero { padding-top: 24px; } }
.ksum__sum { font-size: 44px; }
.ksum__per { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ksum__quote { font-size: 18px; margin: 0 0 16px; }
.addon-line { margin: 28px 0 0; text-align: center; font-size: 17px; }
.cmp__price td { font-weight: 800; font-size: 18px; }
.cmp__price th { font-weight: 700; }
.ksum__sum { white-space: normal; }

/* Runde fra lederen: sentrerte seksjonsoverskrifter, valgte tillegg tydelig, Av/Start/Pluss for tillegg med flere nivåer */
.section__head--center { max-width: none; margin-inline: auto; text-align: center; }
.opt--wide { display: flex; flex-direction: column; align-items: stretch; gap: 8px; grid-column: 1 / -1; cursor: default; }
.opt__tick { display: none; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; line-height: 22px; text-align: center; }
.opt__tick::before { content: "✓"; }
.opt.is-on .opt__tick { display: block; }
.opt.is-on { border-width: 2px; padding: 11px 15px; }
.seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg3__opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.seg3__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg3__opt.is-on { border: 2px solid var(--blue); background: var(--sky); padding: 7px 5px; }
.seg3__opt:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg3__name { font-weight: 700; font-size: 16px; pointer-events: none; }
.seg3__price { font-size: 14px; color: var(--muted); pointer-events: none; }
.seg3__opt.is-on .seg3__name::before { content: "✓ "; color: var(--blue); }

/* Runde 1 fra designansvarlig */
.cmp__price td { white-space: nowrap; }
@media (max-width: 980px) { .ncard--pop { order: 0; margin-top: 0; } }
.opt__tick { display: block; background: transparent; border: 2px solid var(--line); color: transparent; }
.opt.is-on .opt__tick { background: var(--blue); border-color: var(--blue); color: #fff; }
.ksum .small { font-size: 15px; }
@media (max-width: 1100px) { .ksum { display: none; } .ksum.is-live { display: block; } }

/* Nivåkort som valg (radio): hele kortet klikkes, valgt kort har farget ramme og «Valgt» */
.ncard { cursor: pointer; }
.ncard__radio { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.ncard:has(:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.ncard.is-on { border: 2px solid var(--blue); box-shadow: 0 14px 34px rgba(10,106,203,.16); }
.ncard__tag { display: flex; gap: 8px; min-height: 26px; align-items: center; }
.ncard__badge { position: static; transform: none; }
.ncard__chosen { display: none; font-size: 13px; font-weight: 700; color: var(--blue); }
.ncard.is-on .ncard__chosen { display: inline; }
.ncard.is-on .ncard__chosen::before { content: "✓ "; }
.ncard--pop:not(.is-on) { border: 1px solid var(--line); }
@media (max-width: 1100px) { .ksum { display: block; } }
@media (max-width: 879px) { .ncards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; justify-content: center; } }
@media (min-width: 880px) { .ncards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1101px) { .ncards { gap: 24px; } }
.ncards, .kcalc, .kcalc > * { min-width: 0; }

/* Valgt nivåkort: ramme, bakgrunn og merke uten farge alene; tom sirkel på de andre */
.ncard { padding-top: 22px; }
.ncard.is-on { border: 2px solid var(--blue); background: var(--sky); }
.ncard:hover:not(.is-on) { border-color: var(--blue); }
.ncard__tag { justify-content: space-between; }
.ncard__mark { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.ncard__circle { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); background: transparent; display: inline-block; }
.ncard.is-on .ncard__circle { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 4px var(--sky); }
.ncard__chosen { font-size: 14px; }
.ncard__go { align-self: stretch; margin-top: 4px; }
.ncard.is-on .ncard__go { background: var(--white); }
.kcalc__level { margin: 0 0 14px; font-size: 17px; }
.sumbar { position: fixed; inset: auto 0 0 0; z-index: 55; display: none; align-items: center; justify-content: center; gap: 18px; padding: 12px var(--gutter); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7,39,76,.12); font-size: 18px; }
.sumbar__cap { color: var(--muted); font-size: 15px; }
.sumbar strong { font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
html.pris-ready .sumbar { display: flex; }
@media (max-width: 1100px) { .sumbar { display: none !important; } }
@media (min-width: 1101px) { .pris { padding-bottom: 76px; } }
.opt.is-included { cursor: default; opacity: .9; }
.opt.is-included input { cursor: default; }

.sumbar.is-hidden { display: none !important; }
@media (max-width: 480px) {
  .ksum__bar > div { min-width: 0; flex: 1 1 auto; }
  .ksum__bar .ksum__big { white-space: normal; font-size: 18px; line-height: 1.25; }
  .ksum__bar .btn { flex: 0 0 96px; width: 96px; padding-inline: 8px; }
}

.ncard__price { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 880px) { .ncard__price strong { font-size: 38px; } }
#pris-tillegg, #pris-tillegg .small { font-size: 15px; }
.addon-line { font-size: 15px; }

/* Roligere og ca. 17 % mindre: knapper, skrift, felt og luft på prissiden */
.phero { padding-top: 28px; }
.phero h1 { font-size: clamp(30px, 3vw, 40px); }
.phero .lead { font-size: 16px; }
.pris h2 { font-size: clamp(22px, 2.2vw, 28px); }
.pris .section__head { margin-bottom: 18px; }
.psec { padding-top: 20px; padding-bottom: 36px; }
.ncard { padding: 20px 22px 22px; gap: 8px; border-radius: 16px; }
.ncard h3 { font-size: 20px; }
.ncard__for, .ncard__sub, .ncard__head, .ncard__inherit { font-size: 14px; }
.ncard__price { font-size: 15px; }
.ncard__price strong { font-size: 36px; }

.ncard__list { font-size: 14px; gap: 7px; }
.ncard__badge { font-size: 12px; padding: 4px 12px; }
.ncard__chosen { font-size: 12px; }
.ncard__circle { width: 18px; height: 18px; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.free { padding: 22px 26px; border-radius: 16px; }
.free h3 { font-size: 20px; }
.free__copy p, .free__list { font-size: 14px; }
.free-line, .addon-line { font-size: 14px; }
.addon-line { font-size: 15px; }
.kpanel { padding: 20px; border-radius: 16px; margin-bottom: 14px; }
.kpanel h3 { font-size: 17px; margin-bottom: 10px; }
.stepper__btn { width: 42px; height: 42px; font-size: 22px; border-radius: 10px; }
.stepper__num { width: 80px; height: 42px; font-size: 18px; border-radius: 10px; }
.opt { min-height: 44px; padding: 8px 14px; border-radius: 12px; }
.opt.is-on { padding: 7px 13px; }
.opt__name { font-size: 15px; }
.opt__price, .seg3__price { font-size: 13px; }
.opt__desc { font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 400; pointer-events: none; }
.seg3__opt { min-height: 42px; padding: 6px; border-radius: 10px; }
.seg3__opt.is-on { padding: 5px; }
.seg3__name { font-size: 14px; }
.kcalc__level { font-size: 15px; }
.kcalc { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.ksum { padding: 22px; border-radius: 16px; }
.ksum__sum { font-size: 36px; }
.ksum__lines, .ksum__incl { font-size: 14px; }
.ksum__big { font-size: 18px; }
.ksum__cap { font-size: 13px; }
.ksum .btn { padding-block: 10px; }
.cmp { font-size: 14px; }
.cmp th, .cmp td { padding: 10px 10px; }
.cmp thead th { font-size: 15px; }
.cmp .cmp__group th { font-size: 13px; }
.cmp__price td { font-size: 15px; }
.cmp .ok { font-size: 16px; }
.sumbar { font-size: 15px; padding-block: 9px; }
.sumbar strong { font-size: 18px; }
.sumbar__cap { font-size: 13px; }
@media (max-width: 1100px) { .kcalc { grid-template-columns: 1fr; } .ksum__sum { font-size: 30px; } }

/* Sammenligning: samme bredde og justering som resten av siden, rad med skuff */
.psec .section__head--center { text-align: left; max-width: none; margin: 0 0 18px; }
.psec .tablewrap { width: 100%; }
.cmp { width: 100%; }
.cmp tbody th { width: 40%; }
.cmp__q { display: inline-flex; align-items: center; gap: 8px; width: 100%; text-decoration: none; font-size: inherit; font-weight: 500; }
.cmp__chev { width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; flex: none; }
.cmp__q[aria-expanded="true"] .cmp__chev { transform: rotate(-135deg); }
.cmp__drawer td { text-align: left; background: var(--bg); font-size: 14px; color: var(--muted); padding: 10px 14px; }
.cmp__drawer[hidden] { display: none; }
.aichip { display: inline-block; padding: 1px 6px; border-radius: 99px; background: var(--sky); color: var(--blue); border: 1px solid var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }
.ai-line { margin: 14px auto 0; max-width: 70ch; text-align: center; font-size: 14px; color: var(--ink); }

/* Krav fra designansvarlig: mykere tekst, 15 px som minste brødtekst, 44 px trykkflate, 64/40 px mellom seksjoner */
:root { --soft: #33415c; --brand-soft: #e3f1fe; --brand-ink: #0a4f9c; }
.phero h1 { font-size: clamp(28px, 2.8vw, 40px); }
.phero .lead, .section__head p { font-size: 16px; color: var(--soft); }
.psec { padding-block: 32px; }
.ncard__price strong { font-size: 40px; }
.ncard__for, .ncard__sub, .ncard__same { font-size: 15px; color: var(--soft); }
.ncard__head, .ncard__inherit { font-size: 15px; }
.ncard__list, .free__list, .free__copy p, .free-line, .addon-line, .ai-line, .kcalc__level { font-size: 15px; color: var(--soft); }
.ncard__list strong, .addon-line strong { color: var(--ink); }
.btn--sm, .ncard .btn, .ksum .btn { min-height: 44px; }
.stepper__btn { width: 44px; height: 44px; }
.stepper__num { height: 44px; }
.opt { min-height: 48px; }
.seg3__opt { min-height: 48px; }
.opt__name { font-size: 16px; }
.opt__price, .seg3__price, .opt__desc, .ksum__cap, .sumbar__cap { font-size: 15px; color: var(--soft); }
.seg3__name { font-size: 15px; }
.ksum__lines, .ksum__incl, .ksum__regn { font-size: 15px; color: var(--soft); }
.cmp { font-size: 15px; color: var(--soft); }
.cmp tbody th, .cmp__q { color: var(--soft); }
.cmp__price th, .cmp__price td, .cmp thead th, .cmp .cmp__group th { color: var(--ink); }
.cmp .cmp__group th { font-size: 14px; }
.cmp__drawer td { font-size: 15px; color: var(--soft); }
.cmp tbody th { width: 34%; }
.cmp td, .cmp thead th:not(:first-child) { width: 22%; }
.cmp .cmp__group th, .cmp tbody th { padding-left: 14px; }
.cmp__q { min-height: 36px; }
.aichip { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-ink); font-size: 12px; }
.aichip--add { white-space: nowrap; }
@media (max-width: 480px) {
  .phero h1 { font-size: 28px; }
  .ncard__price strong { font-size: 32px; }
  .psec { padding-block: 20px; }
}

/* Etikett «Kommer», chevron rett etter etiketten, smal mobil: maks to linjer per etikett */
.aichip--soon { background: var(--steel); color: var(--soft); border-color: var(--muted); }
.cmp__chips { display: inline-flex; gap: 6px; }
.cmp__q { width: 100%; text-align: left; position: relative; }
.cmp__chev { margin-left: 2px; }
.cmp tbody th { hyphens: manual; }
.cmp__short { display: none; }
@media (max-width: 480px) { .cmp__full { display: none; } .cmp__short { display: inline; } }
.cmp__pre { display: none; font-weight: 700; color: var(--ink); }
@media (max-width: 480px) { .cmp__pre { display: inline; } }

/* Sammenligningstabellen på smal skjerm: samlet her (én blokk for under 680 px, én for under 480, én for under 380) */
@media (max-width: 680px) {
  .cmp { font-size: 14px; table-layout: fixed; width: 100%; min-width: 0; }
  .cmp th, .cmp td { padding: 10px 4px; }
  .cmp thead th { font-size: 14px; }
  .cmp tbody th { width: auto; padding-left: 10px; overflow-wrap: normal; hyphens: manual; }
  .cmp .cmp__group th { padding-left: 10px; }
  .cmp td, .cmp thead th:not(:first-child) { width: 76px; min-width: 76px; max-width: 76px; padding-inline: 2px; overflow-wrap: normal; }
  .cmp__drawer td { padding: 8px 10px; }
  .pris .tablewrap { overflow-x: visible; }
}
@media (max-width: 480px) {
  .cmp td, .cmp thead th:not(:first-child) { width: 54px; min-width: 54px; max-width: 54px; padding-inline: 0; }
  .cmp thead th { font-size: 12px; }
  .cmp__price td { white-space: nowrap; font-size: 13px; letter-spacing: -.02em; }
  .cmp tbody th { overflow-wrap: break-word; padding-right: 8px; }
  .cmp__q { display: block; width: 100%; padding-right: 22px; }
  .cmp__chips { display: flex; margin-top: 3px; }
  .cmp__chev { position: absolute; right: 4px; top: 8px; width: 9px; height: 9px; margin: 0; }
}
@media (max-width: 380px) {
  .cmp td, .cmp thead th:not(:first-child) { width: 50px; min-width: 50px; max-width: 50px; }
  .cmp__price td { font-size: 12px; }
  .cmp thead th { font-size: 11px; }
}
.slett-status, .slett-status * { font-size: 15px; }
.slett-status { color: var(--ink); }
.kcalc__lbl { margin: 14px 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.kcalc__lbl:first-of-type { margin-top: 0; }
.kcalc__lbl .small { font-weight: 400; font-size: 14px; color: var(--soft); }
.opt__txt .opt__price { color: var(--ink); font-weight: 600; }
.opt.is-included .opt__price { font-weight: 700; color: var(--brand-ink); }
.kcalc__rad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 680px) { .kcalc__rad { grid-template-columns: 1fr; } }
