/* ============================================================================
   Nrth AI — felles designsystem (v3, lys)
   Hvit bakgrunn, Figtree, svart og hvitt med oransje bare som signalfarge.
   Innhold glir inn mens man ruller (assets/reveal.js). Uten JavaScript, og med
   «redusert bevegelse», vises alt ferdig med en gang.
   Endres denne filen: bytt ?v=… i lenken til site.css på sidene og i api/_lib/form.js, så ingen får gammel CSS.
   ========================================================================== */

/* ───── Fonter ───── */
/* Figtree ligger på nrth.no (assets/fonts/, SIL Open Font License, se OFL-Figtree.txt).
   Samme filer og tegnsett som Google Fonts leverte, en variabel font (vekt 300–900) som brukes i alt.
   Satoshi (logoen) kommer fra Fontshare, se <head>. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-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: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-footer: #f9f9f9;
  --ink: #0a0a0a;
  --ink-hover: #2a2a2a;
  --fg: #0a0a0a;
  --fg-2: #333333;
  --fg-dim: #666666;
  --line: #ececec;
  --line-2: #dedede;
  --skeleton: #e6e6e6;
  --accent: #ff8a5b;
  --accent-ink: #e2562b;
  --on-dark-dim: rgba(255, 255, 255, 0.66);
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1140px;
  --gutter: 32px;
  --gap: 160px;
  --gap-compact: 96px;
  --r-btn: 12px;
  --r-btn-lg: 16px;
  --r-card: 24px;
  --r-panel: 32px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 28px 64px -18px rgba(0, 0, 0, 0.16);
  --shadow-mock: 0 1px 2px rgba(0, 0, 0, 0.05), 0 18px 40px -16px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: #0a0a0a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: #fff; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark { --focus: #ffffff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }

.visually-hidden {
  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: absolute; left: 16px; top: -64px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-btn); font-weight: 600; font-size: 15px;
}
.skip-link:focus { top: 16px; }

/* ───────── Avsløring ved rulling ───────── */
/* Animasjonen bruker egenskapen translate, så transform er ledig for hover. */
.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: reveal 0.85s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes reveal {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

/* ───────── Logo ───────── */
.logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; }
.logo-mark {
  font-family: "Satoshi", var(--sans);
  font-weight: 900; font-size: 20px; line-height: 1;
  letter-spacing: -0.04em; color: var(--accent);
}
.logo-word {
  font-family: "Satoshi", var(--sans);
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink);
}

