@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900; src: url(../fonts/fraunces-latin-opsz-italic.woff2) format("woff2-variations"), url(../fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Stabel – Hydroponikeren 4T. Tokens fra kit/design-tokens.md (mørkt standard, lyst ved prefers-color-scheme: light). */
:root {
  --bg: #1c1a17; --bg-2: #221f1b; --surface: rgba(255,252,247,.045); --surface-2: rgba(255,252,247,.08);
  --ink: #faf7f1; --muted: #c9c3b6; --line: rgba(255,252,247,.13); --line-2: rgba(255,252,247,.28);
  --red: #c81e2a; --red-deep: #9a1520; --em: #e45a4c; --em-ink: #f07a6c; --green: #7fbf8a; --green-2: #3d8c52;
  --chip: rgba(28,26,23,.55); --stage-a: #2a2621; --stage-b: #1c1a17; --tag-bg: rgba(228,90,76,.14); --tag-ink: #f0a198;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem); --max: 76rem; --nav-h: 4.5rem; --r: 22px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #efe8da; --bg-2: #f7f3eb; --surface: #fffcf7; --surface-2: #f7f2e9;
    --ink: #161513; --muted: #4a453d; --line: rgba(22,21,19,.12); --line-2: rgba(22,21,19,.3);
    --em: #c81e2a; --em-ink: #c81e2a; --green: #2f6b3f; --chip: rgba(255,252,247,.78); --stage-a: #f7f2e8; --stage-b: #e6ddcb;
    --tag-bg: rgba(200,30,42,.09); --tag-ink: #9a1520;
    color-scheme: light;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--em); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--red); color: #fffcf7; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; margin: 0; font-variation-settings: "opsz" 144; }
h1 em, h2 em { font-weight: 400; color: var(--em); }
.eyebrow { margin: 0 0 1rem; font-size: 10.88px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.lede { margin: 1rem 0 0; font-size: 17.6px; line-height: 1.5; color: var(--muted); max-width: 36rem; }
.fine { margin: .75rem 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine code { font-size: 12px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.fine--center { text-align: center; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--tag-bg); color: var(--tag-ink); font-size: 12px; font-weight: 600; }

/* ---- Knapper -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13.6px 23.2px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; font-size: 15.2px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s; }
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); border-color: var(--red); color: #fffcf7; box-shadow: 0 10px 26px -12px rgba(200,30,42,.7); }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { background: var(--surface); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14.4px; }
.link-btn { border: 0; background: none; padding: 6px 4px; font-weight: 600; font-size: 14px; color: var(--em-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Navigasjon ----------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--nav-h); display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter); transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__brand { font-family: var(--serif); font-size: 18.4px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; margin: 0; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 1080px) { .nav nav { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 359px) { .nav__cta { padding: 9px 14px; font-size: 13.5px; } .nav { gap: .75rem; } }

/* ---- Hero / stabler ------------------------------------------------------- */
.hero { position: relative; display: grid; gap: 1.25rem; padding: calc(var(--nav-h) + .5rem) var(--gutter) 2.5rem;
  background: radial-gradient(75% 60% at 62% 38%, color-mix(in srgb, var(--bg-2) 80%, transparent), transparent 60%), var(--bg);
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "panel"; max-width: 1600px; margin: 0 auto; }
.hero__copy { grid-area: copy; }
.hero h1 { font-size: clamp(2.35rem, 9vw, 66.4px); line-height: .98; letter-spacing: -0.04em; }
.hero h1 em { display: block; }
.stage { grid-area: stage; position: relative; height: min(74svh, 640px); min-height: 420px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 42%, var(--stage-a), var(--stage-b)); border: 1px solid var(--line); isolation: isolate; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage__poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-size: 14px; transition: opacity .5s var(--ease); }
.stage[data-state="ready"] .stage__poster { opacity: 0; pointer-events: none; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--em); animation: spin .9s linear infinite; }
.stage[data-state="error"] .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; z-index: 2; margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--chip); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip svg { color: var(--green); }
.chip--tl { top: 14px; left: 14px; } .chip--tr { top: 14px; right: 14px; }
.ruler { position: absolute; z-index: 1; left: 0; top: 0; width: 1px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.stage[data-state="ready"] .ruler { opacity: 1; }
.ruler__line { position: absolute; inset: 0; border-left: 1px dashed var(--line-2); }
.ruler__line::before, .ruler__line::after { content: ""; position: absolute; left: -5px; width: 9px; border-top: 1px solid var(--line-2); }
.ruler__line::before { top: 0; } .ruler__line::after { bottom: 0; }
.ruler__label { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); }
.grip { position: absolute; z-index: 3; left: 0; top: 0; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--chip); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600;
  touch-action: none; cursor: ns-resize; opacity: 0; transition: opacity .4s, background .2s, box-shadow .2s; box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); }
