/* Body and interface typography is served locally with the display font. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

/* Load the display font locally before showing the fallback face. */
@font-face {
  font-family: 'Ranade';
  src: url('/assets/fonts/ranade-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Ranade';
  src: url('/assets/fonts/ranade-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: 'Ranade';
  src: url('/assets/fonts/ranade-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

/* Audun Norwegian site: shared stylesheet. Generated pages in /no/ link this file.
   Base = the landing page's design system; components for the sub-pages follow at the end. */
  :root {
    /* Audun design system palette (brand guidelines 2026) */
    --cream: #F9F9FA;   /* ink-50: lightest neutral page canvas */
    --paper: #ffffff;
    --tan: #DDE8F5;     /* mist panel */
    --sand: #B3E5FF;    /* glacier blue (footer wordmark) */
    --ink: #161F28;     /* nightfall text */
    --ink-soft: #5A6672;
    --ink-faint: #64707D;  /* 4.8:1 on cream, 5.05:1 on white: the lightest grey small text can use */
    --line: rgba(22, 31, 40, 0.12);
    --line-soft: rgba(22, 31, 40, 0.07);
    --dark: #161F28;    /* nightfall dark sections */
    --dark-2: #243D66;  /* fjord blue */
    --on-dark: #ffffff;
    --on-dark-soft: rgba(255, 255, 255, 0.72);
    /* Audun identity accents */
    --navy: #243D66;    /* fjord blue */
    --sky: #B3E5FF;     /* glacier blue */
    --sage: #0F7D6C;    /* aurora, darkened for small text on tints */
    --aurora: #27E6C6;

    --serif: 'Ranade', 'Instrument Sans', sans-serif;   /* display */
    --brand: 'Ranade', 'Instrument Sans', sans-serif;
    --sans: 'Instrument Sans', 'Helvetica Neue', system-ui, sans-serif;

    --maxw: var(--nav-maxw, 1440px);
    --page-gutter: clamp(24px, 5vw, 72px);
  }

  * , *::before, *::after { box-sizing: border-box; }
  html { scrollbar-gutter: stable; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

  /* Lenis smooth scroll (lassie.ai feel) */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: hidden; }
  .lenis.lenis-smooth iframe { pointer-events: none; }
  body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  img, svg, video { display: block; max-width: 100%; }
  button, input, select, textarea, code, pre { font-family: var(--sans); }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 500; }

  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--page-gutter); }

  /* serif display defaults */
  .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
  .serif em, em.serif { font-style: normal; }
  .eyebrow {
    font-family: var(--sans); font-size: 12px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
  }

  /* ───────── buttons ───────── */
  .btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--sans); font-size: 15px; font-weight: 500;
    padding: 13px 22px; border-radius: 999px; cursor: pointer;
    border: 1px solid transparent; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
  }
  .btn .arrow { transition: transform .25s ease; }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn-dark { background: var(--ink); color: var(--cream); }
  .btn-dark:hover { transform: translateY(-1px); background: #000; }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { background: rgba(23,18,12,0.04); }
  .btn-light { background: var(--on-dark); color: var(--ink); }
  .btn-light:hover { transform: translateY(-1px); background: #fff; }
  .btn-accent { background: var(--aurora); color: var(--ink); }
  .btn-accent:hover { transform: translateY(-1px); background: var(--sky); }

  /* ───────── floating nav pill ───────── */
  /* Flat full-width bar: transparent over the dark hero, then it picks up a
     blurred light surface (and the dark lockup) once you scroll. */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    background: transparent; border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease;
  }
  .nav.scrolled {
    background: rgba(249, 249, 250, 0.86);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom-color: var(--line-soft);
  }
  .nav-bar {
    display: flex; align-items: center; gap: 4px;
    max-width: 1440px; margin: 0 auto; height: 68px; padding: 0 28px;
  }
  .nav-brand { display: flex; align-items: center; }
  .nav-brand img { height: 22px; width: auto; display: block; }
  .nav .nav-logo-dark { display: none; }
  .nav.scrolled .nav-logo-dark { display: block; }
  .nav.scrolled .nav-logo-light { display: none; }
  .nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav-links a {
    font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.8);
    padding: 8px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease;
  }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
  .nav.scrolled .nav-links a { color: var(--ink-soft); }
  .nav.scrolled .nav-links a:hover { color: var(--ink); background: rgba(22,31,40,0.05); }
  .nav-cta { margin-left: 2px; }
  .nav-cta a {
    font-size: 14.5px; font-weight: 500; color: var(--ink); background: #fff;
    padding: 9px 16px; border-radius: 999px; transition: transform .2s ease, background .2s ease, color .2s ease;
  }
  .nav-cta a:hover { transform: translateY(-1px); background: var(--tan); }
  .nav.scrolled .nav-cta a { color: #fff; background: var(--ink); }
  .nav.scrolled .nav-cta a:hover { background: var(--dark-2); }
  .nav-toggle { display: none; }

  /* ───────── hero ───────── */
  .hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    background: var(--dark);
  }
  .hero-media { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero-media video {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  }
  /* a quiet scrim under the top bar so the white wordmark stays readable over the bright video */
  .hero::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; z-index: 2; pointer-events: none;
    background: linear-gradient(rgba(10, 22, 38, 0.55), rgba(10, 22, 38, 0));
  }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse 62% 48% at 50% 44%, rgba(10,22,38,0.24), rgba(10,22,38,0) 72%);
  }
  .hero-inner { position: relative; z-index: 3; color: #fff; padding: 110px 24px 64px; max-width: 1000px; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
    color: rgba(255,255,255,0.85); margin-bottom: 26px;
  }
  .hero-badge img { width: 20px; height: 20px; border-radius: 5px; }
  .hero h1 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(46px, 8.5vw, 104px); line-height: 1.0; letter-spacing: -0.03em;
    color: #fff;
  }
  .hero-sub {
    margin: 26px auto 0; max-width: 520px; font-size: 18px; line-height: 1.5;
    color: rgba(255,255,255,0.86);
  }
  .hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .scroll-hint {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .scroll-hint span.line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: drop 2.2s ease-in-out infinite; }
  @keyframes drop { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

  /* ───────── section rhythm ───────── */
  section { position: relative; }
  .band { padding: clamp(88px, 13vw, 168px) 0; }
  .center { text-align: center; }
  .mark { width: 30px; height: 30px; margin: 0 auto 30px; }
  .statement {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.02em;
    max-width: 14ch; margin-inline: auto;
  }
  .statement em { font-style: normal; }
  .statement-wide { max-width: none; white-space: nowrap; }
  .lede {
    font-size: 18px; line-height: 1.55; color: var(--ink-soft);
    max-width: 480px; margin: 22px auto 0;
  }

  /* dreamy media card */
  .media {
    position: relative; border-radius: 22px; overflow: hidden;
    box-shadow: 0 40px 90px rgba(23,18,12,0.14), 0 2px 0 rgba(255,255,255,0.5) inset;
    aspect-ratio: 16 / 10;
  }
  .media.tall { aspect-ratio: 4 / 3; }
  .media-grad { position: absolute; inset: 0; filter: saturate(1.05); }
  .grad-meadow { background: linear-gradient(115deg, #bcd2e0 0%, #8fb0c6 28%, #cdd9e6 55%, #9fbacd 78%, #aac1d4 100%); }
  .grad-dawn   { background: linear-gradient(120deg, #cdd9e6 0%, #b8c8d8 30%, #dde8f0 60%, #a9bdd4 85%, #c3cfdd 100%); }
  .grad-dusk   { background: linear-gradient(125deg, #8fa0b4 0%, #a6b1ca 35%, #c6d1e2 65%, #93a6be 100%); }
  .grad-pine   { background: linear-gradient(120deg, #9fb6c9 0%, #7593ae 35%, #b3c6d8 62%, #89a4bd 100%); }
  .media-blur { position: absolute; inset: -8%; filter: blur(34px); opacity: 0.9; animation: gradFlow 22s ease-in-out infinite alternate; will-change: transform; }
  .media-blur::after {
    content: ""; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
    background: repeating-linear-gradient(100deg, rgba(255,255,255,0.25) 0 2px, rgba(0,0,0,0.05) 2px 6px);
    animation: streak 13s linear infinite;
  }
  .media-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    animation: imgDrift 26s ease-in-out infinite alternate; will-change: transform;
  }
  @keyframes imgDrift {
    from { transform: scale(1.04) translate3d(-1%, -0.6%, 0); }
    to   { transform: scale(1.1) translate3d(1%, 0.6%, 0); }
  }
  /* tall paintings: pulled back a bit so they read less magnified in the frame */
  .media-photo.far { animation-name: imgDriftFar; }
  @keyframes imgDriftFar {
    from { transform: scale(1.02) translate3d(-0.5%, -0.3%, 0); }
    to   { transform: scale(1.05) translate3d(0.5%, 0.3%, 0); }
  }
  /* soft vignette so the white chips stay legible on the lighter paintings */
  .cw-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: radial-gradient(120% 90% at 50% 40%, rgba(18,34,54,0) 45%, rgba(18,34,54,0.16) 100%);
  }
  /* product window: a full platform screen, inset so the painting frames it */
  .cw-media .platform {
    position: absolute; inset: 8%; z-index: 2; text-align: left;
    background: var(--paper); border-radius: 14px; overflow: hidden;
    box-shadow: 0 26px 56px rgba(10,24,40,0.42), 0 1px 0 rgba(255,255,255,0.7) inset;
    display: flex; flex-direction: column;
  }
  /* window content sized in container-query units so it scales with the frame */
  .pf-bar { flex: none; display: flex; align-items: center; gap: 0.9cqw; padding: clamp(9px, 1.2cqw, 16px) clamp(12px, 1.6cqw, 22px); border-bottom: 1px solid var(--line-soft); background: #F9F9FA; }
  .pf-bar i { width: clamp(9px, 1.1cqw, 14px); height: clamp(9px, 1.1cqw, 14px); border-radius: 50%; display: block; }
  .pf-bar i:nth-child(1) { background: #ff5f57; }
  .pf-bar i:nth-child(2) { background: #febc2e; }
  .pf-bar i:nth-child(3) { background: #28c840; }
  .pf-url { margin-left: 1.2cqw; font-family: var(--sans); font-size: clamp(10px, 1.3cqw, 15px); color: var(--ink-faint); }
  .pf-screen { flex: 1; min-height: 0; padding: clamp(16px, 3.6cqw, 46px); display: flex; flex-direction: column; gap: clamp(7px, 1.4cqw, 16px); }
  .pf-eyebrow { font-family: var(--sans); font-size: clamp(10px, 1.35cqw, 16px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
  .pf-title { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 3.4cqw, 46px); line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
  .pf-sub { font-size: clamp(12px, 1.75cqw, 21px); color: var(--ink-soft); }
  .pf-row { display: flex; align-items: center; gap: clamp(8px, 1.2cqw, 16px); padding: clamp(8px, 1.5cqw, 18px) 0; border-top: 1px solid var(--line-soft); font-size: clamp(12px, 1.75cqw, 20px); color: var(--ink-soft); }
  .pf-row .amt { margin-left: auto; font-family: var(--sans); color: var(--ink); font-size: clamp(11px, 1.55cqw, 18px); white-space: nowrap; }
  .pf-row .ok { flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: rgba(39, 230, 198, 0.22); color: var(--sage); display: grid; place-items: center; font-size: .8em; font-weight: 700; }
  .pf-row .ok svg, .pf-dot svg { width: 60%; height: 60%; display: block; fill: currentColor; }
  .pf-bubble { background: var(--navy); color: #fff; border-radius: 14px; padding: clamp(12px, 1.9cqw, 26px); font-size: clamp(12px, 1.9cqw, 22px); line-height: 1.45; align-self: flex-start; max-width: 92%; }
  .pf-plan { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 14px; padding: 0 clamp(14px, 1.9cqw, 26px); }
  .pf-plan .pf-row:first-child { border-top: none; }
  .pf-reason { font-size: clamp(12px, 1.8cqw, 21px); line-height: 1.5; color: var(--ink-soft); margin: 0; }
  .pf-spacer { flex: 1; min-height: 4px; }
  .pf-foot { display: flex; align-items: center; gap: clamp(8px, 1.1cqw, 14px); }
  .pf-dot { flex: none; width: clamp(18px, 2.3cqw, 30px); height: clamp(18px, 2.3cqw, 30px); border-radius: 5px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: clamp(11px, 1.4cqw, 18px); }

  /* floating UI chip */
  .chip {
    position: absolute; background: var(--paper);
    border: 1px solid var(--line-soft); border-radius: 14px;
    box-shadow: 0 18px 50px rgba(23,18,12,0.16);
    padding: 12px 14px; font-size: 13px; color: var(--ink);
    backdrop-filter: blur(2px);
  }
  .chip-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; margin-bottom: 8px; }
  .chip-dot { width: 16px; height: 16px; border-radius: 5px; background: var(--navy); display: grid; place-items: center; color: #fff; font-size: 10px; }
  .chip-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; color: var(--ink-soft); }
  .chip-row .ok { width: 14px; height: 14px; border-radius: 50%; background: rgba(39, 230, 198, 0.22); color: var(--sage); display: grid; place-items: center; font-size: 9px; font-weight: 700; }
  .chip-row .amt { margin-left: auto; font-family: var(--sans); color: var(--ink); font-size: 11.5px; }
  .badge {
    font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
    padding: 2px 7px; border-radius: 5px; background: var(--tan); color: var(--ink-soft);
  }
  .badge.green { background: rgba(39, 230, 198, 0.22); color: var(--sage); }

  /* ───────── feature rows ───────── */
  .feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
  .feature + .feature { margin-top: clamp(72px, 11vw, 150px); }
  .feature.flip .feature-copy { order: 2; }
  .feature-num { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.1em; margin-bottom: 18px; }
  .feature h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.02em; }
  .feature h3 em { font-style: normal; }
  .feature p { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; max-width: 38ch; }

  /* ───────── card wheel (feature deck) ───────── */
  /* default = flow (used on mobile, reduced-motion, and no-JS); JS adds
     .cardwheel--active on desktop to pin the section and rotate the wheel */
  .cardwheel { position: relative; }
  .cardwheel-sticky { padding: clamp(70px, 10vw, 130px) 0; }
  .cw-slide + .cw-slide { margin-top: clamp(64px, 10vw, 140px); }
  /* demo frame centered; the copy sits on one side and alternates per card */
  .cw-slide-inner {
    display: grid; grid-template-columns: 1fr minmax(0, clamp(460px, 52vw, 1280px)) 1fr; gap: clamp(24px, 2.6vw, 56px);
    align-items: center; max-width: min(2200px, 94vw); margin: 0 auto; padding: 0 28px;
  }
  .cw-media { grid-column: 2; grid-row: 1; }
  /* copy hugs the inner edge of the centred frame, alternating sides */
  .cw-copy { grid-column: 1; grid-row: 1; text-align: right; }
  .cw-copy .cw-p { margin-left: auto; }
  .cw-slide.flip .cw-copy { grid-column: 3; text-align: left; }
  .cw-slide.flip .cw-p { margin-left: 0; margin-right: auto; }
  .cw-copy .feature-num { margin-bottom: 18px; }
  .cw-h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.02em; }
  .cw-h3 em { font-style: normal; color: var(--navy); }
  .cw-p { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; max-width: 38ch; }
  .cw-media {
    position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; width: 100%; max-height: 80vh;
    container-type: inline-size;
    box-shadow: 0 40px 90px rgba(23, 18, 12, 0.16), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
  }

  /* active = pinned carousel: cards stacked; the front one flows up and off the
     top as you scroll, revealing the next (pin height set from card count in JS) */
  .cardwheel--active .cardwheel-sticky { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; align-items: center; overflow: hidden; }
  .cardwheel--active .cardwheel-stage { position: relative; width: 100%; height: 100vh; }
  .cardwheel--active .cw-slide {
    position: absolute; inset: 0; display: flex; align-items: center; margin: 0 !important;
    will-change: transform, opacity;  /* background stays still: only content moves + dissolves */
  }
  .cardwheel--active .cw-slide-inner { width: 100%; }

  /* ───────── stat collage ───────── */
  .collage { position: relative; min-height: 620px; display: grid; place-items: center; }
  .collage .stat {
    position: relative; z-index: 3; text-align: center;
    font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04;
  }
  .collage .stat .big { display: block; font-size: clamp(72px, 12vw, 150px); line-height: 0.9; }
  .collage .stat .cap { display: block; font-size: clamp(28px, 4.4vw, 50px); margin-top: 6px; }
  .collage .stat .cap em { font-style: normal; }
  .float { position: absolute; z-index: 2; }
  .tile { position: absolute; z-index: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(23,18,12,0.16); aspect-ratio: 1/1; width: 150px; }
  .tile .media-grad { position: absolute; inset: 0; }

  /* ───────── audiences two-up ───────── */
  .twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .a-card {
    background: var(--paper); border: 1px solid var(--line-soft); border-radius: 22px;
    padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column;
  }
  .a-card .eyebrow { margin-bottom: 18px; }
  .a-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.02em; }
  .a-card p { color: var(--ink-soft); margin: 16px 0 26px; font-size: 16px; }
  .a-card .foot { margin-top: auto; }
  .pill-soft { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-faint); border: 1px dashed var(--line); padding: 10px 18px; border-radius: 999px; }

  /* ───────── dark quote band ───────── */
  .dark { background: var(--dark); color: var(--on-dark); }
  .dark .mark path, .dark .mark circle { }
  .quote-band { text-align: center; }
  .quote-band .eyebrow { color: var(--on-dark-soft); }
  .quote-band blockquote {
    margin: 26px auto 0; max-width: 16ch;
    font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5.2vw, 66px);
    line-height: 1.08; letter-spacing: -0.02em;
  }
  .quote-band blockquote em { font-style: normal; }
  .quote-band .by { margin-top: 30px; display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark-soft); font-size: 13.5px; }
  .quote-band .by img { width: 18px; height: 18px; border-radius: 4px; }

  /* ───────── how it works ───────── */
  .how-head { text-align: center; margin-bottom: clamp(48px, 7vw, 84px); }
  .how-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.02em; }
  /* the same card language as .fcard: white tiles with 18px gaps, the numeral inside */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(22px, 2.6vw, 32px); }
  .step .n { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); }
  .step h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 22px 0 12px; letter-spacing: -0.01em; }
  .step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

  /* ───────── FAQ ───────── */
  .faq-head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
  .faq-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.02em; }
  .faq { max-width: 760px; margin: 0 auto; }
  details.qa { border-top: 1px solid var(--line); }
  details.qa:last-of-type { border-bottom: 1px solid var(--line); }
  details.qa summary {
    list-style: none; cursor: pointer; padding: 26px 4px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 400; letter-spacing: -0.01em;
  }
  details.qa summary::-webkit-details-marker { display: none; }
  details.qa .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s ease; }
  details.qa .plus::before, details.qa .plus::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: opacity .3s ease; }
  details.qa .plus::before { left: 50%; top: 4px; width: 1.6px; height: 16px; transform: translateX(-50%); }
  details.qa .plus::after { top: 50%; left: 4px; height: 1.6px; width: 16px; transform: translateY(-50%); }
  /* open: the plus turns a quarter and the bar that ends up vertical fades, leaving a minus */
  details.qa[open] .plus { transform: rotate(90deg); }
  details.qa[open] .plus::after { opacity: 0; }
  details.qa .ans { padding: 0 4px 28px; color: var(--ink-soft); font-size: 16px; max-width: 60ch; }

  /* ───────── closing CTA ───────── */
  .closing { text-align: center; }
  .closing h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.025em; }
  .closing h2 em { font-style: normal; color: var(--aurora); }
  .closing .hero-cta { margin-top: 36px; }
  .closing .btn-dark { padding: 15px 28px; font-size: 16px; }

  /* ───────── footer ───────── */
  .footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(20px, 2.5vw, 40px); overflow: hidden; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .footer-brand img { height: 24px; width: auto; display: block; }
  .footer-brand-name { font-family: var(--brand); font-size: 22px; }
  .footer-tag { color: var(--ink-soft); font-size: 15px; max-width: 30ch; }
  .footer-col h4, .footer-col .footer-h { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; }
  .footer-col a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; transition: color .2s ease; }
  .footer-col a:hover { color: var(--ink); }
  .footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-faint); font-family: var(--sans); font-size: 12px; }
  .footer-word {
    font-family: var(--brand); font-weight: 500; letter-spacing: -0.02em;
    font-size: clamp(90px, 24vw, 400px); line-height: 0.9; text-align: center;
    color: var(--sand); margin-top: 28px; user-select: none;
  }

  /* The footer details scroll away to uncover the wordmark underneath. */
  .footer--reveal { --footer-curve: clamp(24px, 4vw, 64px); padding: 0; border-top: 0; overflow: clip; isolation: isolate; background: #B3E5FF; }
  .footer--reveal .footer-content { position: relative; z-index: 1; padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 56px); border-radius: 0 0 var(--footer-curve) var(--footer-curve); background: #FAF5F0; }
  .footer-reveal { position: sticky; bottom: 0; height: clamp(155px, 34vw, 60svh); margin-top: calc(-1 * var(--footer-curve)); padding-top: var(--footer-curve); display: grid; place-items: center; background: linear-gradient(180deg, #DDE8F5, #B3E5FF); }
  .footer--reveal .footer-word { margin: 0; color: #fff; font-size: min(29vw, 49svh); line-height: 1; letter-spacing: -.045em; }
  @media (prefers-reduced-motion: reduce) {
    .footer-reveal { position: relative; }
  }

  /* ───────── demo animations ───────── */
  /* the dreamy backdrops slowly flow, like the motion-blur imagery on lassie */
  @keyframes gradFlow {
    0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1.05) rotate(-1.5deg); }
    100% { transform: translate3d(2.5%, 1.5%, 0) scale(1.14) rotate(2deg); }
  }
  @keyframes streak { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

  /* demo elements are scroll-scrubbed: JS sets their transform + opacity from
     the section's scroll progress, so they assemble as you scroll (like lassie).
     .js hides them up-front so there is no flash before the first scroll frame. */
  .js .media .chip,
  .js .collage .float,
  .js .collage .tile,
  .js .collage .stat { opacity: 0; will-change: transform, opacity; }

  /* checkmarks, badges and icons pop once their chip has assembled into place */
  @keyframes pop {
    0%   { transform: scale(0); }
    62%  { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  .chip.settled .ok, .chip.settled .badge, .chip.settled .chip-dot {
    animation: pop .5s cubic-bezier(.34,1.56,.64,1) both;
  }
  .chip.settled > *:nth-child(2) .ok, .chip.settled > *:nth-child(2) .badge { animation-delay: .07s; }
  .chip.settled > *:nth-child(3) .ok, .chip.settled > *:nth-child(3) .badge { animation-delay: .14s; }
  .chip.settled > *:nth-child(4) .ok, .chip.settled > *:nth-child(4) .badge { animation-delay: .21s; }

  /* typing indicator on the "working" chip — a continuous sign of life */
  .typing { display: inline-flex; gap: 3px; margin-left: 7px; vertical-align: middle; }
  .typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); animation: typing 1.3s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: .18s; }
  .typing i:nth-child(3) { animation-delay: .36s; }
  @keyframes typing {
    0%, 60%, 100% { opacity: .25; transform: translateY(0); }
    30%           { opacity: 1; transform: translateY(-3px); }
  }

  /* counting numbers hold their width so the layout doesn't jitter */
  .big[data-count], .amt[data-count] { font-variant-numeric: tabular-nums; }

  /* a quiet "live" pulse on the working chips */
  .chip.live .chip-dot { position: relative; }
  .chip.live .chip-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    animation: livePulse 2.2s ease-out infinite;
  }
  @keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(95, 115, 96, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(95, 115, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(95, 115, 96, 0); }
  }


  /* ───────── reveal ───────── */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    .scroll-hint span.line { animation: none; }
    html { scroll-behavior: auto; }
    .js .media .chip, .js .collage .float, .js .collage .tile, .js .collage .stat { opacity: 1 !important; transform: none !important; }
    .chip .ok, .chip .badge, .chip .chip-dot,
    .media-blur, .media-blur::after, .chip.live .chip-dot::after { animation: none !important; transform: none !important; }
    .typing i { animation: none !important; opacity: .55 !important; }
  }

  /* ───────── responsive ───────── */
  @media (max-width: 880px) {
    .feature, .twoup, .steps, .footer-grid, .cw-slide-inner { grid-template-columns: 1fr; }
    .cw-media, .cw-copy, .cw-slide.flip .cw-copy { grid-column: auto; grid-row: auto; }
    /* Phones: the fixed 3:2 frame is shorter than the console content and
       clips it. Let the console size the frame; the painting stays behind. */
    .cw-media { aspect-ratio: auto; max-height: none; padding: 7%; }
    .cw-media .platform { position: relative; inset: auto; }
    .cw-copy, .cw-slide.flip .cw-copy { text-align: left; }
    .cw-copy .cw-p, .cw-slide.flip .cw-p { margin-left: 0; margin-right: 0; }
    .feature.flip .feature-copy { order: 0; }
    .feature + .feature { margin-top: 64px; }
    .cw-media { border-radius: 18px; }
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
    .collage { min-height: 520px; }
    .tile { width: 104px; }
    .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
  }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap { padding: 0 var(--page-gutter); }
    /* The Norwegian headline runs longer than the English one; at the shared
       46px it wraps "En enklere / måte" on phones. Scale with the viewport so
       it stays on two lines down to 320px-wide screens. */
    .hero h1 { font-size: clamp(32px, 10vw, 46px); }
    /* "Bygget for begge sider." is wider than the English line and clips
       on phones if it cannot wrap. */
    .statement-wide { white-space: normal; }
    .chip { transform: scale(0.86); }
    .float .chip { font-size: 12px; }
  }