/* ───────── Knapper og lenker ───────── */
.btn,
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px;
  border-radius: var(--r-btn-lg);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.btn { background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.link-arrow {
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color 0.2s ease;
}
.link-arrow:hover { text-decoration-color: currentColor; }

/* ───────── Meny ───────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
  padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.js .site-nav:not(.is-scrolled) { border-bottom-color: transparent; }
.nav-right { flex: 1; display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15.5px; font-weight: 500; color: var(--fg-2); white-space: nowrap; transition: color 0.2s ease; }
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav-right > .nav-link:first-child { margin-left: auto; }
.nav-link.lang-switch { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.nav-cta {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  background: var(--ink); color: #fff; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color 0.2s ease;
}
.nav-cta:hover { background: var(--ink-hover); }

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.nav-toggle .bar {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ───────── Forsidehero ───────── */
/* Heroen glir opp ved lasting, uten å tone inn: tittelen er sidens største innhold (LCP),
   og nettleseren teller den først når den er synlig. Starter den usynlig, måles LCP over ett sekund senere. */
.hero { padding: 104px 0 0; text-align: center; }
.hero .wrap > * { animation: rise 0.9s var(--ease) both; }
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero .lede { animation-delay: 0.22s; }
.hero .hero-actions { animation-delay: 0.32s; }
.hero .hero-subtag { animation-delay: 0.4s; }
@keyframes rise {
  from { translate: 0 28px; }
  to { translate: 0 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 14px; font-weight: 500; color: var(--fg-2);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.2);
}
h1 {
  margin: 28px auto 0; max-width: 940px;
  font-size: clamp(44px, 6.6vw, 84px); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede {
  margin-top: 20px; max-width: 580px;
  font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--fg-dim);
  text-wrap: pretty;
}
.hero .lede { margin: 26px auto 0; max-width: 620px; font-size: clamp(18px, 1.6vw, 20px); }
.hero-actions {
  margin-top: 38px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px;
}
.hero .hero-actions { justify-content: center; }
.hero-subtag { margin-top: 20px; font-size: 14px; color: var(--fg-dim); }

/* ───────── Sidehero (undersider) ───────── */
.page-hero { padding: 88px 0 0; }
.page-hero .wrap > * { animation: rise 0.9s var(--ease) both; }
.page-hero .kicker { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.12s; }
.page-hero .lede { animation-delay: 0.22s; }
.page-hero .btn,
.page-hero .btn-ghost,
.page-hero .hero-actions { animation-delay: 0.32s; }
.page-hero h1 { margin: 0; max-width: 820px; font-size: clamp(40px, 5.6vw, 72px); }
.page-hero .kicker + h1 { margin-top: 4px; }
.page-hero .lede { max-width: 640px; }
.page-hero .btn,
.page-hero .btn-ghost { margin-top: 36px; }
.page-hero:last-child { padding-bottom: var(--gap); }

/* ───────── Seksjoner ───────── */
/* Avstanden ligger på toppen av hver seksjon, så den kan variere etter hva som står over. */
.section { padding-top: var(--gap); }
.section--compact { padding-top: var(--gap-compact); }
.hero + .section { padding-top: 128px; }
.page-hero + .section { padding-top: 64px; }
main > .section:last-child { padding-bottom: var(--gap); }
.section-header { max-width: 780px; }
.kicker { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
h2 {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 700;
  line-height: 1.03; letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-intro { margin-top: 22px; max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--fg-dim); }
.section-actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.section-actions p { color: var(--fg-dim); font-size: 16px; }

/* ───────── Kort ───────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.section-header + .card-grid,
.section-intro + .card-grid { margin-top: 56px; }
.card,
.service-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease;
}
.card:hover,
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-card); transform: translateY(-4px); }
.card-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.tag { padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--ink); }
.card h2,
.card h3,
.service-card h2 { margin-top: 18px; font-size: 26px; font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
.card p,
.service-card .desc { font-size: 16px; color: var(--fg-dim); }
.card--compact { gap: 10px; }
.card--compact h2,
.card--compact h3 { margin-top: 14px; font-size: 23px; }
.door-list { list-style: none; margin-top: auto; padding-top: 8px; }
.door-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; font-weight: 500;
}
.door-list li:first-child { border-top: 1px solid var(--line); }
.door-list .arrow { color: var(--fg-dim); }
.door-list .dur { margin-left: auto; padding-left: 8px; font-size: 14px; color: var(--fg-dim); white-space: nowrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.card-foot .link-arrow { font-size: 15px; letter-spacing: 0; }

/* Tjenestekort: «Inkludert»-liste og leveranse, investering og passer for. */
.service-card .included-label { margin-top: 8px; }
.service-card .included li { font-size: 15.5px; padding: 11px 0; }
.service-meta-group { margin-top: auto; padding-top: 20px; display: grid; gap: 14px; }
.service-meta { display: grid; gap: 3px; }
.service-meta .label { font-size: 13px; font-weight: 600; color: var(--fg-dim); }
.service-meta .value { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
/* «Passer for» og «Passer ikke for» er tekst, ikke tall: vanlig vekt fra tredje linje */
.service-meta:nth-child(n+3) .value { font-weight: 400; color: var(--fg-2); }

/* Lister med hake: «I møtet» og «Inkludert». */
.included-label { margin-top: 40px; font-size: 14px; font-weight: 700; }
.included { list-style: none; margin-top: 12px; }
.included li {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--line); font-size: 17px;
}
.included li:first-child { border-top: 1px solid var(--line); }
.included .arrow {
  flex: none; width: 20px; height: 20px; border-radius: 50%; overflow: hidden;
  color: transparent; font-size: 0;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.6 10.4l2.9 2.9 5.9-6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 20px no-repeat;
}

/* ───────── Slik jobber vi: steg som kommer mens man ruller ───────── */
.process { --step-gap: 128px; list-style: none; margin-top: 88px; }
.process-step {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start;
  padding-left: 92px;
}
.process-step + .process-step { margin-top: var(--step-gap); }
.process-step:nth-child(even) .step-text { order: 2; }

/* Tidslinjen: sirkel per steg og en linje ned til neste som fylles med svart. */
.numeral {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); border: 1px solid var(--ink); color: #fff;
  font-size: 15px; font-weight: 600;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.js .process-step:not(.is-active) .numeral { background: #fff; border-color: var(--line-2); color: var(--fg-dim); }
.js .process-step.is-active .numeral { box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.06); }
.step-line {
  position: absolute; left: 21px; top: 44px; width: 2px;
  height: calc(100% - 44px + var(--step-gap));
  background: var(--line); overflow: hidden;
}
.process-step:last-child .step-line { display: none; }
.step-line > span {
  position: absolute; inset: 0; background: var(--ink);
  transform-origin: top; transform: scaleY(1);
}
.js .step-line > span { transform: scaleY(var(--p, 0)); }

.step-text { padding-top: 6px; max-width: 440px; }
.step-label { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.step-label .dur { color: var(--fg-dim); font-weight: 600; }
.step-text p { margin-top: 14px; font-size: 17px; color: var(--fg-dim); }

/* Illustrasjonene: skjelett-grensesnitt uten tekst. Sluttilstanden er standard,
   startilstanden gjelder bare med JavaScript før steget er synlig. */
.step-visual {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 5 / 4; padding: 40px;
  border-radius: var(--r-card); background: var(--bg-soft);
}
.mock {
  width: 100%; max-width: 380px;
  padding: 22px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-mock);
}
.mock-title { display: block; width: 42%; height: 10px; border-radius: 6px; background: var(--ink); opacity: 0.85; }
.mock-sub { display: block; width: 26%; height: 8px; margin-top: 8px; border-radius: 6px; background: var(--skeleton); }
.bar { display: block; height: 8px; width: var(--w, 60%); border-radius: 6px; background: var(--skeleton); }

/* Steg 1: kartlegging. Rader med arbeid, der tre markeres. */
.map-rows { list-style: none; margin-top: 18px; display: grid; gap: 0; }
.map-rows li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--line);
  transition: opacity 0.5s ease, translate 0.5s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 250ms);
}
.map-rows .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--skeleton); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.map-rows .bar { transition: background-color 0.4s ease; }
.map-rows .flag {
  flex: none; margin-left: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.map-rows .hit .dot { background: var(--accent-ink); box-shadow: 0 0 0 4px rgba(226, 86, 43, 0.14); }
.map-rows .hit .bar { background: #bdbdbd; }
.map-rows .hit .flag { opacity: 1; }
.map-rows .hit .dot,
.map-rows .hit .bar,
.map-rows .hit .flag { transition-delay: calc(var(--i) * 60ms + 1100ms); }
.js .step-visual:not(.is-in) .map-rows li { opacity: 0; translate: 0 10px; }
.js .step-visual:not(.is-in) .map-rows .hit .dot { background: var(--skeleton); box-shadow: none; }
.js .step-visual:not(.is-in) .map-rows .hit .bar { background: var(--skeleton); }
.js .step-visual:not(.is-in) .map-rows .hit .flag { opacity: 0; transform: scale(0.6); }

/* Steg 2: pilot. Én flyt tennes, og resultatet vokser. */
.flow { display: flex; align-items: center; margin-top: 22px; }
.flow-node {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink);
  transition: background-color 0.4s ease;
}
.flow-node:nth-child(1) { transition-delay: 0.3s; }
.flow-node:nth-child(3) { transition-delay: 0.75s; }
.flow-node:nth-child(5) { transition-delay: 1.2s; background: var(--accent-ink); }
.flow-line { flex: 1; height: 2px; margin: 0 8px; background: var(--skeleton); position: relative; overflow: hidden; }
.flow-line::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform-origin: left; transition: transform 0.45s var(--ease);
}
.flow-line:nth-child(2)::after { transition-delay: 0.4s; }
.flow-line:nth-child(4)::after { transition-delay: 0.85s; }
.chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 120px; margin-top: 24px; padding-top: 10px;
  border-top: 1px solid var(--line);
}
.chart span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: var(--skeleton);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 1.3s);
}
.chart span.up { background: var(--ink); }
.js .step-visual:not(.is-in) .flow-node { background: var(--skeleton); }
.js .step-visual:not(.is-in) .flow-line::after { transform: scaleX(0); }
.js .step-visual:not(.is-in) .chart span { transform: scaleY(0); }

