/* AI Norge in the Beeps family (sketch 18.11.2026).
   Deviation from design/ainorge-designsystem, named on purpose: Geist replaces IBM Plex, and the Beeps palette,
   radii and shadows replace the gold dot and pill buttons, so the umbrella and its products look like one family.
   Jan asked for it on 18.11 («beeps er det beste vi har nå»). The Signaturen logo and the marine footer stay. */

/* Static weights, not the variable file: WebKit in the Windows test rig draws every weight of the variable font
   alike, so the checks would not show the page Jan sees. Geist 1.9.1 from npm, SIL OFL (fonts/GEIST-OFL.txt). */
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }

/* Layout: one message per band, as Beeps does it. White hero, then porcelain and white bands split by hairlines.
   Real product objects sit on a soft blue stage; offers are cards that can be bought from as they stand. */
:root {
  color-scheme: light;
  --canvas: #f7f8fa;
  --paper: #ffffff;
  --ink: #0c111b;
  --text: #3b4453;
  --muted: #677083;
  --blue: #1f44cc;
  --blue-press: #1a38a6;
  --blue-text: #1a38a6;
  --wash: #eef2fe;
  --line: #e4e7ee;
  --line-strong: #d3d9e3;
  --fill: #f1f3f6;
  --night: #0e1a2b;
  --night-line: rgba(255, 255, 255, .12);
  --night-text: #c3cbd8;
  --green: #0b7448;
  --green-wash: #e6f6ee;
  --amber: #8a5c0a;
  --amber-wash: #fbf3e1;
  --violet: #5b3cc4;
  --violet-wash: #f1edfd;
  --stage: radial-gradient(120% 95% at 82% 8%, #f6f8fd, #e5ebf6 52%, #d7dfee);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 22px;
  --sh-sm: 0 1px 2px rgba(12, 17, 27, .04), 0 1px 3px rgba(12, 17, 27, .03);
  --sh-md: 0 2px 4px rgba(12, 17, 27, .04), 0 8px 20px -6px rgba(12, 17, 27, .08);
  --sh-lg: 0 4px 8px rgba(12, 17, 27, .05), 0 20px 48px -12px rgba(12, 17, 27, .14);
  --sh-mock: 0 10px 28px rgba(8, 20, 48, .12);
  --sh-phone: 0 44px 70px -30px rgba(8, 14, 30, .55), 0 0 0 1px rgba(0, 0, 0, .3);
  --gutter: 18px;
  --max: 1180px;
  --band: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01';
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--canvas);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: var(--blue-text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Type */
h1 { font-size: 42px; line-height: 1.04; letter-spacing: -1.4px; }
h2 { font-size: clamp(30px, 6.4vw, 46px); line-height: 1.06; letter-spacing: -1.1px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.3px; }
.eyebrow {
  font: 500 13px/1.3 var(--mono);
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--blue-text);
}
.lead { font-size: clamp(17px, 2.4vw, 19px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--muted); }
.section-head { display: grid; gap: 12px; max-width: 760px; }
.section-head .lead { margin-top: 2px; }

/* Buttons: flat, 8px radius, as in Beeps. Full width on phones (Jan's wish from the Tind round). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  font: 500 16px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(.5px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--blue-press); }
  .btn-ghost:hover { border-color: var(--ink); }
  .text-link:hover { color: var(--ink); }
}
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--blue-text); }

/* Sketch strip (not part of the page) */
.strip { background: var(--ink); color: #dfe5ef; font: 500 13px/1.4 var(--mono); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding-block: 6px; }
.strip a { color: #fff; display: inline-flex; align-items: center; min-height: 32px; }
.strip nav { display: flex; flex-wrap: wrap; gap: 0 16px; }

/* Header */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(247, 248, 250, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { height: 62px; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.logo svg { height: 21px; width: auto; display: block; }
.main-nav { display: none; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-cta { min-height: 44px; padding: 0 14px; font-size: 15px; }
.menu-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-panel {
  position: fixed;
  inset: calc(62px + env(safe-area-inset-top, 0px)) 0 0;
  z-index: 19;
  background: var(--canvas);
  padding-top: 12px;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
/* Phone menu: Tjenester and Produkter fold out, the rest are plain links. */
.m-group, .m-link { border-bottom: 1px solid var(--line); }
.m-group > summary, .m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.5px;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary svg { width: 22px; height: 22px; color: var(--muted); transition: transform .15s ease; }
.m-group[open] > summary svg { transform: rotate(180deg); }
.m-group ul { display: grid; gap: 2px; padding-bottom: 14px; }
.m-group li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.m-group li a small { font-size: 14px; font-weight: 400; color: var(--muted); }
.menu-panel .btn { margin-top: 24px; width: 100%; }
body.menu-open { overflow: hidden; }

/* Desktop menu with dropdowns. Native <details>, so it works without script. */
.nav-group { position: relative; }
.nav-group > summary, .main-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-s);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary svg { width: 15px; height: 15px; transition: transform .15s ease; }
.nav-group[open] > summary { background: var(--fill); color: var(--ink); }
.nav-group[open] > summary svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  z-index: 25;
  width: 390px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-lg);
}
.dd-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.dd-item .icon-tile, .dd-item .app-icon { width: 38px; height: 38px; border-radius: 10px; }
.dd-item .icon-tile svg { width: 21px; height: 21px; }
.dd-item b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.dd-item small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.dd-all { display: flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 12px; border-top: 1px solid var(--line); color: var(--blue-text); font-size: 14px; font-weight: 500; text-decoration: none; }

@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .head-actions { margin-left: 14px; }
  .menu-btn { display: none; }
}
@media (min-width: 900px) and (hover: hover) {
  .main-nav > a:hover, .nav-group > summary:hover { background: var(--fill); color: var(--ink); }
  .dd-item:hover { background: var(--fill); }
  .dd-all:hover { color: var(--ink); }
}

/* Bands */
.band { padding-block: var(--band); border-top: 1px solid var(--line); }
.band-paper { background: var(--paper); }
.band-canvas { background: var(--canvas); }
.band > .wrap { display: grid; gap: 40px; }

/* Hero */
.hero { padding-block: 40px 0; background: var(--paper); border-top: 0; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; }
.hero-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.hero-copy .lead { max-width: 30em; }

.stage { background: var(--stage); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.hero-stage {
  height: 548px;
  display: flex;
  justify-content: center;
  padding-top: 34px;
  margin-inline: calc(-1 * var(--gutter) + 6px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

/* The phone: drawn at a real iPhone's proportions, cut and faded at the bottom like Beeps' hero. */
.phone {
  --w: 286px;
  width: var(--w);
  aspect-ratio: 415 / 874;
  flex: none;
  padding: 5px;
  border-radius: 54px;
  background: linear-gradient(140deg, #8d9099, #3b3d44 22%, #6d707a 48%, #2f3137 74%, #7f828c);
  box-shadow: var(--sh-phone);
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 94%);
}
.phone-bezel { height: 100%; padding: 5px; border-radius: 49px; background: #050608; }
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  padding: 50px 10px 0;
  color: #fff;
  background:
    radial-gradient(90% 60% at 10% 8%, rgba(63, 105, 168, .85), transparent 70%),
    radial-gradient(80% 60% at 92% 92%, rgba(33, 118, 124, .7), transparent 70%),
    linear-gradient(#15233f, #0b1424);
}
.island { position: absolute; top: 10px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #000; }
.lock-date { text-align: center; font-size: 14px; font-weight: 500; opacity: .86; }
.lock-time { text-align: center; font-size: 62px; line-height: 1; font-weight: 300; letter-spacing: -2px; margin-top: 2px; }
.notes { display: grid; gap: 7px; margin-top: 20px; }
.note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px 12px;
  border-radius: 20px;
  color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .16)), rgba(240, 242, 247, .72);
  -webkit-backdrop-filter: blur(24px) saturate(1.9);
  backdrop-filter: blur(24px) saturate(1.9);
  box-shadow: inset 0 1px .5px rgba(255, 255, 255, .8), inset 0 0 0 .75px rgba(255, 255, 255, .45), 0 14px 30px -16px rgba(0, 0, 0, .6);
}
.note .app-icon { width: 34px; height: 34px; }
.note-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #4a5566; line-height: 1.3; }
.note-head b { font-weight: 600; color: #2a3444; text-transform: uppercase; letter-spacing: .3px; font-size: 11.5px; }
.note-title { font-size: 14px; font-weight: 600; line-height: 1.3; margin-top: 1px; }
.note-text { font-size: 13.5px; line-height: 1.35; color: #283241; }

@media (prefers-reduced-motion: no-preference) {
  .play .note { animation: note-in .55s cubic-bezier(.2, .6, .2, 1) both; }
  .play .note:nth-child(1) { animation-delay: .35s; }
  .play .note:nth-child(2) { animation-delay: 1.05s; }
  .play .note:nth-child(3) { animation-delay: 1.75s; }
}
@keyframes note-in {
  from { opacity: 0; transform: translateY(-18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* App icons: Beeps and Radar share one shape; AI Norge keeps its round mark. */
.app-icon { display: block; flex: none; }

/* Offer cards. The seven rows of a card (top, title, question, text, list, price, button) share the grid's rows
   through subgrid, so titles, prices and buttons stand on one line across the cards (Jan 18.11: «aligne alt»). */
.offers { display: grid; gap: 16px; }
.offer {
  display: grid;
  grid-row: span 7;
  grid-template-rows: subgrid;
  row-gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-sm);
  min-width: 0;
}
@supports not (grid-template-rows: subgrid) {
  .offer { grid-row: auto; display: flex; flex-direction: column; gap: 14px; }
  .offer .price { margin-top: auto; }
}
.offer.is-start { border-color: #b9c6f3; box-shadow: var(--sh-md); }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer .pain { color: var(--ink); font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--blue-text);
  font-size: 13px;
  font-weight: 500;
}
.icon-tile {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(31, 68, 204, .1);
  color: var(--blue);
}
.icon-tile svg { width: 24px; height: 24px; }
.offer .checks { margin-bottom: 4px; }
.offer .btn { align-self: end; }
.checks { display: grid; gap: 8px; align-content: start; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--blue); }
.price { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.price strong { color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; color: var(--muted); }
.offer .btn { width: 100%; }
.after-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 15px; }

/* Products */
.products { display: grid; gap: 16px; }
.product {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  min-width: 0;
}
.product-stage {
  height: 224px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.product-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.product-body .price { margin-top: auto; }
.product-label { font: 500 12.5px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--blue-text); }
.product-id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }  /* wraps at 320 px since the longer badge «Første kunder i gang» (19.11) */
.product-id .app-icon, .product-id .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.product-id .icon-tile svg { width: 21px; height: 21px; }
.product-id.big .app-icon { width: 44px; height: 44px; }
.product-id.big b { font-size: 20px; }
.product-id b { color: var(--ink); font-size: 17px; font-weight: 600; }
.product-id .domain { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--muted); }
.product .price { align-self: stretch; }
.product .btn { width: 100%; }

/* Beeps' film (from Beeps, 18.11): muted and looping in the card, square below 960 px and wide above, with a button
   that plays it with sound. The Radar stage takes the same shape, so the two cards line up. */
.product-stage.film-stage { height: auto; aspect-ratio: 1 / 1; padding: 0; place-items: stretch; }
.film { position: relative; overflow: hidden; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-stage .film { width: 100%; height: 100%; }
.film-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font: 500 14.5px/1 var(--sans);
  box-shadow: var(--sh-md);
  cursor: pointer;
}
.film-block { display: grid; gap: 14px; justify-items: center; }
.film-window { width: min(100%, 984px); aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: #e5ebf6; }
.film-window[data-now="tall"] { width: min(100%, 420px, calc((100dvh - 32px) * 9 / 16)); aspect-ratio: 9 / 16; }
.film-open svg { flex: none; }
.film-dialog { padding: 0; border: 0; border-radius: var(--r-l); background: #000; overflow: hidden; max-width: none; max-height: none; width: min(calc(100vw - 32px), calc((100dvh - 32px) * 16 / 9)); }
.film-dialog.tall { width: min(calc(100vw - 32px), calc((100dvh - 32px) * 9 / 16)); }
.film-dialog::backdrop { background: rgba(8, 14, 30, .72); }
.film-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.film-dialog.tall video { aspect-ratio: 9 / 16; }
.film-close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font: 400 26px/1 var(--sans); cursor: pointer; }
@media (hover: hover) {
  .film-play:hover { background: #fff; }
}

/* Mock objects inside the product stages. Invented data, real product shapes. */
.mock {
  width: 100%;
  max-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--sh-mock);
  font-size: 13px;
  color: var(--text);
}
.task { padding: 14px; display: grid; gap: 12px; }
.task-top { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f6c9a8, #e88f74); color: #5a2414; font-weight: 600; font-size: 15px; }
.task-name { color: var(--ink); font-weight: 600; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--text); font-size: 12.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.pill.blue { background: var(--wash); color: var(--blue-text); }
.pill.green { background: var(--green-wash); color: var(--green); }
.pill.amber { background: var(--amber-wash); color: var(--amber); }
.pill.violet { background: var(--violet-wash); color: var(--violet); }
.pill.solid-green { background: var(--green); color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.task-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.task-foot small { font-size: 12.5px; color: var(--muted); }

.company { padding: 14px; display: grid; gap: 10px; }
.company-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.company-name { color: var(--ink); font-weight: 600; font-size: 15px; }
.company-meta { font-size: 12.5px; color: var(--muted); }
/* Radar's score ring: teal from 75, green from 90, as in the product. */
.score { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score circle { fill: none; stroke: #e6e9ee; stroke-width: 3.5; }
.score .arc { stroke: #14b8a6; stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.score b { position: relative; font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-actions { display: flex; justify-content: flex-end; gap: 6px; }
.mock-actions span { padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 12px; font-weight: 500; }
.mock-actions .go { background: var(--blue); border-color: var(--blue); color: #fff; }
.signal { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--amber-wash); color: #4b3a12; font-size: 12.5px; line-height: 1.4; }
.signal svg { width: 18px; height: 18px; color: var(--amber); }


/* AI-trappen: four steps that rise to the right on desktop, a small meter on every card. */
.stairs { display: grid; gap: 12px; }
.stair { display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); min-width: 0; }
.stair-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stair-no { font: 500 13px/1 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--blue-text); }
.stair-meter { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.stair-meter i { width: 7px; border-radius: 2px; background: var(--line-strong); }
.stair-meter i:nth-child(1) { height: 25%; }
.stair-meter i:nth-child(2) { height: 50%; }
.stair-meter i:nth-child(3) { height: 75%; }
.stair-meter i:nth-child(4) { height: 100%; }
.stair[data-n="1"] .stair-meter i:nth-child(-n+1),
.stair[data-n="2"] .stair-meter i:nth-child(-n+2),
.stair[data-n="3"] .stair-meter i:nth-child(-n+3),
.stair[data-n="4"] .stair-meter i { background: var(--blue); }
.stair h3 { font-size: 21px; }
.stairs-foot { display: grid; gap: 12px; }
.stairs-foot .text-link { justify-self: start; }
.honest {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--r-l);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.2px;
}
.honest svg { width: 28px; height: 28px; color: var(--blue); }

/* Person */
.person { display: grid; gap: 32px; align-items: center; }
.portrait { margin: 0; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; max-width: 380px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 22%; }
.portrait figcaption { padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.portrait figcaption b { color: var(--ink); font-weight: 600; }
.person-copy { display: grid; gap: 16px; align-content: start; min-width: 0; }
.person-copy p { font-size: 17px; max-width: 34em; }

/* Experience */
.stories { display: grid; gap: 16px; }
.story { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); min-width: 0; }
.story p { font-size: 15.5px; }
.story .text-link { margin-top: -6px; }

/* «Kjenner du deg igjen?»: the reader's own words in quotes, the answer under, a link to the offer. */
.situations { display: grid; gap: 12px; }
.situation {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-sm);
}
.situation > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.situation h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.2px; }
.situation .text-link { margin-top: -4px; justify-self: start; }

/* Cards on a white band get the porcelain ground, so they still read as objects. */
.band-paper .offer { box-shadow: var(--sh-md); }
.band-paper .stair, .band-paper .story { background: var(--canvas); box-shadow: none; }

.product-id .pill { font-size: 12px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.product-actions .btn { flex: 1 1 160px; }
.after-note .pill { flex: none; }

/* Example plan for Fast AI-partner. */
.plan { padding: 16px; display: grid; gap: 12px; max-width: 420px; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-head b { color: var(--ink); font-size: 15px; }
.plan-head span { font: 500 11.5px/1 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.plan ul { display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--canvas); font-size: 13px; line-height: 1.35; color: var(--ink); }
.plan-month { font: 500 11.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .4px; color: var(--blue-text); }

.page-stage.showcase { height: auto; min-height: 320px; }
@media (min-width: 960px) {
  .page-stage.showcase { min-height: 420px; }
  .page-stage.showcase .mock { transform: scale(1.22); }
}
.form-placeholder { padding: 48px 24px; text-align: center; color: var(--muted); font-size: 15px; }
.ask-wrap { display: grid; gap: 16px; padding-block: 24px; }

/* The licence question (Jan 18.11), calm since innspill-v10 (Jan 20.11): porcelain, ink text and the button as the only
   blue, on the front page and on Fast AI-partner. */
.lisens-grid { display: grid; gap: 24px; align-items: start; }
.lisens-copy { display: grid; gap: 14px; align-content: start; max-width: 40em; }
.lisens-copy p { font-size: 17px; }
/* A quieter second line in the heading, the same size (Jan 20.11, innspill-v15). */
.h-sub { display: block; color: var(--muted); }
.lisens-copy .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 639px) {
  .lisens-copy .btn { justify-self: stretch; }
}

/* «Slik bygger vi» */
.tiles { display: grid; gap: 12px; }
.tiles li { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); min-width: 0; }
.tiles h3 { font-size: 19px; }
.tiles p { font-size: 15.5px; }

/* Products, versjon 6 (Jan 18.11: «det mangler en overskrift over bildet?»). The message comes before the picture.
   A: name and promise, then the picture, then price and button; the three rows line up across the two cards. */
.layout-a .product { grid-template-rows: auto auto 1fr; }
.pa-head { display: grid; gap: 10px; align-content: start; padding: 22px 24px 20px; }
.pa-head h3 { font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -.6px; }
.layout-a .product-stage { border-top: 1px solid var(--line); }
.pa-foot { display: flex; flex-direction: column; justify-content: end; gap: 14px; padding: 20px 24px 24px; }
.pa-foot .price { padding-top: 0; border-top: 0; }
@media (min-width: 640px) {
  @supports (grid-template-rows: subgrid) {
    .layout-a .product { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  }
}
/* B: one wide row per product, text beside a large picture. */
.prod-rows { display: grid; gap: 48px; }
.prow { display: grid; gap: 22px; align-items: center; }
.prow-copy { display: grid; gap: 12px; align-content: start; min-width: 0; }
.prow-copy h3 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -.9px; }
.prow-copy .price { margin-top: 4px; }
.prow-stage { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); box-shadow: var(--sh-md); }
.prow-stage.film-stage { padding: 0; place-items: stretch; }
/* C: a short list without pictures; the film opens from a link. */
.prod-list { display: grid; gap: 12px; }
.pitem { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-md); min-width: 0; }
.pitem-icon .app-icon { display: block; width: 52px; height: 52px; border-radius: 14px; }
.pitem-copy { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pitem-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pitem-id b { color: var(--ink); font-size: 17px; font-weight: 600; }
.pitem-id .domain { font: 500 12px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--blue-text); }
.pitem-copy h3 { font-size: 22px; letter-spacing: -.5px; }
.film-link { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.pitem-buy { grid-column: 1 / -1; display: grid; gap: 12px; min-width: 0; }
/* The layout page: a label above each layout. */
.variant-wrap { padding-top: 48px; background: var(--paper); border-top: 4px solid var(--line-strong); }
.variant-wrap + .band { border-top: 0; padding-top: 28px; }

/* «Om meg», three directions. */
.link-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fact-tiles { display: grid; gap: 10px; }
.fact { display: grid; gap: 2px; padding: 16px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.band-paper .fact { background: var(--canvas); }
.fact b { color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.8px; }
.fact span { font-size: 14px; color: var(--muted); }
.letter { display: grid; gap: 22px; max-width: 860px; }
.letter blockquote { margin: 0; color: var(--ink); font-size: clamp(23px, 3.4vw, 34px); font-weight: 500; line-height: 1.28; letter-spacing: -.6px; text-wrap: pretty; }
.signature { display: flex; align-items: center; gap: 12px; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.signature b { display: block; color: var(--ink); font-weight: 600; }
.signature span { display: block; font-size: 14px; color: var(--muted); }
.variant-label { justify-self: start; padding: 6px 12px; border-radius: 8px; background: #fffdf5; border: 1.5px dashed #d8c48f; font: 500 13px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: #7a5a12; }
.variant-rule { border: 0; border-top: 1px dashed var(--line-strong); margin: 24px 0; }

/* Contact */
/* White since innspill-v9 (Jan 20.11): one palette, white and porcelain taking turns, the dark band the one strong colour. */
.contact { background: var(--paper); border-top: 1px solid var(--line); padding-block: var(--band); }
.contact-grid { display: grid; gap: 32px; }
.contact-copy { display: grid; gap: 16px; align-content: start; min-width: 0; }
.contact-copy h2 { font-size: clamp(44px, 11vw, 76px); letter-spacing: -2px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
/* Beeps' form sits in a card of the same grey as the form itself (#f2f2f7), so the frame has no visible edge. */
.form-card { background: #f2f2f7; border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; display: grid; align-content: start; min-width: 0; }
.form-card iframe { display: block; width: 100%; border: 0; }
/* Jan Frode and Lotte AI beside the form (innspill-v15): a card each, the whole card a phone link. */
.callers { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.caller { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .78); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.caller img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.caller > span { display: grid; min-width: 0; }
.caller b { font-weight: 600; }
.caller span span { font-size: 14px; color: var(--muted); }
.caller strong { font-size: 20px; font-weight: 600; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .caller:hover { border-color: var(--line-strong); } }
.faq { display: grid; gap: 8px; }
.faq details { background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 16px; }

/* Sub-pages */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.page-hero { background: var(--paper); padding-block: 8px 56px; }
.page-hero > .wrap { display: grid; gap: 20px; }
.page-hero-grid { display: grid; gap: 32px; }
.page-hero-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.page-hero h1 { font-size: clamp(40px, 9vw, 64px); letter-spacing: -2px; }
.buy { display: grid; gap: 14px; padding: 20px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-l); }
.buy .price { padding-top: 0; border-top: 0; }
.buy .btn-row .btn { flex: 1 1 auto; }
.media { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.page-stage { margin-inline: 0; border-radius: var(--r-xl); }
.two-col { display: grid; gap: 28px; }
/* Om AI Norge (Jan 21.11): running text beside a two-col heading. */
.col-text { display: grid; gap: 1em; font-size: 18px; line-height: 1.6; }
.col-text p { margin: 0; }
.checks.big li { font-size: 17px; grid-template-columns: 22px 1fr; }
.checks.big svg { width: 22px; height: 22px; }
.process { display: grid; gap: 12px; }
.process li { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); min-width: 0; }
.band-paper .process li { background: var(--canvas); }
.process .when { font: 500 13px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--blue-text); }
.process h3 { font-size: 19px; }
.showcase { display: grid; place-items: center; padding: 40px 18px; border-radius: var(--r-xl); }
.stories.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.posts { display: grid; gap: 16px; }
.post { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); overflow: hidden; color: inherit; text-decoration: none; min-width: 0; }
.post-cover { height: 150px; display: grid; place-items: center; color: var(--blue); border-radius: 0; border-bottom: 1px solid var(--line); }
.post-cover svg { width: 52px; height: 52px; }
.post-body { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; }
.post-meta { font: 500 12.5px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.post-text { font-size: 15.5px; }
@media (hover: hover) {
  .post:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); }
  .chip:hover { border-color: var(--ink); }
}

/* Footer */
.site-foot { background: var(--night); color: var(--night-text); padding-block: 56px max(28px, env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 32px; }
.foot-intro { display: grid; gap: 14px; align-content: start; max-width: 340px; }
.foot-intro .logo { color: #fff; }
.foot-intro .logo svg { height: 26px; }
.foot-intro p { font-size: 15px; }
.foot-phone { color: #fff; font-size: 20px; font-weight: 600; text-decoration: none; letter-spacing: -.3px; display: inline-flex; min-height: 44px; align-items: center; }
.foot-link { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; margin-top: -14px; color: var(--night-text); font-size: 15px; text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.foot-cols h2 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.foot-cols a { display: flex; align-items: center; min-height: 40px; color: var(--night-text); text-decoration: none; font-size: 15px; }
.foot-cols a span { margin-left: 6px; font: 500 12px/1 var(--mono); color: #8f9bb0; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: #9aa6ba; }
@media (hover: hover) {
  .foot-cols a:hover { color: #fff; }
}

/* Questions for Jan (artifact version only) */
.ask {
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--r-l);
  background: #fffdf5;
  border: 1.5px dashed #d8c48f;
  display: grid;
  gap: 12px;
}
.ask-label { font: 500 12.5px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: #7a5a12; }
.ask h3 { font-size: 19px; }
.ask-why { font-size: 15px; color: var(--text); }
.ask-options { display: grid; gap: 8px; }
.ask-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--paper);
  color: var(--ink);
  font: 500 15px/1.35 var(--sans);
  text-align: left;
  cursor: pointer;
}
.ask-option .tick { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.ask-option.multi .tick { border-radius: 5px; }
.ask-option[aria-pressed="true"] { border-color: var(--blue); background: var(--wash); }
.ask-option[aria-pressed="true"] .tick { border-color: var(--blue); background: var(--blue); }
.ask-option[aria-pressed="true"] .tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.ask-option.multi[aria-pressed="true"] .tick::after { border-radius: 2px; }
.ask-option em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--blue-text); white-space: nowrap; }
.ask textarea {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  font: 400 16px/1.45 var(--sans);
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
}
.ask-status { font-size: 14px; color: var(--muted); min-height: 20px; }
.ask-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-tab { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; }
.ask-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ask-field { display: grid; gap: 6px; }
.alts { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.alts-label { font: 500 12.5px/1.3 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.alts-list { display: grid; gap: 8px; }
.alt { display: grid; gap: 2px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--paper); color: var(--ink); font: 400 15px/1.4 var(--sans); text-align: left; cursor: pointer; }
.alt b { font-weight: 600; }
.alt span { font-size: 13.5px; color: var(--muted); }
.alts[data-s="brev"] .alt span { font-size: 15px; color: var(--text); }
.alt[aria-pressed="true"] { border-color: var(--blue); background: var(--wash); box-shadow: inset 0 0 0 1px var(--blue); }
.alt.from-claude { border-style: dashed; }
.alts-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.alts-status { font-size: 14px; color: var(--muted); }
.ask-bar { background: #fffdf5; border-bottom: 1px solid #eadfbf; font-size: 15px; color: #5d4a1c; }
.ask-bar .wrap { padding-block: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; }
.ask-bar b { color: var(--ink); }

/* Tablet and up */
@media (min-width: 640px) {
  :root { --gutter: 28px; --band: 96px; }
  .offers, .products, .stories, .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alts[data-s="brev"] .alts-list { grid-template-columns: minmax(0, 1fr); }
  .products.two .product-stage { height: auto; aspect-ratio: 1 / 1; }
  .btn-row .btn { width: auto; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --gutter: 32px; --band: 120px; }
  h1 { font-size: 72px; letter-spacing: -2.8px; }
  h2 { letter-spacing: -1.6px; }
  .hero { padding-block: 64px 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: end; }
  .hero-copy { padding-bottom: 72px; }
  .hero-stage { height: 600px; margin-inline: 0; padding-top: 46px; }
  .lock-time { font-size: 68px; }
  .notes { margin-top: 26px; }
  .phone { --w: 312px; }
  .offers, .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products.two .product-stage { aspect-ratio: 16 / 9; }
  .prod-rows { gap: 80px; }
  .prow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
  .prow.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .prow.flip .prow-copy { order: 2; }
  .prow-stage { aspect-ratio: 16 / 9; }
  .prow-stage .mock { transform: scale(1.2); }
  .pitem { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 320px); gap: 24px; padding: 26px 28px; align-items: center; }
  .pitem-icon .app-icon { width: 64px; height: 64px; }
  .pitem-buy { grid-column: auto; padding-left: 24px; border-left: 1px solid var(--line); }
  .pitem-buy .price { padding-top: 0; border-top: 0; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lisens-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .person { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: start; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
  .stairs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .stair[data-n="1"] { margin-top: 96px; }
  .stair[data-n="2"] { margin-top: 64px; }
  .stair[data-n="3"] { margin-top: 32px; }
  .stairs-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
  .page-stage { height: 560px; }
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ——— Versjon 7 (19.11): the finished site. Spec: docs/superpowers/specs/2026-11-19-ainorge-ny-side-design.md ——— */
/* No style attributes in the markup (CSP): the hidden SVG defs and the Radar score get classes. */
.svg-defs { position: absolute; }
.score-86 { --p: 86; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
/* Two programme cards on /samarbeid/. */
@media (min-width: 960px) { .offers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; } }
/* The samarbeid band on the front page: the words, and one quiet button. */
/* The deep footer (Jan 19.11: «jeg liker den dype footeren» on today's site): the near-black of today's footer and
   of the dark scenes, a named deviation from the family's marine night. */
.site-foot { --night: #0a0d12; --night-line: rgba(255, 255, 255, .1); padding-block: 72px max(32px, env(safe-area-inset-bottom, 0px)); }
.site-foot .foot-intro .logo svg { height: 34px; }
/* A narrow reading column: the posts and /personvern/. */
.wrap.narrow { max-width: calc(720px + 2 * var(--gutter)); }
.article-hero .wrap { display: grid; gap: 16px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 15px; color: var(--ink); }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-meta > span { display: grid; }
.article-meta > span span { color: var(--muted); font-size: 14px; }
.article-image { margin-block: 0 8px; }
.article-image img { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.prose { padding-block: 32px var(--band); font-size: 18px; line-height: 1.65; color: var(--text); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: 26px; letter-spacing: -.6px; color: var(--ink); }
.prose h3 { margin-top: 1.4em; font-size: 20px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--blue-text); }
.prose img { width: 100%; height: auto; border-radius: var(--r-l); }
.prose pre { overflow-x: auto; padding: 16px; background: var(--fill); border-radius: var(--r-m); font: 500 14px/1.5 var(--mono); }
.prose code { font: 500 .9em var(--mono); }
.prose blockquote { padding-left: 18px; border-left: 3px solid var(--ink); }
.band-canvas .prose, .prose { max-width: none; }
.learned { margin-top: 2em; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); }
.learned h2 { margin-top: 0; font-size: 22px; }
.learned .checks { margin-top: 12px; }
.post-cover.photo { height: 180px; padding: 0; overflow: hidden; }
.post-cover.photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-media img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.band > .wrap.prose { display: block; }

/* ——— The front page's hero (order B, Jan 20.11): the phone with Beeps, Radar and the reader's own tool ———
   The notes come in once at load (.play), as on «Løsninger bygget for dere». */
.hero.hero-alt { padding-block: 40px 48px; overflow: clip; }
@media (min-width: 960px) {
  .hero.hero-alt { padding-block: 64px 80px; }
  .hero-alt .hero-grid { align-items: center; }
  .hero-alt .hero-copy { padding-bottom: 0; }
}

/* ——— The phone with the reader's own tool (.ditt-hero): the hero on the front page and on «Løsninger bygget for dere»
   (Jan 20.11). The third note is the reader's and carries a blue ring. ——— */
.ditt-hero .note:nth-child(3) { box-shadow: 0 0 0 2px #6f8cff, inset 0 1px .5px rgba(255, 255, 255, .8), 0 14px 30px -16px rgba(0, 0, 0, .6); }
/* The notes wrap to more lines on the narrow phone, so the fade starts lower and the third note stays clear; below
   360 px the phone is drawn a little narrower so it fits. */
@media (max-width: 959px) {
  .ditt-hero .phone { -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 98%); mask-image: linear-gradient(to bottom, #000 84%, transparent 98%); }
}
@media (max-width: 359px) {
  .ditt-hero .phone { --w: 268px; }
}

/* ——— «Beeps og Radar fra AI Norge» (Jan 20.11, retninger/merkevare/, bare i skissen) ———
   The product's own name, with AI Norge under it as the sender, drawn as the top of the product's site. */
.lockups { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.lockup-card { display: grid; align-content: start; gap: 12px; padding: 20px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-l); min-width: 0; }
.lockup-card.is-chosen { border-color: #b9c6f3; box-shadow: var(--sh-md); }
.mock-head { display: grid; gap: 6px; min-width: 0; }
.mock-addr { font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-sm); }
.lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.lockup .app-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.lockup-text { display: grid; gap: 2px; min-width: 0; }
.lockup-text b { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.3px; line-height: 1.05; }
.lockup-line { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.lockup-line svg { height: 11px; width: auto; color: var(--ink); }
.mock-login { flex: none; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--ink); }
.lockup-pair { display: grid; gap: 20px; }
.mock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 18px 20px; border-radius: var(--r-m); background: var(--night); color: var(--night-text); font-size: 15px; }
.mock-foot p { margin: 0; }
.mock-foot span { color: #fff; }
@media (min-width: 960px) {
  .lockups, .lockup-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ——— Logo og ikon (/merke/, Jan 20.11: «begge disse må jeg kunne laste ned for bruk») ———
   One card per file: a preview on the surface it is made for, what it is for, and pill links that download it. */
.merke-grid { display: grid; gap: 16px; }
.merke-card { display: grid; gap: 12px; align-content: start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-sm); min-width: 0; }
.merke-card h3 { font-size: 20px; letter-spacing: -.3px; }
.merke-group { display: grid; gap: 20px; }
.merke-card p { margin: 0; }
/* Flex, so the image's max-height resolves against the box; the images keep their width and height attributes. */
.merke-preview { display: flex; align-items: center; justify-content: center; height: 168px; padding: 24px; border-radius: var(--r-m); background: var(--canvas); border: 1px solid var(--line); }
/* object-fit: the box can be narrowed by max-width while the height attribute holds, so the picture is fitted, never stretched (Jan 20.11). */
.merke-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.merke-preview.dark { background: #0e1a2b; border-color: #0e1a2b; }
.merke-dl { display: flex; flex-wrap: wrap; gap: 8px; }
.merke-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { margin: 0; display: grid; gap: 2px; min-width: 150px; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line); }
.swatch b { font-weight: 600; }
.swatch span { font: 500 13px/1.3 var(--mono); }
.s-marine { background: #0e1a2b; color: #fff; border-color: #0e1a2b; }
.s-blue { background: #1f44cc; color: #fff; border-color: #1f44cc; }
.s-white { background: #fff; color: var(--ink); }
@media (min-width: 640px) { .merke-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .merke-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ——— The hero as Jan drew it (20.11): one button with the price line beside it, and the line under the button on the
   phone, where the button fills the width. ——— */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.hero-cta .fine { margin: 0; max-width: 24em; }
@media (max-width: 639px) { .hero-cta .btn { flex: 1 1 100%; } }

/* The dark scenes: today's #tavle2, #rot and #vending (public/styles.css), ported to the Beeps-family look.
   Every selector sits under .scener, keyframes are sc-*, and the progress value is --sc-p (the new site uses --p
   for its score rings, and @property registers a name for the whole page).
   Ported from public/styles.css: 251-327 (the story: .fortelling, .skisse-obj, .mobil--hero, .app*), 520-563 (one
   idea per screen: .beat*, .rot__*), 564-600 (the phone object, scroll-driven text), 628-629 and 663-691 (@property,
   the sketch .tv-* layers the turn uses), 735 (tegn-opp), 172 (.tv-defs).
   The motion: one value --sc-p runs 0..1 with the scroll (animation-timeline: view()). Without support, or with
   reduced motion, --sc-p stays 1: the finished picture.
   Named deviations from today: Geist and Geist Mono replace Plex and Karla; the labels and ingress use the new
   .eyebrow and .lead (no gold dot on the label); the gutter is the new site's --gutter; the phone-width min-height of
   the turn is the 60svh today's styles.css meant (its rule sat before the general one and never applied). */

@property --sc-p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes sc-p { from { --sc-p: 0; } to { --sc-p: 1; } }
@keyframes sc-tekst-inn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sc-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* --- Tokens and the dark band ------------------------------------------------------------------ */
.scener {
  --night: #0A0D12;
  --night-ink: #F2F5F9;
  --gold: #6f8cff; /* the one accent piece and the app dot: Beeps blue, lightened for the dark (19.11: no gold in the Beeps look) */
  --critical-soft: #FF9A90;
  --label: #A3B6FF;             /* the label on the dark: the new site's blue eyebrow, lifted for contrast (9:1) */
  --shadow-device: 0 24px 48px rgba(14, 26, 43, .18);
  --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --space-4: 16px; --space-8: 32px; --space-12: 48px;
  position: relative;
  background: var(--night);
  color: var(--night-ink);
  font-family: var(--font-sans);
  overflow-x: clip;             /* the phone swings in from beyond the right edge */
}
.scener .scener__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- One idea per screen --------------------------------------------------------------------------- */
.scener .beat { min-height: clamp(480px, 60svh, 760px); display: grid; align-items: center; padding-block: var(--space-12); background: var(--night); }
/* The turn is taller, so the story has more scroll to play out in. */
.scener .beat--moerk { min-height: clamp(640px, 92svh, 1160px); }
.scener .beat__ramme {
  width: 100%;
  max-width: calc(var(--max, 1180px) + 2 * var(--gutter, 18px));
  margin: 0 auto;
  padding-left: max(var(--gutter, 18px), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter, 18px), env(safe-area-inset-right, 0px));
  display: grid;
  gap: clamp(var(--space-8), 6vw, 96px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.scener .beat__tekst { display: grid; gap: var(--space-4); min-width: 0; }
.scener .beat__tekst > * { margin: 0; }
.scener .beat h2 { color: #FFFFFF; max-width: 16ch; }
.scener .eyebrow { color: var(--label); }
.scener .lead { color: rgba(242, 245, 249, .85); }

/* --- The whiteboard and the paper pile: a photo, a dark cover over its right half, pieces that settle --- */
.scener .rot__scene { position: relative; aspect-ratio: 16 / 9; overflow: clip; background: var(--night); container-type: size; }
.scener .rot__bilde { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left center; }
.scener .rot__dekke { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 18, 0) 34%, rgba(10, 13, 18, .92) 50%, var(--night) 60%); }
/* The paper pile: 96 pieces (scener.js) fly from the pile into a 12-column grid, one of them gold. */
.scener .rot__biter { position: absolute; left: 50%; right: 6%; top: 16%; bottom: 16%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; --sc-p: 1; }
.scener .rot__biter span { display: block; border-radius: 2px; background: rgba(255, 255, 255, .9); transform: translate(calc(var(--dx) * (1 - var(--sc-p))), calc(var(--dy) * (1 - var(--sc-p)))) rotate(calc(var(--dr) * (1 - var(--sc-p)))); opacity: calc(.35 + .65 * var(--sc-p)); }
.scener .rot__biter span.gull { background: var(--gold); }
/* The whiteboard: a wireframe of 30 strokes (scener.js) flies in from the board. */
.scener .rot__ui { position: absolute; left: 52%; right: 6%; top: 14%; bottom: 14%; --sc-p: 1; }
.scener .rot__ui span { position: absolute; display: block; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, .9); transform: translate(calc(var(--dx) * (1 - var(--sc-p))), calc(var(--dy) * (1 - var(--sc-p)))) rotate(calc(var(--dr) * (1 - var(--sc-p)))); opacity: calc(.3 + .7 * var(--sc-p)); }
.scener .rot__ui span.flate { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .6); }
.scener .rot__ui span.pille { border-radius: 999px; background: rgba(255, 255, 255, .5); }
.scener .rot__ui span.gull { background: var(--gold); border-radius: 50%; }

/* --- The turn: idea to software --------------------------------------------------------------------
   One value --sc-p runs 0..1 with the scroll through the story. The quarters:
   .04–.40 the sketch draws itself · .34–.64 the phone swings in · .50–.78 the twelve parts of the sketch lift off
   and fly into the phone · .62–.92 the tool's rows land · .90–1 Lotte's notification drops in. */
.scener .fortelling { position: relative; aspect-ratio: 20 / 18; --sc-p: 1; --f: clamp(0, (var(--sc-p) - .58) / .26, 1); }
/* The sketch is drawn straight on the dark. White marker, the rough filter, and the copy that lifts off into the phone. */
.scener .skisse-obj { position: absolute; left: 0; top: 12%; width: 66%; }

/* The drawing (scripts/tavle.mjs, the sketch layer only). Each part owns a slice (--fra..--til) of --t1 and is drawn
   with stroke-dashoffset; the draw order is the child order. */
.scener .tv { display: block; width: 100%; height: auto; max-width: none; overflow: visible; }
.scener .skisse-obj .tv { --ink: #F2F5F9; --ink-muted: rgba(242, 245, 249, .7); --critical: var(--critical-soft); --t1: clamp(0, (var(--sc-p) - .04) / .5, 1); }
.scener .tv text { font-variant-numeric: tabular-nums; }
.scener .tv-mono { font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-muted); }
.scener .tv-hand { font: italic 300 15px var(--font-sans); fill: var(--ink); }
.scener .tv-skisse > * { --lok: clamp(0, (var(--t1) - var(--fra)) / (var(--til) - var(--fra)), 1); }
/* Draw order: title, box, arrow, box, arrow, box, arrow, box, loop, note, ring, note. */
.scener .tv-skisse > :nth-child(1) { --fra: 0; --til: .08; }
.scener .tv-skisse > :nth-child(2) { --fra: .08; --til: .2; --r: -2.2; }
.scener .tv-skisse > :nth-child(3) { --fra: .2; --til: .28; }
.scener .tv-skisse > :nth-child(4) { --fra: .28; --til: .4; --r: 1.6; }
.scener .tv-skisse > :nth-child(5) { --fra: .4; --til: .48; }
.scener .tv-skisse > :nth-child(6) { --fra: .48; --til: .6; --r: -1.2; }
.scener .tv-skisse > :nth-child(7) { --fra: .6; --til: .68; }
.scener .tv-skisse > :nth-child(8) { --fra: .68; --til: .8; --r: 2.4; }
.scener .tv-skisse > :nth-child(9) { --fra: .76; --til: .9; }
.scener .tv-skisse > :nth-child(10) { --fra: .84; --til: .94; }
.scener .tv-skisse > :nth-child(11) { --fra: .88; --til: 1; }
.scener .tv-skisse > :nth-child(12) { --fra: .92; --til: 1; }
.scener .tv-strek { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--lok)); }
.scener .tv-skrift { opacity: var(--lok); }
/* The boxes sit a little crooked on the board (the turn never tidies them: --t2 is 0 here). */
.scener .tv-boks { transform: rotate(calc(var(--r) * 1deg)); transform-box: fill-box; transform-origin: center; }
.scener .tv-strek.tv-kritisk { stroke: var(--critical); }
.scener text.tv-kritisk { fill: var(--critical); }

/* The sketch stays on the board. Its copy flies: each part on its own path toward the phone (SVG units), shrinking and
   fading. The flying copy stays invisible until it lifts off, so the two copies never show as a double line. */
.scener .skisse-obj .tv-skisse--fly { filter: none; opacity: clamp(0, var(--f) * 40, 1); }
.scener .skisse-obj .tv-skisse--fly > * { transform-box: fill-box; transform-origin: center; transform: translate(calc(var(--dx) * var(--f) * 1px), calc(var(--dy) * var(--f) * 1px)) rotate(calc(var(--dr) * var(--f) * 1deg)) scale(calc(1 - .7 * var(--f))); opacity: calc(1 - var(--f)); }
.scener .skisse-obj .tv-skisse--fly > text { opacity: calc(var(--lok) * (1 - var(--f))); }
.scener .skisse-obj .tv-skisse--fly > :nth-child(1) { --dx: 470; --dy: 60; --dr: -14; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(2) { --dx: 560; --dy: -40; --dr: 22; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(3) { --dx: 430; --dy: 90; --dr: -30; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(4) { --dx: 420; --dy: -70; --dr: 16; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(5) { --dx: 330; --dy: 120; --dr: 28; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(6) { --dx: 300; --dy: -20; --dr: -18; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(7) { --dx: 210; --dy: 80; --dr: 24; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(8) { --dx: 160; --dy: -60; --dr: -12; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(9) { --dx: 340; --dy: 100; --dr: 20; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(10) { --dx: 380; --dy: 40; --dr: -26; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(11) { --dx: 290; --dy: -30; --dr: 32; }
.scener .skisse-obj .tv-skisse--fly > :nth-child(12) { --dx: 310; --dy: 70; --dr: -22; }

/* The phone is an object with a frame, buttons, island and a fixed light screen. It alone gets a shadow. */
.scener .mobil { position: relative; width: min(320px, 82%); aspect-ratio: 9 / 19.5; margin: 0 auto; border-radius: 54px; corner-shape: squircle; padding: 11px; background: linear-gradient(160deg, #4a5470 0%, #1b2233 45%, #2f3852 100%); border: 1px solid rgba(255, 255, 255, .32); box-shadow: var(--shadow-device); }
.scener .mobil::before { content: ""; position: absolute; inset: 3px; border-radius: 51px; corner-shape: squircle; border: 1px solid rgba(0, 0, 0, .65); pointer-events: none; }
.scener .mobil__knapp { position: absolute; width: 3px; border-radius: 2px; background: #3a4358; }
.scener .mobil__knapp--lyd { left: -3px; top: 17%; height: 4.5%; }
.scener .mobil__knapp--vol1 { left: -3px; top: 25%; height: 8.5%; }
.scener .mobil__knapp--vol2 { left: -3px; top: 35.5%; height: 8.5%; }
.scener .mobil__knapp--laas { right: -3px; top: 27%; height: 13%; }
.scener .mobil__skjerm { position: relative; height: 100%; border-radius: 44px; corner-shape: squircle; overflow: hidden; color: #0E1A2B; font: 300 16px/26px var(--font-sans); background: radial-gradient(120% 55% at 30% 0%, #D5DFEE 0%, transparent 60%), linear-gradient(180deg, #E6ECFB 0%, #EEF2F6 55%, #F7F9FC 100%); padding: 14px 12px; display: grid; align-content: start; gap: 8px; }
.scener .mobil__oey { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 26px; border-radius: 13px; background: #0E1A2B; }
.scener .mobil__status { display: flex; justify-content: space-between; align-items: center; padding: 0 12px; font: 600 14px/18px var(--font-display); }
.scener .mobil__status svg { width: 58px; height: 12px; }
.scener .mobil__appikon { width: 34px; height: 34px; border-radius: 9px; corner-shape: squircle; background: var(--night); position: relative; }
.scener .mobil__appikon::after { content: ""; position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.scener .mobil__app { margin: 0; font: 500 10px/14px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #5B6779; }

/* The phone in the story swings in from the right as the sketch takes off. */
.scener .fortelling .mobil--hero { position: absolute; right: 0; top: 0; width: 46%; margin: 0; --m: clamp(0, (var(--sc-p) - .42) / .3, 1); --r: clamp(0, (var(--sc-p) - .72) / .26, 1); --v: clamp(0, (var(--sc-p) - .93) / .07, 1); transform: perspective(1200px) translateX(calc(28% * (1 - var(--m)))) rotateY(calc(-66deg + 52deg * var(--m))) rotateZ(calc(-6deg * (1 - var(--m)))); opacity: calc(.1 + .9 * var(--m)); }
.scener .fortelling .mobil--hero .mobil__skjerm { padding: 12px 10px; gap: 8px; }
.scener .fortelling .mobil--hero .mobil__status { font-size: 11px; line-height: 14px; }
/* The tool on the screen. Rows land one by one with --r, the notification with --v. */
.scener .app { position: relative; display: grid; gap: 7px; margin-top: 4px; color: #0E1A2B; }
.scener .app__topp { opacity: clamp(0, var(--r) / .3, 1); display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 2px 2px 0; }
.scener .app__tittel { margin: 0; font: 500 13px/16px var(--font-display); }
.scener .app__under { margin: 0; font: 500 8px/12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #5B6779; }
.scener .app__knapp { flex: none; font: 500 9px/18px var(--font-sans); padding: 0 8px; border-radius: 999px; background: #0E1A2B; color: #FFFFFF; }
.scener .app__kort { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scener .app__kort div { display: grid; gap: 1px; padding: 5px 5px 4px; border-radius: 7px; corner-shape: squircle; background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); min-width: 0; opacity: var(--k); transform: translateY(calc(8px * (1 - var(--k)))); }
.scener .app__kort div:nth-child(1) { --k: clamp(0, var(--r) / .45, 1); }
.scener .app__kort div:nth-child(2) { --k: clamp(0, (var(--r) - .1) / .45, 1); }
.scener .app__kort div:nth-child(3) { --k: clamp(0, (var(--r) - .2) / .45, 1); }
.scener .app__kort div:nth-child(4) { --k: clamp(0, (var(--r) - .3) / .45, 1); }
.scener .app__kort span { font: 500 6.5px/9px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #5B6779; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scener .app__kort strong { font: 500 15px/18px var(--font-display); }
.scener .app__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.scener .app__liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 6px 7px; border-radius: 9px; corner-shape: squircle; background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95); opacity: var(--k); transform: translateY(calc(10px * (1 - var(--k)))); }
.scener .app__liste li:nth-child(1) { --k: clamp(0, (var(--r) - .3) / .4, 1); }
.scener .app__liste li:nth-child(2) { --k: clamp(0, (var(--r) - .45) / .4, 1); }
.scener .app__liste li:nth-child(3) { --k: clamp(0, (var(--r) - .6) / .4, 1); }
.scener .app__liste li > div { display: grid; gap: 1px; min-width: 0; }
.scener .app__liste strong { font: 500 10px/13px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scener .app__liste li > div span { font-size: 8px; line-height: 11px; color: #5B6779; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scener .app__pille { display: inline-flex; align-items: center; gap: 3px; font: 500 7px/14px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 0 6px; border-radius: 999px; white-space: nowrap; }
.scener .app__pille--brand { background: #1E44B8; color: #FFFFFF; }
.scener .app__pille--muted { background: #E2E8EF; color: #3C4858; }
.scener .app__pille--success { background: #DDF3E6; color: #1F8A4C; }
.scener .app__gull { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: sc-puls 2.4s ease-in-out infinite; }
.scener .app__varsel { position: absolute; left: 0; right: 0; top: -2px; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 7px; align-items: start; padding: 7px 8px; border-radius: 12px; corner-shape: squircle; background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 8px 24px -12px rgba(14, 26, 43, .35); opacity: var(--v); transform: translateY(calc(-28px * (1 - var(--v)))); }
.scener .app__varsel .mobil__appikon { width: 26px; height: 26px; border-radius: 7px; }
.scener .app__varsel .mobil__appikon::after { right: 4px; top: 4px; width: 5px; height: 5px; }
.scener .app__varsel > div { display: grid; gap: 0; min-width: 0; }
.scener .app__varsel .mobil__app { font-size: 7px; line-height: 10px; }
.scener .app__varsel strong { font: 500 10px/13px var(--font-display); }
.scener .app__varsel span { font-size: 8px; line-height: 11px; color: #5B6779; }

/* --- Scroll-driven motion: only where the browser has view timelines and the reader allows motion ------ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scener .beat__tekst { animation: sc-tekst-inn linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
    .scener .rot__biter, .scener .rot__ui { animation: sc-p linear both; animation-timeline: view(); animation-range: entry 30% cover 65%; }
    /* The story is done by the time the box has climbed 70 % of its fully visible pass. */
    .scener .fortelling { animation: sc-p linear both; animation-timeline: view(); animation-range: entry 20% contain 70%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .scener .skisse-obj .tv-skisse--fly { display: none; }
  .scener .app__gull { animation: none; }
}

/* --- Phones: the turn shows only the sketch, drawing itself as it scrolls in -------------------------- */
@media (max-width: 899px) {
  .scener .beat--moerk { min-height: clamp(420px, 60svh, 760px); }
  .scener .fortelling { aspect-ratio: 64 / 29; }
  .scener .skisse-obj { position: static; width: 100%; }
  .scener .skisse-obj .tv-skisse--fly, .scener .fortelling .mobil--hero { display: none; }
}
@media (min-width: 900px) {
  .scener .beat__ramme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .scener .beat--speil .beat__tekst { order: 2; }
  /* The turn breaks the 50/50 rhythm: a third for the words, two thirds for the story, so the sketch reads. */
  .scener .beat--moerk .beat__ramme { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .scener .beat--moerk .fortelling { aspect-ratio: 20 / 15; }
  .scener .beat--moerk .skisse-obj { width: 68%; top: 10%; }
  .scener .beat--moerk .fortelling .mobil--hero { width: 34%; top: 2%; }
}