/* ═══════════════════════════════════════════════════════════════════════
   Sub-page components (multi-page Norwegian site)
   ═══════════════════════════════════════════════════════════════════════ */

/* ───────── nav: actions, solid variant, active link, mobile menu ───────── */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-pill {
  font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  color: var(--ink); background: #fff; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-pill:hover { transform: translateY(-1px); background: var(--tan); }
.nav-pill--soft { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.nav-pill--soft:hover { background: rgba(255,255,255,0.24); }
.nav.scrolled .nav-pill, .nav--solid .nav-pill, .nav.menu-open .nav-pill { color: #fff; background: var(--ink); }
.nav.scrolled .nav-pill:hover, .nav--solid .nav-pill:hover { background: var(--dark-2); }
.nav.scrolled .nav-pill--soft, .nav--solid .nav-pill--soft, .nav.menu-open .nav-pill--soft { color: var(--ink); background: transparent; border-color: var(--line); }
.nav.scrolled .nav-pill--soft:hover, .nav--solid .nav-pill--soft:hover { background: rgba(22,31,40,0.05); }
.nav--solid, .nav.menu-open {
  background: rgba(249, 249, 250, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}
.nav--solid .nav-logo-dark, .nav.menu-open .nav-logo-dark { display: block; }
.nav--solid .nav-logo-light, .nav.menu-open .nav-logo-light { display: none; }
.nav--solid .nav-links a { color: var(--ink-soft); }
.nav--solid .nav-links a:hover { color: var(--ink); background: rgba(22,31,40,0.05); }
.nav-links a[aria-current] { color: #fff; background: rgba(255,255,255,0.12); }
.nav.scrolled .nav-links a[aria-current], .nav--solid .nav-links a[aria-current] { color: var(--ink); background: rgba(22,31,40,0.06); }

.nav-toggle {
  display: none; width: 40px; height: 40px; margin-left: 8px; padding: 0; cursor: pointer;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .25s ease; }
.nav.scrolled .nav-toggle, .nav--solid .nav-toggle, .nav.menu-open .nav-toggle { border-color: var(--line); }
.nav.scrolled .nav-toggle span, .nav--solid .nav-toggle span, .nav.menu-open .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.nav-menu { display: none; padding: 4px 20px 20px; border-bottom: 1px solid var(--line-soft); max-height: calc(100vh - 68px); overflow: auto; }
.nav-menu[data-open="true"] { display: block; }
.nav-menu > a { display: block; padding: 13px 6px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav-menu-actions { display: flex; gap: 10px; margin-top: 16px; }
.nav-menu-actions a { flex: 1; text-align: center; padding: 12px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.nav-menu-actions .primary { background: var(--aurora); color: var(--ink); }
/* the header pill is repeated inside the open menu, so hide the header copy meanwhile */
.nav.menu-open .nav-pill--soft { display: none; }
.nav-menu-actions .soft { border: 1px solid var(--line); color: var(--ink); }
/* (nav breakpoint rules live in the nav v2 block at the end of this file) */

/* ───────── landing hero: investor badge + creditor/debtor fork ───────── */
.hero-badge-sep { opacity: .55; }
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin: 38px auto 0; text-align: left; }
.fork-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 56px 20px 22px; border-radius: 18px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.fork-card:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.fork-card--primary { background: rgba(39,230,198,0.16); border-color: rgba(39,230,198,0.4); }
.fork-card--primary:hover { background: rgba(39,230,198,0.26); border-color: rgba(39,230,198,0.6); }
.fork-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.fork-title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.12; letter-spacing: -0.01em; }
.fork-text { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,0.78); }
.fork-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--aurora); transition: transform .25s ease; }
.fork-card:hover .fork-arrow { transform: translate(3px, -50%); }

/* ───────── page hero (sub-pages) ───────── */
.ph { position: relative; overflow: hidden; padding: 150px 0 84px; }
.ph--dark { background: var(--dark); color: #fff; }
.ph--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 70% at 78% 12%, rgba(39, 230, 198, 0.16), transparent 70%),
    radial-gradient(50% 60% at 15% 95%, rgba(36, 61, 102, 0.75), transparent 70%);
}
.ph--light { background: var(--cream); color: var(--ink); padding-top: 140px; }
.ph-inner { position: relative; max-width: 840px; }
.ph-eyebrow { margin-bottom: 18px; }
.ph--dark .ph-eyebrow { color: rgba(255,255,255,0.62); }
.ph-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
.ph-title em { font-style: normal; color: var(--aurora); }
.ph--light .ph-title em { color: var(--navy); }
.ph-title em.text-aurora { color: var(--aurora); }
.ph-lede { margin: 22px 0 0; max-width: 640px; font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.ph--dark .ph-lede { color: rgba(255,255,255,0.8); }
.ph-ctas { justify-content: flex-start; margin-top: 30px; }
.ph--dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.ph--dark .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ───────── sections ───────── */
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -0.02em; }
.sec-intro { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.band--alt { background: var(--tan); }
.band--statement .statement-wide { white-space: normal; max-width: 22ch; }
.band--statement .lede { max-width: 620px; }

.fgrid { display: grid; gap: 18px; }
.fgrid-2 { grid-template-columns: repeat(2, 1fr); }
.fgrid-3 { grid-template-columns: repeat(3, 1fr); }
.fcard {
  position: relative; display: block; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: clamp(22px, 2.6vw, 32px); transition: transform .25s ease, box-shadow .25s ease;
}
.fcard h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; }
.fcard p { margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.fcard--link h3 { padding-right: 30px; }
.fcard--link:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(23,18,12,0.08); }
.fcard-arrow { position: absolute; top: 24px; right: 24px; color: var(--ink-faint); transition: transform .25s ease, color .25s ease; }
.fcard--link:hover .fcard-arrow { transform: translateX(3px); color: var(--ink); }
.band--alt .fcard { background: rgba(255,255,255,0.72); }

.steps-2 { grid-template-columns: repeat(2, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }

.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 22px; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.6; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; font-size: 17px; line-height: 1.55; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 600; }
.band--prose + .band--prose { padding-top: 0; }

.console-solo { max-width: 920px; margin: 0 auto; }
.faq-more { text-align: center; margin-top: 30px; }

.closing-text { margin: 18px auto 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--on-dark-soft); }
.closing--light { background: var(--tan); color: var(--ink); }
.closing--light h2 em { color: var(--navy); }
.closing--light .closing-text { color: var(--ink-soft); }