/* Steg 3: drift. Kurven går, loggen fylles, og et menneske er med. */
.ops-head { display: flex; align-items: center; justify-content: space-between; }
.ops-live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; }
.ops-live::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #16a34a; opacity: 0;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.7; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
.ops-chart { display: block; width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.ops-area { fill: url(#ops-fill); transition: opacity 0.8s ease 1.2s; }
.ops-line {
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease) 0.3s;
}
.ops-end { fill: var(--accent-ink); transition: opacity 0.3s ease 1.8s; }
.ops-log { list-style: none; margin-top: 16px; }
.ops-log li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line);
  transition: opacity 0.5s ease, translate 0.5s var(--ease);
  transition-delay: calc(var(--i) * 180ms + 1s);
}
.ops-log .ok {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px no-repeat;
}
.ops-log .person {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='7' r='2.6' fill='white'/><path d='M4.4 14.2c.8-2.2 2.5-3.3 4.6-3.3s3.8 1.1 4.6 3.3' fill='white'/></svg>") center / 18px no-repeat;
}
.js .step-visual:not(.is-in) .ops-line { stroke-dashoffset: 1; }
.js .step-visual:not(.is-in) .ops-area,
.js .step-visual:not(.is-in) .ops-end { opacity: 0; }
.js .step-visual:not(.is-in) .ops-log li { opacity: 0; translate: 0 10px; }

