/* Hviletidklar. The design profile is BRAND.md, «Petrol og refleks» (rebrand proposal 10.11.2026): a deep petrol top
   and footer, warm paper between, white cards with a hairline and a soft shadow, and reflex orange for the one thing
   to press. The signature is the binder: a white sheet with register tabs lying over the edge of the petrol top.
   Hanken Grotesk speaks for the service; Overpass and Overpass Mono are kept for the wordmark and the sheets
   themselves, which look like the PDF the buyer gets. */
@font-face { font-family: "Overpass"; src: url("/fonts/overpass-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url("/fonts/overpass-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --natt: #0f3039;          /* petrol: header, the top of every page, footer */
  --natt-2: #18454f;        /* lifted surface on petrol */
  --natt-linje: rgba(255, 255, 255, .13);
  --natt-tekst: #f2f6f5;    /* text on petrol */
  --natt-dempet: #bccdce;   /* muted text on petrol */
  --fersken: #ffb48a;       /* small labels on petrol */
  --bunn: #f6f4ef;          /* page background: warm paper */
  --dis: #e7efed;           /* a light petrol tint for the two bands on the front page */
  --ark: #ffffff;           /* sheets, cards, fields */
  --blekk: #12262c;         /* text */
  --dempet: #52626a;        /* secondary text */
  --strek: #e2ded5;         /* hairlines */
  --kant: #8a9693;          /* field borders */
  --oransje: #ff6a13;       /* product colour: reflex orange. The one button, the marker on the open tab */
  --oransje-hover: #ff7c30;
  --oransje-dyp: #a83c05;   /* orange as text on light: numbers and small labels */
  --oransje-lys: #fff0e6;
  --hvile: #0d6b62;         /* rest green: sources, links, «ok» */
  --hvile-lys: #e2f0ed;
  --feil: #b3261e;
  --display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tekst: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --merkeskrift: "Overpass", "Arial Narrow", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --maks: 1200px;
  --luft: clamp(1.15rem, 4vw, 2.5rem);
  --r: 14px;
  --r-liten: 10px;
  --skygge: 0 1px 2px rgba(15, 48, 57, .05), 0 12px 28px -18px rgba(15, 48, 57, .28);
  --skygge-ark: 0 2px 6px rgba(3, 20, 25, .2), 0 30px 60px -28px rgba(3, 20, 25, .6);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-family: var(--tekst); font-size: clamp(1.0625rem, 1rem + .25vw, 1.15rem); line-height: 1.62; color: var(--blekk); background: var(--bunn); }
::selection { background: #ffd2b5; color: var(--blekk); }
a { color: var(--hvile); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blekk); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--oransje); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem); }
h3 { font-size: clamp(1.1rem, 1.04rem + .3vw, 1.25rem); line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
.lead { font-size: 1.14em; line-height: 1.5; max-width: 36em; }
.dempet, .muted { color: var(--dempet); }
.liten, .small { font-size: .9em; }
.mono { font-family: var(--mono); font-size: .9em; }
.hopp { position: absolute; left: -999px; top: 0; background: var(--oransje); color: var(--blekk); padding: .6rem 1rem; z-index: 10; font-weight: 700; }
.hopp:focus { left: 0; }

/* ---------- Header ---------- */
.topp { background: var(--natt); color: var(--natt-tekst); border-bottom: 1px solid var(--natt-linje); }
.topp-inn { max-width: var(--maks); margin: 0 auto; padding: 0 var(--luft); min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; min-height: 68px; }
.logo:hover { color: inherit; }
.ordmerke { font-family: var(--merkeskrift); font-weight: 800; font-size: 1.42rem; letter-spacing: -0.02em; line-height: 1; padding-top: .12em; }
.ordmerke b { color: var(--oransje); font-weight: 800; }
.merke { flex: none; display: block; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 .15rem; margin-right: -.8rem; }
.tabs a { position: relative; display: flex; align-items: center; min-height: 44px; padding: .4rem .8rem; color: #d7e3e3; text-decoration: none; white-space: nowrap; border-radius: 8px; font-weight: 500; font-size: .98rem; transition: background .18s, color .18s; }
.tabs a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.tabs a[aria-current="page"] { color: #fff; font-weight: 650; }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .22rem; height: 2px; border-radius: 2px; background: var(--oransje); }
.tabs a:focus-visible { outline-offset: -2px; }
.meny-knapp { display: none; }
@media (max-width: 899px) {
  .tabs { width: 100%; margin: 0; padding-bottom: .7rem; }
  .js .meny-knapp { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem 1rem; font: 600 .98rem var(--tekst); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; cursor: pointer; }
  .js .meny-knapp[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
  .meny-knapp .streker { display: inline-grid; gap: 4px; width: 18px; }
  .meny-knapp .streker i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .meny-knapp[aria-expanded="true"] .streker i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .meny-knapp[aria-expanded="true"] .streker i:nth-child(2) { opacity: 0; }
  .meny-knapp[aria-expanded="true"] .streker i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .tabs { display: none; }
  .js .topp.apen .tabs { display: grid; padding-bottom: .9rem; }
  .js .tabs a { min-height: 54px; padding: .4rem .2rem; font-size: 1.1rem; border-radius: 0; border-top: 1px solid var(--natt-linje); }
  .js .tabs a[aria-current="page"]::after { left: auto; right: .3rem; top: 50%; bottom: auto; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
}

.banner { background: var(--natt-2); color: #dbe7e6; padding: .3rem 1rem; font-size: .78rem; text-align: center; }

/* ---------- Page frame ---------- */
main { --main-topp: clamp(1.6rem, 4vw, 3.2rem); max-width: var(--maks); margin: 0 auto; padding: var(--main-topp) var(--luft) clamp(3rem, 7vw, 5.5rem); }
main.bred { max-width: none; padding: 0; }
.inn { max-width: var(--maks); margin: 0 auto; padding-left: var(--luft); padding-right: var(--luft); }
.page, .legal, .order { max-width: 45rem; }
.page > h1, .legal > h1, .order > h1 { margin-bottom: .35em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.9em; }
.page h2 { margin-top: 1.7em; }
.to-kol { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 4.5rem); }
.to-kol > *, .delt > *, .helt-inn > * { min-width: 0; }
.to-kol > div > :first-child { margin-top: 0; }
.delt, .artikkel { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .to-kol { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .page.full, .order.full { max-width: none; } }

/* The top of a page: the petrol surface goes on under the header and carries the label, the headline and the lead. */
.sidetopp { margin: calc(-1 * var(--main-topp)) 0 clamp(1.8rem, 4vw, 3.2rem); padding: clamp(1.7rem, 4.4vw, 3.4rem) 0 clamp(1.8rem, 4.4vw, 3.2rem); color: var(--natt-tekst); border-image: conic-gradient(var(--natt) 0 0) fill 0 / 0 / 0 100vmax; }
.sidetopp h1 { color: #fff; max-width: 19em; margin-bottom: 0; }
.sidetopp h1 + p { margin-top: 1rem; }
.sidetopp .lead, .sidetopp p { color: #d6e3e3; margin-bottom: 0; }
.sidetopp a { color: #fff; }
.sidetopp .muted, .sidetopp .dempet { color: var(--natt-dempet); }

/* The small label over a headline (class name from the first profile, «underskiltet») */
.skilt { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.4; color: var(--oransje-dyp); }
.skilt + .skilt::before { content: "·"; margin: 0 .55em; opacity: .7; }
.skilt + h1, .skilt + h2, .skilter + h1, .skilter + h2 { margin-top: .55rem; }
.skilter { display: block; margin: 0; }
.sidetopp .skilt, .helt .skilt { color: var(--fersken); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; background: var(--oransje); color: var(--blekk); border: 1px solid transparent; border-radius: var(--r-liten); padding: .55rem 1.6rem; font-family: var(--tekst); font-weight: 700; font-size: 1.08rem; line-height: 1.2; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(15, 48, 57, .18), 0 8px 18px -10px rgba(168, 60, 5, .7); transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.btn:hover { background: var(--oransje-hover); color: var(--blekk); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15, 48, 57, .2); }
.btn[disabled] { opacity: .65; cursor: wait; }
.btn-sek { background: var(--ark); border-color: #c5cbc7; box-shadow: 0 1px 2px rgba(15, 48, 57, .06); font-weight: 650; }
.btn-sek:hover { background: var(--ark); border-color: var(--blekk); }
.btn-small { min-height: 46px; font-size: 1rem; padding: .4rem 1.2rem; }
.pil::after { content: "→"; font-weight: 500; transition: transform .18s; }
.btn:hover.pil::after { transform: translateX(3px); }
.knapper { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; align-items: center; }
.error { color: var(--feil); font-weight: 600; }

/* ---------- Front page: the first screen ---------- */
.helt { background: var(--natt) radial-gradient(ellipse 70% 100% at 82% 0%, var(--natt-2), transparent 72%); color: var(--natt-tekst); }
.helt-inn { max-width: var(--maks); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.6rem) var(--luft) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
.helt-tekst h1 { color: #fff; margin-bottom: .4em; }
.helt-tekst .lead { color: #d6e3e3; margin-bottom: 0; }
.helt-knapp { margin: 1.5rem 0 0; }
.helt-perm { position: relative; z-index: 1; margin-bottom: -4.5rem; }
.helt-etter-inn { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: calc(4.5rem + 1.2rem); padding-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.helt-videre .liten { margin: 1rem 0 0; max-width: 31em; }
@media (max-width: 559px) { .helt-knapp .btn, .helt-videre .btn { width: 100%; } }
@media (min-width: 960px) {
  .helt-inn, .helt-etter-inn { grid-template-columns: minmax(0, 10fr) minmax(0, 12fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .helt-tekst { padding: 1.4rem 0 4rem; }
  .helt-perm { align-self: end; }
  .helt-videre { order: -1; margin-top: -3.4rem; }
}

/* ---------- The binder (signature) ---------- */
.perm { position: relative; --fane: #e4eae8; --fane-hover: #d8e1df; --fane-tekst: var(--blekk); --fane-kant: var(--strek); }
.helt .perm { --fane: rgba(255, 255, 255, .15); --fane-hover: rgba(255, 255, 255, .26); --fane-tekst: #eef4f3; --fane-kant: transparent; }
.perm-faner { display: flex; gap: 4px; padding: 0 .8rem 0 2.3rem; }
.perm-fane { flex: 1 1 0; min-width: 0; min-height: 46px; padding: .3rem .4rem; font: 600 .92rem var(--tekst); border: 1px solid var(--fane-kant); border-bottom: 0; border-radius: 9px 9px 0 0; background: var(--fane); color: var(--fane-tekst); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .45em; transition: background .15s; }
.perm-fane .nr { font-weight: 700; font-variant-numeric: tabular-nums; }
.perm-fane .navn { display: none; white-space: nowrap; }
.perm-fane:hover { background: var(--fane-hover); }
.perm-fane[aria-selected="true"] { background: var(--ark); color: var(--blekk); border-color: var(--fane-kant); position: relative; z-index: 1; margin-bottom: -1px; }
.perm-fane[aria-selected="true"] .nr { color: var(--oransje-dyp); }
.perm-ark { position: relative; background: var(--ark); color: var(--blekk); border: 1px solid var(--strek); border-radius: 6px var(--r) var(--r) 6px; box-shadow: var(--skygge); padding: 1.25rem 1.15rem 1rem 2.6rem; height: 23rem; overflow: hidden; }
.helt .perm-ark { border-color: transparent; box-shadow: var(--skygge-ark); }
.perm-ark::before { content: ""; position: absolute; left: .82rem; top: 0; bottom: 0; width: 15px; background: radial-gradient(circle at 50% 50%, #e9edeb 0 5.5px, #cdd5d2 6.5px, transparent 7.2px) 0 22% / 15px 15px no-repeat, radial-gradient(circle at 50% 50%, #e9edeb 0 5.5px, #cdd5d2 6.5px, transparent 7.2px) 0 78% / 15px 15px no-repeat; }
.perm-ark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; border-radius: 0 0 var(--r) 6px; }
.perm-fot { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: end; margin-top: 1.1rem; }
.perm-fot label { flex: 1 1 13rem; font-weight: 600; font-size: .98rem; }
.perm-fot input { display: block; width: 100%; margin-top: .4rem; }
.helt-etter .perm-fot { margin-top: 0; grid-column: auto; }
.perm[data-full] .perm-ark { height: auto; overflow: visible; }
.perm[data-full] .perm-ark::after { display: none; }
@media (min-width: 480px) { .perm-fane { flex: 0 1 auto; padding: .3rem .85rem; } .perm-fane[aria-selected="true"] .navn { display: inline; } }
/* On a wide screen the tabs stand down the right edge of the sheet, as in a binder. In a narrow side column they stay on top. */
@media (min-width: 960px) {
  :not(aside) > .perm { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  :not(aside) > .perm .perm-faner { grid-column: 2; grid-row: 1; flex-direction: column; padding: 1.6rem 0 0; margin-left: -1px; }
  :not(aside) > .perm .perm-fane { flex: none; border: 1px solid var(--fane-kant); border-left: 0; border-radius: 0 9px 9px 0; min-width: 9.8rem; justify-content: flex-start; padding: .3rem .95rem; }
  :not(aside) > .perm .perm-fane .navn { display: inline; }
  :not(aside) > .perm .perm-fane[aria-selected="true"] { margin: 0 0 0 -1px; padding-left: calc(.95rem + 1px); }
  :not(aside) > .perm .perm-ark { grid-column: 1; grid-row: 1; padding: 1.8rem 1.9rem 1.4rem 3.6rem; }
  :not(aside) > .perm .perm-ark::before { left: 1.2rem; }
  :not(aside) > .perm .perm-fot { grid-column: 1 / -1; }
  .perm-ark { height: 33rem; }
}
@media (min-width: 1200px) { .helt .perm-ark { height: 36rem; } }

/* A sheet of the binder, as the buyer gets it (lib/perm.js, views/perm.js): the type of the PDF */
.ark { font-size: .86rem; line-height: 1.45; }
.ark[hidden] { display: none; }
.ark-hode { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1.5px solid var(--blekk); padding-bottom: .3rem; margin-bottom: .8rem; font-family: var(--mono); font-size: .72rem; color: var(--dempet); }
.ark-hode strong { font-family: var(--merkeskrift); font-weight: 800; font-size: .95rem; letter-spacing: 0; color: var(--blekk); }
.ark h2, .ark h3 { font-family: var(--merkeskrift); font-weight: 800; letter-spacing: -0.01em; }
.ark h2 { font-size: 1.32rem; line-height: 1.1; margin: 0 0 .35rem; }
.ark h3 { font-size: 1rem; margin: 1rem 0 .3rem; }
.ark p { margin: 0 0 .55rem; }
.ark ol, .ark ul { margin: 0 0 .7rem; padding-left: 1.3rem; }
.ark li { margin: .22rem 0; }
.ark .hjemmel { margin: .4rem 0 .8rem; padding: .55rem .75rem; background: var(--hvile-lys); border-left: 3px solid var(--hvile); border-radius: 0 6px 6px 0; font-size: .82rem; }
.ark .hjemmel cite { display: block; font-family: var(--mono); font-style: normal; font-size: .72rem; margin-top: .25rem; color: #0a4d47; }
.ark table { width: 100%; border-collapse: collapse; margin: .3rem 0 .8rem; font-size: .74rem; table-layout: fixed; }
.ark th, .ark td { border: 1px solid #8f9b9a; padding: .28rem .3rem; text-align: left; vertical-align: top; height: 1.75rem; overflow-wrap: anywhere; }
.ark th { background: #eef1f0; font-family: var(--merkeskrift); font-weight: 700; hyphens: auto; overflow-wrap: normal; }
/* The month grid has thirteen columns: its narrow headers are centred and set tight, so «mai» stays inside its cell. */
.ark table:has(col:nth-child(10)) th:not(:first-child) { padding-inline: 0; text-align: center; font-size: .9em; letter-spacing: -0.02em; }
.ark .kryss { list-style: none; padding: 0; }
.ark .kryss li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .5rem; align-items: start; margin: .34rem 0; }
.ark .kryss li::before { content: ""; width: .95rem; height: .95rem; border: 1.5px solid var(--blekk); border-radius: 3px; margin-top: .14rem; }
.ark .kryss small { display: block; font-family: var(--mono); font-size: .7rem; color: var(--dempet); }
.ark .felt-liste { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .9rem; margin: 0 0 .8rem; }
.ark .felt-liste dt { font-weight: 600; }
.ark .felt-liste dd { margin: 0; border-bottom: 1px dotted var(--kant); min-height: 1.3em; }
.ark .sign { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.4rem 0 .4rem; }
.ark .sign span { flex: 1 1 9rem; border-top: 1px solid var(--blekk); padding-top: .2rem; font-size: .74rem; }
.ark .merk { font-size: .76rem; color: var(--dempet); }
.ark-fot { margin-top: 1rem; padding-top: .35rem; border-top: 1px solid var(--strek); font-family: var(--mono); font-size: .66rem; color: var(--dempet); }
.ark .skive { display: block; width: min(100%, 17rem); margin: .2rem auto .6rem; }

/* ---------- Sections on the front page ---------- */
.seksjon { padding: clamp(2.8rem, 6.5vw, 5.5rem) 0; }
.seksjon.tett { padding-top: 0; }
.seksjon-hode { max-width: 42rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.seksjon-hode .lead { margin-bottom: 0; }
.band { background: var(--dis); }
.delt { display: grid; gap: clamp(1.6rem, 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .delt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* The new rule: the number and the paragraph on one card */
.regel-kort { margin: 0; }
.stort-tall { font-family: var(--display); font-weight: 700; font-size: clamp(2.9rem, 2.2rem + 3.4vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; color: var(--blekk); white-space: nowrap; margin: 0; }
.stort-tall small { font-size: .38em; font-weight: 600; letter-spacing: 0; color: var(--dempet); }
.regel-kort .stort-tall { padding-bottom: 1.1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--strek); }
.regel-kort .stort-tall::before { content: ""; display: block; width: 2.6rem; height: 4px; border-radius: 2px; background: var(--oransje); margin-bottom: 1.1rem; }
blockquote { margin: 0; }
.regel-kort blockquote { font-size: 1.04em; line-height: 1.55; }
.sitat { margin: 0 0 1.2rem; padding: .1rem 0 .1rem 1.1rem; border-left: 3px solid var(--hvile); font-size: 1.04em; line-height: 1.55; }
cite { font-style: normal; }
.regel-kort cite, .sitat cite { display: block; font-size: .84rem; margin-top: .6rem; color: var(--dempet); }

/* Three duties: one card each, the source at the foot */
.plikter { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.plikter li { display: flex; flex-direction: column; gap: .6rem; background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); padding: clamp(1.2rem, 3vw, 1.6rem); }
.plikter strong { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.plikter cite { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--strek); font-size: .84rem; color: var(--dempet); line-height: 1.5; }
@media (min-width: 900px) { .plikter { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1.2fr); } }

/* The register: what is behind each tab of the binder */
.register { list-style: none; margin: 0; padding: .3rem clamp(1.1rem, 3vw, 1.8rem); background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); }
.register li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .15rem 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--strek); align-items: start; }
.register li:last-child { border-bottom: 0; }
.register .nr { grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 9px; background: var(--oransje-lys); color: var(--oransje-dyp); font-weight: 700; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.register h3 { margin: .15rem 0 0; }
.register p { grid-column: 2; margin: 0; color: var(--dempet); max-width: 40em; }
@media (min-width: 900px) { .register li { grid-template-columns: 2.4rem minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 0 1.4rem; } .register .nr { grid-row: auto; } .register h3 { margin: 0; } .register p { grid-column: 3; } }

.kort { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); padding: clamp(1.2rem, 3vw, 1.8rem); }
.kort > :last-child { margin-bottom: 0; }
.kort h2 { font-size: 1.32rem; letter-spacing: -0.015em; }
.kort + .kort { margin-top: 1.2rem; }
.kort-rad { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .kort-rad { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }

/* Steps with a line that ties them together */
.steg { list-style: none; counter-reset: steg; margin: 0 0 .4rem; padding: 0; display: grid; gap: 0; }
.steg > li { counter-increment: steg; position: relative; padding: 0 0 1.9rem 3.9rem; }
.steg > li::before { content: counter(steg); position: absolute; left: 0; top: -.15rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--ark); border: 1px solid var(--strek); box-shadow: var(--skygge); border-radius: 50%; font-weight: 700; font-size: 1.1rem; color: var(--oransje-dyp); }
.steg > li::after { content: ""; position: absolute; left: calc(1.3rem - .5px); top: 2.75rem; bottom: .3rem; width: 1px; background: #cfd3cc; }
.steg > li:last-child::after { display: none; }
.steg h2, .steg h3 { margin: .25rem 0 .3rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.steg p { margin: 0 0 .5rem; max-width: 38em; }

/* ---------- Price ---------- */
.pris-kort { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); padding: clamp(1.3rem, 3.4vw, 2.2rem); box-shadow: 0 1px 2px rgba(15, 48, 57, .05), 0 22px 44px -26px rgba(15, 48, 57, .38); }
.price, .pris-tall { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 2rem + 3.4vw, 4rem); line-height: 1; margin: 0 0 .35em; letter-spacing: -0.035em; }
.pris-tall small, .price .muted { font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--dempet); }
.hake { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.hake li { position: relative; padding-left: 1.9rem; margin: .5rem 0; }
.hake li::before { content: ""; position: absolute; left: .15rem; top: .44em; width: .9rem; height: .48rem; border-left: 2.5px solid var(--hvile); border-bottom: 2.5px solid var(--hvile); transform: rotate(-45deg); }
.garanti { background: var(--hvile-lys); border-radius: var(--r-liten); padding: .8rem 1rem; margin: 1.3rem 0; font-weight: 600; color: #0a4d47; }
.tabell { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: .95em; }
.tabell th, .tabell td { text-align: left; padding: .65rem .7rem .6rem 0; border-bottom: 1px solid var(--strek); vertical-align: top; }
.tabell th { font-weight: 700; font-size: .86em; color: var(--dempet); border-bottom-color: #c9cdc6; }
.tabell td.tall, .tabell th.tall { text-align: right; white-space: nowrap; padding-right: 0; font-variant-numeric: tabular-nums; }
.tabell-rull { overflow-x: auto; }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=month], input[type=number], textarea, select { font: inherit; color: var(--blekk); background: var(--ark); border: 1px solid var(--kant); border-radius: var(--r-liten); padding: .65rem .8rem; min-height: 52px; width: 100%; box-shadow: inset 0 1px 2px rgba(15, 48, 57, .05); }
input::placeholder, textarea::placeholder { color: #667377; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--oransje); outline-offset: 1px; border-color: var(--blekk); }
textarea { min-height: 7rem; line-height: 1.45; resize: vertical; }
.skjema { display: grid; gap: 1.3rem; }
.skjema fieldset { border: 1px solid var(--strek); border-radius: var(--r); background: var(--ark); box-shadow: var(--skygge); margin: 0; padding: clamp(1.1rem, 3vw, 1.7rem) clamp(1.1rem, 3vw, 1.7rem) .5rem; min-width: 0; }
.skjema legend { float: left; width: 100%; font-weight: 700; font-size: 1.28rem; letter-spacing: -0.015em; padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.skjema legend + * { clear: both; }
.skjema legend .nr { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--oransje-lys); color: var(--oransje-dyp); font-size: .95rem; font-weight: 700; }
.felt { display: block; margin: 0 0 1.1rem; }
.felt > span { display: block; font-weight: 600; margin-bottom: .3rem; }
.felt small { display: block; color: var(--dempet); font-size: .88em; margin-top: .3rem; font-weight: 400; }
.felt-rad { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .felt-rad { grid-template-columns: 1fr 1fr; } .felt-rad:has(select) { grid-template-columns: 1fr; } }
.felt.feil input, .felt.feil textarea { border-color: var(--feil); border-width: 2px; }
.felt .feilmelding { color: var(--feil); font-weight: 600; font-size: .9em; margin-top: .25rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: 1rem 0; font-size: .95em; cursor: pointer; }
.consent input { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--hvile); }
.sidefelt { position: sticky; top: 1rem; }

/* ---------- The free check ---------- */
.sjekk-sporsmal { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); padding: clamp(1.1rem, 3vw, 1.5rem); margin: 0 0 1rem; }
.sjekk-sporsmal h2 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; margin: 0 0 .9rem; display: flex; gap: .8rem; align-items: flex-start; text-wrap: pretty; }
.sjekk-sporsmal h2 .nr { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-top: -.12rem; border-radius: 8px; background: var(--oransje-lys); color: var(--oransje-dyp); font-size: .95rem; font-weight: 700; }
.valg { display: flex; flex-wrap: wrap; gap: .6rem; }
.valg label { position: relative; cursor: pointer; }
.valg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.valg span { display: inline-flex; align-items: center; min-height: 52px; min-width: 6rem; justify-content: center; padding: .4rem 1.3rem; border: 1px solid var(--kant); border-radius: var(--r-liten); background: var(--ark); font-weight: 650; transition: background .15s, border-color .15s; }
.valg label:hover span { border-color: var(--blekk); }
.valg input:checked + span { background: var(--natt); border-color: var(--natt); color: #fff; }
.valg input:focus-visible + span { outline: 3px solid var(--oransje); outline-offset: 2px; }
.sjekk-svar { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--hvile-lys); border-left: 3px solid var(--hvile); border-radius: 0 8px 8px 0; font-size: .95em; }
.sjekk-svar[hidden], .sjekk-resultat[hidden] { display: none; }
.sjekk-svar cite { display: block; font-size: .84rem; margin-top: .45rem; color: #33514d; }
.sjekk-resultat { background: var(--natt); color: var(--natt-tekst); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 1.8rem); margin-top: 1.4rem; }
.sjekk-resultat h2 { font-size: 1.45rem; margin-top: 0; color: #fff; }
.sjekk-resultat a:not(.btn) { color: #a6e4d6; }

/* ---------- The order page: preview, payment, delivery ---------- */
.betal { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: 0 1px 2px rgba(15, 48, 57, .05), 0 22px 44px -26px rgba(15, 48, 57, .38); }
.betal h2 { font-size: 1.35rem; }
.vipps-knapp { background: #ff5b24; color: #fff; }
.nedlasting { display: grid; gap: .9rem; margin: 1.2rem 0 1.6rem; }
@media (min-width: 640px) { .nedlasting { grid-template-columns: 1fr 1fr; } }
.nedlasting a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; align-items: center; background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--blekk); box-shadow: var(--skygge); transition: transform .15s, border-color .15s; }
.nedlasting a:hover { border-color: var(--blekk); transform: translateY(-1px); }
.nedlasting .type { grid-row: span 2; font-weight: 700; font-size: .82rem; background: var(--natt); color: #fff; border-radius: 8px; padding: .55rem .6rem; }
.nedlasting strong { font-weight: 700; font-size: 1.08rem; }
.nedlasting small { color: var(--dempet); }
.delivery { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); padding: 1rem 1.2rem; }
.ok-linje { display: inline-flex; gap: .5rem; align-items: center; background: var(--hvile-lys); color: #0a4d47; border-radius: 99px; padding: .25rem .9rem; font-weight: 600; font-size: .92rem; }

/* ---------- Kundestemmer ---------- */
.feedback { margin: 2rem 0 1rem; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--strek); border-radius: var(--r); background: var(--ark); box-shadow: var(--skygge); }
.feedback h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; }
.thumb { font: inherit; font-weight: 600; min-height: 52px; padding: .6rem 1.1rem; border-radius: var(--r-liten); border: 1px solid var(--kant); background: var(--ark); color: var(--blekk); cursor: pointer; transition: background .15s, border-color .15s; }
.thumb:hover { border-color: var(--blekk); }
.thumb.chosen { background: var(--natt); border-color: var(--natt); color: #fff; }
.thumb[disabled] { opacity: .6; cursor: wait; }
.feedback-form label { display: block; margin: .6rem 0; font-size: .95em; }
.feedback-form textarea, .feedback-form input[type=text] { margin-top: .25rem; }
.feedback-form .consent { display: grid; }
.feedback-who { display: flex; gap: .8rem; } .feedback-who label { flex: 1; }
.voice { border: 1px solid var(--strek); background: var(--ark); border-radius: var(--r); box-shadow: var(--skygge); padding: 1.1rem 1.3rem; margin: 1rem 0; }
.voice-head { margin: 0 0 .4rem; }
.voice blockquote { margin: 0; }
.voice-reply { background: var(--hvile-lys); border-radius: 8px; padding: .6rem .9rem; margin-top: .6rem; }
.voice-reply p { margin: .2rem 0; }

/* ---------- Guide ---------- */
.guide-kort { display: grid; gap: 1.1rem; list-style: none; padding: 0; margin: 0 0 2rem; }
@media (min-width: 700px) { .guide-kort { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-kort a { display: block; height: 100%; background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); padding: clamp(1.2rem, 3vw, 1.7rem); text-decoration: none; color: var(--blekk); transition: transform .15s, border-color .15s; }
.guide-kort a:hover { transform: translateY(-2px); border-color: #b9c2bf; }
.guide-kort h2 { font-size: 1.3rem; letter-spacing: -0.015em; margin: .45rem 0 .35rem; }
.guide-kort h2::after { content: " →"; color: var(--oransje-dyp); font-weight: 500; white-space: nowrap; }
.guide-kort p { margin: 0; color: var(--dempet); font-size: .96em; }
.artikkel { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); }
.artikkel-tekst { max-width: 42rem; min-width: 0; }
.artikkel-tekst h2 { margin-top: 1.7em; font-size: clamp(1.35rem, 1.2rem + .8vw, 1.75rem); }
.artikkel-tekst h3 { margin-top: 1.4em; }
.svar-boks { background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); padding: clamp(1.1rem, 3vw, 1.6rem); margin: 0 0 1.8rem; font-size: 1.06em; }
.svar-boks > :last-child { margin-bottom: 0; }
.marg { font-size: .94em; }
@media (min-width: 1000px) { .artikkel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; } .marg { position: sticky; top: 1rem; } }
details { border-top: 1px solid var(--strek); padding: .8rem 0; }
details:last-of-type { border-bottom: 1px solid var(--strek); }
details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
details[open] summary { margin-bottom: .8rem; }
.grenser { list-style: none; padding: .2rem clamp(1rem, 3vw, 1.5rem); margin: 1rem 0 1.4rem; background: var(--ark); border: 1px solid var(--strek); border-radius: var(--r); box-shadow: var(--skygge); }
.grenser li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--strek); }
.grenser li:last-child { border-bottom: 0; }
.grenser strong { font-weight: 700; }
.grenser cite { font-size: .84rem; color: var(--dempet); }
@media (min-width: 700px) { .grenser li { grid-template-columns: 10.5rem minmax(0, 1fr); } .grenser cite { grid-column: 2; } }
.skive-stor { display: block; width: min(100%, 22rem); margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--natt); color: var(--natt-dempet); margin-top: 0; font-size: .94rem; }
.bunn-inn { max-width: var(--maks); margin: 0 auto; padding: 2.4rem var(--luft) 2rem; display: grid; gap: 1.4rem 3rem; }
.bunn-merke .logo { color: var(--natt-tekst); min-height: 0; padding-bottom: .7rem; }
.bunn-merke p { margin: 0; max-width: 27em; }
.bunn-lenker { display: flex; flex-wrap: wrap; gap: 0 1.5rem; align-content: start; }
.bunn-lenker a { display: inline-flex; align-items: center; color: var(--natt-tekst); text-decoration: none; min-height: 42px; }
.bunn-lenker a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--oransje); text-decoration-thickness: 2px; }
@media (min-width: 800px) { .bunn-inn { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }

.fire-null-fire { text-align: center; padding: 2rem 0; }
.fire-null-fire .stort-tall { font-size: clamp(5rem, 18vw, 9rem); color: var(--natt); margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; animation: none !important; } }
@media print { .topp, .site-footer, .studio-bunn, .banner, .ikke-print { display: none !important; } body { background: #fff; } .sidetopp { border-image: none; color: var(--blekk); margin-top: 0; } .sidetopp h1 { color: var(--blekk); } .sidetopp .lead, .sidetopp p { color: var(--blekk); } }
