@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/manrope-latin.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; }

:root {
  --bg: #040509;
  --surface: #0E1017;
  --line: #1C2030;
  --line-strong: #343A50;
  --ink: #EEF1F8;
  --soft: #C3C9D8;
  --muted: #979DAD;
  --accent: #A9C2FF;
  --accent-ink: #07112B;
  --sapphire: #3B63F0;
  --danger: #E07A7A;
  --warn: #E0B45A;

  --r-box: 16px;
  --r-ctl: 12px;

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --fs-h1: clamp(2.8rem, 6.4vw, 5.4rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: 1.3rem;
  --fs-body: 1.0625rem;
  --fs-small: .92rem;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(4.5rem, 9vw, 7rem);
  --gap: clamp(2rem, 5vw, 4rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.06; letter-spacing: -0.04em; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
em { font-style: normal; color: var(--accent); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { color: var(--soft); font-size: 1.15rem; max-width: 52ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: .8rem 1.1rem; border-radius: var(--r-ctl); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 52px; padding-inline: 1.5rem; border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #BFD1FF; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 44px; padding-inline: 1.1rem; font-size: .95rem; }
.btn .ico { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -.6rem; border-radius: 50%; background: var(--accent-ink); color: var(--accent); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(1.4rem, 3vw, 2.2rem); }
.section.alt .card { background: var(--bg); }

.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section.alt { background: var(--surface); }
.stack { display: grid; gap: var(--gap); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: start; }
.head { display: grid; gap: 1rem; max-width: 40ch; align-content: start; }
.head p { color: var(--muted); font-size: 1.1rem; }
.head p a { color: var(--accent); text-underline-offset: 3px; }
.pris-note { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-small); max-width: 60ch; }
.head .btn { justify-self: start; margin-top: .6rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.rows { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
.rows > li, .rows > details, .rows > a { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: .6rem 2.5rem; padding-block: 1.6rem; align-items: baseline; }
.row p { color: var(--soft); max-width: 58ch; }
.row .pre { color: var(--muted); }
.row .price { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.row .price b { color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; padding-block: 1.3rem; } }

.nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 14px); z-index: 20; margin-top: 14px; view-transition-name: hovedmeny; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding-inline: 18px 8px; background: rgb(17 19 27 / .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-box); }
.logo { display: flex; align-items: baseline; padding-block: .7rem; text-decoration: none; color: var(--ink); font-size: 1.4rem; line-height: 1; }
.logo b { font-weight: 700; letter-spacing: -0.035em; }
.logo i { display: inline-block; width: .3em; height: .3em; margin-left: .2em; background: var(--accent); }
.logo span { margin-left: .18em; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.links { display: flex; gap: 2rem; list-style: none; padding: 0; font-size: .95rem; }
.links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; transition: color .15s; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; align-items: center; gap: .55rem; height: 44px; padding-inline: 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 .95rem/1 var(--font); cursor: pointer; }
.menu-btn .bars { position: relative; width: 16px; height: 10px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s; }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
.mobile-menu { margin-top: .5rem; padding: .6rem; display: grid; gap: .2rem; background: rgb(17 19 27 / .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: 0 24px 60px rgb(0 0 0 / .45); }
.mobile-menu a:not(.btn) { display: grid; gap: .15rem; padding: .9rem 1rem; border-radius: var(--r-ctl); text-decoration: none; color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.mobile-menu small { color: var(--muted); font-size: .88rem; font-weight: 400; }
.mobile-menu a[aria-current="page"] { background: rgb(169 194 255 / .1); box-shadow: inset 2px 0 0 var(--accent); }
.mobile-menu .btn { margin: .5rem .4rem .3rem; }
@media (prefers-reduced-motion: no-preference) { .mobile-menu:not([hidden]) { animation: menuin .28s var(--ease) both; } @keyframes menuin { from { opacity: 0; transform: translateY(-6px); } } }
@media (max-width: 860px) { .links { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 420px) { .nav .go { display: none; } }
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

.hero { position: relative; margin-top: -88px; padding-top: 88px; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 8vw, 6rem); display: grid; gap: 1.6rem; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 38ch; }
.hero .actions { margin-top: 1rem; }
.media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.media picture { position: absolute; top: 0; right: 0; width: 78%; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 22%, rgb(4 5 9 / .55) 42%, rgb(4 5 9 / 0) 62%), linear-gradient(0deg, rgb(4 5 9 / .9) 0%, rgb(4 5 9 / 0) 16%); }
.down { position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem); z-index: 3; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; border: 1px solid rgb(238 241 248 / .28); background: rgb(4 5 9 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; transition: opacity .35s ease, transform .35s var(--ease), border-color .2s; }
.down:hover { border-color: var(--accent); }
.down i { width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); }
.down.gone { opacity: 0; transform: translateY(12px); pointer-events: none; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 120px; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .media img { animation: fadein 1.2s ease-out both; }
  .hero h1, .hero .lead, .hero .actions { animation: rise .9s var(--ease) both; }
  .hero .lead { animation-delay: .08s; } .hero .actions { animation-delay: .14s; }
  .down:not(.gone) i { animation: bob 2.4s ease-in-out infinite; }
  @keyframes rise { from { transform: translateY(14px); opacity: .15; } }
  @keyframes fadein { from { opacity: 0; } }
  @keyframes bob { 50% { transform: translateY(3px) rotate(45deg); } }
}
@media (max-width: 820px) {
  .hero { align-items: end; }
  .media picture { width: 100%; height: 62%; }
  .media img { object-position: 70% center; }
  .media::after { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 40%, rgb(4 5 9 / .3) 70%, rgb(4 5 9 / .6) 100%); }
  .down { display: none; }
}

.strip { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2.5rem; padding-block: 1.5rem; }
.strip p { color: var(--muted); font-size: var(--fs-small); }
.strip ul { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; list-style: none; padding: 0; font-weight: 500; color: var(--soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.grid-3 > article { display: grid; gap: .6rem; align-content: start; padding-block: 1.6rem; border-top: 1px solid var(--line-strong); }
.grid-3 p { color: var(--soft); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.page-top { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.4rem; }
.crumbs { display: flex; gap: .6rem; align-items: center; font-size: var(--fs-small); color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--accent); }
.page-top small { color: var(--muted); font-size: var(--fs-small); }

.tl { position: relative; }
.tl-track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.tl-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--sapphire), var(--accent)); transition: width var(--dur, 4.8s) linear .3s; }
.tl.play .tl-fill { width: 100%; }
.tl-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
.tl-item { position: relative; padding-top: 2.4rem; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: .75rem; align-content: start; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); transition: border-color .15s ease, background-color .15s ease, box-shadow .3s ease; transition-delay: var(--d, .3s); }
.tl.play .tl-item::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgb(169 194 255 / .14); }
.tl-when { color: var(--accent); font-size: var(--fs-small); font-weight: 500; }
.tl-item p { color: var(--muted); }
.tl-item ul { align-self: start; list-style: none; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .95rem; color: var(--soft); }
.tl-item ul li { display: grid; grid-template-columns: .9rem 1fr; gap: .5rem; }
.tl-item ul li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; border-radius: 1px; background: #5C6273; }
.tl.play .tl-item ul li::before { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .tl-fill, .tl-item::before { transition: none !important; } }
@media (max-width: 900px) {
  .tl-track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-fill { width: 100%; height: 0; transition: height var(--dur, 4.8s) linear .3s; }
  .tl.play .tl-fill { height: 100%; }
  .tl-list { grid-template-columns: 1fr; gap: 2.6rem; padding-left: 2.4rem; }
  .tl-item { padding-top: 0; grid-row: auto; grid-template-rows: none; }
  .tl-item::before { left: -2.4rem; top: .1rem; }
}

