/* GinieSystem 2026 — premium produktflate, lett og tilgjengelig */
:root {
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "SF Pro Display", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --accent: #625bf6;
  --accent-2: #24c7b1;
  --accent-deep: #4338ca;
  --accent-soft: rgba(98, 91, 246, .11);
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --surface-3: #e8ebf4;
  --text: #111827;
  --text-dim: #5f6878;
  --line: rgba(17, 24, 39, .09);
  --line-strong: rgba(17, 24, 39, .16);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 18px rgba(16, 24, 40, .05);
  --shadow-lg: 0 32px 80px -30px rgba(33, 35, 74, .34), 0 12px 28px -18px rgba(33, 35, 74, .22);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0e1220;
  --surface: #151a2b;
  --surface-2: #1b2135;
  --surface-3: #252c42;
  --text: #f7f8fc;
  --text-dim: #aab2c2;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --accent: #8d87ff;
  --accent-2: #43d8c1;
  --accent-deep: #7770ff;
  --accent-soft: rgba(141, 135, 255, .15);
  --shadow-sm: 0 6px 24px rgba(0, 0, 0, .22);
  --shadow-lg: 0 36px 90px -34px rgba(0, 0, 0, .72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--accent);
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 999;
  padding: .75rem 1rem; border-radius: 12px; background: var(--text); color: var(--surface);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2));
  gap: clamp(.8rem, 2vw, 2rem);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.rullet { border-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 10px; position: relative;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.55), 0 8px 20px -9px var(--accent);
}
.brand-mark::after { content: ""; position: absolute; width: 9px; height: 9px; right: 5px; top: 5px; border-radius: 4px; background: rgba(255,255,255,.9); }
.brand-name { font: 750 1.05rem/1 var(--display); letter-spacing: -.035em; }
.hovedmeny { margin: auto; min-width: 0; }
.meny-liste { display: flex; align-items: center; list-style: none; gap: clamp(.15rem, 1vw, .8rem); }
.meny-liste a { display: flex; align-items: center; min-height: 44px; padding: 0 .48rem; color: var(--text-dim); text-decoration: none; font-size: .82rem; font-weight: 620; white-space: nowrap; }
.meny-liste a:hover, .meny-liste a[aria-current="true"] { color: var(--text); }
.meny-liste a[aria-current="true"] { box-shadow: inset 0 -2px var(--accent); }
.topp-handlinger { display: flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.toggle-track { width: 38px; height: 24px; padding: 3px; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.toggle-orb { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .35s var(--ease), background .3s; }
:root[data-theme="dark"] .toggle-orb { transform: translateX(14px); background: var(--accent); }
.meny-bryter { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.bryter-strek, .bryter-strek::before, .bryter-strek::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: .25s; }
.bryter-strek { position: relative; }
.bryter-strek::before, .bryter-strek::after { content: ""; position: absolute; left: 0; }
.bryter-strek::before { top: -6px; } .bryter-strek::after { top: 6px; }
.meny-bryter[aria-expanded="true"] .bryter-strek { background: transparent; }
.meny-bryter[aria-expanded="true"] .bryter-strek::before { transform: translateY(6px) rotate(45deg); }
.meny-bryter[aria-expanded="true"] .bryter-strek::after { transform: translateY(-6px) rotate(-45deg); }

.mobilmeny { position: fixed; inset: var(--header-h) 0 auto; z-index: 99; padding: .5rem var(--pad) 1.25rem; background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-8px); transition: .25s var(--ease); }
.mobilmeny.apen { opacity: 1; transform: none; }
.mobilmeny-inn { display: grid; }
.mobilmeny-inn a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.mobilmeny-cta { margin-top: .75rem; justify-content: center; border: 0 !important; }

/* Buttons */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .82rem 1.3rem; border: 0; border-radius: 14px; font-weight: 720; font-size: .92rem; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 12px 30px -15px var(--accent); }
.btn-primary:hover { box-shadow: 0 18px 36px -16px var(--accent); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 76%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-kompakt { min-height: 42px; padding: .65rem 1rem; border-radius: 12px; font-size: .82rem; }

/* Hero */
.hero { min-height: min(920px, 100svh); position: relative; display: grid; place-items: center; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25% -15% auto; height: 92%; z-index: -3; background: radial-gradient(circle at 18% 30%, rgba(98,91,246,.24), transparent 32%), radial-gradient(circle at 80% 24%, rgba(36,199,177,.2), transparent 28%), radial-gradient(circle at 58% 72%, rgba(125,211,252,.16), transparent 30%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 72%); opacity: .4; }
.hero-aurora, .hero-scrim { display: none; }
.hero-inner { width: min(100%, calc(var(--max) + 2 * var(--pad))); padding: clamp(5rem, 9vw, 8rem) var(--pad) 4rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy { min-width: 0; }
.kicker, .section-kicker, .eyebrow { color: var(--accent-deep); font-size: .76rem; line-height: 1.2; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .48rem .72rem; border-radius: 999px; background: var(--accent-soft); margin-bottom: 1.35rem; letter-spacing: .09em; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 18%, transparent); }
.hero-title { max-width: 12ch; font: 780 clamp(3.15rem, 6.4vw, 6.4rem)/.95 var(--display); letter-spacing: -.07em; text-wrap: balance; }
.hero-sub { max-width: 54ch; margin-top: 1.5rem; color: var(--text-dim); font-size: clamp(1.06rem, 1.7vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.35rem; list-style: none; color: var(--text-dim); font-size: .8rem; font-weight: 650; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof li::before { content: "✓"; color: var(--accent-2); font-weight: 900; }

.hero-console { position: relative; border-radius: 28px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 60%, var(--line-strong)); box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.8); backdrop-filter: blur(20px); overflow: hidden; transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-console::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; background: linear-gradient(140deg, rgba(255,255,255,.6), transparent 30%, transparent 70%, rgba(98,91,246,.15)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.console-brand { display: flex; align-items: center; gap: .55rem; font-weight: 750; font-size: .86rem; }
.console-mark { width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(145deg, var(--accent), var(--accent-2)); }
.console-live { display: flex; align-items: center; gap: .4rem; padding: .3rem .58rem; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 12%, transparent); color: color-mix(in srgb, var(--accent-2) 72%, var(--text)); font-size: .7rem; font-weight: 800; }
.console-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 16%, transparent); }
.console-body { padding: 1.15rem; background: color-mix(in srgb, var(--surface-2) 48%, transparent); }
.console-message { display: flex; gap: .8rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.console-avatar { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px; background: var(--surface-2); color: var(--accent-deep); font-weight: 800; }
.console-label { display: block; color: var(--text-dim); font-size: .67rem; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.console-message p { margin-top: .35rem; font-weight: 680; line-height: 1.4; }
.console-route { display: flex; align-items: center; justify-content: center; gap: .28rem; height: 38px; }
.console-route span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: route 1.5s ease-in-out infinite; }
.console-route span:nth-child(2) { animation-delay: .16s; }.console-route span:nth-child(3) { animation-delay: .32s; }
@keyframes route { 0%, 70%, 100% { opacity: .3; transform: scale(.8); } 35% { opacity: 1; transform: scale(1.2); } }
.console-draft { padding: 1rem; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); }
.console-draft-head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 760; font-size: .85rem; }
.console-score { color: var(--accent-deep); font-size: .7rem; }
.console-draft p { margin-top: .55rem; color: var(--text-dim); font-size: .82rem; line-height: 1.5; }
.console-checks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.console-checks span { padding: .32rem .5rem; border-radius: 8px; background: var(--surface); color: var(--text-dim); font-size: .65rem; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.console-checks span::before { content: "✓ "; color: var(--accent-2); }
.console-approval { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; }
.console-approval strong { display: block; margin-top: .22rem; font-size: .84rem; }
.console-button { padding: .62rem .8rem; border-radius: 10px; background: var(--text); color: var(--surface); font-size: .72rem; font-weight: 800; }
.scroll-hint { display: none; }

/* Sections */
.section { width: min(100%, calc(var(--max) + 2 * var(--pad))); margin-inline: auto; padding: clamp(5rem, 10vw, 8rem) var(--pad); position: relative; }
.section-kicker, .eyebrow { margin-bottom: 1rem; }
.section-title, .slik-jobber-vi h2 { max-width: 16ch; font: 760 clamp(2.35rem, 5vw, 4.5rem)/1.02 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.section-lead, .lead, .measure-lead, .contact-lead { max-width: 62ch; margin-top: 1.2rem; color: var(--text-dim); font-size: clamp(1rem, 1.45vw, 1.18rem); }

.nisjevelger { padding-top: 2rem; padding-bottom: 2rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 2rem; }
.nisjevelger .eyebrow { margin: 0; }
.nisje-tittel { font-size: .9rem; color: var(--text-dim); font-weight: 560; }
.niche-nav { grid-column: 1 / -1; }
.niche-switch { display: flex; gap: .45rem; padding: .42rem; overflow-x: auto; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); scrollbar-width: none; }
.niche-switch::-webkit-scrollbar { display: none; }
.niche-pill { position: relative; z-index: 1; min-height: 44px; flex: 1 0 auto; padding: .62rem 1rem; border: 0; border-radius: 12px; background: transparent; color: var(--text-dim); font-size: .8rem; font-weight: 720; cursor: pointer; }
.niche-pill[aria-selected="true"] { color: var(--text); }
.niche-thumb { position: absolute; z-index: 0; top: .42rem; left: 0; height: 44px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), width .45s var(--ease); }