/* ───────── Regnestykket ───────── */
.math-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 64px;
  border-radius: var(--r-panel); background: var(--ink); color: #fff;
}
.math-text .kicker { color: var(--on-dark-dim); }
.math-text p:not(.kicker) { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.28; letter-spacing: -0.025em; }
.compare { display: grid; gap: 36px; }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.compare .lbl { font-size: 15px; color: var(--on-dark-dim); }
.compare .big { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.compare-row--ai .big { color: var(--accent); }
.compare-bar {
  position: relative; height: 14px; margin-top: 14px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.compare-bar > span {
  position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px;
  transform-origin: left; transition: transform 1.1s var(--ease);
}
.compare-bar .full { width: 100%; background: rgba(255, 255, 255, 0.9); transition-delay: 0.35s; }
.compare-bar .hi { width: 40%; background: rgba(255, 138, 91, 0.4); transition-delay: 0.75s; }
.compare-bar .lo { width: 20%; background: var(--accent); transition-delay: 0.75s; }
.js .math-block:not(.is-in) .compare-bar > span { transform: scaleX(0); }

/* ───────── Om oss ───────── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.section-header + .team-grid { margin-top: 56px; }
.member {
  display: flex; flex-direction: column; gap: 12px;
  padding: 36px;
  border: 1px solid var(--line); border-radius: var(--r-card);
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}
.member h2,
.member h3 { margin-top: 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.member .role { margin-top: -6px; font-size: 15px; font-weight: 500; color: var(--fg-dim); }
.member p { font-size: 16px; color: var(--fg-dim); }
.member .member-link { margin-top: 14px; }
.tags { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 6px 12px; border-radius: 999px; background: var(--bg-soft);
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}
.os-note {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 18px 24px;
  border-radius: 18px; background: var(--bg-soft);
}
.os-note-label {
  padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700;
}
.os-note p { flex: 1; min-width: 220px; font-size: 16px; color: var(--fg-dim); }
.os-note a { font-size: 15px; font-weight: 600; }
.os-note a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Kontaktlinjer (om oss) */
.contact-lines { display: grid; max-width: 640px; }
.contact-lines > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.contact-lines > div:last-child { border-bottom: 1px solid var(--line); }
.contact-lines dt { font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.contact-lines dd { font-size: 17px; font-weight: 500; }
.contact-lines a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.contact-lines a:hover { text-decoration-color: currentColor; }

/* ───────── Foredrag og kurs ───────── */
.info-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  padding: 56px;
  border-radius: var(--r-panel); background: var(--bg-soft);
}
.info-box .kicker { margin-bottom: 12px; }
.info-box-title { font-size: clamp(26px, 3vw, 38px); }
.info-box p:not(.kicker) { margin-top: 12px; font-size: 17px; color: var(--fg-dim); }

/* ───────── Løpende tekst (personvern) ───────── */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 44px; font-size: 24px; letter-spacing: -0.025em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--fg-2); }
.prose a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.prose li { margin-top: 8px; color: var(--fg-2); }
.prose li::marker { color: var(--fg-dim); }
.prose strong { color: var(--fg); font-weight: 600; }