.rows summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding-block: 1rem; font-size: 1.15rem; font-weight: 500; }
.rows summary::-webkit-details-marker { display: none; }
.rows summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: .3rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.rows details[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.rows summary:hover { color: var(--accent); }
.rows details p { color: var(--soft); padding-bottom: 1.3rem; max-width: 60ch; }

.app { grid-template-columns: 14rem minmax(0, 1fr) 11rem 7rem; text-decoration: none; }
.app .platform { color: var(--soft); font-size: .95rem; }
.app .platform small { display: block; color: var(--muted); }
.app .go-link { justify-self: end; color: var(--accent); font-size: .95rem; white-space: nowrap; }
.app:hover .go-link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr auto; } .app p { grid-column: 1 / -1; } .app .go-link { grid-column: 2; grid-row: 1; } }

.facts { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem 1.5rem; }
.facts dt { color: var(--muted); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: .1rem; } .facts dd { margin-bottom: .6rem; } }

form { display: grid; gap: 1.2rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
label { font-size: var(--fs-small); font-weight: 500; color: var(--soft); }
.opt { color: var(--muted); font-weight: 400; }
abbr[title] { text-decoration: none; color: var(--accent); cursor: help; }
input, textarea, select { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid #262B3A; border-radius: var(--r-ctl); padding: .85rem 1rem; transition: border-color .15s; }
input:hover, textarea:hover, select:hover { border-color: var(--line-strong); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(169 194 255 / .16); }
input[aria-invalid="true"] { border-color: var(--danger); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; }
textarea { min-height: 9rem; resize: vertical; }
.err { color: #F2A3A3; font-size: .86rem; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.send p { color: var(--muted); font-size: var(--fs-small); }
.status { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .85rem 1rem; color: var(--muted); font-size: .95rem; }

.quiz { max-width: 760px; min-height: 22rem; display: grid; }
.q-view, .r-view { display: grid; gap: 1.2rem; align-content: start; }
.q-top { display: flex; justify-content: space-between; align-items: center; min-height: 1.6rem; color: var(--muted); font-size: var(--fs-small); }
.link-btn { background: none; border: 0; padding: .3rem 0; min-height: 44px; color: var(--accent); font: 500 var(--fs-small)/1 var(--font); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.q-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--sapphire), var(--accent)); transition: width .45s var(--ease); }
.q-text { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; min-height: 2.4em; }
.q-hint { color: var(--muted); min-height: 3em; }
.q-answers .btn { min-width: 7rem; }
.q-swap { animation: qin .45s var(--ease) both; }
@keyframes qin { from { opacity: 0; transform: translateY(8px); } }
.r-score { color: var(--muted); font-size: 1.1rem; }
.r-score b { color: var(--ink); font-weight: 300; font-size: 3.6rem; letter-spacing: -0.05em; line-height: 1; margin-right: .3rem; }
.r-verdict { font-size: 1.2rem; }
.r-list { list-style: none; padding: 1.1rem 0 0; display: grid; gap: .9rem; border-top: 1px solid var(--line); }
.r-list li { display: grid; gap: .2rem; padding-left: 1rem; border-left: 2px solid var(--danger); }
.r-list li.usikker { border-left-color: var(--warn); }
.r-list b { font-weight: 500; }
.r-list span { color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .q-swap { animation: none; } .q-bar-fill { transition: none; } }

.narrow { max-width: calc(68ch + 2 * var(--gutter)); }
.pv { padding-block: var(--section); border-top: 1px solid var(--line); }
.prose { display: grid; gap: clamp(2.8rem, 5vw, 3.8rem); }
.prose section { display: grid; gap: 1rem; align-content: start; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2.5rem; padding-block: 1.4rem 1.6rem; font-size: var(--fs-small); }
.foot-co { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; color: var(--muted); }
.foot-co b { color: var(--ink); font-weight: 600; }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; column-gap: 1.6rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .foot { display: grid; grid-template-columns: 1fr; gap: .6rem; } .foot-co { display: grid; gap: .2rem; } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot-co a { color: var(--soft); text-decoration: none; }
.foot-co a:hover { color: var(--accent); }
