/* =====================================================================
   APEX SYSTEMS — design system v2
   Authentically Apple: #f5f5f7 + true black, huge calm type,
   restraint over decoration, minimal shadow, blue used sparingly.
   ===================================================================== */

:root {
  /* Neutrals (Apple) */
  --black: #000000;
  --near-black: #0a0a0b;
  --text: #1d1d1f;      /* Apple ink */
  --text-2: #6e6e73;    /* Apple secondary */
  --text-3: #86868b;    /* Apple tertiary */
  --white: #ffffff;
  --grey: #f5f5f7;      /* Apple signature grey */
  --grey-2: #e8e8ed;
  --hair: #d2d2d7;      /* Apple hairline */

  /* Accent — used sparingly */
  --blue: #0071e3;      /* Apple button blue */
  --blue-hover: #0077ed;
  --link: #06c;         /* Apple link blue on light */
  --link-dark: #2997ff; /* link on dark */

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;

  --container: 1024px;      /* Apple content width */
  --container-wide: 1250px;
  --radius: 18px;
  --radius-l: 28px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);   /* Apple-ish */
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);  /* lang, myk utgang – Apple-scroll */
  --nav-h: 48px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(0, 113, 227, 0.18); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--text); }
.display {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.h-xl { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.032em; line-height: 1.06; }
.h-l  { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; }
.h-m  { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; }
.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  color: var(--text-2);
  font-weight: 400;
  letter-spacing: -0.014em;
}
.eyebrow {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.muted { color: var(--text-2); }
.grad-text { color: var(--blue); }                 /* andre halvdel av overskriften */
.dark .grad-text, .hero .grad-text { color: var(--link-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-wide { max-width: var(--container-wide); }
section { position: relative; }
.section-pad { padding: clamp(90px, 12vw, 150px) 0; }
.section-pad-s { padding: clamp(60px, 8vw, 100px) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.narrow { max-width: 720px; }

.dark { background: var(--black); color: var(--grey); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #f5f5f7; }
.dark .lead, .dark .muted { color: #a1a1a6; }
.dark .eyebrow { color: var(--link-dark); }
.paper { background: var(--grey); }

/* =====================================================================
   NAV — thin, frosted, Apple
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.scrolled { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.nav.on-dark:not(.scrolled) {
  background: rgba(0,0,0,0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.on-dark:not(.scrolled) .nav-link,
.nav.on-dark:not(.scrolled) .brand { color: #f5f5f7; }
.nav.on-dark:not(.scrolled) .nav-link { color: #d6d6d6; }

.nav-inner {
  width: 100%; max-width: var(--container-wide); margin-inline: auto;
  padding-inline: 22px; display: flex; align-items: center; gap: 22px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; color: var(--text);
}
.brand .mark { width: 20px; height: 20px; display: grid; place-items: center; }
.brand .mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  font-size: 0.82rem; font-weight: 400; color: var(--text); opacity: .88;
  padding: 6px 11px; border-radius: 8px;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { opacity: 1; color: var(--blue); }
.nav-link.active { color: var(--blue); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  font-size: 0.82rem; font-weight: 400; padding: 5px 14px; border-radius: 980px;
  background: var(--blue); color: #fff;
  transition: background .2s var(--ease);
}
.nav-cta:hover { background: var(--blue-hover); }

/* Language flags */
.lang { display: flex; align-items: center; gap: 3px; }
.flag-btn {
  width: 26px; height: 19px; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center; opacity: .45;
  transition: opacity .2s var(--ease);
}
.flag-btn svg { width: 26px; height: 19px; display: block; }
.flag-btn:hover { opacity: .8; }
.flag-btn.active { opacity: 1; box-shadow: 0 0 0 1.5px rgba(0,113,227,.6); }
.nav.on-dark:not(.scrolled) .flag-btn.active { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }

.nav-toggle { display: none; margin-left: auto; width: 34px; height: 34px; }
.nav-toggle span { display:block; width:18px; height:1.5px; background: currentColor; margin: 4px auto; transition: .3s var(--ease); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: rgba(255,255,255,.98); backdrop-filter: blur(24px);
  transform: translateX(100%); transition: transform .45s var(--ease);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 1.55rem; font-weight: 500; padding: 14px 0;
  border-bottom: 1px solid var(--grey-2); letter-spacing: -.02em; }

/* =====================================================================
   BUTTONS / LINKS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1rem; font-weight: 400; letter-spacing: -0.01em;
  padding: 11px 22px; border-radius: 980px;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--hair); }
.btn-ghost:hover { background: rgba(0,113,227,.06); }
.dark .btn-ghost { color: var(--link-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.dark .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 13px 28px; font-size: 1.08rem; }

/* Apple chevron link */
.link-arrow, .link-chevron {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--link); font-weight: 400; font-size: clamp(1rem, 1.4vw, 1.28rem);
}
.dark .link-arrow, .dark .link-chevron { color: var(--link-dark); }
.link-arrow svg, .link-chevron svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover, .link-chevron:hover { text-decoration: underline; }
.link-chevron::after { content: "›"; font-size: 1.25em; line-height: 0; margin-left: 3px; transition: transform .25s var(--ease); }
.link-chevron:hover::after { transform: translateX(3px); }

/* =====================================================================
   HERO — black, huge calm headline, centered
   ===================================================================== */
.hero {
  position: relative; min-height: 92svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); color: #f5f5f7; overflow: hidden;
  padding-top: var(--nav-h); text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-glow {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
  width: min(1100px, 120vw); height: min(700px, 80vh);
  background: radial-gradient(closest-side, rgba(41, 151, 255, 0.16), transparent 72%);
  filter: blur(10px); pointer-events: none;
}
/* legacy orb hooks — neutralised (kept so old markup stays clean) */
.hero-orb, .hero-grid { display: none; }
.hero-inner { position: relative; z-index: 2; padding: 40px 0 60px; }
.hero-eyebrow {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 600; color: #f5f5f7;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.hero h1 { max-width: 16ch; margin-inline: auto; color: #f5f5f7; }
.hero .grad-text { color: var(--link-dark); }
.hero-sub { max-width: 30ch; margin: 20px auto 0; font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: #a1a1a6; font-weight: 400; letter-spacing: -0.014em; }
.hero-cta, .hero-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; justify-content: center; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 980px; margin-bottom: 22px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  font-size: 0.82rem; font-weight: 500; color: #d6d6d6;
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #2997ff; }
.hero-trust { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 30px 56px; justify-content: center; }
.hero-trust .htn { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; color: #f5f5f7; }
.hero-trust .htl { font-size: .82rem; color: #86868b; margin-top: 4px; }
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: #86868b; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .mouse { width: 20px; height: 30px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 11px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%);
  width:2.5px; height:5px; border-radius:2px; background:#2997ff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 60%{opacity:1;transform:translate(-50%,9px)} 100%{opacity:0;transform:translate(-50%,11px)} }

/* =====================================================================
   REVEAL — subtle Apple fade/rise
   ===================================================================== */
.reveal {
  opacity: 0; transform: translateY(38px) scale(.968);
  transition: opacity 1.15s var(--ease-soft), transform 1.15s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.in, .reveal-scale.in { will-change: auto; }
.reveal.d1 { transition-delay: .11s; }
.reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .33s; }
.reveal.d4 { transition-delay: .44s; }
.reveal-scale {
  opacity: 0; transform: scale(.93) translateY(30px);
  transition: opacity 1.35s var(--ease-soft), transform 1.35s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .scroll-cue .mouse::after { animation: none !important; }
}

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */
.sec-head { max-width: 700px; }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { margin-bottom: 8px; display: inline-block; }
.sec-head h2 { margin-bottom: 18px; }

/* =====================================================================
   TILES (was: cards / glass) — flat, rounded, Apple bento
   ===================================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--grey); border-radius: var(--radius-l);
  padding: 34px 32px; border: none;
  transition: background .3s var(--ease);
}
.card:hover { background: var(--grey-2); }
.paper .card { background: var(--white); }
.paper .card:hover { background: #fbfbfd; }
.card .ic { margin-bottom: 22px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.02em; }
.card p { color: var(--text-2); font-size: 1.02rem; letter-spacing: -.01em; }

.glass {
  background: #1d1d1f; border: none; border-radius: var(--radius-l);
  padding: 34px 32px; transition: background .3s var(--ease);
}
.glass:hover { background: #232325; }
.glass h3 { font-size: 1.35rem; margin-bottom: 8px; color: #f5f5f7; }
.glass p { color: #a1a1a6; }

.ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.paper .ic { background: var(--grey); box-shadow: none; }
.dark .ic { background: #2c2c2e; color: var(--link-dark); box-shadow: none; }
.ic svg { width: 24px; height: 24px; }
.ic.soft { background: #fff; color: var(--blue); }
.paper .ic.soft { background: var(--grey); }

/* =====================================================================
   PRICING / WIN-WIN
   ===================================================================== */
.pricing-hero {
  border-radius: var(--radius-l);
  background: #1d1d1f;
  padding: clamp(34px, 5vw, 64px); color: #f5f5f7; position: relative;
}
.pricing-steps { display: grid; gap: 0; margin-top: 6px; }
.pstep { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.pstep:last-child { border-bottom: none; }
.pstep .num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 500; font-size: .92rem;
  background: rgba(255,255,255,.09); color: #a1a1a6;
}
.pstep.free .num { background: var(--blue); color: #fff; }
.pstep h4 { font-size: 1.12rem; margin-bottom: 3px; color: #f5f5f7; }
.pstep p { color: #a1a1a6; font-size: .98rem; }
.pstep .tag { margin-left: auto; align-self: center; font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 980px; }
.tag-free { background: rgba(41,151,255,.16); color: #2997ff; }
.tag-share { background: rgba(255,255,255,.1); color: #d6d6d6; }
.zero-band { text-align: center; margin-top: 40px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.12); }
.zero-band .big { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.03em; color: #f5f5f7; }

/* =====================================================================
   PROCESS TIMELINE
   ===================================================================== */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before { content:""; position:absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: rgba(255,255,255,.14); }
.dark .timeline::before { background: rgba(255,255,255,.14); }
.tstep { position: relative; display: flex; gap: 24px; padding: 16px 0 30px; }
.tstep .tnum {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; font-weight: 500; font-size: 1rem;
  background: #2c2c2e; color: #a1a1a6;
}
.tstep.done .tnum { background: var(--blue); color: #fff; }
.tstep h3 { font-size: 1.3rem; margin-bottom: 5px; color: #f5f5f7; }
.tstep p { color: #a1a1a6; max-width: 52ch; }

/* light timeline variant */
.paper .timeline::before, section:not(.dark) .timeline::before { background: var(--hair); }
section:not(.dark) .tstep .tnum { background: var(--grey); color: var(--text-2); }
section:not(.dark) .tstep.done .tnum { background: var(--blue); color: #fff; }
section:not(.dark) .tstep h3 { color: var(--text); }
section:not(.dark) .tstep p { color: var(--text-2); }

/* =====================================================================
   STATS / RESULTS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #f5f5f7; }
.stat .lbl { margin-top: 12px; font-size: .96rem; color: #86868b; }
section:not(.dark) .stat .num { color: var(--text); }
section:not(.dark) .stat .lbl { color: var(--text-2); }
.light-stats .stat .num { color: var(--text); }
.light-stats .stat .lbl { color: var(--text-2); }

.bars { display: flex; align-items: flex-end; gap: 16px; height: 240px; padding: 0 4px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 70px; border-radius: 8px 8px 3px 3px; background: #3a3a3c; position: relative; height: 0; transition: height 1.3s var(--ease); }
.bar.b2 { background: var(--blue); }
.bar .cap { position: absolute; top: -25px; left: 0; right: 0; text-align: center; font-weight: 600; font-size: .98rem; color: #f5f5f7; }
section:not(.dark) .bar .cap { color: var(--text); }
.bar-col .bl { font-size: .84rem; color: #86868b; text-align: center; }
section:not(.dark) .bar-col .bl { color: var(--text-2); }

/* =====================================================================
   INDUSTRIES
   ===================================================================== */
.ind-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ind {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); transition: background .25s var(--ease);
  font-weight: 500; font-size: 1rem; letter-spacing: -.01em;
}
.paper .ind { background: var(--white); }
.ind:hover { background: var(--grey-2); }
.ind .ii { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center;
  background: var(--grey); color: var(--blue); }
.paper .ind .ii { background: var(--grey); }
.ind .ii svg { width: 20px; height: 20px; }

/* =====================================================================
   WHY / REASONS
   ===================================================================== */
.reasons { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 40px; }
.reason { display: flex; gap: 15px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--hair); }
.dark .reason { border-top: 1px solid rgba(255,255,255,.12); }
.reason .chk { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; }
.reason .chk svg { width: 15px; height: 15px; }
.reason h4 { font-size: 1.16rem; margin-bottom: 4px; letter-spacing: -.02em; }
.reason p { color: var(--text-2); font-size: 1rem; }
.dark .reason p { color: #a1a1a6; }

/* =====================================================================
   SPLIT / MEDIA / FOUNDER
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.media { border-radius: var(--radius-l); overflow: hidden; position: relative; aspect-ratio: 4 / 5; background: var(--grey); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.wide { aspect-ratio: 16 / 10; }
.media-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 16px 20px; border-radius: var(--radius);
  background: rgba(0,0,0,.5); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); color: #fff;
}
.media-badge .n { font-weight: 600; font-size: 1.02rem; }
.media-badge .r { font-size: .85rem; color: rgba(255,255,255,.72); margin-top: 2px; }

.founder-quote { font-size: clamp(1.4rem,2.6vw,2.2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.22; color: var(--text); }
.founder-quote span { color: var(--text-3); }
.dark .founder-quote { color: #f5f5f7; }
.dark .founder-quote span { color: #86868b; }

/* Founder feature section */
.founder-hero { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px,5vw,70px); align-items: end; }
.founder-portrait { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1/1; position: relative; }
/* Kilden er kvadratisk og kuttet i nedre kant – forankre bunnen så kuttlinjen
   følger underkanten av tekstfeltet ved siden av. */
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.founder-name { margin-top: 24px; }
.founder-name .fn { font-size: 1.2rem; font-weight: 600; }
.founder-name .fr { color: var(--text-2); font-size: 1rem; margin-top: 2px; }
.dark .founder-name .fr { color: #a1a1a6; }
.pullquote { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; }
.quote-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.qcard { padding: 30px 28px; border-radius: var(--radius-l); background: var(--grey); }
.dark .qcard { background: #1d1d1f; }
.qcard .qm { font-size: 2.4rem; line-height: 0.6; color: var(--blue); font-weight: 700; }
.qcard p { font-size: 1.08rem; margin-top: 16px; letter-spacing: -.01em; color: var(--text); }
.dark .qcard p { color: #f5f5f7; }
.qcard .qa { margin-top: 16px; font-size: .9rem; color: var(--text-2); font-weight: 500; }
.dark .qcard .qa { color: #86868b; }

/* =====================================================================
   VALUES
   ===================================================================== */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* =====================================================================
   SUSTAINABILITY / WHY-GOOD
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--hair); border-radius: var(--radius-l); overflow: hidden; }
.dark .pillars { background: rgba(255,255,255,.12); }
.pillar { background: var(--white); padding: clamp(30px,4vw,48px); }
.dark .pillar { background: var(--black); }
.paper .pillar { background: var(--grey); }
.pillar .ic { margin-bottom: 22px; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 10px; letter-spacing: -.02em; }
.pillar p { color: var(--text-2); font-size: 1.05rem; }
.dark .pillar p { color: #a1a1a6; }

/* =====================================================================
   PHILO LIST
   ===================================================================== */
.philo-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 40px; margin-top: 22px; }
.philo-list li { display: flex; align-items: center; gap: 12px; padding: 15px 0; font-size: 1.12rem; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,.1); letter-spacing: -.01em; }
section:not(.dark) .philo-list li { border-bottom: 1px solid var(--hair); }
.philo-list li svg { width: 19px; height: 19px; color: var(--link-dark); flex: 0 0 auto; }
section:not(.dark) .philo-list li svg { color: var(--blue); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 26px 0; font-size: clamp(1.15rem,1.7vw,1.4rem); font-weight: 600; letter-spacing: -.02em; }
.faq-q .pm { margin-left: auto; flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; top:50%; left:50%; width:13px; height:1.5px;
  background: var(--blue); transform: translate(-50%,-50%); transition: transform .35s var(--ease); }
.faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 0 26px; color: var(--text-2); font-size: 1.08rem; line-height: 1.5; max-width: 62ch; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { border-radius: var(--radius-l); overflow: hidden; position: relative;
  padding: clamp(56px,8vw,110px) clamp(28px,5vw,70px); background: var(--black); text-align: center; color: #f5f5f7; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; margin-bottom: 18px; color: #f5f5f7; }
.cta-band .lead { color: #a1a1a6; max-width: 50ch; margin-inline: auto; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; align-items: center; }
.reassure { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; font-size: .9rem; color: #86868b; }
.reassure span { display: flex; align-items: center; gap: 7px; }
.reassure svg { width: 15px; height: 15px; color: var(--link-dark); }

/* =====================================================================
   FORM
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px,5vw,60px); align-items: start; }
.form-card { background: var(--grey); border-radius: var(--radius-l); padding: clamp(26px,4vw,44px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 15px; border-radius: 12px; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--hair); background: var(--white); color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--text-3); margin-top: 10px; }
.contact-facts { display: grid; gap: 12px; }
.cfact { display: flex; gap: 15px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--grey); }
.cfact .ci { width: 44px; height: 44px; border-radius: 11px; flex:0 0 auto; display:grid; place-items:center; background: var(--white); color: var(--blue); }
.cfact .cl { font-size: .8rem; color: var(--text-3); }
.cfact .cv { font-weight: 500; font-size: 1.05rem; }
.form-success { display:none; text-align:center; padding: 20px; }
.form-success.show { display:block; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); height: 220px; margin-top: 12px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15); }

/* =====================================================================
   FLOATING CTA
   ===================================================================== */
.floating-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 980px;
  background: var(--blue); color: #fff; font-weight: 400; font-size: .95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transform: translateY(140%); transition: transform .5s var(--ease), background .25s var(--ease); }
.floating-cta.show { transform: translateY(0); }
.floating-cta:hover { background: var(--blue-hover); }
.floating-cta svg { width: 15px; height: 15px; }
@media (max-width: 560px){ .floating-cta span.long { display:none; } }

/* =====================================================================
   FOOTER — Apple style: small grey text on light
   ===================================================================== */
.footer { background: var(--grey); color: var(--text-2); padding: 60px 0 30px; font-size: .82rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--hair); }
.footer .brand { color: var(--text); margin-bottom: 12px; }
.footer p { font-size: .82rem; max-width: 34ch; line-height: 1.5; }
.footer h5 { color: var(--text); font-size: .82rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -.01em; }
.footer-col a { display: block; padding: 5px 0; font-size: .82rem; color: var(--text-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 24px; color: var(--text-3); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--white); transition: background .2s var(--ease); }
.footer-social a:hover { background: var(--blue); }
.footer-social a:hover svg { color: #fff; }
.footer-social svg { width: 16px; height: 16px; color: var(--text-2); }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-size: 1.15rem; font-weight: 500; color: var(--text-3); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   PLACEHOLDER IMAGERY — refined neutral, not rainbow
   ===================================================================== */
.ph { width: 100%; height: 100%; position: relative; display: grid; place-items: center; color: rgba(255,255,255,.4);
  background: linear-gradient(160deg, #2c2c2e 0%, #1d1d1f 60%, #0a0a0b 100%); }
.ph::after { content: attr(data-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.ph-2 { background: linear-gradient(160deg, #3a3a3c 0%, #1d1d1f 70%); }
.ph-3 { background: linear-gradient(160deg, #26324a 0%, #14161b 55%, #0a0a0b 100%); }
.ph-portrait { background: linear-gradient(170deg, #4a4a4d 0%, #2c2c2e 55%, #161617 100%); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px){
  .grid-3, .grid-4, .stats, .ind-grid, .values, .reasons, .philo-list, .quote-cards { grid-template-columns: repeat(2,1fr); }
  .form-wrap, .split, .founder-hero { grid-template-columns: 1fr; }
  .split.rev { direction: ltr; }
  .founder-portrait { max-width: 420px; }
  .pillars { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .media { aspect-ratio: 16/11; }
}
@media (max-width: 820px){
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4, .stats, .ind-grid, .values, .reasons, .philo-list, .quote-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px 30px; }
  .bars { height: 190px; }
  .pstep .tag { display: none; }
}

/* =====================================================================
   BESPARELSESKALKULATOR
   ===================================================================== */
.calc-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,.12);
  border-radius: var(--radius-l); overflow: hidden;
}
.calc-panel { background: var(--black); padding: clamp(28px,4vw,46px); }
.calc-panel.res { background: #131315; display: flex; flex-direction: column; justify-content: center; }

.calc-field { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.calc-field:first-child { padding-top: 0; }
.calc-field:last-child { border-bottom: none; padding-bottom: 0; }
.calc-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.calc-head label { font-size: 1rem; color: #d6d6d6; letter-spacing: -.01em; }
.calc-head .val {
  margin-left: auto; font-size: 1.3rem; font-weight: 600;
  letter-spacing: -.03em; color: #f5f5f7; font-variant-numeric: tabular-nums;
}

input[type="range"].calc-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px; background: #3a3a3c;
  outline: none; cursor: pointer;
}
input[type="range"].calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.5); cursor: grab;
  transition: transform .18s var(--ease);
}
input[type="range"].calc-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
input[type="range"].calc-range::-moz-range-thumb {
  width: 24px; height: 24px; border: none; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.5); cursor: grab;
}
input[type="range"].calc-range:focus-visible { box-shadow: 0 0 0 3px rgba(41,151,255,.5); }
.calc-scale { display: flex; justify-content: space-between; margin-top: 9px; font-size: .76rem; color: #6e6e73; }

.calc-out { text-align: left; }
.calc-out .cl { font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; color: #86868b; }
.calc-today { padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.09); }
.calc-today .amt { font-size: clamp(1.5rem,3vw,2rem); font-weight: 600; letter-spacing: -.03em; color: #a1a1a6; margin-top: 6px; font-variant-numeric: tabular-nums; }
.calc-save { padding: 26px 0; }
.calc-save .amt {
  font-size: clamp(2.4rem,5.6vw,3.9rem); font-weight: 600; letter-spacing: -.045em;
  line-height: 1; color: #f5f5f7; margin-top: 10px; font-variant-numeric: tabular-nums;
}
.calc-save .sub { margin-top: 12px; font-size: 1.02rem; color: #a1a1a6; }
.calc-save .sub b { color: #2997ff; font-weight: 500; }
.calc-note {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: .88rem; color: #86868b; line-height: 1.5;
}
.calc-note strong { color: #d6d6d6; font-weight: 500; }
.calc-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.calc-disclaimer { margin-top: 22px; font-size: .8rem; color: #6e6e73; text-align: center; max-width: 70ch; margin-inline: auto; }

/* =====================================================================
   PORTEFØLJE / LØSNINGER I DRIFT
   ===================================================================== */
.sol-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sol {
  background: var(--white); border-radius: var(--radius-l);
  padding: 30px 28px 26px; display: flex; flex-direction: column;
  transition: background .28s var(--ease), transform .28s var(--ease);
}
.paper .sol { background: var(--white); }
.dark .sol { background: #1d1d1f; }
.sol:hover { transform: translateY(-3px); }
.paper .sol:hover { background: #fbfbfd; }
.dark .sol:hover { background: #232325; }
.sol-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sol-type {
  margin-left: auto; font-size: .7rem; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,113,227,.1); color: var(--blue); white-space: nowrap;
}
.dark .sol-type { background: rgba(41,151,255,.16); color: var(--link-dark); }
.sol h3 { font-size: 1.28rem; letter-spacing: -.02em; margin-bottom: 10px; }
.sol > p { color: var(--text-2); font-size: 1rem; margin-bottom: 20px; flex: 1; }
.dark .sol > p { color: #a1a1a6; }
.sol-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  padding-top: 16px; border-top: 1px solid var(--hair);
  font-size: .84rem; color: var(--text-3);
}
.dark .sol-meta { border-top-color: rgba(255,255,255,.12); }
.sol-meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.dark .sol-meta b { color: #f5f5f7; }
.sol-clients { font-size: .84rem; color: var(--text-3); margin-top: 10px; line-height: 1.45; }

.port-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 54px; }

/* Kundenavn-marquee */
.marquee.clients { margin-top: 56px; }
.marquee.clients .marquee-track span {
  font-size: 1.05rem; font-weight: 500; color: var(--text-3);
  display: flex; align-items: center; gap: 44px;
}
.marquee.clients .marquee-track span::after {
  content: "·"; color: var(--hair);
}
.dark .marquee.clients .marquee-track span::after { color: #3a3a3c; }

/* =====================================================================
   KONTAKT-JUSTERINGER
   ===================================================================== */
.legal-facts { margin-top: 18px; font-size: .84rem; color: var(--text-3); line-height: 1.6; }
.legal-facts b { color: var(--text-2); font-weight: 500; }

/* =====================================================================
   RESPONSIVE FOR NYE SEKSJONER
   ===================================================================== */
@media (max-width: 980px){
  .sol-grid { grid-template-columns: repeat(2,1fr); }
  .port-stats { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
}
@media (max-width: 820px){
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-panel.res { order: -1; }
}
@media (max-width: 620px){
  .sol-grid { grid-template-columns: 1fr; }
  .calc-head { flex-wrap: wrap; }
}

/* =====================================================================
   HAR DU EN IDÉ? — plattformer & sertifisering
   ===================================================================== */
.idea-band { max-width: 880px; margin-inline: auto; text-align: center; }
.idea-band h2 { margin-bottom: 20px; }

.plat-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 1px;
  background: rgba(255,255,255,.12); border-radius: var(--radius-l);
  overflow: hidden; margin-top: 56px;
}
.plat {
  background: var(--black); padding: 32px 18px 28px; text-align: center;
  transition: background .3s var(--ease);
}
.plat:hover { background: #1d1d1f; }
.plat .pi {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 12px;
  display: grid; place-items: center; background: #2c2c2e; color: #f5f5f7;
}
.plat .pi svg { width: 23px; height: 23px; }
.plat .pn { font-size: 1rem; font-weight: 500; color: #f5f5f7; letter-spacing: -.01em; }
.plat .pd { font-size: .82rem; color: #86868b; margin-top: 5px; line-height: 1.4; }

.cert-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 40px;
}
.cert {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  font-size: .95rem; color: #d6d6d6; letter-spacing: -.01em;
}
.cert svg { width: 17px; height: 17px; color: var(--link-dark); flex: 0 0 auto; }
.cert b { color: #f5f5f7; font-weight: 600; }

.idea-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: center; }

@media (max-width: 900px){ .plat-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){
  .plat-grid { grid-template-columns: repeat(2,1fr); }
  .plat { padding: 26px 12px 22px; }
}

/* =====================================================================
   SCROLL-ANIMASJON — Apple-stil
   ===================================================================== */

/* Automatisk trapping i rutenett, uten å måtte sette .d1/.d2 manuelt */
.sol-grid > .sol:nth-child(3n+2),
.plat-grid > .plat:nth-child(5n+2) { transition-delay: .08s; }
.sol-grid > .sol:nth-child(3n+3),
.plat-grid > .plat:nth-child(5n+3) { transition-delay: .16s; }
.plat-grid > .plat:nth-child(5n+4) { transition-delay: .24s; }
.plat-grid > .plat:nth-child(5n+5) { transition-delay: .32s; }

/* Plattform- og løsningskort fader inn som gruppe */
.plat { opacity: 0; transform: translateY(26px) scale(.96);
        transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.plat-grid.in .plat { opacity: 1; transform: none; }

/* Kort løfter seg mykere ved hover */
.card, .sol, .ind, .qcard { transition: background .35s var(--ease-soft), transform .45s var(--ease-soft); }
.card:hover, .ind:hover { transform: translateY(-2px); }

/* Scroll-styrt zoom på bildeflater */
[data-zoom] { overflow: hidden; }
[data-zoom] img, [data-zoom] > .ph {
  transform-origin: center;
  will-change: transform;
}

/* Store tall får en ekstra rolig oppskalering */
.stat .num { transition: opacity 1.2s var(--ease-soft), transform 1.2s var(--ease-soft); }

@media (prefers-reduced-motion: reduce) {
  .plat { opacity: 1 !important; transform: none !important; }
  [data-zoom] img, [data-zoom] > .ph { transform: none !important; }
  .card:hover, .ind:hover { transform: none; }
}

/* =====================================================================
   PRODUKTLOGOER & LENKER I LØSNINGSKORTENE
   ===================================================================== */
.sol-logo {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 11px; overflow: hidden;
  background: var(--grey); box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
}
.dark .sol-logo { background: #2c2c2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.sol-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sol-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.dark .sol-links { border-top-color: rgba(255,255,255,.12); }
.sol-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  font-size: .84rem; font-weight: 500; letter-spacing: -.01em;
  color: var(--blue); background: rgba(0,113,227,.08);
  transition: background .25s var(--ease-soft), transform .25s var(--ease-soft);
}
.sol-link:hover { background: rgba(0,113,227,.15); transform: translateY(-1px); }
.dark .sol-link { color: var(--link-dark); background: rgba(41,151,255,.14); }
.dark .sol-link:hover { background: rgba(41,151,255,.24); }
.sol-link svg { width: 13px; height: 13px; flex: 0 0 auto; }
.sol-link.store { color: var(--text); background: var(--grey-2); }
.dark .sol-link.store { color: #f5f5f7; background: rgba(255,255,255,.1); }

/* Kortet vokser nedover, så lenkene skal ligge i bunn */
.sol-links:last-child { margin-top: auto; }

/* Merkelapp for «kan prøves nå» */
.sol-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 500; letter-spacing: .02em;
  color: #1d7a3e; margin-top: 12px;
}
.dark .sol-live { color: #4ade80; }
.sol-live .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(45,160,80,.18);
}

/* =====================================================================
   TALLSTRIPE RETT UNDER HERO
   ===================================================================== */
.drift-head {
  display: flex; align-items: flex-end; gap: 20px;
  padding-bottom: 30px; margin-bottom: 34px;
  border-bottom: 1px solid var(--hair);
}
.drift-head .link-chevron { margin-left: auto; white-space: nowrap; }
#i-drift .port-stats { margin-bottom: 0 !important; margin-top: 0 !important; }
#i-drift .stat { text-align: left; padding: 0; }
#i-drift .stat .num { font-size: clamp(2rem, 3.6vw, 3rem); }
#i-drift .stat .lbl { margin-top: 8px; font-size: .9rem; max-width: 22ch; }

@media (max-width: 620px){
  .drift-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .drift-head .link-chevron { margin-left: 0; }
}

/* Nytt merke: smalere silhuett, trenger litt mer høyde for å veie opp mot ordmerket */
.brand .mark, .brand .mark svg { width: 24px; height: 24px; }
.footer .brand .mark, .footer .brand .mark svg { width: 22px; height: 22px; }

/* Knapp for noe som ennå ikke er ute */
.sol-link.soon {
  color: var(--text-3); background: transparent;
  box-shadow: inset 0 0 0 1px var(--hair);
  cursor: default; pointer-events: none;
}
.dark .sol-link.soon { color: #86868b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }

/* Tallstripen: tre nøkkeltall */
#i-drift .port-stats { grid-template-columns: repeat(3,1fr); }
@media (max-width: 820px){ #i-drift .port-stats { grid-template-columns: 1fr; gap: 26px; } }

/* =====================================================================
   HERO STRAMMET INN — tallstripen skal med på første skjerm
   Hero-innholdet er høyere enn min-height, så det er innholdet som må ned.
   ===================================================================== */
.hero { min-height: 74svh; }
.hero-inner { padding: 16px 0 30px; }
.hero-links { margin-top: 22px; }
.hero-sub { margin-top: 14px; }
.hero-trust { margin-top: 32px; gap: 18px 44px; }
.scroll-cue { bottom: 14px; }

#i-drift { padding-top: clamp(30px, 3.4vw, 46px); padding-bottom: clamp(30px, 3.4vw, 46px); }
.drift-head { padding-bottom: 20px; margin-bottom: 24px; }

/* Lave skjermer: stram inn typografien i hero slik at tallene får plass */
@media (max-height: 1000px){
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 8px); }
  .hero .display { font-size: clamp(2rem, 4.4vw, 3.2rem); }
  .hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin-top: 10px; }
  .hero-inner { padding: 10px 0 22px; }
  .hero-links { margin-top: 18px; }
  .hero-trust { margin-top: 24px; gap: 14px 38px; }
  .hero-trust .htn { font-size: clamp(1.4rem, 2vw, 1.8rem); }
  .hero-trust .htl { font-size: .76rem; }
  .scroll-cue { display: none; }
}
@media (max-height: 780px){
  .hero .display { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .hero-trust { margin-top: 18px; }
  .hero-inner { padding: 6px 0 18px; }
}

/* Kompakte butikk-knapper, så hele raden får plass på én linje */
.sol-links { flex-wrap: nowrap; align-items: center; }
.sol-link.icon-only { padding: 8px; width: 34px; height: 34px; justify-content: center; gap: 0; }
.sol-link.icon-only svg { width: 15px; height: 15px; }
.sol-link:not(.icon-only) { min-width: 0; }
.sol-link:not(.icon-only) span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Kundenavnet framhevet rett under korttittelen */
.sol-for {
  font-size: .95rem; font-weight: 400; letter-spacing: -.01em;
  color: var(--text-3); margin: -4px 0 12px;
}
.dark .sol-for { color: #86868b; }
/* Kundenavnet er det som skal bære vekten, ikke ordet «For» */
.sol-for span { color: var(--text); font-weight: 600; }
.dark .sol-for span { color: #f5f5f7; }

/* Kundebåndet får en tittel */
.clients-head {
  text-align: center; margin-top: 64px; margin-bottom: 22px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
}
.marquee.clients { margin-top: 0; }

/* Nøkkeltallene gjentatt under kundene */
.key-repeat {
  margin-top: 54px; padding-top: 44px;
  border-top: 1px solid var(--hair);
}
.dark .key-repeat { border-top-color: rgba(255,255,255,.12); }
.key-repeat .stat { text-align: left; padding: 0; }
.key-repeat .stat .num { font-size: clamp(2rem, 3.6vw, 3rem); }
.key-repeat .stat .lbl { margin-top: 8px; font-size: .9rem; max-width: 22ch; }
@media (max-width: 820px){ .key-repeat { grid-template-columns: 1fr; gap: 26px; } }

/* =====================================================================
   NØKKELTALL-BÅND — dempet, over løsningskortene
   Hero bærer allerede tallene med tyngde; her skal de bare bekrefte.
   ===================================================================== */
.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 52px; padding: 30px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.dark .stat-band { border-color: rgba(255,255,255,.12); }

.sb-item {
  position: relative; padding: 2px clamp(14px, 2.4vw, 30px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
.stat-band.in .sb-item { opacity: 1; transform: none; }
.stat-band.in .sb-item:nth-child(2) { transition-delay: .1s; }
.stat-band.in .sb-item:nth-child(3) { transition-delay: .2s; }
.sb-item:first-child { padding-left: 0; }

/* Hårfine skiller */
.sb-item + .sb-item::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 6%;
  width: 1px; background: var(--hair);
}
.dark .sb-item + .sb-item::before { background: rgba(255,255,255,.12); }

.sb-item .num {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 600;
  letter-spacing: -.035em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.dark .sb-item .num { color: #f5f5f7; }
.sb-item .lbl { margin-top: 10px; font-size: .88rem; color: var(--text-2); max-width: 22ch; }
.dark .sb-item .lbl { color: #86868b; }

@media (max-width: 820px){
  .stat-band { grid-template-columns: 1fr; gap: 26px; padding: 26px 0; }
  .sb-item { padding: 0; }
  .sb-item + .sb-item::before { left: 0; right: 0; top: -13px; bottom: auto; width: auto; height: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-item { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   NØKKELTALL I HERO — én rad
   ===================================================================== */
.hero-keys {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 26px clamp(30px, 5vw, 66px);
}
.hero-keys .hk { position: relative; text-align: center; }
.hero-keys .hkn {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 600;
  letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(115deg, #ffffff 25%, #7ae7ff 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-keys .hkl {
  margin-top: 9px; font-size: .84rem; color: #86868b;
  max-width: 17ch; margin-inline: auto; line-height: 1.35;
}

/* «20+ systemer» tar deg til utvalget */
.hero-keys .hk-link {
  display: block; padding: 10px 16px; margin: -10px -16px; border-radius: 16px;
  transition: background .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.hero-keys .hk-link:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }
.hero-keys .hk-link:focus-visible { outline: 2px solid var(--link-dark); outline-offset: 3px; }
.hk-hint {
  display: block; margin-top: 8px; font-size: .78rem; color: var(--link-dark);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.hero-keys .hk-link:hover .hk-hint,
.hero-keys .hk-link:focus-visible .hk-hint { opacity: 1; transform: none; }

/* Sirkelflagg under landtallet */
.hk-flags { display: flex; justify-content: center; gap: 5px; margin-top: 11px; }
.hk-flags .flag { width: 19px; height: 19px; display: block; }
.hk-flags .flag svg { width: 100%; height: 100%; display: block; border-radius: 50%; }

@media (max-height: 1000px){
  .hero-keys { margin-top: 28px; gap: 20px clamp(24px,4.5vw,52px); }
  .hero-keys .hkn { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
  .hero-keys .hkl { font-size: .78rem; }
  .hk-flags .flag { width: 17px; height: 17px; }
}
@media (max-width: 620px){
  .hero-keys { gap: 22px 26px; }
  .hero-keys .hkl { font-size: .75rem; max-width: 14ch; }
  .hk-hint { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-keys .hk-link:hover { transform: none; }
}

/* Om oss står alene uten bilde – én kolonne, behagelig linjelengde */
.om-solo { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }

/* =====================================================================
   APEX-MERKET OVER HERO-TEKSTEN
   Merket reiser seg nedenfra, prikken lander etterpå,
   og et blått skjær blomstrer bak.
   ===================================================================== */
.hero-mark {
  width: 86px; height: 86px; margin: 0 auto 18px;
  position: relative; display: grid; place-items: center;
}
.hm-glow {
  position: absolute; inset: -55%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(10,132,255,.3), rgba(52,213,255,.07) 44%, transparent 68%);
  opacity: 0; transform: scale(.45);
}
.hm-svg { width: 100%; height: 100%; position: relative; overflow: visible; }

.hm-chev {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleY(.12); opacity: 0;
}
.hm-dot {
  transform-box: fill-box; transform-origin: 50% 50%;
  opacity: 0; transform: translateY(-5px) scale(.3);
}

.hero-mark.in .hm-glow {
  animation: hmGlow 2s .05s cubic-bezier(.16,1,.3,1) forwards,
             hjerteslag 1.667s 2.1s ease-out infinite;
}
.hero-mark.in .hm-chev { animation: hmRise 1.15s .22s cubic-bezier(.16,1,.3,1) forwards; }
.hero-mark.in .hm-dot  { animation: hmDot .75s 1.0s cubic-bezier(.34,1.56,.64,1) forwards; }

@keyframes hmGlow {
  0%   { opacity: 0;   transform: scale(.55); }
  50%  { opacity: .62; transform: scale(1.06); }
  100% { opacity: .34; transform: scale(1); }
}
@keyframes hmRise {
  0%   { transform: scaleY(.12); opacity: 0; }
  55%  { opacity: 1; }
  100% { transform: scaleY(1);   opacity: 1; }
}
@keyframes hmDot {
  0%   { opacity: 0;   transform: translateY(-5px) scale(.3); }
  100% { opacity: .78; transform: none; }
}

@media (max-height: 1000px){ .hero-mark { width: 70px; height: 70px; margin-bottom: 14px; } }
@media (max-width: 620px){  .hero-mark { width: 62px; height: 62px; } }

@media (prefers-reduced-motion: reduce){
  .hm-chev { transform: none; opacity: 1; }
  .hm-dot  { transform: none; opacity: .78; }
  .hm-glow { opacity: .5; transform: scale(1); }
  .hero-mark.in .hm-glow,
  .hero-mark.in .hm-chev,
  .hero-mark.in .hm-dot { animation: none; }
}

/* =====================================================================
   HJERTERYTME I HERO-BAKGRUNNEN
   En rolig grunnlinje, og et lyspunkt som løper langs den i loop.
   ===================================================================== */
.hero-ecg {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: clamp(150px, 26vh, 260px);
  pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-ecg svg { width: 100%; height: 100%; display: block; }
.hero-ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Grunnlinjen ligger som en anelse i bakgrunnen */
.ecg-base {
  stroke: rgba(255,255,255,.055); stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: blur(1.4px);
}

/* Pulsen i to lag: et bredt, uskarpt skjær og en mykt sløret kjerne */
.ecg-halo, .ecg-pulse {
  stroke: url(#ecgSweep); vector-effect: non-scaling-stroke;
  stroke-dasharray: 85 1000; stroke-dashoffset: 85;
  animation: ecgRun 5s linear infinite;
}
.ecg-halo {
  stroke-width: 9; opacity: .3;
  filter: blur(9px);
}
.ecg-pulse {
  stroke-width: 2.6; opacity: .62;
  filter: blur(2.4px) drop-shadow(0 0 12px rgba(52,213,255,.4));
}
@keyframes ecgRun { to { stroke-dashoffset: -1000; } }

/* Teksten om at pulsen ligger rolig */
.hero-pulse {
  margin: 14px auto 0; max-width: 46ch;
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  color: #a1a1a6; letter-spacing: -.01em; line-height: 1.5;
}
.hero-pulse b { color: #f5f5f7; font-weight: 600; }

@media (max-height: 1000px){
  .hero-ecg { height: clamp(120px, 20vh, 190px); }
  .hero-pulse { margin-top: 10px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce){
  .ecg-pulse { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .35; }
}

/* =====================================================================
   SALGSARGUMENTENE — ruller horisontalt under nøkkeltallene
   Hver linje glir inn uskarp fra høyre, skarpstilles på midten,
   og glir ut uskarp til venstre. 3,5 sekunder i fokus.
   ===================================================================== */
.hero-rotator {
  position: relative; height: 2.6em; width: min(94vw, 720px);
  margin: 24px auto 0; overflow: hidden;
}
.hero-rotator .rot-line {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-size: clamp(1.02rem, 1.5vw, 1.3rem); font-weight: 400;
  letter-spacing: -.015em; text-transform: none;
  color: #d6d6d6; white-space: nowrap;
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  animation: rotSlide 18s linear infinite;
  will-change: transform, opacity, filter;
}
.hero-rotator .rot-line:nth-child(1) { animation-delay: 0s; }
.hero-rotator .rot-line:nth-child(2) { animation-delay: 6s; }
.hero-rotator .rot-line:nth-child(3) { animation-delay: 12s; }

/* Stiger opp nedenfra, legger seg mykt til ro, driver nesten umerkelig
   oppover mens den leses, og løftes rolig ut av bildet. */
@keyframes rotSlide {
  0%    { opacity: 0; transform: translateY(40px); filter: blur(8px);
          animation-timing-function: cubic-bezier(.16,1,.3,1); }      /* mykt inn */
  6%    { opacity: .85; }
  9%    { opacity: 1; transform: translateY(5px);  filter: blur(0);
          animation-timing-function: linear; }
  17%   { opacity: 1; transform: translateY(3px);  filter: blur(0); }
  25%   { opacity: 1; transform: translateY(-3px); filter: blur(0); }  /* nesten stille */
  26%   { opacity: 1; transform: translateY(-4px); filter: blur(0);
          animation-timing-function: cubic-bezier(.75,0,.9,.25); }    /* mykt ut */
  30%   { opacity: .7; }
  33.3% { opacity: 0; transform: translateY(-40px); filter: blur(8px); }
  33.4% { opacity: 0; transform: translateY(40px);  filter: blur(8px); }
  100%  { opacity: 0; transform: translateY(40px);  filter: blur(8px); }
}

}

.scroll-cue { bottom: 18px; gap: 0; }

@media (max-width: 700px){
  .hero-rotator { height: 4em; width: 92vw; margin-top: 18px; }
  .hero-rotator .rot-line { white-space: normal; font-size: .96rem; line-height: 1.35; }
}
@media (max-height: 1000px){ .hero-rotator { margin-top: 20px; } }
@media (prefers-reduced-motion: reduce){
  .hero-rotator .rot-line { animation: none; opacity: 0; filter: none; transform: none; }
  .hero-rotator .rot-line:first-child { opacity: 1; }
}

/* =====================================================================
   LØSNINGSKORTENE — tydelige, men lette rammer
   ===================================================================== */
.sol-grid { gap: 18px; }

.sol {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 26px 24px 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.028);
  transition: border-color .35s var(--ease-soft),
              box-shadow .35s var(--ease-soft),
              transform .35s var(--ease-soft);
}
.paper .sol { background: var(--white); }
.dark .sol {
  background: #131315; border-color: rgba(255,255,255,.1);
  box-shadow: none;
}

.sol:hover {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  background: var(--white);
}
.paper .sol:hover { background: var(--white); }
.dark .sol:hover {
  background: #1a1a1d; border-color: rgba(255,255,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* De innvendige strekene skal være enda finere enn rammen */
.sol-meta  { border-top-color: rgba(0,0,0,.07); padding-top: 14px; }
.sol-links { border-top-color: rgba(0,0,0,.07); padding-top: 14px; margin-top: 14px; }
.dark .sol-meta, .dark .sol-links { border-top-color: rgba(255,255,255,.09); }

/* Litt mer luft rundt logo og tittel */
.sol-top { margin-bottom: 14px; }
.sol h3 { font-size: 1.22rem; }
.sol > p { font-size: .98rem; line-height: 1.5; }

@media (max-width: 620px){ .sol { padding: 22px 20px 20px; border-radius: 18px; } }

/* =====================================================================
   LØSNINGER: mørk intro, lys kortliste
   ===================================================================== */
.losninger-intro { padding-bottom: clamp(56px, 6vw, 78px); }
.losninger-intro .stat-band {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.losninger-liste { padding-top: clamp(58px, 6.5vw, 86px); }

/* =====================================================================
   RUTENETT I HERO
   Blått, bare så vidt synlig på midten, fader ut mot kantene.
   ===================================================================== */
.hero-grid {
  display: block; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right,  rgba(10,132,255,.20) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,132,255,.20) 1px, transparent 1px);
  background-size: 68px 68px;
  background-position: center center;
  /* Masken er dobbelt så stor som feltet, så den kan flyttes rundt */
  -webkit-mask-image: radial-gradient(ellipse 26% 23% at 50% 50%,
                        #000 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.16) 66%, transparent 82%);
          mask-image: radial-gradient(ellipse 26% 23% at 50% 50%,
                        #000 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.16) 66%, transparent 82%);
  -webkit-mask-size: 200% 200%;  mask-size: 200% 200%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 46%; mask-position: 50% 46%;
  opacity: 0;
  animation: gridInn 2.4s .3s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes gridInn { to { opacity: 1; } }
}

/* Gløden og pulsen skal ligge over rutenettet */
.hero-glow { position: relative; z-index: 1; }

@media (max-width: 620px){ .hero-grid { background-size: 48px 48px; } }
@media (prefers-reduced-motion: reduce){ .hero-grid { animation: none; opacity: 1; } }

/* =====================================================================
   LØSNINGSKORTENE — jevn høyde, avkortet tekst, full tekst ved hover
   Kortet er en plassholder i rutenettet; innholdet ligger absolutt
   plassert oppå, så det kan vokse nedover uten å flytte naboene.
   ===================================================================== */
.sol {
  position: relative; min-height: 388px;
  background: none; border: none; box-shadow: none; padding: 0;
  transition: none;
}
.sol:hover { transform: none; box-shadow: none; border-color: transparent; background: none; }
.dark .sol, .paper .sol { background: none; }

.sol-inner {
  position: absolute; left: 0; right: 0; top: 0; min-height: 100%;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hair); border-radius: 20px;
  padding: 26px 24px 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.028);
  transition: box-shadow .4s var(--ease-soft), border-color .4s var(--ease-soft),
              transform .4s var(--ease-soft);
}
.dark .sol-inner { background: #131315; border-color: rgba(255,255,255,.1); box-shadow: none; }

.sol:hover .sol-inner,
.sol:focus-within .sol-inner {
  z-index: 6; transform: translateY(-4px);
  border-color: rgba(0,0,0,.14);
  box-shadow: 0 18px 46px rgba(0,0,0,.13);
}
.dark .sol:hover .sol-inner { border-color: rgba(255,255,255,.22); box-shadow: 0 18px 46px rgba(0,0,0,.55); }

/* Teksten viser tre linjer, og tones ut i bunnen */
.sol-desc {
  max-height: 4.6em; overflow: hidden; flex: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%);
          mask-image: linear-gradient(#000 55%, transparent 100%);
  transition: max-height .5s var(--ease-soft), -webkit-mask-image .35s, mask-image .35s;
}
.sol:hover .sol-desc,
.sol:focus-within .sol-desc {
  max-height: 32em;
  -webkit-mask-image: linear-gradient(#000 100%, #000 100%);
          mask-image: linear-gradient(#000 100%, #000 100%);
}

/* Bunnpartiet skyves ned mot kanten */
.sol-meta { margin-top: auto; }

/* Logoen løftes et lite hakk med kortet */
.sol-logo, .sol-top .ic { transition: transform .4s var(--ease-soft); }
.sol:hover .sol-logo, .sol:hover .sol-top .ic { transform: scale(1.06); }

@media (max-width: 980px){ .sol { min-height: 430px; } }
@media (max-width: 620px){
  .sol { min-height: 0; }
  .sol-inner { position: static; padding: 22px 20px 20px; border-radius: 18px; }
  .sol-desc { max-height: none; -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-motion: reduce){
  .sol:hover .sol-inner { transform: none; }
  .sol:hover .sol-logo, .sol:hover .sol-top .ic { transform: none; }
}

/* Ikon og lenker skal alltid ligge synlig i kortet, også når teksten er avkortet.
   Bunnpartiet forankres nederst, uansett hvor kort beskrivelsen er. */
.sol-inner > .sol-links:last-child,
.sol-inner > .sol-clients:last-child,
.sol-inner > .sol-live:last-child { flex: none; }
.sol-meta { margin-top: auto; }
.sol-logo, .sol-top .ic { flex: 0 0 auto; }

/* =====================================================================
   HERO SLUTTER DER INNHOLDET SLUTTER
   Ingen svart luft mellom argumentene og bla-hintet.
   ===================================================================== */
.hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
.hero-inner { padding: 0 0 0; }

.scroll-cue {
  position: static; transform: none;
  margin: 26px auto 0; gap: 8px;
}

@media (max-height: 1000px){
  .hero { padding-top: calc(var(--nav-h) + 26px); padding-bottom: 30px; }
  .scroll-cue { display: flex; margin-top: 20px; }
}

/* =====================================================================
   VIFTEBEVEGELSE PÅ KORTENE
   Kortet løftes og vipper som et spillkort som trekkes ut av bunken.
   Naboene lener seg litt unna, så raden åpner seg som en vifte.
   ===================================================================== */
.grid-4, .grid-3, .values { perspective: 1400px; }

.card {
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft),
              box-shadow .55s var(--ease-soft),
              background .45s var(--ease-soft);
  will-change: transform;
}

.card:hover {
  transform: translateY(-10px) rotateX(4.5deg) rotateZ(-1.3deg) scale(1.025);
  box-shadow: 0 22px 48px rgba(0,0,0,.11), 0 3px 10px rgba(0,0,0,.05);
  z-index: 3;
}
.dark .card:hover { box-shadow: 0 22px 48px rgba(0,0,0,.55); }

/* Naboene viker unna – det er dette som gir vifteeffekten */
.card:hover + .card { transform: translateX(7px) rotateZ(1deg); }
.card:has(+ .card:hover) { transform: translateX(-7px) rotateZ(-1deg); }

/* Ikonet løfter seg litt foran kortet */
.card .ic {
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft);
  transform-origin: 50% 100%;
}
.card:hover .ic {
  transform: translateY(-3px) translateZ(24px) rotateZ(-3deg);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.dark .card:hover .ic { box-shadow: 0 8px 18px rgba(0,0,0,.5); }

/* Tittelen kommer et hakk nærmere */
.card h3 { transition: transform .55s var(--ease-soft); }
.card:hover h3 { transform: translateZ(14px); }

@media (prefers-reduced-motion: reduce){
  .card, .card .ic, .card h3 { transition: background .3s; }
  .card:hover, .card:hover + .card, .card:has(+ .card:hover),
  .card:hover .ic, .card:hover h3 { transform: none; box-shadow: none; }
}


/* Om oss: portrettet skal ikke dominere, og sitatet skal ikke sprenge kolonnen */
#om-oss .founder-hero { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
#om-oss .founder-name { margin-top: 20px; }
#om-oss .lead { margin-top: 24px; }
#om-oss .muted { margin-top: 14px; }

/* Fire verdikort på rad */
#om-oss .values { grid-template-columns: repeat(3, 1fr); gap: 20px; }
#om-oss .values .card h3 { font-size: 1.14rem; }
#om-oss .values .card p { font-size: .95rem; }
@media (max-width: 980px){ #om-oss .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ #om-oss .values { grid-template-columns: 1fr; } }

/* Signaturen står under teksten, ikke over den */
#om-oss .founder-name {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--hair);
}
#om-oss .founder-name .fn { font-size: 1.05rem; }
#om-oss .founder-name .fr { font-size: .92rem; }
#om-oss .lead { margin-top: 0; }

/* =====================================================================
   «HAR DU EN IDÉ?» PÅ LYS BAKGRUNN
   Seksjonen ligger mellom prismodellen og kalkulatoren, som begge er
   mørke — så plattformflisene og merkene trenger lyse varianter.
   ===================================================================== */
#ide .plat-grid { background: var(--hair); }
#ide .plat { background: var(--white); }
#ide .plat:hover { background: #fbfbfd; }
#ide .plat .pi { background: var(--grey); color: var(--text); }
#ide .plat .pn { color: var(--text); }
#ide .plat .pd { color: var(--text-2); }

#ide .cert {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--hair);
  color: var(--text-2);
}
#ide .cert b { color: var(--text); }
#ide .cert svg { color: var(--blue); }
#ide .calc-disclaimer { color: var(--text-3); }

/* Skjemaets statuslinje og skjulte robotfelle */
.form-status { margin-top: 12px; font-size: .9rem; color: var(--text-2); min-height: 1.2em; }
.form-status.feil { color: #c8102e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[type="submit"][disabled] { opacity: .6; cursor: progress; }