/* ───────── Innsikt (artikler) ───────── */
/* Sidene lages av scripts/innsikt.mjs fra docs/innsikt/*.md. */
.breadcrumb { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin: 0 8px; } /* Skilletegnet leses ikke opp */
.breadcrumb a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.2s ease; }
.breadcrumb a:hover { color: var(--ink); text-decoration-color: currentColor; }
.page-hero .breadcrumb { animation-delay: 0.05s; }
.page-hero .byline { animation-delay: 0.32s; }
.page-hero--article h1 { max-width: 900px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.page-hero--article .lede { max-width: 68ch; }
/* Lange norske ord (personvernkonsekvensvurdering) brytes i stedet for å gi sidelengs rulling på mobil.
   Ikke hyphens: auto, det forsinker første visning mens Chrome laster ordboken. */
.page-hero--article h1,
.page-hero--article + .section .prose { overflow-wrap: break-word; }
.byline { margin-top: 28px; font-size: 15px; color: var(--fg-dim); }
.byline a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.byline a:hover { text-decoration-color: currentColor; }
.prose ol { margin-top: 12px; padding-left: 24px; list-style: decimal; }
.table-wrap { margin-top: 20px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.prose th,
.prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th:last-child,
.prose td:last-child { padding-right: 0; }
.prose thead th { font-size: 14px; font-weight: 700; color: var(--fg); border-bottom-color: var(--line-2); }
.prose td { color: var(--fg-2); }
.prose tbody th { font-weight: 600; color: var(--fg); }
.card--link { position: relative; }
.card--link h2 a::after,
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.card .card-meta { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--fg-dim); }

/* ───────── Book et møte ───────── */
.cta-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: start; }
.cta-left { position: sticky; top: 112px; }
.booking-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.booking-chips span {
  padding: 8px 14px; border-radius: 999px; background: var(--bg-soft);
  font-size: 14px; font-weight: 600; color: var(--fg-2);
}
.booking-alt { margin-top: 24px; font-size: 16px; color: var(--fg-dim); }
.booking--solo .brief-panel { max-width: 720px; margin: 0 auto; }