/* ───────── trust strip ───────── */
.trust { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; color: var(--ink-soft); }
.trust-row strong { color: var(--ink); font-weight: 600; }

/* ───────── footer with four columns ───────── */
.footer-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1fr; row-gap: 28px; align-items: start; }
.footer-tag--small { font-size: 13.5px; color: var(--ink-faint); margin-top: 10px; }
.footer-col a[lang="en"] { margin-top: 8px; color: var(--ink-faint); }

/* ───────── responsive ───────── */
@media (max-width: 880px) {
  .fgrid-2, .fgrid-3, .steps-2, .steps-4, .trust-row, .footer-grid--4 { grid-template-columns: 1fr; }
  .trust-row { gap: 10px; }
  .fork { grid-template-columns: 1fr; margin-top: 30px; }
  .ph { padding: 118px 0 56px; }
  .ph--light { padding-top: 108px; }
}
@media (max-width: 560px) {
  .fork-title { font-size: 21px; }
  .fork-card { padding: 18px 50px 18px 18px; }
  .ph-title { font-size: clamp(28px, 8vw, 40px); } /* 9vw clipped "Personvernerklæring" at 390px */
  .prose p, .prose li { font-size: 16.5px; }
}

/* ───────── sub-page rhythm: tighter bands than the landing ───────── */
.page:not(.page--landing) .band { padding: clamp(64px, 9vw, 120px) 0; }
.page:not(.page--landing) .ph + .band { padding-top: clamp(36px, 5vw, 64px); }
.page:not(.page--landing) .band--prose + .band--prose { padding-top: 0; }
.nav.menu-open, .nav.menu-open .nav-menu { background: rgba(249, 249, 250, 0.985); }
.page:not(.page--landing) .band { padding: clamp(56px, 7.5vw, 100px) 0; }

/* ───────── nav v2: login as text link, demo as accent pill; skip link; main ───────── */
.nav-pill--accent { background: var(--aurora); color: var(--ink); }
.nav-pill--accent:hover { background: var(--sky); }
.nav.scrolled .nav-pill--accent, .nav--solid .nav-pill--accent, .nav.menu-open .nav-pill--accent { background: var(--aurora); color: var(--ink); }
.nav.scrolled .nav-pill--accent:hover, .nav--solid .nav-pill--accent:hover { background: var(--sky); }
.nav-menu > a[href^="https://audun.app"] { color: var(--ink-soft); }
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .nav-pill--accent { display: none; }
  .nav-pill--soft { display: inline-block; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transition: top .15s ease; }
.skip-link:focus { top: 12px; outline: 2px solid var(--aurora); }
main { display: block; }
/* nav: never wrap labels; slightly tighter so six tabs, login and two pills fit at 1200px */
.nav-links a, .nav-pill { white-space: nowrap; }
.nav-links a { padding: 8px 11px; font-size: 14px; }
.nav-pill { padding: 9px 14px; font-size: 14px; }
.nav-actions { gap: 6px; margin-left: 8px; }
.nav-bar { gap: 2px; }

/* ───────── no all-caps: eyebrows, console labels, footer headings, fork eyebrows ───────── */
.eyebrow, .fork-eyebrow, .pf-eyebrow, .footer-col .footer-h, .scroll-hint, .hero-badge { text-transform: none; }
.eyebrow { letter-spacing: 0.01em; font-size: 13.5px; color: var(--ink-faint); }
.ph--dark .ph-eyebrow { color: rgba(255,255,255,0.62); }
.fork-eyebrow { letter-spacing: 0.01em; font-size: 13px; }
.pf-eyebrow { letter-spacing: 0.02em; }
.footer-col h4, .footer-col .footer-h { letter-spacing: 0.01em; font-size: 13px; font-weight: 600; }

/* fork cards sit a little lower under the hero copy */
.fork { margin-top: 64px; }
@media (max-width: 880px) { .fork { margin-top: 44px; } }

/* ───────── logo wall (integrasjoner) ───────── */
.logo-group + .logo-group { margin-top: 30px; }
.logo-group-title { font-size: 13.5px; font-weight: 500; color: var(--ink-faint); margin: 0 0 12px; }
.logo-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.logo-tile { border: 1px solid var(--line-soft); border-radius: 14px; background: var(--paper); transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
.logo-tile > a, .logo-tile > span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; color: var(--ink-soft); }
.logo-tile:hover { border-color: var(--line); box-shadow: 0 10px 26px rgba(22,31,40,0.08); transform: translateY(-1px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile:hover .logo-name { color: var(--ink); }
.logo-name { font-size: 15px; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; transition: color .2s ease; }
.logo-initial { flex: none; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(22,31,40,0.06); color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.logo-tile img { flex: none; width: 28px; height: 28px; object-fit: contain; border-radius: 6px; filter: grayscale(1); opacity: .78; transition: filter .25s ease, opacity .25s ease; }
.logo-word { font-family: var(--serif); font-weight: 500; font-size: 16.5px; letter-spacing: -0.01em; color: var(--ink-soft); text-align: center; line-height: 1.2; }
@media (max-width: 1080px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 880px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .logo-tile > a, .logo-tile > span { padding: 9px 11px; gap: 9px; min-height: 52px; } .logo-name { font-size: 13.5px; } }

/* ───────── landing fork as plain links (no boxes) ───────── */
.fork--links { display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); max-width: none; margin-top: 44px; text-align: center; }
.fork-link { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.01em; color: #fff; padding: 6px 2px; border-bottom: 1.5px solid rgba(255,255,255,0.35); transition: border-color .2s ease, color .2s ease; }
.fork-link:hover { border-color: var(--aurora); color: var(--aurora); }
.fork-link .arrow { display: inline-block; transition: transform .25s ease; }
.fork-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 560px) { .fork--links { flex-direction: column; gap: 14px; align-items: center; margin-top: 32px; } }

/* ───────── timeline (Hva skjer nå?) ───────── */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.timeline-item:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tan); color: var(--navy); font-family: var(--sans); font-size: 13px; margin-top: 2px; }
.timeline-item h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 4px; }
.timeline-item p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }


/* prose blocks align with the page grid instead of centring */
.prose { margin-left: 0; }

