/* ==========================================================================
   TrashControl – nettside
   Fargar frå logoen: grafitt #2b3036, grøn #3a9d4a, lys #f3f4f2
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-var-cyr.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #1c2025;
  --graphite: #2b3036;
  --graphite-2: #353b42;
  --night: #15181b;
  --night-2: #1d2125;
  --green: #3a9d4a;
  --green-d: #2b7a39;
  --green-l: #6cc77a;
  --mint: #e8f4ea;
  --mint-2: #d3ead7;
  --paper: #f5f6f2;
  --paper-2: #eceee8;
  --white: #ffffff;
  --line: #e1e4dd;
  --line-d: rgba(255, 255, 255, .10);
  --muted: #59616a;
  --muted-2: #868e96;
  --on-dark: #e9ecef;
  --on-dark-muted: #a3abb3;
  --amber: #e5a530;
  --red: #d8574a;
  --blue: #3d7ea6;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-s: 8px;
  --r: 14px;
  --r-l: 22px;
  --r-xl: 30px;
  --shadow-1: 0 1px 2px rgba(18, 22, 26, .05), 0 4px 14px rgba(18, 22, 26, .06);
  --shadow-2: 0 2px 6px rgba(18, 22, 26, .06), 0 18px 48px -16px rgba(18, 22, 26, .22);
  --shadow-3: 0 30px 80px -20px rgba(0, 0, 0, .55), 0 10px 30px -10px rgba(0, 0, 0, .35);

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 72px;
}

/* ---------- grunnlag ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; font-weight: 750; letter-spacing: -.022em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
ul { margin: 0; padding: 0; }
strong { font-weight: 650; }
::selection { background: var(--mint-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-l); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 12px; }
.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; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--graphite { background: var(--graphite); color: var(--on-dark); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section + .section--same { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .section--graphite .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--green-l); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.section--dark .lead, .section--graphite .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hl { color: var(--green); }
.section--dark .hl, .hero .hl, .page-hero .hl { color: var(--green-l); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split .lead { margin: 0; }

/* ---------- knappar ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -.005em; line-height: 1.1;
  cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { --bg: var(--green); --fg: #fff; box-shadow: 0 8px 24px -10px rgba(58, 157, 74, .8); }
.btn--primary:hover { --bg: var(--green-d); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #000; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(28, 32, 37, .22); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .04); --fg: #fff; --bd: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--green-d); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow, .section--graphite .link-arrow { color: var(--green-l); }

/* ---------- topplinje ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 650; font-size: .95rem; color: rgba(255, 255, 255, .86);
  background: none; border: 0; cursor: pointer; transition: color .15s ease, background-color .15s ease;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { color: #fff; background: rgba(255, 255, 255, .08); }
.nav > a.is-active, .nav-drop.is-active > button { color: #fff; }
.site-header.is-solid .nav > a, .site-header.is-solid .nav-drop > button { color: var(--muted); }
.site-header.is-solid .nav > a:hover, .site-header.is-solid .nav-drop > button:hover, .site-header.is-solid .nav-drop.is-open > button { color: var(--ink); background: var(--paper); }
.site-header.is-solid .nav > a.is-active, .site-header.is-solid .nav-drop.is-active > button { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-login { font-family: var(--font-display); font-weight: 650; font-size: .95rem; color: rgba(255, 255, 255, .86); padding: 0 12px; }
.nav-login:hover { color: #fff; }
.site-header.is-solid .nav-login { color: var(--muted); }
.site-header.is-solid .nav-login:hover { color: var(--ink); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(720px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; color: var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-3); border: 1px solid var(--line);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav-drop.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease; }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: var(--r); transition: background-color .15s ease; }
.mega a:hover { background: var(--paper); }
.mega .mi { width: 40px; height: 40px; border-radius: 11px; background: var(--mint); color: var(--green-d); display: grid; place-items: center; }
.mega .mi svg { width: 21px; height: 21px; }
.mega strong { display: block; font-family: var(--font-display); font-size: .98rem; font-weight: 700; line-height: 1.3; }
.mega small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; margin-top: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.site-header.is-solid .menu-toggle { color: var(--ink); border-color: var(--line); background: #fff; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }

@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .nav, .nav-actions { display: none; }
  .menu-open .site-header { background: #fff; border-bottom-color: var(--line); }
  .menu-open .site-header .brand .logo-light { display: none; }
  .menu-open .site-header .brand .logo-dark { display: block; }
  .menu-open .menu-toggle { color: var(--ink); border-color: var(--line); background: #fff; }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; overflow-y: auto;
  padding: 12px var(--gutter) 40px; display: none;
}
.menu-open .mobile-menu { display: block; }
.menu-open { overflow: hidden; }
.mobile-menu .mm-group { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-label { font-family: var(--font-display); font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 10px 0 6px; }
.mobile-menu a.mm-item { display: flex; align-items: center; gap: 12px; padding: 11px 4px; font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; }
.mobile-menu a.mm-item svg { width: 20px; height: 20px; color: var(--green-d); flex-shrink: 0; }
.mobile-menu .btn { width: 100%; margin-top: 18px; }

/* ---------- hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  isolation: isolate;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(58, 157, 74, .22), transparent 62%),
    radial-gradient(700px 500px at 8% 100%, rgba(61, 126, 166, .16), transparent 60%),
    linear-gradient(180deg, #15181b 0%, #1b1f23 100%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.hero-copy { max-width: 820px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { color: var(--on-dark-muted); max-width: 58ch; margin-bottom: 34px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--on-dark-muted); font-size: .93rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--green-l); }

.hero-visual { position: relative; margin-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }

.page-hero { padding: calc(var(--header-h) + clamp(56px, 7vw, 104px)) 0 clamp(64px, 8vw, 112px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 22px; max-width: 18ch; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 60ch; margin-bottom: 30px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- mockup: nettlesarvindauge ---------- */
.window {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink);
  box-shadow: var(--shadow-3); border: 1px solid rgba(255, 255, 255, .08);
}
.window-bar { height: 38px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #f1f3ef; border-bottom: 1px solid var(--line); }
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d9dcd5; }
.window-bar .url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted-2); display: flex; align-items: center; justify-content: center; gap: 6px; letter-spacing: .01em; }
.window-bar .url svg { width: 11px; height: 11px; }