.brief-panel {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow-card);
}
.brief-form { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.brief-form > label { display: flex; flex-direction: column; gap: 7px; }
.booking-request { margin-top: 6px; }
.topic-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.topic-picker legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.req { color: var(--fg-dim); }
.topic-options { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { position: relative; cursor: pointer; }
.topic-chip input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.topic-chip span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.topic-chip:hover span { border-color: var(--ink); }
.topic-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.booking-fields > label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.booking-fields > label:nth-child(3) { grid-column: 1 / -1; }
.brief-form .lbl { font-size: 14px; font-weight: 600; }
.brief-form input[type="text"],
.brief-form input[type="email"],
.brief-form select,
.brief-form textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-btn);
  background: #fafafa; color: var(--ink);
  font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.brief-form textarea { height: auto; min-height: 128px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.brief-form select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.brief-form input:hover,
.brief-form select:hover,
.brief-form textarea:hover { border-color: #bdbdbd; }
.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus { border-color: var(--ink); background-color: #fff; }
.brief-form input::placeholder,
.brief-form textarea::placeholder { color: #6f6f6f; } /* 4,8:1 på #fafafa */
.brief-form input:disabled,
.brief-form select:disabled,
.brief-form textarea:disabled { opacity: 0.5; }

.brief-submit {
  width: 100%; height: 56px; margin-top: 22px;
  background: var(--ink); color: #fff; border-radius: 14px;
  font-size: 17px; font-weight: 600;
  transition: background-color 0.2s ease;
}
.brief-form > .brief-submit { margin-top: 6px; }
.brief-submit:hover { background: var(--ink-hover); }
.brief-submit:disabled { opacity: 0.6; cursor: default; }
.brief-error { margin-top: 12px; font-size: 15px; color: #b42318; }
.brief-form > .brief-error,
.brief-form > .brief-note { margin-top: -6px; }
.brief-error a,
.brief-note a { text-decoration: underline; text-underline-offset: 3px; }
.brief-note { margin-top: 14px; font-size: 14px; color: var(--fg-dim); }

.brief-sent { display: none; flex-direction: column; justify-content: center; gap: 18px; padding: 56px 32px; }
.brief-panel.is-sent .brief-form { display: none; }
.brief-panel.is-sent .brief-sent { display: flex; }
.brief-sent h2,
.brief-sent h3 { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.brief-sent p { max-width: 420px; color: var(--fg-dim); }
.brief-sent strong { color: var(--fg); font-weight: 600; }
.brief-sent .btn-ghost { align-self: flex-start; }
.brief-sent [tabindex="-1"]:focus { outline: none; }

.booking-calendar { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
.booking-frame { display: block; width: 100%; min-height: 640px; border: 0; border-radius: 16px; background: #fff; }

/* ───────── Footer ───────── */
.site-footer { padding: 88px 0 40px; background: var(--bg-footer); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 40px; }
.footer-links ul,
.footer-extra { list-style: none; }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.footer-extra { display: grid; gap: 14px; align-content: start; }
.footer-links a,
.footer-extra a { font-weight: 500; color: var(--fg-2); transition: color 0.2s ease; }
.footer-links a:hover,
.footer-extra a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 14px; color: var(--fg-dim);
}
.dots span + span::before { content: "·"; margin: 0 8px; }

/* ───────── Responsivt ───────── */
@media (max-width: 1000px) {
  .card-grid,
  .card-grid--2 { grid-template-columns: 1fr; max-width: 640px; }
  .process-step { grid-template-columns: 1fr; gap: 32px; }
  .process-step:nth-child(even) .step-text { order: 0; }
  .step-visual { max-width: 560px; }
  .math-block { grid-template-columns: 1fr; gap: 44px; padding: 48px; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-left { position: static; }
}

/* Like over mobilmenyen er det trangt med fem lenker, språk og knapp på én linje. */
@media (min-width: 861px) and (max-width: 960px) {
  .site-nav,
  .nav-right { gap: 18px; }
}

@media (max-width: 860px) {
  /* Uten JavaScript ligger lenkene synlig på en egen rad under logoen. Menyen blir da høy, så den ruller bort med siden. */
  .site-nav { position: relative; flex-wrap: wrap; row-gap: 6px; padding-top: 14px; padding-bottom: 14px; }
  .nav-right { flex-basis: 100%; flex-wrap: wrap; gap: 6px 20px; }
  .nav-right > .nav-link:first-child,
  .nav-link.lang-switch { margin-left: 0; }

  /* Med JavaScript: hamburgermeny. */
  .js .site-nav { position: sticky; flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .js .nav-toggle { display: block; }
  .js .nav-right {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.18);
  }
  .js body.nav-open .nav-right { display: flex; }
  .js .nav-link { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .nav-link[aria-current="page"] { text-decoration: none; font-weight: 700; }
  .js .nav-cta { justify-content: center; height: 52px; margin-top: 18px; font-size: 16px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; --gap: 104px; --gap-compact: 64px; }
  body { font-size: 16px; }
  .hero { padding-top: 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-arrow { text-align: center; }
  .page-hero { padding-top: 56px; }
  .page-hero .btn,
  .page-hero .btn-ghost { width: 100%; }
  .hero + .section { padding-top: 88px; }
  .page-hero + .section { padding-top: 48px; }
  .section-intro { font-size: 17px; }
  .card,
  .service-card { padding: 26px 22px; }
  .card h2,
  .card h3,
  .service-card h2 { font-size: 23px; }
  .process { --step-gap: 88px; margin-top: 56px; }
  .process-step { padding-left: 60px; gap: 24px; }
  .numeral { width: 36px; height: 36px; font-size: 14px; }
  .step-line { left: 17px; top: 36px; height: calc(100% - 36px + var(--step-gap)); }
  .step-text { padding-top: 2px; }
  .step-visual { padding: 18px; aspect-ratio: auto; }
  .mock { padding: 16px; }
  .math-block { padding: 40px 24px; border-radius: var(--r-card); }
  .member { padding: 28px 22px; }
  .contact-lines > div { grid-template-columns: 1fr; gap: 4px; }
  .info-box { padding: 36px 24px; border-radius: var(--r-card); }
  .info-box .btn-ghost { width: 100%; }
  .brief-form { padding: 24px 20px; }
  .booking-fields { grid-template-columns: 1fr; }
  /* Google-kalenderen trenger 286 px for å vise to dager med klokkeslett ved siden av hverandre.
     Rammen går derfor helt ut til kanten av panelet (20 px padding i .brief-form over). */
  .booking-calendar { padding: 20px 0; }
  .booking-frame { width: calc(100% + 40px); margin: 0 -20px; }
  .brief-sent { padding: 44px 20px; }
  .site-footer { padding-top: 64px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { margin-top: 48px; flex-direction: column; }
}

/* Redusert bevegelse: alt står ferdig, uten animasjoner. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; }
  .btn:hover,
  .card:hover,
  .service-card:hover { transform: none; }
}