.slik-jobber-vi { width: min(100%, calc(var(--max) + 2 * var(--pad))); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.slik-jobber-vi .wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem 5rem; }
.slik-jobber-vi .eyebrow, .slik-jobber-vi h2, .slik-jobber-vi .lead, .flyt-tittel { grid-column: 1; }
.flyt-tittel { margin-top: 1.2rem; font-weight: 750; }
.flyt { grid-column: 2; grid-row: 1 / span 5; display: grid; gap: .75rem; list-style: none; counter-reset: flyt; }
.trinn { position: relative; display: grid; grid-template-columns: 42px 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1.2rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.trinn:hover, .trinn.paa { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.trinn-nr { grid-row: 1 / span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--surface); color: var(--accent-deep); font-weight: 850; box-shadow: inset 0 0 0 1px var(--line); }
.trinn-merke { font-size: .78rem; letter-spacing: .08em; }
.trinn-synlig { color: var(--text-dim); font-size: .86rem; line-height: 1.45; }
.trinn-mer { grid-column: 3; grid-row: 1 / span 2; }
.trinn-mer summary { width: 44px; height: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.trinn-mer summary::-webkit-details-marker { display: none; }
.pluss { width: 14px; height: 14px; position: relative; }
.pluss::before, .pluss::after { content: ""; position: absolute; background: var(--text); border-radius: 2px; }
.pluss::before { left: 0; top: 6px; width: 14px; height: 2px; }.pluss::after { left: 6px; top: 0; width: 2px; height: 14px; transition: transform .2s; }
.trinn-mer[open] .pluss::after { transform: rotate(90deg); }
.pluss-tekst { display: none; }
.trinn-mer-inn { position: absolute; z-index: 3; top: calc(100% - .35rem); right: 1rem; width: min(360px, calc(100% - 2rem)); padding: 1rem; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.trinn-ill { width: 100%; height: 58px; margin-bottom: .75rem; fill: none; stroke: var(--text-dim); stroke-width: 1.5; }
.trinn-ill .mot, .trinn-ill .hak { stroke: var(--accent); }.trinn-ill .lin { stroke: var(--line-strong); }
.trinn-pluss { color: var(--text-dim); font-size: .82rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillars > .section-kicker, .pillars > .section-title, .pillars > .section-lead { grid-column: 1 / -1; }
.pillars > .section-lead { margin-bottom: 1.5rem; }
.pillar { min-width: 0; padding: 1.5rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar-index { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 850; }
.pillar-body h3 { margin-top: 1.5rem; font: 720 1.35rem/1.15 var(--display); letter-spacing: -.035em; }
.pillar-body p { margin-top: .8rem; color: var(--text-dim); font-size: .9rem; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: 1.2rem; list-style: none; }
.pillar-tags li { padding: .32rem .55rem; border-radius: 8px; background: var(--surface-2); color: var(--text-dim); font-size: .67rem; font-weight: 700; }

.controlroom { width: min(100%, calc(var(--max) + 2 * var(--pad))); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.controlroom .section-title { margin-bottom: 2.5rem; }
.router { display: grid; grid-template-columns: 1fr .92fr 1fr; gap: 1rem; align-items: stretch; padding: 1rem; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.router-stage, .router-core { min-width: 0; padding: 1.25rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.router-core { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.router-label { display: block; margin-bottom: 1rem; color: var(--text-dim); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.router-card { padding: 1rem; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.router-msg { font-weight: 680; line-height: 1.45; }.router-channel { margin-top: .65rem; color: var(--text-dim); font-size: .74rem; }
.router-steps { display: grid; gap: .65rem; list-style: none; counter-reset: steps; }
.router-steps li { position: relative; padding-left: 1.6rem; color: var(--text-dim); font-size: .77rem; }
.router-steps li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 900; }
.router-orbit { display: none; }
.router-approve { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; color: var(--accent-deep); font-size: .74rem; font-weight: 800; }
.approve-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.cases .section-title { margin-bottom: 2.5rem; }
.case-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.case-row { padding: 1.5rem; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.case-row h3 { font: 720 1.16rem/1.25 var(--display); letter-spacing: -.025em; }
.case-row p { margin-top: .7rem; color: var(--text-dim); font-size: .86rem; }

.measure { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; }
.measure > .section-kicker, .measure > .section-title, .measure > .measure-lead, .measure > .measure-niche { grid-column: 1; }
.measure-steps { grid-column: 2; grid-row: 1 / span 4; display: grid; gap: 1rem; align-content: center; }
.measure-step { padding: 1.5rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.measure-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 850; }
.measure-step h3 { margin-top: 1rem; font-size: 1.02rem; }.measure-step p, .measure-niche { margin-top: .55rem; color: var(--text-dim); font-size: .84rem; }
.measure-niche { padding: 1rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }

.pilot { width: min(100%, calc(var(--max) + 2 * var(--pad))); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.pilot-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; counter-reset: pilot; }
.pilot-step { position: relative; padding: 1.5rem; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.pilot-step:not(:last-child)::after { content: "→"; position: absolute; top: 1.45rem; right: -1.1rem; z-index: 2; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-weight: 800; }
.pilot-num { color: var(--accent-deep); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.pilot-step h3 { margin-top: 1rem; font-size: 1.2rem; }.pilot-step p { margin-top: .5rem; color: var(--text-dim); font-size: .86rem; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem 5rem; }
.faq > .section-kicker, .faq > .section-title { grid-column: 1; }
.faq-list { grid-column: 2; grid-row: 1 / span 3; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-weight: 720; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-inn { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item[open] .faq-inn { grid-template-rows: 1fr; }
.faq-inn > div { overflow: hidden; }.faq-inn p { padding: 0 2rem 1.35rem 0; color: var(--text-dim); font-size: .9rem; }

.contact { width: min(100%, calc(var(--max) + 2 * var(--pad))); display: grid; grid-template-columns: .82fr 1.18fr; gap: 2rem 5rem; box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.contact > .section-kicker, .contact > .section-title, .contact > .contact-lead { grid-column: 1; }
.contact-form { grid-column: 2; grid-row: 1 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: .42rem; align-content: start; }.field-full, .form-note, .contact-form > .btn, .form-status { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--text-dim); font-size: .72rem; }.form-note a { color: var(--accent-deep); }
.contact-form > .btn { width: 100%; }
.field-feil { min-height: 1rem; color: #b42318; font-size: .72rem; font-weight: 650; }
.field.har-feil input, .field.har-feil textarea { border-color: #d92d20; }
.form-status { font-weight: 700; font-size: .84rem; }.form-status[data-type="ok"] { color: #087d68; }.form-status[data-type="feil"] { color: #b42318; }
.btn-spinner { width: 14px; height: 14px; margin-right: .5rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }

.resultat-kort { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }.resultat { padding: 1.5rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }.resultat-tall { color: var(--accent-deep); font-size: 2.5rem; font-weight: 820; }.resultat-merke { color: var(--text-dim); font-size: .72rem; text-transform: uppercase; }.resultat cite { font-style: normal; font-weight: 700; }
.om-oss { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1rem 4rem; }.om-oss .section-kicker, .om-oss .section-title { grid-column: 1; }.om-lead, .om-note { grid-column: 2; color: var(--text-dim); }.om-lead { grid-row: 1 / span 2; font-size: 1.1rem; }.om-note { margin-top: 1rem; }
.slutt-cta { padding-block: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }.slutt-linje { max-width: 28ch; font: 720 clamp(1.5rem, 3vw, 2.5rem)/1.1 var(--display); letter-spacing: -.04em; }

.site-footer { padding: 3rem max(var(--pad), calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: auto 1fr; gap: .7rem 2rem; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer > a { color: var(--text-dim); text-decoration: none; font-size: .82rem; }.footer-line { color: var(--text-dim); font-size: .82rem; }.footer-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1rem; }.footer-nav a { color: var(--text-dim); text-decoration: none; font-size: .75rem; }.footer-nav a:hover { color: var(--text); }.footer-seo { grid-column: 1 / -1; max-width: 80ch; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-dim); font-size: .7rem; }

.til-toppen { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px); cursor: pointer; transition: .2s; }.til-toppen.synlig { opacity: 1; transform: none; }.til-toppen span { width: 10px; height: 10px; border-left: 2px solid var(--text); border-top: 2px solid var(--text); transform: translateY(2px) rotate(45deg); }

/* Motion and progressive enhancement */
html.js [data-inn] { animation: enter .7s var(--ease) both; }
html.js [data-inn="1"] { animation-delay: .06s; } html.js [data-inn="2"] { animation-delay: .13s; } html.js [data-inn="3"] { animation-delay: .2s; } html.js [data-inn="4"] { animation-delay: .27s; } html.js [data-inn="5"] { animation-delay: .34s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); } html.js [data-reveal].is-visible { opacity: 1; transform: none; }
.morphing { opacity: .35; transition: opacity .25s; }.morphing-in { opacity: 1; }
.theme-transition, .theme-transition * { transition-property: background-color, color, border-color, box-shadow !important; transition-duration: .45s !important; }
@supports (content-visibility: auto) { .pillars, .controlroom, .cases, .measure, .pilot, .faq, .contact, .om-oss, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 760px; } }

@media (max-width: 1040px) {
  .hovedmeny { display: none; }.meny-bryter { display: grid; }.cta-topp { display: none; }
  .hero-grid { grid-template-columns: 1fr; }.hero-copy { max-width: 760px; }.hero-title { max-width: 11ch; }.hero-console { width: min(100%, 660px); transform: none; }
  .pillars { grid-template-columns: 1fr; }.pillar { display: grid; grid-template-columns: 50px 1fr; gap: 0 1rem; }.pillar-index { grid-row: 1 / span 3; }.pillar-body h3 { margin-top: 0; }
  .slik-jobber-vi .wrap, .faq, .contact, .measure { grid-template-columns: 1fr; }
  .slik-jobber-vi .eyebrow, .slik-jobber-vi h2, .slik-jobber-vi .lead, .flyt-tittel, .flyt, .faq > .section-kicker, .faq > .section-title, .faq-list, .contact > .section-kicker, .contact > .section-title, .contact > .contact-lead, .contact-form, .measure > .section-kicker, .measure > .section-title, .measure > .measure-lead, .measure > .measure-niche, .measure-steps { grid-column: 1; grid-row: auto; }
  .flyt, .faq-list, .contact-form, .measure-steps { margin-top: 1.5rem; }
  .router { grid-template-columns: 1fr; }.router-core { order: 2; }.router-out { order: 3; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .site-header { padding-inline: 1rem; }.theme-toggle { display: none; }
  .hero { min-height: auto; }.hero-inner { padding-top: 4.5rem; }.hero-title { font-size: clamp(2.9rem, 14vw, 4.7rem); }.hero-sub { font-size: 1rem; }.hero-actions { display: grid; }.hero-actions .btn { width: 100%; }
  .hero-console { border-radius: 20px; }.console-checks { display: none; }.console-approval { align-items: flex-end; }.console-button { padding: .55rem .65rem; }
  .section { padding-block: 4.5rem; }.nisjevelger { padding-block: 1.5rem; grid-template-columns: 1fr; }.nisje-tittel { display: none; }.niche-nav { grid-column: 1; }.niche-pill { flex: 0 0 auto; }
  .section-title, .slik-jobber-vi h2 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .trinn { grid-template-columns: 36px 1fr auto; padding: 1rem; }.trinn-nr { width: 36px; height: 36px; }.trinn-synlig { font-size: .78rem; }.trinn-mer summary { width: 40px; height: 40px; }
  .pillar { display: block; }.pillar-body h3 { margin-top: 1.2rem; }
  .case-rows, .pilot-track { grid-template-columns: 1fr; }.pilot-step:not(:last-child)::after { content: "↓"; top: auto; right: 1.25rem; bottom: -1.15rem; }
  .contact-form { grid-template-columns: 1fr; padding: 1.1rem; }.field, .field-full { grid-column: 1; }
  .om-oss { grid-template-columns: 1fr; }.om-oss .section-kicker, .om-oss .section-title, .om-lead, .om-note { grid-column: 1; grid-row: auto; }
  .slutt-cta { align-items: flex-start; flex-direction: column; }.slutt-cta .btn { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }.footer-nav { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 1rem; }.footer-seo { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (prefers-contrast: more) { :root { --line: rgba(17,24,39,.3); --line-strong: rgba(17,24,39,.5); }.btn, .pillar, .case-row, .router, input, textarea { border-width: 2px; } }
@media (forced-colors: active) { .btn, .pillar, .case-row, .router, input, textarea { border: 1px solid ButtonText; }.brand-mark, .console-mark { forced-color-adjust: none; } }