.stage[data-state="ready"] .grip { opacity: 1; }
.grip:hover, .grip.is-drag { background: var(--red); color: #fffcf7; border-color: var(--red); }
.grip::after { content: ""; position: absolute; left: 50%; bottom: -14px; height: 12px; border-left: 1px solid var(--line-2); }
.stage__tools { position: absolute; z-index: 2; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: nowrap; max-width: calc(100% - 20px); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tool { flex: none; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.tool[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stage__hint { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font-size: 12px; color: var(--muted); padding: 0 10px; }

.panel { grid-area: panel; padding: 1.25rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1.1rem; align-content: start; }
.panel__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.panel__kicker { margin: 0; font-size: 12.48px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel__model { margin: 0; font-family: var(--serif); font-size: 38px; line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; }
.panel__model small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: .3em; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.step { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 22px; font-weight: 500; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s var(--ease); }
.step:hover:not(:disabled) { background: var(--surface); transform: scale(1.06); }
.step:active:not(:disabled) { transform: scale(.94); }
.step:disabled { opacity: .32; cursor: default; }
.step__val { min-width: 2ch; text-align: center; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.stepper--sm .step { width: 38px; height: 38px; font-size: 19px; }
.range { display: block; }
.range input { width: 100%; height: 32px; margin: 0; accent-color: var(--red); cursor: pointer; }
.range__ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 0 2px; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--bg-2); padding: .7rem .9rem; }
.facts dt { font-size: 12px; color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.facts sup a { font-family: var(--sans); font-size: 12px; text-decoration: none; color: var(--em); padding: 0 3px; }
.tick { display: inline-block; }
.tick--on { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(6px); } }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .extras summary { padding: 0; margin-bottom: .5rem; font-size: 13.5px; font-weight: 600; display: flex; gap: .5rem; align-items: baseline; width: 100%; }
.field__val { font-weight: 500; color: var(--muted); margin-left: auto; }
.field__note { margin: .5rem 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12px; color: var(--muted); line-height: 1.25; transition: border-color .2s, background .2s; }
.seg strong { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.seg input:checked + span { border-color: var(--green-2); background: color-mix(in srgb, var(--green-2) 14%, var(--surface)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--green-2); }
.seg input:focus-visible + span { outline: 2.5px solid var(--em); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 13px 6px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.swatch__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(127,127,127,.45); }
.swatch[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.extras { border-top: 1px solid var(--line); padding-top: .9rem; }
.extras summary { cursor: pointer; list-style: none; margin: 0; min-height: 28px; align-items: center; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 15px; transition: transform .25s var(--ease); }
.extras[open] summary::before { transform: rotate(45deg); }
.extras__body { padding-top: .6rem; display: grid; gap: .4rem; }
.extra-row { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; font-size: 14px; font-weight: 500; }
.extra-row select { min-width: 0; width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13.5px; }
.price { border-top: 1px solid var(--line); padding-top: .9rem; }
.price__total { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.price__calc { margin: .3rem 0 0; font-size: 13px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn { flex: 1 1 auto; }

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr); grid-template-areas: "stage copy" "stage panel"; grid-template-rows: auto 1fr; column-gap: 2.5rem; row-gap: 1.4rem; padding-bottom: 3rem; }
  .stage { height: auto; min-height: 640px; max-height: calc(100svh - var(--nav-h) - 1.5rem); position: sticky; top: calc(var(--nav-h) + .5rem); align-self: start; height: calc(100svh - var(--nav-h) - 1.5rem); }
  .hero__copy { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 4.2vw, 62px); }
  .panel { padding: 1.5rem; }
}

/* ---- Seksjoner ------------------------------------------------------------ */
.section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.section--alt { background: var(--bg-2); }
.section--dark { background: #1c1a17; color: #faf7f1; --muted: #c9c3b6; --line: rgba(255,252,247,.13); --em: #e45a4c; --green: #7fbf8a; --surface: rgba(255,252,247,.05); }
.section__inner { max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section h2 { font-size: clamp(2rem, 5.4vw, 52px); line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { padding: 1.4rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.card__num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--green); }
.card h3 { font-size: 24px; margin: .6rem 0 .4rem; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ladder { margin-top: 2.5rem; }
.ladder__title { font-size: 22px; margin-bottom: .9rem; }
.ladder__title span { font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.ladder__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.ladder__table th, .ladder__table td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ladder__table thead th { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ladder__table tbody th { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.ladder__table tbody tr:last-child > * { border-bottom: 0; }
.ladder__table tr.is-on { background: color-mix(in srgb, var(--green-2) 14%, transparent); }
.ladder__table tr.is-on th::after { content: " ← nå"; font-family: var(--sans); font-size: 12px; color: var(--green); font-weight: 600; }
.models { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.model { padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.model--feature { border-color: var(--green-2); box-shadow: inset 0 0 0 1px var(--green-2); }
.model .model__code { margin: 0; font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: var(--em); }
.model h3 { font-size: 22px; }
.model p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.model .btn { margin-top: .6rem; }
.how { display: grid; gap: 2.5rem; align-items: center; }
.how__fig { margin: 0; justify-self: center; max-width: 340px; }
.how__fig img { border-radius: 28px; background: var(--surface); }
.how__fig figcaption { font-size: 13px; color: var(--muted); margin-top: .6rem; text-align: center; }
@media (min-width: 900px) { .how { grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 4rem; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.4rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--serif); font-size: 18px; }
.steps h3 { font-size: 22px; } .steps p { margin: .2rem 0 0; color: var(--muted); }
.phones { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); align-items: start; max-width: 60rem; margin: 0 auto; }
.phone { margin: 0; }
.phone__frame { border-radius: 34px; padding: 9px; background: #0f0e0c; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); max-width: 300px; margin: 0 auto; }
.phone__frame img { border-radius: 26px; width: 100%; aspect-ratio: 540 / 900; object-fit: cover; object-position: top; }
.phone figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: .9rem; }
.phone figcaption strong { display: block; color: #faf7f1; font-family: var(--serif); font-weight: 500; font-size: 20px; }
@media (min-width: 900px) { .phone--mid { transform: translateY(-1.5rem); } }
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; } .split--wide { align-items: start; } }
.note { padding: 1.6rem; border-radius: var(--r); border: 1px dashed var(--line-2); background: var(--surface); }
.note h3 { font-size: 22px; margin-bottom: .5rem; } .note p { margin: 0; color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.specs th, .specs td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 1rem; }
.specs sup a { color: var(--em); text-decoration: none; padding: 0 3px; }
.box { padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.box h3 { font-size: 24px; margin-bottom: .8rem; }
.box__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.box__list li { display: flex; gap: .7rem; align-items: baseline; }
.box__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); transform: translateY(-2px); }
.faq-wrap { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 22px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 1.2rem; color: var(--muted); max-width: 44rem; }
.footer { padding: 3rem var(--gutter) 7rem; border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--max); margin: 0 auto; }

/* ---- Kjøpslinje ----------------------------------------------------------- */
.buybar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.buybar__inner { pointer-events: auto; max-width: 46rem; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
  transform: translateY(140%); transition: transform .45s var(--ease); }
.buybar.is-on .buybar__inner { transform: none; }
.buybar__info { flex: 1; min-width: 0; }
.buybar__model { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.buybar .stepper { padding: 2px; }
@media (max-width: 420px) { .buybar__inner { padding-left: 14px; gap: 6px; } .buybar .btn { padding: 10px 14px; font-size: 13.5px; } .buybar .stepper--sm .step { width: 34px; height: 34px; } }
@media (max-width: 340px) { .buybar .stepper { display: none; } }
.table-wrap { max-width: 100%; position: relative; }
@media (max-width: 560px) {
  .ladder__table { font-size: 14px; }
  .ladder__table th, .ladder__table td { padding: .65rem .55rem; }
  .ladder__table th:first-child, .ladder__table td:first-child { padding-left: .9rem; }
  .ladder__table tbody th { font-size: 16px; }
  .ladder__table tr.is-on th::after { content: ""; }
}
.split > *, .how > * { min-width: 0; }
.specs td { overflow-wrap: anywhere; }

/* v2 */
.link-btn { min-width: 44px; min-height: 44px; padding: 10px 8px; display: inline-flex; align-items: center; justify-content: center; }
.rec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.rec__text { margin: 0; font-size: 14px; line-height: 1.45; flex: 1 1 14rem; }
.rec.is-off { border-color: var(--em); }
.rec.is-off #rec-status { color: var(--em); font-weight: 600; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 14px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; }
.btn--small[hidden] { display: none; }
@media (max-width: 359.98px) { .chip__setup { display: none; } }
.stage.is-top .ruler { opacity: 0; transition: opacity .3s; }
/* v2: alle touch-mål ≥ 44 px */
.btn--sm, .grip, .tool, .swatch { min-height: 44px; }
.stepper--sm .step, .buybar .stepper--sm .step { width: 44px; height: 44px; }
.extras summary { min-height: 44px; display: flex; }
@media (max-width: 420px) { .buybar .btn { min-height: 44px; } }
.stage.is-top .grip { visibility: hidden; opacity: 0; }

/* ---- v3 ---------------------------------------------------------------- */
.range input { height: 44px; }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; }
.src { color: var(--muted); font-size: .9em; }

/* «+8 plasser · +500 kr» når en modul legges på */
.delta { position: absolute; z-index: 3; left: 50%; top: 58px; margin: 0; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  padding: 5px 12px; border-radius: 999px; background: var(--em); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.delta.is-on { opacity: 1; transform: translate(-50%, 0); }
.stage.is-top .delta { display: none; }
@media (prefers-reduced-motion: reduce) { .delta { transition: none; } }

/* Én modul til = … */
.permod { margin-top: 2.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2); }
.permod__title { margin: 0 0 .9rem; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.permod__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .permod__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.permod__tile { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.permod__ico { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--em); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.permod__tile strong { font-size: 20px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.permod__tile span { font-size: 13px; color: var(--muted); }
.permod__tile--same .permod__ico { stroke: var(--muted); }
.permod__live { margin: .9rem 0 0; font-size: 14.5px; color: var(--muted); }
.permod__live strong { color: var(--ink); }

/* Sammenligning 4T4 → 4T10 */
.compare__hint { margin: .25rem 0 1rem; font-size: 13.5px; color: var(--muted); }
.compare { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; align-items: end; }
.cmp { width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border: 1px solid transparent; border-radius: 14px; background: none; color: inherit; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.cmp:hover { background: var(--surface-2); }
.cmp.is-on { border-color: var(--em); background: color-mix(in srgb, var(--em) 9%, transparent); }
.cmp__bar { --H: clamp(150px, 34vw, 230px); height: calc(var(--H) * var(--h)); width: min(34px, 72%); display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 6px; }
.cmp__stack { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; padding: 0 8%; }
.cmp__mod { flex: 1; border-radius: 4px; background: var(--line-2); transform-origin: bottom; transition: background .25s; }
.cmp.is-on .cmp__mod { background: var(--em); animation: cmp-in .35s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.cmp__tank { height: 18%; min-height: 14px; margin-top: 2px; border-radius: 6px; background: var(--muted); opacity: .55; }
.cmp__name { font-weight: 700; font-size: 14px; }
.cmp__meta { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp__price { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes cmp-in { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cmp.is-on .cmp__mod { animation: none; } }
@media (max-width: 420px) { .cmp__meta { font-size: 10px; } .cmp__price { font-size: 10.5px; } .cmp__name { font-size: 12.5px; } .compare { gap: 2px; } .cmp { padding: 6px 0; } }
.compare > li { min-width: 0; }
.cmp { text-align: center; line-height: 1.2; }
@media (max-width: 420px) { .cmp__meta, .cmp__price { white-space: normal; } }
/* 320–420 px: la sammenligningen gå nesten kant i kant, så hver søyle er ≥ 44 px bred */
@media (max-width: 420px) { .compare { gap: 0; margin-inline: calc(4px - var(--gutter)); } }

/* ---- v4 ---------------------------------------------------------------- */
@media (max-width: 420px) {
  .extra-row { grid-template-columns: 1fr auto; row-gap: .45rem; }
  .extra-row > span:empty { display: none; }
  .extra-row select { grid-column: 1 / -1; order: 1; min-height: 44px; font-size: 15px; }
}
.extra-row select { color: var(--ink); }
@media (max-width: 359px) { .cmp__h { display: none; } }
.url-note { position: absolute; z-index: 4; left: 50%; top: 58px; transform: translateX(-50%); width: min(92%, 420px); display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); font-size: 13px; line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: opacity .35s var(--ease); }
.url-note.is-out { opacity: 0; }
.url-note span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.url-note__x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.url-note__x:hover { background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .url-note { transition: none; } }
.url-note[hidden] { display: none; }

/* ---- v5 ---------------------------------------------------------------- */
.stage:focus { outline: none; }
.stage:focus-visible { outline: 2px solid var(--em-ink); outline-offset: 3px; }
.steps .src, li > .src { margin: .35rem 0 0; font-size: 12.5px; }
@media (max-width: 359px) {
  .extras summary { flex-wrap: wrap; row-gap: 0; padding: 6px 0; }
  .extras summary .field__val { flex-basis: 100%; margin-left: 30px; }
}