.app { display: grid; grid-template-columns: 56px minmax(0, 1fr) 300px; height: clamp(380px, 46vw, 560px); }
.app-side { background: var(--graphite); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.app-side .ai { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #9aa3ab; }
.app-side .ai svg { width: 19px; height: 19px; }
.app-side .ai.on { background: rgba(58, 157, 74, .2); color: var(--green-l); }
.app-side .ai.logo { margin-bottom: 8px; }
.app-side .ai.logo img { width: 30px; height: 30px; }
.app-map { position: relative; overflow: hidden; background: #eceee8; }
.app-map .map-svg { width: 100%; height: 100%; }
.map-chips { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); font-size: 12.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.chip .c-red { background: var(--red); } .chip .c-amb { background: var(--amber); } .chip .c-grn { background: #fff; border: 2px solid var(--green); width: 10px; height: 10px; }
.chip--dark { background: var(--graphite); color: #fff; border-color: transparent; }
.map-legend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

.app-panel { border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #fff; overflow: hidden; }
.ap-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ap-title { font-family: var(--font-display); font-weight: 750; font-size: 15px; line-height: 1.25; }
.ap-sub { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.ap-badge { font-size: 11px; font-weight: 700; color: var(--green-d); background: var(--mint); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.ap-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ap-kpi { background: var(--paper); border-radius: 10px; padding: 9px 10px; }
.ap-kpi b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ap-kpi span { font-size: 11px; color: var(--muted); }
.ap-kpi .delta { color: var(--green-d); font-weight: 700; }
.ap-list { display: flex; flex-direction: column; gap: 8px; }
.ap-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.ap-row .av { width: 30px; height: 30px; border-radius: 9px; background: var(--graphite); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; font-family: var(--font-display); }
.ap-row .nm { font-size: 13px; font-weight: 650; line-height: 1.2; }
.ap-row .mt { font-size: 11.5px; color: var(--muted-2); }
.ap-row .pr { width: 100%; height: 5px; border-radius: 4px; background: var(--paper-2); margin-top: 6px; overflow: hidden; }
.ap-row .pr i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.ap-row .st { font-size: 11px; font-weight: 700; color: var(--muted); }
.ap-note { margin-top: auto; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); background: var(--mint); border-radius: 12px; padding: 11px 12px; line-height: 1.45; }
.ap-note svg { width: 16px; height: 16px; color: var(--green-d); flex-shrink: 0; margin-top: 1px; }
.ap-note b { color: var(--ink); }

/* flytande kort */
.float-card {
  position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-3);
  padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; max-width: 300px; border: 1px solid rgba(0, 0, 0, .04);
}
.float-card .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fi svg { width: 18px; height: 18px; }
.float-card .fi--red { background: #fbe9e6; color: var(--red); }
.float-card .fi--green { background: var(--mint); color: var(--green-d); }
.float-card b { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 750; line-height: 1.3; }
.float-card span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.float-card .when { font-size: 11px; color: var(--muted-2); margin-top: 6px; }

/* ---------- mockup: telefon ---------- */
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19; border-radius: 42px; background: #0d0f11; padding: 10px;
  box-shadow: var(--shadow-3), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #eceee8; color: var(--ink); }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #0d0f11; z-index: 5; }
.phone .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-status { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 42px; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0; font-size: 12px; font-weight: 700; }
.ph-status--light { color: #fff; }

/* sjåførnavigasjon */
.nav-banner { position: absolute; z-index: 3; top: 46px; left: 10px; right: 10px; background: var(--green-d); color: #fff; border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.nav-banner svg { width: 40px; height: 40px; }
.nav-banner b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.nav-banner span { display: block; font-size: 12.5px; opacity: .92; margin-top: 3px; line-height: 1.25; }
.nav-sheet { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 14px 16px; box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .35); }
.nav-sheet::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 4px; background: #d6d9d2; margin: 0 auto 10px; }
.ns-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.ns-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin: 4px 0 2px; letter-spacing: -.01em; }
.ns-meta { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); }
.ns-fill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); }
.ns-fill i { width: 34px; height: 6px; border-radius: 4px; background: #f3d7d3; position: relative; overflow: hidden; }
.ns-fill i::after { content: ""; position: absolute; inset: 0 8% 0 0; background: var(--red); border-radius: 4px; }
.ns-actions { display: grid; grid-template-columns: 1.3fr 1fr 44px; gap: 6px; margin-top: 12px; }
.ns-actions span { height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-size: 12.5px; font-weight: 750; }
.ns-actions .a1 { background: var(--green); color: #fff; }
.ns-actions .a2 { background: var(--paper-2); color: var(--ink); }
.ns-actions .a3 { background: var(--paper-2); color: var(--ink); }
.ns-actions .a3 svg { width: 17px; height: 17px; }
.nav-eta { position: absolute; z-index: 3; right: 12px; top: 136px; background: #fff; border-radius: 12px; padding: 6px 10px; font-size: 11px; font-weight: 700; box-shadow: var(--shadow-1); text-align: right; line-height: 1.3; }
.nav-eta b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--green-d); }

/* kundeapp */
.cu-search { position: absolute; z-index: 3; top: 48px; left: 12px; right: 12px; height: 40px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12.5px; color: var(--muted-2); }
.cu-search svg { width: 16px; height: 16px; }
.cu-sheet { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px 18px; box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .35); }
.cu-sheet::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 4px; background: #d6d9d2; margin: 0 auto 12px; }
.cu-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.cu-meta { font-size: 11.5px; color: var(--muted); margin: 2px 0 10px; }
.cu-fr { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.cu-fr span { font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 3px 7px; background: var(--paper-2); color: var(--ink); }
.cu-btn { height: 44px; border-radius: 13px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.cu-btn svg { width: 17px; height: 17px; }
.cu-alt { margin-top: 8px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.cu-pay { display: flex; justify-content: center; gap: 8px; margin-top: 10px; font-size: 10.5px; color: var(--muted-2); font-weight: 600; }
.cu-ok { position: absolute; z-index: 4; left: 16px; right: 16px; top: 100px; background: var(--graphite); color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-3); }
.cu-ok .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.cu-ok .ok svg { width: 16px; height: 16px; }
.cu-ok b { display: block; font-family: var(--font-display); font-size: 13.5px; }
.cu-ok span { display: block; font-size: 11.5px; color: var(--on-dark-muted); }

/* hero-komposisjon */
.hero-stage { position: relative; }
.hero-stage .window { margin-right: clamp(0px, 15vw, 210px); }
.hero-stage .phone { position: absolute; right: 0; bottom: -40px; width: clamp(210px, 21vw, 268px); z-index: 4; }
.hero-stage .fc-1 { left: -18px; top: 120px; }
.hero-stage .fc-2 { left: 30%; bottom: -26px; }

/* ---------- tillits-stripe ---------- */
.trust { border-top: 1px solid var(--line-d); background: var(--night-2); color: var(--on-dark-muted); }
.trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line-d); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 26px; height: 26px; color: var(--green-l); flex-shrink: 0; }
.trust-item b { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.trust-item span { display: block; font-size: .86rem; line-height: 1.4; }

/* ---------- statistikk ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 30px 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.stat b small { font-size: .5em; letter-spacing: -.02em; margin-left: 2px; }
.stat p { margin: 0; color: var(--muted); font-size: .98rem; }
.stat .src { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .78rem; font-weight: 650; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.stat .src i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.stat .src i.sim { background: var(--amber); }
.section--dark .stat, .section--graphite .stat { background: rgba(255, 255, 255, .04); border-color: var(--line-d); }
.section--dark .stat b, .section--graphite .stat b { color: #fff; }
.section--dark .stat p, .section--graphite .stat p { color: var(--on-dark-muted); }
.stat--green b { color: var(--green-d); }
.section--dark .stat--green b { color: var(--green-l); }
.footnote { margin-top: 28px; font-size: .86rem; color: var(--muted-2); max-width: 80ch; }
.section--dark .footnote { color: #7f8890; }

/* ---------- flyt (plattform) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(40px, 5vw, 64px); counter-reset: flow; position: relative; }
.flow-step { position: relative; padding: 0 18px 0 0; }
.flow-step .fs-dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; place-items: center; color: var(--green-d); margin-bottom: 18px; }
.flow-step .fs-dot svg { width: 24px; height: 24px; }
.flow-step::before { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--mint-2) 0 6px, transparent 6px 12px); }
.flow-step:last-child::before { display: none; }
.flow-step .fs-n { font-family: var(--font-display); font-size: .75rem; font-weight: 750; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
.flow-step h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.flow-step p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- kort ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: #d3d7cf; }
.card .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green-d); display: grid; place-items: center; margin-bottom: 22px; }
.card .ci svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; font-size: .95rem; }
.card--paper { background: var(--paper); border-color: transparent; }
.section--paper .card { border-color: transparent; }
.section--dark .card, .section--graphite .card { background: rgba(255, 255, 255, .035); border-color: var(--line-d); color: var(--on-dark); }
.section--dark .card p, .section--graphite .card p { color: var(--on-dark-muted); }
.section--dark .card .ci, .section--graphite .card .ci { background: rgba(58, 157, 74, .16); color: var(--green-l); }
.card .tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--green-d); background: var(--mint); padding: 4px 9px; border-radius: 999px; }

/* ---------- delt seksjon ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--even { grid-template-columns: 1fr 1fr; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 28px; }
.checks { list-style: none; display: grid; gap: 14px; margin: 0 0 32px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.checks li b { color: var(--ink); font-weight: 650; }
.checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7a39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .checks li, .section--graphite .checks li { color: var(--on-dark-muted); }
.section--dark .checks li b, .section--graphite .checks li b { color: #fff; }
.section--dark .checks li::before, .section--graphite .checks li::before { background-color: rgba(58, 157, 74, .2); }

.visual-frame { position: relative; border-radius: var(--r-xl); background: var(--paper); padding: clamp(20px, 3vw, 40px); }
.visual-frame--mint { background: linear-gradient(160deg, var(--mint) 0%, #f3f8f3 100%); }
.visual-frame--dark { background: linear-gradient(160deg, #23282d 0%, #181b1f 100%); }
.visual-frame .window { box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.visual-center { display: grid; place-items: center; }

/* planleggings-vindauge (mindre) */
.app--sm { grid-template-columns: minmax(0, 1fr) 250px; height: clamp(340px, 34vw, 440px); }

/* språkbrikker */
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.section--paper .langs span { background: #fff; }

/* telefonar side om side */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 24px; }
.phones .phone:nth-child(2) { transform: translateY(-36px); }

/* ---------- graf-kort ---------- */
.chart-card { background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: 22px 22px 14px; box-shadow: var(--shadow-2); }
.chart-card .cc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.chart-card .cc-title { font-family: var(--font-display); font-weight: 750; font-size: 15px; }
.chart-card .cc-sub { font-size: 12px; color: var(--muted-2); }
.chart-card .cc-val { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.chart-card .cc-val span { display: block; font-family: var(--font-text); font-weight: 600; font-size: 11px; color: var(--muted-2); letter-spacing: 0; margin-top: 4px; }
.chart-svg { width: 100%; height: auto; }
.chart-svg .ct { font: 600 11px var(--font-text); fill: var(--muted-2); }
.chart-svg .ct-g { fill: var(--green-d); }
.chart-svg .ct-r { fill: var(--red); }
.chart-svg .ct-b { fill: var(--ink); font-weight: 750; }
.chart-svg .ct-w { fill: #fff; font-weight: 700; }
.cc-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.flag--warn i { background: var(--amber); }

/* ---------- kamera-illustrasjon ---------- */
.cam { position: relative; border-radius: var(--r-l); overflow: hidden; background: #1b1f22; box-shadow: var(--shadow-3); }
.cam svg { width: 100%; height: auto; }
.cam-hud { position: absolute; inset: 0; pointer-events: none; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; }
.cam-hud .rec { position: absolute; left: 14px; top: 14px; display: flex; gap: 7px; align-items: center; background: rgba(0, 0, 0, .45); padding: 6px 9px; border-radius: 6px; }
.cam-hud .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d3d; }
.cam-hud .ts { position: absolute; right: 14px; top: 14px; background: rgba(0, 0, 0, .45); padding: 6px 9px; border-radius: 6px; }
.cam-alert { position: relative; margin: 12px; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-2); }
.cam-alert .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fdf1dc; color: #b77a12; flex-shrink: 0; }
.cam-alert .fi svg { width: 18px; height: 18px; }
.cam-alert b { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 750; }
.cam-alert span { display: block; font-size: 12px; color: var(--muted); }
.cam-alert .btn { margin-left: auto; min-height: 32px; padding: 6px 12px; font-size: 12px; }

/* ---------- maskinvare ---------- */
.hw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hw { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden; }
.hw-img { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; padding: 6%; border-bottom: 1px solid var(--line); }
.hw-img img { width: 100%; height: 100%; object-fit: contain; }
.hw-img--icon { background: linear-gradient(160deg, #23282d, #15181b); }
.hw-img--icon svg { width: 46%; height: auto; }
.hw-body { padding: 20px 22px 24px; }
.hw-model { font-family: var(--font-display); font-size: .74rem; font-weight: 750; letter-spacing: .12em; color: var(--green-d); text-transform: uppercase; }
.hw h3 { font-size: 1.15rem; margin: 4px 0 8px; }
.hw p { font-size: .93rem; color: var(--muted); margin: 0 0 14px; }
.hw dl { margin: 0; display: grid; gap: 6px; font-size: .86rem; }
.hw dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
.hw dt { color: var(--muted-2); }
.hw dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- prosess ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); counter-increment: st; }
.step::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; color: #b5d9bc; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.step .dur { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; color: var(--green-d); background: var(--mint); border-radius: 999px; padding: 4px 10px; }

/* ---------- case ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--graphite); color: var(--on-dark); }
.case-body { padding: clamp(32px, 5vw, 64px); }
.case-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; color: #fff; }
.case-body p { color: var(--on-dark-muted); }
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border-top: 1px solid var(--line-d); margin-top: 30px; }
.case-facts div { background: var(--graphite); padding: 18px 4px 4px 0; }
.case-facts b { display: block; font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.case-facts span { font-size: .86rem; color: var(--on-dark-muted); }
.case-visual { position: relative; min-height: 380px; background: #e8ece4; }
.case-visual .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-visual .float-card { left: 24px; bottom: 24px; }

/* ---------- tryggleik ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.feature-grid > div { background: #fff; padding: 28px; }
.feature-grid svg { width: 26px; height: 26px; color: var(--green-d); margin-bottom: 16px; }
.feature-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-grid p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--dark .feature-grid { background: var(--line-d); border-color: var(--line-d); }
.section--dark .feature-grid > div { background: var(--night); }
.section--dark .feature-grid svg { color: var(--green-l); }
.section--dark .feature-grid p { color: var(--on-dark-muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px);
  background: radial-gradient(600px 300px at 90% 0%, rgba(108, 199, 122, .35), transparent 60%), linear-gradient(135deg, var(--green-d) 0%, #236a31 100%);
  color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; isolation: isolate;
}
.cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; z-index: -1; opacity: .09; background: url("../img/trashcontrol-ikon-lys-groen.svg") center / contain no-repeat; filter: brightness(10); }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.1rem; max-width: 52ch; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn--light { --bg: #fff; --fg: var(--green-d); }
.cta .btn--light:hover { --bg: #f1f7f2; }
.cta-contact { display: grid; gap: 12px; justify-items: end; }
.cta-contact a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.cta-contact a:not(.btn) svg { width: 18px; height: 18px; opacity: .85; }

/* ---------- segment ---------- */
.segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.segment { border-radius: var(--r-l); padding: 26px; background: #fff; border: 1px solid var(--line); }
.segment svg { width: 30px; height: 30px; color: var(--green-d); margin-bottom: 18px; }
.segment h3 { font-size: 1.1rem; margin-bottom: 8px; }
.segment p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; color: var(--green-d); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- arkitektur-diagram ---------- */
.arch { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.arch-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.arch-col h3 { font-size: 1rem; margin-bottom: 4px; }
.arch-col .sub { font-size: .84rem; color: var(--muted-2); margin-bottom: 14px; }
.arch-col ul { list-style: none; display: grid; gap: 8px; }
.arch-col li { display: flex; gap: 10px; align-items: center; font-size: .9rem; padding: 9px 12px; border-radius: 10px; background: var(--paper); }
.arch-col li svg { width: 17px; height: 17px; color: var(--green-d); flex-shrink: 0; }
.arch-col--core { background: var(--graphite); color: #fff; border-color: transparent; }
.arch-col--core .sub { color: var(--on-dark-muted); }
.arch-col--core li { background: rgba(255, 255, 255, .06); }
.arch-col--core li svg { color: var(--green-l); }
.arch-arrow { display: grid; place-items: center; color: var(--muted-2); }
.arch-arrow svg { width: 28px; height: 28px; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.ci-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--paper); }
.ci-item .ic { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: grid; place-items: center; color: var(--green-d); }
.ci-item .ic svg { width: 21px; height: 21px; }
.ci-item small { display: block; font-size: .8rem; color: var(--muted-2); font-weight: 600; letter-spacing: .02em; }
.ci-item b, .ci-item a { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.ci-item a:hover { color: var(--green-d); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-2); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.interests legend { font-size: .88rem; font-weight: 650; margin-bottom: 8px; padding: 0; }
.interests label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; transition: all .15s ease; }
.interests input { accent-color: var(--green); }
.interests label:has(input:checked) { background: var(--mint); border-color: var(--green); color: var(--green-d); }
.form .note { font-size: .82rem; color: var(--muted-2); margin: 0; }
.form .btn { justify-self: start; }

/* ---------- tekstside ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #3c434a; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- om oss ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--mint-2); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.timeline b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.timeline span { display: block; font-size: .8rem; font-weight: 700; color: var(--green-d); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- botn ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #7f8890; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- animasjon ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.route-flow { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.float-card { animation: bob 6s ease-in-out infinite; }
.fc-2 { animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .route-flow, .pulse, .float-card { animation: none; }
  .btn, .card { transition: none; }
}

/* ---------- responsivt ---------- */
@media (max-width: 1180px) {
  .app { grid-template-columns: 52px minmax(0, 1fr) 260px; }
  .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .split, .split--even, .page-hero--split .container, .contact-grid, .case { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .cards, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .flow-step:nth-child(3)::before { display: none; }
  .trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row, .cta-contact { justify-content: flex-start; justify-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .arch { grid-template-columns: 1fr; }
  .arch-arrow svg { transform: rotate(90deg); }
  .case-visual { min-height: 320px; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); height: 380px; }
  .app-side, .app-panel { display: none; }
  .app--sm { grid-template-columns: minmax(0, 1fr); }
  .hero-stage .window { margin-right: 0; }
  .hero-stage .phone { position: relative; right: auto; bottom: auto; margin: -110px 12px 0 auto; width: 200px; }
  .hero-stage .fc-1 { left: 10px; top: 60px; }
  .hero-stage .fc-2 { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .cards--2, .cards--4, .steps, .values, .segments, .hw-grid, .feature-grid, .stats--4 { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .flow-step { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; padding: 0; }
  .flow-step .fs-dot { margin: 0; grid-row: span 3; }
  .flow-step::before { top: 52px; bottom: -24px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mint-2) 0 6px, transparent 6px 12px); display: block !important; }
  .flow-step:last-child::before { display: none !important; }
  .trust .container { grid-template-columns: minmax(0, 1fr); }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-d); }
  .trust-item:first-child { border-top: 0; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage .float-card { display: none; }
  .app { height: 300px; }
  .phones .phone:nth-child(2) { display: none; }
  .phone { width: 250px; }
  .case-facts { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- scenario (simulering) ---------- */
.scenario { background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-2); }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.sc-title { font-family: var(--font-display); font-weight: 750; font-size: 16px; line-height: 1.3; }
.sc-sub { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.sc-badge { font-size: 11px; font-weight: 750; color: #8a5d0c; background: #fbf0db; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sc-rows { display: grid; gap: 18px; }
.sc-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 66px; gap: 14px; align-items: center; }
.sc-l { font-size: 13.5px; font-weight: 600; }
.sc-bars { display: grid; gap: 5px; }
.sc-bars i { display: block; height: 10px; border-radius: 6px; }
.sc-bars .b0 { background: #d9ddd5; width: 100%; }
.sc-bars .b1 { background: var(--green); }
.sc-row b { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-align: right; color: var(--green-d); letter-spacing: -.02em; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sc-legend i { width: 14px; height: 8px; border-radius: 4px; display: inline-block; }
.sc-legend .b0 { background: #d9ddd5; }
.sc-legend .b1 { background: var(--green); }

/* ---------- kodeblokk ---------- */
.code { background: #15181b; color: #d7dde2; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-3); font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #1e2226; border-bottom: 1px solid var(--line-d); font-family: var(--font-text); font-size: 12px; color: var(--on-dark-muted); }
.code-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.code-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a4046; }
.code pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; white-space: pre; }
.code .k { color: #8fd19e; } .code .s { color: #f0c27b; } .code .n { color: #7fb8e0; } .code .c { color: #6f7880; } .code .m { color: #c7a3e0; }

/* ---------- KPI-panel ---------- */
.kpi-board { background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: 22px; box-shadow: var(--shadow-2); }
.kpi-board .kb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.kpi-board .kb-title { font-family: var(--font-display); font-weight: 750; font-size: 15px; }
.kpi-board .kb-sub { font-size: 12px; color: var(--muted-2); }
.kb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.kb-tile { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.kb-tile span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.kb-tile b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.kb-tile em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--green-d); }
.kb-tile em.warn { color: #b77a12; }
.kb-chart-title { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.kb-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; }
.kb-bars div { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.kb-bars i { width: 100%; border-radius: 6px 6px 3px 3px; background: var(--mint-2); display: block; }
.kb-bars .hi i { background: var(--green); }
.kb-bars span { font-size: 11px; color: var(--muted-2); font-weight: 600; }

/* ---------- kvittering ---------- */
.receipt { background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 24px; max-width: 380px; margin-inline: auto; }
.receipt .rc-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.receipt .rc-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.receipt .rc-top b { display: block; font-family: var(--font-display); }
.receipt .rc-top span { font-size: 12.5px; color: var(--muted); }
.receipt dl { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; }
.receipt .rc-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.receipt .rc-ok { margin-top: 16px; display: flex; align-items: center; gap: 10px; background: var(--mint); color: var(--green-d); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; }
.receipt .rc-ok svg { width: 18px; height: 18px; }

/* ---------- små tal i sidetoppen ---------- */
.mini-stats { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.mini-stats b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.mini-stats span { font-size: .88rem; color: var(--on-dark-muted); }

@media (max-width: 640px) {
  .sc-row { grid-template-columns: minmax(0, 1fr) 60px; }
  .sc-l { grid-column: 1 / -1; margin-bottom: -8px; }
}

/* ---------- sjåførapp: stoppliste ---------- */
.dl-screen { background: #f3f4f1; display: flex; flex-direction: column; }
.dl-head { background: var(--graphite); color: #fff; padding: 48px 16px 16px; }
.dl-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--on-dark-muted); font-weight: 600; }
.dl-lang { background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 1px 6px; color: #fff; }
.dl-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin: 4px 0 10px; letter-spacing: -.01em; }
.dl-prog { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.dl-prog i { display: block; height: 100%; background: var(--green-l); border-radius: 4px; }
.dl-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--on-dark-muted); font-weight: 600; }
.dl-list { flex: 1; padding: 10px 10px 0; display: grid; gap: 6px; align-content: start; overflow: hidden; }
.dl-row { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 9px 10px; border: 1px solid var(--line); }
.dl-row b { display: block; font-size: 12.5px; line-height: 1.25; }
.dl-row b em { font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--red); border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.dl-row span { font-size: 10.5px; color: var(--muted-2); }
.dl-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); }
.dl-ic svg { width: 15px; height: 15px; }
.dl-row.done { opacity: .62; }
.dl-row.done .dl-ic { background: var(--mint); color: var(--green-d); }
.dl-row.skip { opacity: .62; }
.dl-row.now { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58, 157, 74, .14); }
.dl-row.now .dl-ic { background: var(--green); color: #fff; }
.dl-row.acute .dl-ic { background: #fbe9e6; color: var(--red); }
.dl-foot { padding: 10px; }
.dl-btn { height: 42px; border-radius: 13px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 13.5px; }
.dl-btn svg { width: 16px; height: 16px; }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .feature-grid--2 { grid-template-columns: minmax(0, 1fr); } }
.cu-alt svg { width: 16px; height: 16px; flex-shrink: 0; }
.chart-card, .scenario, .kpi-board, .receipt, .float-card, .card--paper, .brand-demo .bd-body { color: var(--ink); }
.contact-grid > div > h2 { margin-bottom: 12px; }
.contact-grid > div > .lead { margin-bottom: 26px; }
@media (max-width: 860px) { .hero-stage .phone .ph-status { display: none; } }
@media (max-width: 640px) { .hw-img { aspect-ratio: 4 / 3; } }
.mega .mega-foot a { display: inline-flex; padding: 0; border-radius: 0; white-space: nowrap; }
.mega .mega-foot a:hover { background: none; }
@media (max-width: 640px) { .brand img { height: 40px; } }

.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .stats--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .feature-grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* kontaktskjema: robotfelle, status og kvittering */
.form { position: relative; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: .95rem; color: var(--muted); }
.form-status.is-ok { background: var(--mint); color: var(--green-d); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 28px 24px; }
.form-status.is-err { background: #fbe9e6; color: #a63a2f; }
.form.is-sent > :not([data-form-status]) { display: none; }