/* ───────── Vipps login button per Vipps MobilePay button guidelines: Vipps orange, white label, 4px radius, 48px tall, logo after the label ───────── */
.btn-vipps { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 4px; background: #FF5B24; color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; transition: background .2s ease; }
.btn-vipps:hover { background: #e0501f; }
.btn-vipps img { height: 18px; width: auto; display: block; }
.btn-vipps strong { font-weight: 700; letter-spacing: -0.01em; }

/* consecutive sections share one spacing unit instead of stacking two paddings */
.page:not(.page--landing) .band + .band:not(.closing) { padding-top: clamp(16px, 2.5vw, 32px); }
.page:not(.page--landing) .band--features + .band--logos { padding-top: clamp(32px, 4vw, 56px); }
.page:not(.page--landing) .band--features + .band--prose { padding-top: 0; }
/* where the background changes, both sides keep the full unit */
.page:not(.page--landing) .band + .band--alt:not(.closing),
.page:not(.page--landing) .band--alt + .band:not(.closing),
.page:not(.page--landing) .band + .band--ways:not(.closing),
.page:not(.page--landing) .band--ways + .band:not(.closing),
.page:not(.page--landing) .band + .band--dark:not(.closing),
.page:not(.page--landing) .band--dark + .band:not(.closing) { padding-top: clamp(56px, 7.5vw, 100px); }

/* Safari draws a centred play glyph on an inline video it refused to autoplay
   (Low Power Mode, or autoplay disabled). Hide the glyph; the poster stays and
   playback starts on the first click, tap or key press. */
.hero-media video::-webkit-media-controls-start-playback-button,
.hero-media video::-webkit-media-controls-panel,
.hero-media video::-webkit-media-controls { display: none !important; -webkit-appearance: none; opacity: 0; }

/* The hero video stays invisible until it is actually playing; the poster is
   painted as a background so Safari's transient play glyph never shows. */
.hero-media { background: var(--dark) url(/assets/hero-teal.jpg) center / cover no-repeat; }
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.is-playing { opacity: 1; }

/* light hero → first block sits close; closing buttons always centred */
.page:not(.page--landing) .ph--light { padding-bottom: 48px; }
.page:not(.page--landing) .ph + .band { padding-top: clamp(12px, 2vw, 28px); }
/* a coloured band after the hero keeps the full unit: the tight top is for cream on cream */
.page:not(.page--landing) .ph + .band--alt,
.page:not(.page--landing) .ph + .band--ways { padding-top: clamp(56px, 7.5vw, 100px); }
.closing .hero-cta { display: flex; justify-content: center; width: 100%; margin-left: auto; margin-right: auto; }
.closing .wrap { text-align: center; }

/* ghost buttons on dark bands were dark-on-dark and vanished, leaving the
   accent button looking off-centre */
.dark .btn-ghost, .closing.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.dark .btn-ghost:hover, .closing.dark .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.hero-media video { visibility: hidden; }
.hero-media video.is-playing { visibility: visible; }

/* ───────── animated aurora fallback: moves from first paint, no video needed ───────── */
.hero-media { overflow: hidden; }
.hero-media::before, .hero-media::after {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  filter: blur(34px); mix-blend-mode: screen; opacity: .9; will-change: transform;
  transition: opacity 1.4s ease;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
.hero-media::before {
  background:
    radial-gradient(38% 52% at 28% 42%, rgba(39, 230, 198, 0.30), transparent 70%),
    radial-gradient(34% 44% at 72% 58%, rgba(179, 229, 255, 0.22), transparent 70%);
}
.hero-media::after {
  background:
    radial-gradient(44% 40% at 62% 28%, rgba(36, 61, 102, 0.6), transparent 70%),
    radial-gradient(30% 48% at 18% 76%, rgba(39, 230, 198, 0.18), transparent 70%);
  animation-duration: 23s; animation-direction: alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate3d(-4%, -3%, 0) rotate(-3deg) scale(1.05); }
  to   { transform: translate3d(4%, 3%, 0) rotate(3deg) scale(1.16); }
}
.hero-media video { position: relative; z-index: 1; }
.hero-media.is-live::before, .hero-media.is-live::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-media::before, .hero-media::after { animation: none; } }


/* Vipps login button aligned with the tokens in Vipps MobilePay's official
   <vipps-mobilepay-button> component (vippsas/vipps-login-wordpress):
   44px tall, 24px side padding, 5px radius, semibold label, 6px gap to an
   18px wordmark, orange #FF5B24, hover #FF985F, pressed #DB460F. */
.btn-vipps { height: 44px; padding: 0 24px; border-radius: 5px; gap: 6px; background: #FF5B24; color: #fff; font-weight: 700; font-size: 16.5px; letter-spacing: -0.2px; transition: background .15s ease; }
.btn-vipps:hover { background: #FF985F; }
.btn-vipps:active { background: #DB460F; }
.btn-vipps:focus-visible { outline: 2px solid rgba(67, 47, 255, 0.6); outline-offset: 2px; }
.btn-vipps img { height: 18px; width: auto; display: block; }

/* ───────── Min side (/no/min-side/): the debtor login ───────── */
.ms { position: relative; overflow: hidden; padding: 152px 0 clamp(48px, 7vw, 88px); background: var(--cream); }
.ms::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none;
  background: radial-gradient(38% 45% at 78% 28%, rgba(39,230,198,0.22), transparent 70%), radial-gradient(40% 45% at 18% 78%, rgba(179,229,255,0.5), transparent 70%); }
.ms-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px); gap: clamp(36px, 6vw, 104px); align-items: start; }
.ms-copy { padding-top: clamp(26px, 3vw, 40px); } /* the eyebrow tops out with the card's own padding, so "Min side" sits level with "Logg inn" */
.ms-eyebrow { margin-bottom: 16px; }
.ms-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.ms-title em { font-style: normal; color: var(--navy); }
.ms-lede { margin: 20px 0 0; max-width: 500px; font-size: 18.5px; line-height: 1.5; color: var(--ink-soft); }
.ms-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ms-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.ms-points svg { width: 22px; height: 22px; flex: none; color: var(--sage); }
.ms-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 22px; padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(22,31,40,0.10), 0 2px 6px rgba(22,31,40,0.04); }
.ms-card-title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; }
.ms-card-text { margin: 8px 0 22px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.ms-buttons { display: grid; gap: 12px; }
.ms-buttons .btn-vipps { width: 100%; height: 48px; justify-content: center; }
.btn-bankid { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; padding: 0 24px; border-radius: 5px;
  background: #39134C; color: #fff; font-family: var(--sans); font-size: 16.5px; font-weight: 500; letter-spacing: 0; transition: background .15s ease; }
.btn-bankid:hover { background: #470D70; }
.btn-bankid:focus-visible { outline: 2px solid rgba(57,19,76,0.55); outline-offset: 2px; }
.btn-bankid img { height: 20px; width: auto; display: block; }
.ms-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--tan); color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.ms-status[hidden] { display: none; }
.ms-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; color: var(--ink-faint); font-size: 13.5px; white-space: nowrap; }
.ms-divider::before, .ms-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.ms-alt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.ms-fine { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-faint); }
.ms-fine a { text-decoration: underline; text-underline-offset: 2px; }
/* "Se saken med KID": KID and mobile side by side, then the code from the SMS. The controls
   are rendered disabled; site.js enables them once the platform route is confirmed open, and
   .is-closed dims the form while the status line under it explains. */
.ms-lookup-lede { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.ms-lookup { position: relative; display: grid; gap: 12px; }
.ms-lookup-step { display: grid; gap: 14px; transition: opacity .2s ease; }
.ms-lookup-step[hidden] { display: none; }
.ms-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ms-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ms-field label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.ms-field input { width: 100%; min-width: 0; margin: 0; font: inherit; font-size: 17px; line-height: 1.3; padding: 13px 14px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; background: var(--cream); transition: border-color .15s ease, box-shadow .15s ease; }
.ms-field input::placeholder { color: var(--ink-faint); }
.ms-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36,61,102,0.16); }
.ms-field input[aria-invalid="true"] { border-color: #B5473A; }
.ms-hint, .ms-error { margin: 0; font-size: 13px; line-height: 1.45; }
.ms-hint { color: var(--ink-faint); }
.ms-error { color: #B5473A; }
.ms-error[hidden] { display: none; }
.ms-lookup .btn { justify-content: center; width: 100%; }
.ms-lookup .btn:disabled, .ms-lookup .btn:disabled:hover { cursor: default; opacity: .6; transform: none; background: var(--ink); }
.ms-lookup-links { display: flex; justify-content: center; gap: 22px; }
.ms-textbtn { margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ms-textbtn:disabled { color: var(--ink-faint); cursor: default; text-decoration: none; }
.ms-lookup-status, .ms-lookup-noscript { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.ms-lookup-status[hidden] { display: none; }
.ms-lookup.is-closed .ms-lookup-step { display: none; } /* the status line under it explains; dimmed labels failed contrast */
.ms-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ms-lookup + .ms-alt { margin-top: 24px; font-size: 14px; }
.ms + .band { padding-top: clamp(16px, 2.5vw, 32px); }
@media (max-width: 900px) { .ms { padding-top: 124px; } .ms-grid { grid-template-columns: 1fr; gap: 36px; } .ms-copy { padding-top: 0; } .ms-card { max-width: 520px; } .ms-lede { font-size: 17.5px; } }
@media (max-width: 560px) { .ms-fields { grid-template-columns: 1fr; } }

/* hero note line: "Allerede kunde? Logg inn" on the bedrift page */
.ph-note { margin: 18px 0 0; font-size: 15px; color: var(--ink-soft); }
.ph--dark .ph-note { color: rgba(255,255,255,0.72); }
.ph-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ph-note a:hover { color: var(--navy); }
.ph--dark .ph-note a:hover { color: var(--aurora); }

/* ───────── Slik betaler du (ways block) ───────── */
.band--ways { background: var(--tan); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { position: relative; display: block; background: rgba(255,255,255,0.88); border: 1px solid rgba(22,31,40,0.06); border-radius: 22px; padding: clamp(24px, 3vw, 34px); transition: transform .25s ease, box-shadow .25s ease; }
a.way:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(22,31,40,0.10); }
.way-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line-soft); color: var(--navy); }
.way-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; margin: 20px 0 10px; }
.way p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.way-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--navy); }
.way-link .arrow { display: inline-block; transition: transform .25s ease; }
a.way:hover .way-link .arrow { transform: translateX(3px); }
.ways-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--ink-soft); font-size: 15px; }
.ways-note svg { width: 20px; height: 20px; flex: none; color: var(--sage); }
@media (max-width: 880px) { .ways { grid-template-columns: 1fr; } }

/* the section after a dark page hero slides up over it as a rounded sheet, so
   the hero ends on a soft curve instead of a hard straight edge */
.ph--dark { padding-bottom: 104px; }
.ph--dark + .band { position: relative; }
.ph--dark + .band:not(.band--alt):not(.band--dark):not(.dark) { background: var(--cream); }

/* ───────── Om oss: the founders ───────── */
.team { --tg: clamp(16px, 1.6vw, 22px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--tg); }
.member { flex: 0 0 calc((100% - 3 * var(--tg)) / 4); min-width: 0; }
.member-photo { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #DCE5F0; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.member:hover .member-photo img { transform: scale(1.03); }
.member h3 { display: flex; align-items: center; gap: 8px; }
.member-li { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; color: var(--ink-faint); transition: color .2s ease, background .2s ease; }
.member-li svg { width: 14px; height: 14px; }
.member-li:hover { color: #fff; background: #0A66C2; }
.member h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; margin: 16px 0 3px; }
.member-role { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.member p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.team-marks { display: grid; gap: clamp(22px, 3vw, 34px); margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-soft); }
.marks-row { text-align: center; }
.marks-label { display: block; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 14px; }
.marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(28px, 3.5vw, 52px); }
.marks img { height: 34px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }
.marks li:hover img { filter: none; opacity: 1; }
.marks li.mark--lg img { height: 46px; }
@media (max-width: 560px) { .marks { gap: 14px 22px; } .marks img { height: 24px; max-width: 110px; } .marks li.mark--lg img { height: 32px; } }
.team-marks-label { font-size: 13.5px; color: var(--ink-soft); margin-right: 4px; }
.team-marks .logo-word { font-size: 15.5px; }
@media (max-width: 880px) { .member { flex-basis: calc((100% - var(--tg)) / 2); } }
@media (max-width: 560px) { .team { gap: 20px 16px; } .member h3 { font-size: 17px; gap: 6px; } .member p { font-size: 14px; } }
/* ───────── Det bedriften får: gallery of product screens (bedrift) ───────── */
/* Alternating rows: copy on one side, a .platform frame on the other. The
   frame reuses .cw-media (painting behind, container units inside) but sizes
   to its content instead of a fixed 3:2, so every screen shows in full. */
.band--gallery .sec-head { margin-bottom: clamp(28px, 4vw, 56px); }
.gallery { display: grid; gap: clamp(40px, 6vw, 80px); }
.g-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
/* placed explicitly: the landing pins .cw-media to column 2, so order alone cannot flip a row */
.g-row .g-copy { grid-column: 1; grid-row: 1; }
.g-row .g-media { grid-column: 2; grid-row: 1; }
.g-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.g-row--flip .g-copy { grid-column: 2; }
.g-row--flip .g-media { grid-column: 1; }
.g-copy { max-width: 40ch; }
.g-label { margin-bottom: 14px; }
.g-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 3.1vw, 40px); line-height: 1.06; letter-spacing: -0.02em; }
.g-copy h3 em { font-style: normal; color: var(--navy); }
.g-copy p { margin: 16px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.g-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15.5px; font-weight: 500; color: var(--navy); }
.g-link .arrow { display: inline-block; transition: transform .25s ease; }
.g-link:hover .arrow { transform: translateX(3px); }

.cw-media.g-media { aspect-ratio: auto; max-height: none; padding: clamp(18px, 5.5%, 44px); border-radius: 22px; background: var(--dark); box-shadow: 0 30px 70px rgba(23, 18, 12, 0.14), 0 2px 0 rgba(255, 255, 255, 0.5) inset; }
.cw-media.g-media .platform { position: relative; inset: auto; }
.g-media .media-photo { animation-duration: 40s; }
/* a touch larger than the landing's frames, which are wider */
.g-media .pf-screen { padding: clamp(16px, 3.6cqw, 30px); gap: clamp(8px, 1.5cqw, 14px); }
.g-media .pf-eyebrow { font-size: clamp(10.5px, 1.65cqw, 12.5px); }
.g-media .pf-title { font-size: clamp(20px, 3.7cqw, 30px); }
.g-media .pf-sub, .g-media .pf-row, .g-media .pf-bubble, .g-media .pf-msg { font-size: clamp(12.5px, 2.05cqw, 15px); }
.g-media .pf-row { padding: clamp(8px, 1.6cqw, 12px) 0; gap: clamp(8px, 1.4cqw, 12px); }
.g-media .pf-row .amt { font-size: clamp(11.5px, 1.85cqw, 14px); }
.g-media .pf-bubble { padding: clamp(11px, 1.9cqw, 16px) clamp(13px, 2.2cqw, 18px); border-radius: 14px 14px 14px 4px; max-width: 88%; }
.g-media .badge { font-size: clamp(10px, 1.55cqw, 11.5px); }
.g-media .pf-plan { margin-top: clamp(2px, .6cqw, 6px); }
.g-media .pf-dot { width: clamp(18px, 2.6cqw, 24px); height: clamp(18px, 2.6cqw, 24px); font-size: clamp(10px, 1.5cqw, 13px); }
.g-media .pf-foot .pf-sub { font-size: clamp(12px, 1.9cqw, 14px); }

/* integrations: app tile, name with a quiet second line, status on the right */
.pf-int { align-items: center; }
.pf-app { flex: none; width: clamp(26px, 4.2cqw, 34px); height: clamp(26px, 4.2cqw, 34px); border-radius: 8px; display: grid; place-items: center; background: var(--tan); color: var(--navy); font-family: var(--serif); font-weight: 500; font-size: clamp(12px, 1.9cqw, 15px); letter-spacing: -0.02em; }
.pf-int-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; color: var(--ink); line-height: 1.3; }
.pf-int-name small { font-size: clamp(10.5px, 1.6cqw, 12.5px); color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-int-cta { font-family: var(--sans); font-size: clamp(11px, 1.7cqw, 13px); font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

/* api: request and response side by side when the frame is wide enough */
.pf-panes { display: grid; gap: clamp(10px, 1.6cqw, 14px); align-items: start; }
@container (min-width: 540px) { .pf-panes { grid-template-columns: 1.08fr 1fr; } }
.pf-pane { min-width: 0; }
.pf-pane-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-family: var(--sans); font-size: clamp(10.5px, 1.6cqw, 12.5px); color: var(--ink-soft); min-width: 0; }
.pf-method { flex: none; font-family: var(--sans); font-size: clamp(9.5px, 1.45cqw, 11px); font-weight: 600; letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; background: var(--tan); color: var(--navy); }
.pf-method--ok { background: rgba(39, 230, 198, 0.22); color: var(--sage); }
.pf-path { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-code { margin: 0; background: var(--ink); color: rgba(255,255,255,0.78); border-radius: 10px; padding: clamp(11px, 1.8cqw, 16px) clamp(12px, 2cqw, 18px); font-family: var(--sans); font-size: clamp(11.5px, 1.6cqw, 12.5px); line-height: 1.62; white-space: pre; overflow: hidden; tab-size: 2; }
.pf-code .k { color: var(--sky); }
.pf-code .s { color: var(--aurora); }
.pf-code .n { color: #fff; }

/* chat: the person on the right in mist, the assistant on the left in fjord blue */
.pf-chat { display: flex; flex-direction: column; gap: clamp(8px, 1.4cqw, 12px); }
.pf-msg { line-height: 1.45; padding: clamp(10px, 1.7cqw, 14px) clamp(13px, 2.1cqw, 17px); border-radius: 14px; }
.pf-msg--me { align-self: flex-end; max-width: 78%; background: var(--tan); color: var(--ink); border-radius: 14px 14px 4px 14px; }
.pf-tool { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; padding: clamp(7px, 1.2cqw, 10px) clamp(10px, 1.7cqw, 14px); border: 1px solid var(--line-soft); background: var(--cream); border-radius: 10px; font-family: var(--sans); font-size: clamp(10.5px, 1.6cqw, 12.5px); color: var(--ink-soft); }
.pf-tool-k { font-family: var(--sans); font-size: clamp(10.5px, 1.55cqw, 12px); color: var(--ink-faint); }
.pf-tool code { font-family: inherit; color: var(--ink); font-weight: 500; }
.pf-tool-res { color: var(--sage); }
.pf-tool-res::before { content: "→ "; color: var(--ink-faint); }

@media (max-width: 880px) {
  .gallery { gap: clamp(48px, 10vw, 72px); }
  .g-row, .g-row--flip { grid-template-columns: 1fr; gap: 24px; }
  .g-row .g-copy, .g-row .g-media, .g-row--flip .g-copy, .g-row--flip .g-media { grid-column: auto; grid-row: auto; }
  .g-copy { max-width: none; }
  .cw-media.g-media { padding: 7%; border-radius: 18px; }
}

/* gallery: request header line, report screen */
.pf-hdr { font-family: var(--sans); font-size: clamp(10.5px, 1.5cqw, 12px); color: var(--ink-faint); margin: -3px 0 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4cqw, 14px); }
.pf-kpi { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 14px; padding: clamp(10px, 1.6cqw, 14px) clamp(11px, 1.8cqw, 16px); min-width: 0; }
.pf-kpi-l { font-size: clamp(10.5px, 1.6cqw, 12.5px); color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-kpi-v { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 3cqw, 26px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin-top: 4px; white-space: nowrap; }
.pf-rbars { display: grid; gap: clamp(7px, 1.2cqw, 10px); margin-top: clamp(4px, .8cqw, 8px); }
.pf-rbar { display: grid; grid-template-columns: minmax(0, 9em) 1fr auto; align-items: center; gap: clamp(8px, 1.4cqw, 12px); font-size: clamp(11.5px, 1.8cqw, 13.5px); color: var(--ink-soft); }
.pf-rbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-rbar-track { display: block; height: 8px; border-radius: 999px; background: var(--tan); overflow: hidden; }
.pf-rbar-fill { display: block; height: 100%; border-radius: 999px; background: var(--navy); }
.pf-rbar-v { font-family: var(--sans); font-size: clamp(11px, 1.7cqw, 13px); color: var(--ink); }
@media (max-width: 560px) { .pf-kpis { grid-template-columns: 1fr 1fr; } .pf-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.pf-app.has-logo { background: #fff; border: 1px solid var(--line-soft); overflow: hidden; }
.pf-app img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* a dark features band continues the dark hero (bransjer cards inside the hero block);
   the light sheet then starts on the band after it */
.band.band--features.band--dark { background: var(--dark) radial-gradient(50% 60% at 15% 0%, rgba(36, 61, 102, 0.75), transparent 70%); color: #fff; }
.ph--dark:has(+ .band--dark) { padding-bottom: 8px; }
.ph--dark + .band--dark { margin-top: 0; border-radius: 0; padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(72px, 9vw, 120px); }
.band--dark .sec-title { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.band--dark .sec-head { margin-bottom: clamp(22px, 3vw, 32px); }
.band--dark .fcard { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.05); border-radius: 16px; box-shadow: none; }
.band--dark .fcard h3 { color: #fff; }
.band--dark .fcard p { color: rgba(255,255,255,0.72); }
.band--dark .fcard-arrow { color: rgba(255,255,255,0.55); }
.band--dark .fcard--link:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
.band--dark .fcard--link:hover .fcard-arrow { color: #fff; }
.band--dark + .band { position: relative; }
.band--dark + .band:not(.band--alt):not(.dark) { background: var(--cream); }

/* team: role and former work on one line */
.member-role { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 8px; white-space: nowrap; font-size: clamp(11px, 0.88vw, 13px); letter-spacing: -0.005em; }
@media (max-width: 880px) { .member-role { flex-wrap: wrap; white-space: normal; font-size: 13px; } }
.member-bg { font-weight: 400; color: var(--ink-soft); }
/* columns block */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.col { border-top: 1px solid var(--line); padding-top: 18px; }
.col h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.col p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.cols-note { margin: clamp(28px, 4vw, 40px) 0 0; font-size: 16px; color: var(--ink); }
.cols-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 880px) { .cols, .cols-2 { grid-template-columns: 1fr; gap: 22px; } }

/* ───────── legal texts (personvern, informasjonskapsler, underleverandører) ───────── */
.band--legal { padding-top: clamp(16px, 2.5vw, 32px); }
.legal-note { max-width: 884px; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px; background: var(--tan); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.legal-nav a:hover { color: var(--ink); background: rgba(22,31,40,0.05); }
.legal-nav a[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; max-width: 884px; margin: 0 0 40px; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--paper); font-size: 14.5px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* text stays at 884px (78ch of body), tables may use the whole column */
.legal { font-size: 17px; line-height: 1.6; color: var(--ink); }
.legal > :not(.tbl) { max-width: 884px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.015em; margin: 48px 0 14px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal h4 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 6px; }
.legal li p { margin: 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-family: var(--sans); font-size: 0.9em; background: rgba(22,31,40,0.06); padding: 1px 5px; border-radius: 5px; }
.legal blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid var(--line); color: var(--ink-soft); }
.legal .tbl { position: relative; margin: 0 0 18px; border: 1px solid var(--line-soft); border-radius: 14px; }
.legal .tbl-scroll { overflow-x: auto; border-radius: inherit; }
/* wider than the column: the right edge fades and a line under the table says so (site.js sets the classes) */
.legal .tbl::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; pointer-events: none; border-radius: 0 14px 14px 0; opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(270deg, var(--cream) 10%, rgba(249,249,250,0)); }
.legal .tbl.is-scrollable:not(.is-end)::after { opacity: 1; }
.legal .tbl-hint { display: none; margin: 0; padding: 7px 12px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-soft); }
.legal .tbl.is-scrollable .tbl-hint { display: block; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.legal th { border-top: 0; background: var(--cream); font-weight: 600; color: var(--ink-soft); }
mark.fill { background: rgba(39,230,198,0.28); color: var(--ink); padding: 0 5px; border-radius: 5px; }
.legal code mark.fill { padding: 0; }
/* phones: each row becomes a block with the column name over every value */
@media (max-width: 720px) {
  .legal .tbl::after, .legal .tbl-hint { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal tr { padding: 10px 12px 12px; border-top: 1px solid var(--line-soft); }
  .legal tr:first-child { border-top: 0; }
  .legal td { padding: 4px 0; border: 0; overflow-wrap: anywhere; }
  .legal td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
  .legal td:first-child { font-weight: 600; }
  .legal td:empty { display: none; }
}
@media (max-width: 560px) { .toc { grid-template-columns: 1fr; } .legal { font-size: 16px; } }

/* ───────── trust hub (personvern og sikkerhet) ───────── */
.band--anchors { padding: 0 0 clamp(8px, 1vw, 12px); }
.band--anchors .legal-nav { margin: 0; }
.trust-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.trust-grid--frames { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); align-items: start; }
.trust-h { font-size: 13.5px; font-weight: 500; color: var(--ink-faint); margin: 0 0 10px; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.badge-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--paper); }
.badge-card strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.badge-card small { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.badge-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--aurora); box-shadow: 0 0 0 3px rgba(39,230,198,0.2); }
.badge-card--planned .badge-dot { background: var(--ink-faint); box-shadow: 0 0 0 3px rgba(22,31,40,0.08); }
.ctl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ctl-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(18px, 2.2vw, 26px); }
.ctl-card h4 { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 12px; }
.ctl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ctl { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ctl svg { flex: none; width: 20px; height: 20px; color: var(--sage); margin-top: 1px; }
.ctl small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.ctl-more { margin-top: 10px; }
.ctl-more summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--navy); list-style: none; }
.ctl-more summary::-webkit-details-marker { display: none; }
.ctl-more summary::after { content: " ↓"; }
.ctl-more[open] summary::after { content: " ↑"; }
.ctl-more[open] summary { margin-bottom: 10px; }
.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 860px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t a" "n a"; align-items: center; column-gap: 16px; padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--paper); color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
a.doc:hover { border-color: var(--line); transform: translateY(-1px); }
.doc-t { grid-area: t; font-weight: 500; font-size: 16px; }
.doc-n { grid-area: n; font-size: 13.5px; color: var(--ink-soft); }
.doc .arrow { grid-area: a; color: var(--ink-faint); }
a.doc:hover .arrow { color: var(--ink); }
.doc-tag { grid-area: a; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ph-note mark.fill { font-size: 13px; }
@media (max-width: 1080px) { .trust-grid--frames { grid-template-columns: 1fr; } .badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ctl-grid, .badges { grid-template-columns: 1fr; } }

/* ───────── utilities ───────── */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.closing-text a { text-decoration: underline; text-underline-offset: 3px; }

/* Keep each company detail and its separator together when wrapping. */
.footer-legal-line span, .footer-legal-line a { white-space: nowrap; }

/* cards in one row share the title and body rows, so the text starts level even when one title wraps */
@supports (grid-template-rows: subgrid) {
  .fgrid .fcard { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; align-content: start; }
  .steps .step { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
}

/* ───────── line breaks: no stranded last word in headings, ledes and card text ───────── */
.ph-title, .sec-title, .statement, .cw-h3, .feature h3, .a-card h3, .fcard h3, .step h3, .way h3, .col h3, .g-copy h3,
.timeline-item h3, .closing h2, .faq-head h2, .how-head h2, .prose h2, .prose h3, .legal h3, .legal h4, .ms-title, .ms-card-title, .ctl-card h4 { text-wrap: balance; }
.ph-lede, .sec-intro, .lede, .closing-text, .cw-p, .a-card p, .fcard p, .step p, .way p, .col p, .g-copy p, .timeline-item p, .ms-lede, details.qa summary { text-wrap: pretty; }

/* sub-pages: the FAQ heading and list follow the page's left edge like every other section */
.page:not(.page--landing) .faq-head { text-align: left; margin-bottom: clamp(32px, 5vw, 56px); }
.page:not(.page--landing) .faq-head h2 { font-size: clamp(30px, 4vw, 48px); }
.page:not(.page--landing) .faq, .page:not(.page--landing) .faq-more { margin-left: 0; text-align: left; }

/* centred statement prose (Om oss: Historien) */
.band--prose-center .wrap { text-align: center; }
.band--prose-center .prose, .band--prose-center .sec-head { margin-left: auto; margin-right: auto; max-width: 66ch; }
.band--prose-center .sec-title { font-size: clamp(34px, 4.6vw, 56px); }
.band--prose-center .sec-title em { font-style: italic; color: var(--navy); }
.band--prose-center .prose p { font-size: 18px; line-height: 1.6; }

/* ───────── editorial post list (Om oss: Fra bloggen) ───────── */
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head--center .sec-intro { margin-left: auto; margin-right: auto; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.post { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 18px; color: var(--ink); transition: color .2s ease; }
.post-label { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.post h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.post p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.post-more .arrow { display: inline-block; transition: transform .25s ease; }
.post:hover h3 { color: var(--navy); }
.post:hover .post-more .arrow { transform: translateX(3px); }
.posts-all { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; font-size: 15px; font-weight: 500; }
.posts-all a { color: var(--ink-soft); }
.posts-all a:hover { color: var(--ink); }
@media (max-width: 880px) { .posts { grid-template-columns: 1fr; gap: 22px; } }

/* ───────── article layout for blog posts ───────── */
.page--article .ph { padding-top: 112px; padding-bottom: 8px; }
.page--article .ph-inner, .page--article .prose, .page--article .flow { max-width: 680px; margin-left: auto; margin-right: auto; }
.page--article .ph-inner { text-align: left; }
.page--article .ph-title { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.02em; }
.page--article .ph-lede { font-size: 18.5px; margin-top: 18px; }
.ph-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.ph-byline-sep { color: var(--ink-faint); }
.page:not(.page--landing).page--article .band--prose { padding-top: clamp(20px, 3vw, 36px); }
.page:not(.page--landing).page--article .band--prose + .band--prose { padding-top: 0; }
.page:not(.page--landing).page--article .band--prose { padding-bottom: clamp(24px, 3vw, 40px); }
.page:not(.page--landing).page--article .band--flow { padding-top: 12px; padding-bottom: 12px; }
.page:not(.page--landing).page--article .band--flow + .band--prose { padding-top: clamp(16px, 2vw, 28px); }
.page--article .prose p, .page--article .prose li { font-size: 18px; line-height: 1.65; }
.page--article .prose h3 { font-size: clamp(23px, 2.2vw, 27px); margin-top: 40px; }
.page--article .prose a { text-decoration: underline; text-underline-offset: 3px; }
.page--article main > section:first-of-type .prose > p:first-child::first-letter { float: left; font-family: var(--serif); font-weight: 500; font-size: 3.7em; line-height: 0.8; padding: 8px 10px 0 0; color: var(--ink); }
.page:not(.page--landing) .band--flow { padding-top: 8px; padding-bottom: 8px; }
.flow { margin: 0; }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.flow-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 14px; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.flow-box strong { font-size: 15px; color: var(--ink); }
.flow-label { font-size: 12px; color: var(--ink-faint); }
.flow-box--1 { background: rgba(179,229,255,0.35); } .flow-box--2 { background: var(--tan); } .flow-box--3 { background: rgba(39,230,198,0.16); }
.flow-arrow { align-self: center; color: var(--ink-faint); font-size: 18px; }
.flow figcaption { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-faint); }
@media (max-width: 720px) { .flow-row { grid-template-columns: 1fr; } .flow-arrow { transform: rotate(90deg); justify-self: center; } }

/* API access gate reuses the Min side card language */
.ms--gate .ms-buttons .btn { width: 100%; justify-content: center; height: 48px; border-radius: 14px; }
.gate-form .ms-field { display: grid; gap: 6px; }
.gate-form label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.gate-form input { font: inherit; font-size: 17px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); }
.gate-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36,61,102,0.12); background: #fff; }

/* hero video: a touch brighter (Peter, 2026-09-02 19:14) */
.hero-media { filter: brightness(1.24) saturate(1.06); }

/* priser → garanti: closer together */
.page:not(.page--landing) #priser.band { padding-bottom: clamp(28px, 4vw, 56px); }
.page:not(.page--landing) #priser + .closing:not(.dark) { padding-top: clamp(20px, 3vw, 40px); }

/* Karriere: four roles as two rows of two */
.posts.posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .posts.posts--2 { grid-template-columns: 1fr; } }

/* Karriere role pages: article column without the drop cap */
.page--role main > section:first-of-type .prose > p:first-child::first-letter { float: none; font-family: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; padding: 0; }

/* Center the entry panel over the full-screen brand artwork. */
.audience-entry { position: relative; min-height: 100svh; background: #174E5C url(/assets/consumer-hero-background.png) center / cover no-repeat; color: var(--ink); }
.audience-entry-footer { position: absolute; bottom: 24px; left: 0; width: 100%; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px 20px; padding: 0 clamp(28px, 3vw, 48px); font-size: 12px; line-height: 1.5; color: #fff; }
.audience-entry-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.audience-choices { display: flex; align-items: center; justify-content: center; min-height: 100svh; padding: 108px 24px 64px; }
.audience-choice { min-width: 0; width: 100%; max-width: 760px; height: clamp(360px, calc(100svh - 172px), 560px); min-height: 0; overflow-y: auto; padding: 40px 48px; border-radius: 24px; background: var(--cream); box-shadow: 0 24px 80px rgba(8,30,38,.18); display: flex; flex-direction: column; align-items: center; justify-content: safe center; text-align: center; }
.audience-choice > * { flex-shrink: 0; }
.audience-choice h2 { font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); line-height: 1.12; letter-spacing: -.035em; }
.audience-choice p { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.audience-choice-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.audience-choice .btn { min-height: 52px; border-radius: 10px; padding: 13px 22px; gap: 18px; font-size: 15px; }
.audience-choice .btn-ghost { border-color: var(--line); }
.audience-choice-help { margin-top: 24px; padding: 4px 0; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.audience-choice-help span { margin-left: 6px; }
.audience-choice-help:hover { text-decoration: underline; text-underline-offset: 4px; }
.audience-entry a:focus-visible { outline: 3px solid var(--aurora); outline-offset: 5px; }
@media (max-width: 700px) {
  .audience-choices { padding: 96px 20px 66px; }
  .audience-choice { height: clamp(360px, calc(100svh - 162px), 560px); padding: 28px 26px; border-radius: 20px; }
  .audience-choice h2 { font-size: clamp(36px, 8vw, 48px); }
  .audience-choice p { font-size: 14px; }
  .audience-choice .btn { min-height: 48px; padding: 12px 18px; gap: 12px; font-size: 14px; }
  .audience-entry-footer { width: 100%; bottom: 20px; padding: 0 26px; font-size: 11px; }
}
@media (max-height: 650px) {
  .audience-choices { padding-top: 96px; padding-bottom: 60px; }
  .audience-choice { height: clamp(360px, calc(100svh - 156px), 560px); padding-top: 24px; padding-bottom: 24px; }
  .audience-choice h2 { font-size: 38px; }
  .audience-choice p { margin-top: 12px; }
  .audience-choice-actions { margin-top: 22px; }
  .audience-choice-help { margin-top: 18px; }
}

/* Keep the restored creditor hero legible over the supplied teal video. */
.business-hero::after { background: linear-gradient(rgba(8,30,38,.48), rgba(8,30,38,.48)); }

/* A focused first step for paying a claim. */
.payment-lookup-panel h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.payment-lookup-form { width: 100%; max-width: 360px; margin-top: 28px; text-align: left; display: grid; gap: 10px; }
.payment-lookup-form label { font-size: 15px; font-weight: 500; }
.payment-lookup-form input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.payment-lookup-form input:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
.payment-lookup-form .btn { width: 100%; margin-top: 6px; justify-content: space-between; cursor: pointer; font-family: inherit; }
.payment-lookup-form #payment-status { margin: 4px 0 0; font-size: 14px; }

.nav--entry .nav-actions { margin-left: auto; }

/* Min side shares the payment entry panel and its compact form width. */
.login-panel h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.login-panel .ms-buttons { width: 100%; max-width: 360px; margin-top: 28px; }
.login-panel .ms-status { width: 100%; max-width: 360px; font-size: 14px; }
.login-case-lookup { width: 100%; max-width: 360px; margin-top: 24px; text-align: left; }
.login-case-lookup summary { cursor: pointer; text-align: center; font-size: 14px; color: var(--ink-soft); padding: 8px 0; }
.login-case-lookup summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.login-case-lookup .ms-lookup-lede { margin: 14px 0; font-size: 14px; }
.login-panel .ms-fine { max-width: 400px; margin-top: 24px; font-size: 12px; }

/* Shared navbar on every Norwegian page, including payment and login. */
.nav.nav--solid, .nav.nav--solid.scrolled, .nav.nav--solid.menu-open, .nav.nav--solid .nav-menu { background: #fff; }
.nav-brand { flex-shrink: 0; }

@media (max-width: 540px) {
  .nav--entry .nav-actions { min-width: 0; }
  .nav--entry .nav-pill { padding: 8px; font-size: 12px; line-height: 1.3; white-space: normal; text-align: center; }
}

.audience-entry-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* Choose one payment identifier; OTP belongs to the phone/email flow only. */
.payment-access { width: 100%; max-width: 400px; margin-top: 28px; }
.payment-methods { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 4px; padding: 4px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #eef0f2; }
.payment-methods label { position: relative; min-width: 0; cursor: pointer; }
.payment-methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.payment-methods span { display: block; padding: 10px 4px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); }
.payment-methods input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(22,31,40,.10); }
.payment-methods input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.payment-access .payment-lookup-form { max-width: none; margin-top: 22px; }
.payment-access [hidden] { display: none !important; }
.payment-access [data-payment-field] { display: grid; gap: 8px; }
.payment-access .payment-field-hint, .payment-access .payment-code-hint { font-size: 13px; margin: 0; line-height: 1.5; color: var(--ink-soft); }
.payment-access .payment-access-status { font-size: 14px; margin: 18px 0 0; line-height: 1.5; text-align: left; }
.payment-text-button { border: 0; background: none; color: var(--ink-soft); padding: 8px; cursor: pointer; text-decoration: underline; font: inherit; font-size: 13px; }

.login-panel .login-pay-button { width: 100%; max-width: 360px; min-height: 48px; margin-top: 24px; justify-content: center; }

/* Keep the three Min side actions visually consistent. */
.login-panel .btn-vipps, .login-panel .btn-bankid, .login-panel .login-pay-button { border-radius: 10px; }

.login-payment-divider { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 360px; margin-top: 28px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.login-payment-divider::before, .login-payment-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-payment-divider span { text-align: center; }
.login-panel .login-payment-divider + .login-pay-button { margin-top: 20px; }

/* Business hero: keep the shared logo geometry, with a white mark over video. */
.nav--transparent .nav-logo-dark { display: block; filter: brightness(0) invert(1); }
.nav--transparent.scrolled, .nav--transparent.menu-open { background: #fff; }
.nav--transparent.scrolled .nav-logo-dark, .nav--transparent.menu-open .nav-logo-dark { filter: none; }

/* Selected creditor-facing landing page. */
.alternative-hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 108px clamp(28px, 7vw, 120px) 120px;
  background: #174E5C url(/assets/hero-mesh-gradient.webp) center / cover no-repeat;
}
.alternative-hero::after { content: ""; position: absolute; inset: 0; background: rgba(8,30,38,.48); z-index: 1; pointer-events: none; }
.alternative-hero-layout { position: relative; z-index: 2; width: 100%; max-width: 960px; margin: 0 auto; }
.alternative-hero-copy { color: #fff; }
.alternative-hero .audience-label { margin: 0 0 24px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.alternative-hero-copy h1 { font-family: var(--serif); font-size: clamp(42px, 4.8vw, 76px); line-height: 1.08; letter-spacing: -.035em; }
.alternative-lede { max-width: 600px; margin: 28px 0 0; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.9); }
.alternative-hero-copy .hero-cta { justify-content: flex-start; flex-wrap: wrap; margin-top: 32px; }
.alternative-hero .btn { border-radius: 10px; }
.page--creditor-landing .nav--transparent:not(.scrolled):not(.menu-open) .nav-logo-dark {
  content: url('/assets/Audun_Logo_White.svg');
  filter: none;
}
.nav-brand { width: 116px; }
.nav--creditor .nav-pill--accent { display: inline-flex; }
@media (max-width: 1240px) {
  .nav--creditor .nav-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .alternative-hero { padding: 100px 24px 120px; }
  .alternative-hero-copy h1 { font-size: clamp(36px, 9vw, 52px); }
  .alternative-lede { font-size: 16px; }
}
@media (max-width: 540px) {
  .nav--creditor .nav-pill--soft { display: none; }
  .nav--creditor .nav-actions { min-width: 0; }
  .nav--creditor .nav-pill--accent { padding: 9px 12px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.2; }
}

/* One debtor page: payment first, then login beneath a quiet divider. */
.page--debtor { background: #FAF5F0; }
.page--debtor .nav.nav--solid,
.page--debtor .nav.nav--solid.scrolled,
.page--debtor .nav.nav--solid.menu-open { background: #FAF5F0; }
.debtor-entry { display: flex; flex-direction: column; min-height: 100svh; background: #FAF5F0; }
.debtor-entry .audience-choices { flex: 1; min-height: 0; padding: 104px 24px 32px; }
.debtor-entry .debtor-panel {
  display: block; max-width: 640px; height: auto; min-height: 0; overflow: visible;
  padding: 32px 40px; color: var(--ink); text-align: center;
  background: #fff; box-shadow: none;
}
.debtor-panel h1 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.debtor-panel h2 { font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.debtor-panel .debtor-lede { max-width: 460px; margin: 12px auto 0; font-size: 14px; line-height: 1.6; }
.debtor-panel .payment-access { margin: 18px auto 0; }
.debtor-panel .payment-lookup-form { margin-top: 18px; }
.debtor-panel .payment-lookup-form input { min-height: 48px; }
.debtor-panel .payment-lookup-form .btn { min-height: 48px; }
.debtor-panel .debtor-lede,
.debtor-panel .payment-field-hint,
.debtor-panel .payment-code-hint,
.debtor-panel .payment-access-status,
.debtor-panel .payment-text-button { color: var(--ink-soft); }
.debtor-divider { width: 100%; max-width: 460px; border: 0; border-top: 1px solid var(--line); margin: 28px auto; }
.debtor-section { scroll-margin-top: 92px; }
.debtor-panel .ms-buttons { width: 100%; max-width: 400px; margin: 20px auto 0; }
.debtor-panel .btn-vipps, .debtor-panel .btn-bankid { border-radius: 10px; }
.debtor-panel .ms-status { max-width: 400px; margin: 16px auto 0; font-size: 14px; text-align: left; }
.debtor-entry .audience-entry-footer { position: static; padding: 0 28px 24px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .debtor-entry .audience-choices { padding: 92px 16px 28px; }
  .debtor-entry .debtor-panel { padding: 28px 20px; border-radius: 20px; }
  .debtor-panel h1 { font-size: 28px; }
  .debtor-panel h2 { font-size: 22px; }
  .debtor-entry .audience-entry-footer { padding-inline: 20px; }
}

/* Selected two-panel homepage, also available at /no/rammer/. */
.page--framed { --cream: #FAF5F0; --maxw: var(--nav-maxw, 1440px); --frame-gutter: var(--page-gutter); background: var(--cream); }
.page--framed .wrap,
.page--framed .cw-slide-inner { width: 100%; max-width: var(--maxw); padding-left: var(--frame-gutter); padding-right: var(--frame-gutter); }
.page--framed .cw-slide-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 52%) minmax(0, 1fr); }
@media (max-width: 880px) {
  .page--framed .cw-slide-inner { grid-template-columns: minmax(0, 1fr); }
}
.page--framed .nav.nav--solid,
.page--framed .nav.nav--solid .nav-menu,
.page--framed .band,
.page--framed .band.band--features.band--dark { background: var(--cream); color: var(--ink); }
.page--framed .band--dark .sec-title,
.page--framed .band--dark .fcard h3 { color: var(--ink); }
.page--framed .band--dark .fcard { background: var(--paper); border-color: var(--line-soft); }
.page--framed .band--dark .fcard p { color: var(--ink-soft); }
.page--framed .band--dark .fcard-arrow { color: var(--ink-faint); }
.page--framed .band--dark .fcard--link:hover .fcard-arrow { color: var(--ink); }
.framed-hero {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: 100px var(--frame-gutter) 40px;
}
.framed-hero-grid {
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  max-width: calc(var(--maxw) - 2 * var(--frame-gutter));
  margin: 0 auto;
}
.framed-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(560px, calc(100svh - 140px), 820px);
  padding: calc(clamp(32px, 4vw, 64px) + 64px) clamp(32px, 4vw, 64px) clamp(32px, 4vw, 64px);
  border-radius: 24px;
  overflow: hidden;
}
.framed-card--business { position: relative; isolation: isolate; color: #fff; background: #174E5C; }
.framed-card--business::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.framed-card--business::before {
  /* Embedded preview paints immediately while the full-resolution image loads. */
  background-image: linear-gradient(100deg, rgba(8,30,38,.52), rgba(8,30,38,.2)), url('/assets/hero-mesh-gradient.webp'), url('data:image/webp;base64,UklGRlgGAABXRUJQVlA4IEwGAADQLQCdASrAAGwAPsFUpE0npKulqZKdAXAYCWMAyan+DDf5n0xfT/6gOeZ9Eu9XUvbnX8+Z3DlLR1vrV+rmj7KrhNVQSDelvKPEhQTGe0IENPoRwupT3L5AtOQecz2himPIYyPViWbf/KRNoI912pBa9iw6vS7RRKIB8Z3cslwJofcnakNrh43jgeqe6X0P1lM/6UTjfb6ERUakp0SakgLY4Cm0u5PS/Pz+TYcH0pURUi0wp9rb6kmPgKytxWA9EPKIvi8uPCjqlzRxcBePe1Jsj/jAL7H06JhN63IxD/mK17+WovcEqvHj//tk3Q11uJ3pxL6DG1XJX9B/AFKtEcpZ6T3SOzdhW+pL7h+3RqLdYETjNoAXUIm9MmWHfYP0cNdZoB/K9iFIOG/b4xuDS1gUtsHBDiDwgTQFlNVh6BOesgpR9IXseH6vq2J99LoCz98AuN6E3FZWFe6+ujzPYpA0RPY0+khMaaCPfehAkE8C7GPJq/Z6mQAA/vK0LshvgSVjdF3uWHrzGOfVuDG/Vn3WPD6PJCnbyU2b/dXoWZqIG3Skyqjg2XxbL/msPCApkk4odNuY5vcIlb/B22htRPJJMm8n2kv/7O498mu57Aed1sJq09nkFB3HfTDzPbiN1QXXLDuhq6b4u5waeg4Xi+QSyi2DQJAAey488udv6PJ8Yha1YwMPwpGARyY0kQm/bR93t0e5JJZSbBBJO5QszB6ak7/E6JZ6CW1HhrOCtvDzJ3wPYI06g2or019u7Y7CJFuz13W/2AsR9LvkTsW6lVhQ1NVOf5C5EbC7Tw7o1E5TzXDM8WY4NyWAvhbTIBewsEXpDK7KjOLoaJWjWP6yyDvbylT61duBmmcSfEoSw5atyA89PSgeQxwov2fsJBsSppYVsobjQa9mDjn7+COlfuM5Jt81Zy80Xc4sI/gN/nhg43y7uEofgwrPmjPaWJBBdbbAkXkpYHkA1d74rs6T/VhmHlcd5LVlegjHYrD+VJhTXgTBjHy//L3+bshdcrM9nPGFw+MUp59oM9Oxatz+dk9B/LHMOIHbota8HvJUhKjjE9rCASHDR/tWIVCKOAhzjntwdgrqE9xQlK9beFt2xi/RGtZlvpmY9HZtfPRH3xArYb91Q68p0G58uZK1DEMc78WiMGrIHePprRZmo6dnYAMdpJObqFmLayyhr7Bs2yPCLRqD75JrzOeeIFPRxVeZWQcccSTafZXgQCSwilXZCKprdVAwFdzasJq4BNrDty+KqL1CMheE9rW4l+IGl7mDXYUfNmgZNxHG5ZHYfAGuSj7B8GUdneKxh16ZTBDfwsHT+xm6v763Y8GPI6YVSzBTURWT72F7vhU40JfNKc0xGSG8RhRxUW9t8JabrUooh781Czc3nVe7vO/dcaH9vbTxVp9gwlBi0M7xCfoDYuFbnVkZpsjMFUR6F9LdeRYXJl95VKYNTV1yU27RRliRjeu0mthDomgDE7RPVRomQFQze/VMj44WMO9m5QJOMaBQPG46gtoaxRT4OKh4w5xGjgo2mPA+KHg79UnwZzhL6hsAr76eC5Nlnhe3JaGAmOPhpU1ia1up/kNP1GEY72wF5gkOv00ricDfd3Ekd0KEsw+ND2YLm+8NSawml6VUdhWDjL+lUzvYqblOA43Wztb9rsLP2LpQgqjwKfAEbM6JUZxBsCVt/A6Ibib98tEWWoGN89kVVhq1KAG1Xmk+5EGYHPZDVfuMUOx9WaKK2GVUVzcYhzR82qiNoM/m9fD/pZBdTUxFNndSjQFhIaBKqcVWjXCbqTYTAfSPlMnDP02aAzzvC6ZjuPlTnYKF/ZUZ3PFJWD7bIcAzebp/8FH5xxy96L4wYYNUisS1WlU7/JTcTxdHItsMJ1KcmLCYyipstvbQUNq5ju+VHPAgvYF8b0k8CXudCMbEj09ZjrH9ijIpsfcgSfrsfL3vv4dF840unVjBzbpdBOa9CRBhmwqcCSRKqHI1A9vPS4rBbVR0rrxW0TY5D2QX726ujeRwvKZEdvhcNrLEl8wnWc2DTj+KvzAuxOxYNdUXQHWDD/AdYn2MYI1yaLsWVJJ9Eq/8qr1qy2rso/bGdh/FinYNpMH0ifx4sDyn9sxbmEFDUX8Mp4Hbavv9IkB+N0V7bZCsUNNMgAAA');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.framed-card--debtor { background: #fff; color: var(--ink); padding: calc(clamp(32px, 4vw, 64px) + 64px) clamp(28px, 2.8vw, 44px) clamp(32px, 4vw, 64px); }
.framed-card h1 { font-family: var(--serif); font-size: clamp(42px, 4.7vw, 72px); line-height: 1.08; letter-spacing: -.04em; }
.framed-card h2 { font-family: var(--serif); font-size: clamp(30px, 2.9vw, 44px); line-height: 1.13; letter-spacing: -.035em; }
.framed-lede { margin: 28px 0 36px; max-width: 480px; font-size: 17px; line-height: 1.6; }
.framed-card--business .framed-lede { color: rgba(255,255,255,.9); }
.framed-card--debtor .framed-lede { font-size: 16px; }
.framed-card--debtor .btn-accent { color: #161F28; }
.framed-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.framed-actions .btn { border-radius: 10px; }
/* Shared rows keep both panels aligned when headings or copy wrap differently. */
@media (min-width: 681px) {
  .framed-hero-grid { grid-template-rows: auto auto auto minmax(0, 1fr); row-gap: 0; }
  .framed-card { display: grid; grid-row: 1 / span 4; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
  .framed-card--business { grid-column: 1; }
  .framed-card--debtor { grid-column: 2; }
  .framed-card > :is(h1, h2) { grid-row: 1; }
  .framed-card > .framed-lede { grid-row: 2; }
  .framed-card > .framed-actions { grid-row: 3; }
}
@media (max-width: 900px) {
  .framed-hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
  .framed-card { padding: 80px 32px 32px; }
  .framed-card h1 { font-size: 42px; }
  .framed-card h2 { font-size: 30px; }
}
@media (max-width: 680px) {
  :root { --page-gutter: 24px; }
  .framed-hero { padding: 88px var(--frame-gutter) 24px; }
  .framed-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .framed-card { min-height: 440px; padding: 80px 24px 32px; border-radius: 20px; }
  .framed-card--debtor { min-height: 340px; }
  .framed-card h1 { font-size: clamp(35px, 8.8vw, 48px); }
  .framed-card h2 { max-width: 320px; font-size: 34px; }
  .framed-lede { font-size: 16px; margin-top: 24px; }
}

/* Shared navbar geometry follows the two-panel landing page. */
.nav .nav-bar { width: 100%; max-width: var(--nav-maxw, 1440px); padding-inline: var(--page-gutter); }
.nav .nav-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; box-sizing: border-box; border: 1px solid transparent; line-height: 20px; }
.nav .nav-pill--soft { border-color: rgba(255,255,255,.28); }
.nav--solid .nav-pill--soft, .nav.scrolled .nav-pill--soft, .nav.menu-open .nav-pill--soft { border-color: var(--line); }
@media (max-width: 680px) {
  .nav .nav-bar { padding-inline: var(--page-gutter); }
}
@media (max-width: 540px) {
  .nav .nav-pill { min-height: 36px; padding-block: 8px; line-height: 1.2; }
  .nav--creditor .nav-pill--soft { display: none; }
}

/* A modest increase on wide monitors; regular screens keep their sizing. */
@media (min-width: 1600px) {
  :root { --nav-maxw: clamp(1440px, calc(40vw + 800px), 1680px); }
  .framed-card { min-height: clamp(560px, calc(100svh - 140px), 980px); }
  .framed-card h1 { font-size: clamp(72px, calc(2.5vw + 32px), 88px); }
  .framed-card h2 { font-size: clamp(44px, calc(1.25vw + 24px), 52px); }
  .framed-lede { font-size: clamp(17px, calc(.625vw + 7px), 19px); max-width: clamp(480px, 30vw, 560px); }
  .framed-card--debtor .framed-lede { font-size: clamp(16px, calc(.625vw + 6px), 18px); }
}

/* Each step has its own static product example. */
.compact-how-copy { max-width: 700px; }
.compact-how-copy .sec-intro { font-size: 18px; }
.compact-how-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
.compact-how-steps > li { min-width: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.how-step-copy { display: flex; gap: 18px; margin-top: 0; max-width: 440px; }
.how-step-number { color: var(--ink-faint); font-size: 12px; line-height: 28px; }
.how-step-copy h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.3; }
.how-step-copy p { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.how-ui { display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; margin: 0; padding: 28px 22px; min-height: 370px; border-radius: 22px; color: #161F28; background: #edf3f9; font-size: 12px; }
.how-ui--2 { background: #e8f5f0; }
.how-ui--3 { background: #e7edf6; }
.how-mini-window { background: #fff; border: 1px solid #DDE8F5; border-radius: 14px; padding: 18px; box-shadow: 0 12px 28px rgba(22,31,40,.05); }
.how-mini-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 17px; border-bottom: 1px solid #edf0f3; font-size: 11px; }
.how-mini-bar img { width: 75px; height: auto; }
.how-mini-bar > span { color: #5A6672; }
.how-file { display: flex; gap: 10px; align-items: center; padding: 17px 0; }
.how-file strong { font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.how-ui small { display: block; margin-top: 5px; color: #5A6672; font-size: 10px; line-height: 1.4; }
.how-file-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 36px; border: 1px solid #DDE8F5; border-radius: 6px; font-size: 19px; color: #243D66; }
.how-check { color: #0F7D6C; }
.how-file .how-check { margin-left: auto; }
.how-import-row { display: flex; justify-content: space-between; gap: 8px; padding: 11px 0; border-top: 1px solid #edf0f3; font-size: 11px; }
.how-import-row strong { font-weight: 500; white-space: nowrap; }
.how-ui-note { display: flex; gap: 8px; align-items: center; align-self: center; padding: 10px 14px; border: 1px solid #d7e6e0; border-radius: 10px; background: #fff; font-size: 11px; }
.how-chat { padding: 0 4px; }
.how-chat-heading { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.how-chat-heading > span:last-child { margin-left: auto; color: #5A6672; font-size: 10px; }
.how-avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: #243D66; color: #fff; }
.how-bubble { padding: 15px; margin: 0 20px 12px 0; border-radius: 14px 14px 14px 4px; background: #fff; line-height: 1.65; }
.how-bubble--reply { margin: 0 0 0 40px; border-radius: 14px 14px 4px 14px; background: #243D66; color: #fff; }
.how-plan { display: flex; gap: 10px; align-items: center; padding: 16px; border: 1px solid #c5ebdf; border-radius: 14px; background: #fff; }
.how-plan strong { font-size: 11px; font-weight: 500; }
.how-pill { margin-left: auto; padding: 5px 7px; background: #d7f8ef; border-radius: 6px; font-size: 9px; color: #0F7D6C; white-space: nowrap; }
.how-pill--quiet { background: #eef3f8; color: #5A6672; }
.how-person { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.how-avatar--person { width: 38px; height: 38px; border-radius: 50%; background: #DDE8F5; color: #243D66; font-size: 11px; }
.how-review-note { padding: 13px; border-radius: 9px; background: #f4f6f9; font-size: 11px; line-height: 1.65; }
.how-review-row { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 10px; color: #5A6672; line-height: 1.5; }
@media (max-width: 1100px) {
  .compact-how-steps { gap: 64px; }
  .how-ui { padding: 22px 14px; }
  .how-mini-window { padding: 14px; }
}
@media (max-width: 900px) {
  .compact-how-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .compact-how-steps > li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .how-step-copy { margin-top: 0; }
}
@media (max-width: 600px) {
  .compact-how-steps > li { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .how-step-copy { margin: 0 0 24px; }
  .how-ui { padding: 24px; min-height: 350px; }
}

/* Alternate brand surfaces between the main canvas sections. */
.page--framed #how {
  --ink: #161F28; --ink-soft: #5A6672; --ink-faint: #64707D; --navy: #243D66;
  --line: rgba(22,31,40,.12); --line-soft: rgba(22,31,40,.07);
  color: var(--ink);
}
.page--framed #how { background: #fff; padding-inline: 0; }
.page--framed #how > .wrap {
  max-width: var(--maxw);
  padding: clamp(32px, 4vw, 64px) var(--page-gutter);
}
@media (max-width: 680px) {
  .page--framed #how > .wrap { padding: 28px var(--page-gutter); }
}
.page--framed #bransjer { background: #161F28; color: #fff; }
.page--framed #bransjer .sec-title { color: #fff; }
.page--framed #bransjer .fcard { background: #fff; border-color: var(--line-soft); }
.page--framed #bransjer .fcard h3 { color: var(--ink); }
.page--framed #bransjer .fcard p { color: var(--ink-soft); }

/* Pricing sits in a white panel within a cream canvas. */
.page--framed #priser { background: #FAF5F0; padding-inline: var(--frame-gutter); }
.page--framed #priser > .wrap {
  --ink: #161F28; --ink-soft: #5A6672; --ink-faint: #64707D; --navy: #243D66;
  --line: rgba(22,31,40,.12); --line-soft: rgba(22,31,40,.07);
  max-width: calc(var(--maxw) - 2 * var(--frame-gutter));
  padding: clamp(32px, 4vw, 64px);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
}
@media (max-width: 680px) {
  .page--framed #priser > .wrap { padding: 28px 20px; border-radius: 20px; }
}

/* The FAQ page shares the warm canvas used by the entry pages. */
.page--faq { --cream: #FAF5F0; background: var(--cream); }
.page--faq .nav.nav--solid,
.page--faq .nav.nav--solid .nav-menu,
.page--faq .closing { background: var(--cream); color: var(--ink); }
.page--faq .closing-text { color: var(--ink-soft); }

/* Separate the FAQ groups and the closing contact section. */
.page--faq #innhold > .band { position: relative; padding-top: clamp(40px, 5vw, 64px); }
.page--faq #innhold > .band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 56px);
  max-width: calc(var(--maxw) - 56px);
  border-top: 1px solid rgba(22,31,40,.18);
}
@media (max-width: 560px) {
  .page--faq #innhold > .band::before { width: calc(100% - 40px); }
}

.page--faq .nav-links a[aria-current="page"] { color: var(--ink-soft); background: transparent; }

.footer-identity { grid-column: 1 / -1; }
.footer-contact { display: grid; align-content: start; gap: 8px; margin-top: 0; font-size: 15px; scroll-margin-top: 100px; }
.footer-contact p { margin: 0; font-weight: 500; }
.footer-contact span, .footer-contact a { color: var(--ink-soft); }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Original artwork and platform overlays, shared with the earlier website. */
.how-step-copy h3 em { font-style: normal; }
.how-ui.how-ui--original { display: block; width: 100%; max-width: 660px; justify-self: end; min-height: 0; padding: 0; background: transparent; }
.how-ui--original .platform { --cream: #FAF5F0; }
.pf-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1.2cqw, 12px); margin-top: 4px; }
.pf-channel { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: clamp(9px, 1.8cqw, 16px) 4px; border: 1px solid #E5E8EB; border-radius: 10px; background: #fff; color: #5A6672; font-size: clamp(10px, 1.7cqw, 14px); }
.pf-channel svg { width: clamp(18px, 3.5cqw, 26px); height: clamp(18px, 3.5cqw, 26px); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pf-channel--selected { background: #E1FAF3; border-color: #27E6C6; color: #161F28; }
.pf-channel-caption { font-size: clamp(10px, 1.6cqw, 13px); color: #5A6672; line-height: 1.4; }
@media (max-width: 900px) {
  .how-ui.how-ui--original { aspect-ratio: auto; max-height: none; padding: 7%; }
  .how-ui--original .platform { position: relative; inset: auto; }
}
@media (max-width: 600px) {
  .how-ui--original .pf-row { flex-wrap: wrap; }
}

/* Small headings and UI labels use the body face; display headings use Ranade. */
.pf-title, .pf-app, .pf-kpi-v, .fcard h3, .timeline-item h3,
.way h3, .member h3, .col h3, .ctl-card h4, .logo-word, .fork-link,
details.qa summary { font-family: var(--sans); }

/* Language switch stays available even when navigation moves into the menu. */
.nav-language { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 48px; min-height: 40px; margin-left: 8px; border-radius: 8px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: inherit; }
.nav-language svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav-language:hover { background: rgba(22,31,40,.06); }
.nav-language:focus-visible { outline: 2px solid var(--aurora); outline-offset: 2px; }
@media (max-width: 1380px) {
  .nav--creditor .nav-links { display: none; }
  .nav--creditor .nav-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .nav .nav-brand { width: 100px; }
  .nav .nav-brand img { max-width: 100px; height: auto; }
  .nav--creditor .nav-pill--accent { font-size: 12px; padding-inline: 10px; }
  .nav-language { min-width: 30px; margin-left: 2px; }
  .nav--entry .nav-language { position: absolute; right: var(--page-gutter); top: 68px; background: var(--cream); }
}

.nav-language-picker { position: relative; flex: none; }
.nav-language-picker summary { cursor: pointer; list-style: none; }
.nav-language-picker summary::-webkit-details-marker { display: none; }
.nav-language .nav-language-chevron { width: 12px; height: 12px; transition: transform .15s; }
.nav-language-picker[open] .nav-language-chevron { transform: rotate(180deg); }
.nav-language-options { position: absolute; right: 0; top: calc(100% + 8px); min-width: 224px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #161F28; box-shadow: 0 8px 24px rgba(22,31,40,.1); }
.nav-language-options a { display: flex; justify-content: space-between; gap: 20px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
.nav-language-options a:hover, .nav-language-options a:focus-visible { background: #FAF5F0; }
.nav-language-options a[aria-current] { font-weight: 500; }
@media (max-width: 420px) {
  .nav--entry .nav-language-picker { position: absolute; right: var(--page-gutter); top: 68px; background: var(--cream); border-radius: 8px; }
  .nav--entry .nav-language { position: static; }
}
