/* ==========================================================
   Fasadebyggern – tokens
   ========================================================== */
:root {
  --paper: #F1F2EE;
  --paper-2: #FAFAF8;
  --ink: #12132A;
  --ink-soft: #4A4C63;
  --cobalt: #2337D0;
  --cobalt-deep: #1A2899;
  --lilac: #EBC8E6;
  --line: rgba(18, 19, 42, .14);

  --font: "Archivo", system-ui, sans-serif;

  /* Type scale: five steps for text, two for titles, and the fluid display sizes on h1/h2 */
  --fs-xs: .85rem;      /* meta, fine print, labels */
  --fs-sm: .94rem;      /* secondary text, lists, UI */
  --fs-base: 1.0625rem; /* body */
  --fs-lg: 1.15rem;     /* intros under section headings */
  --fs-title-s: 1.125rem;                        /* list item titles: FAQ, included, add-ons */
  --fs-title: clamp(1.3rem, 1.8vw, 1.6rem);      /* sub-headings: steps, panels */
  --fs-title-l: clamp(1.5rem, 2.3vw, 2.05rem);   /* card titles: plans, promises */

  /* Weights and widths of Archivo */
  --w-ui: 580; --w-title: 700; --w-display: 820;

  /* Radii: small UI, controls, cards, large panels */
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;

  /* Rhythm */
  --space-section: clamp(96px, 12vw, 168px);
  --on-dark-soft: rgba(255, 255, 255, .72);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.02;
  font-weight: var(--w-display);
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 16px; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper); --b-hover: var(--cobalt);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--r-md); border: 1.5px solid var(--b-bg);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: var(--w-ui); font-variation-settings: "wdth" 106; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b-hover);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--b-hover); color: #fff; }
.btn-ghost { --b-fg: var(--ink); background: transparent; }
.btn-invert { --b-bg: #fff; --b-fg: var(--cobalt); --b-hover: var(--ink); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: var(--fs-sm); border-radius: var(--r-md); }
.btn-wide { width: 100%; }

/* ==========================================================
   Nav
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gutter);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: var(--w-display); font-size: 1.35rem;
  font-variation-settings: "wdth" 125; letter-spacing: -0.04em;
}
.nav.on-dark { background: color-mix(in srgb, var(--ink) 80%, transparent); box-shadow: 0 1px 0 rgba(255,255,255,.1); color: #fff; }
.nav.on-dark .btn-small { --b-bg: var(--lilac); --b-fg: var(--ink); --b-hover: #fff; }
.nav.on-dark .btn-small:hover { color: var(--ink); }
.nav.on-dark .logo-mark .w { fill: var(--ink); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-mark rect:first-child { fill: var(--cobalt); }
.logo-mark .w { fill: var(--paper); transition: fill .3s; }
.logo:hover .logo-mark .w { fill: var(--lilac); }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: var(--w-ui);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease-out);
  padding-bottom: 2px;
}
.nav-links a:hover { background-size: 100% 1.5px; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .logo { font-size: var(--fs-lg); gap: 8px; font-variation-settings: "wdth" 112; }
  .logo-mark { width: 22px; height: 22px; }
  .nav .btn-small { padding: 0 12px; font-size: var(--fs-sm); }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(112px, 15vh, 150px) var(--gutter) 0;
}
.hero-title {
  font-size: clamp(2.7rem, 6.15vw, 7.4rem);
  line-height: .94; font-weight: var(--w-display);
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 118;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) { padding-left: 1.1em; }
.hero-title .line:nth-child(2) > span { color: var(--cobalt); }

.hero-side {
  display: grid; grid-template-columns: minmax(0, 31rem) auto;
  justify-content: space-between; align-items: end; gap: 24px 48px;
  margin-top: clamp(28px, 3.4vw, 48px);
}
.lead { font-size: clamp(var(--fs-lg), 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { grid-column: 2; margin-top: -10px; font-size: var(--fs-sm); color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero-side { grid-template-columns: 1fr; }
  .fine { grid-column: 1; }
}
@media (max-width: 700px) {
  .hero-title { font-size: clamp(2.6rem, 12.4vw, 4.4rem); line-height: 1.04; }
  .hero-title .line { white-space: normal; }
  .hero-title .line:nth-child(2) { padding-left: 0; }
}

/* Load sequence (JS adds .is-loaded to <html>) */
.js .hero-title .line > span {
  transform: translateY(105%);
  font-variation-settings: "wdth" 70;
}
.js .hero-side { opacity: 0; transform: translateY(14px); }
.js .stage { opacity: 0; transform: translateY(40px); }
.is-loaded .hero-title .line > span {
  transform: none; font-variation-settings: "wdth" 118;
  transition: transform 1s var(--ease-out), font-variation-settings 1.4s var(--ease-out);
}
.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero-side { opacity: 1; transform: none; transition: opacity .8s .5s, transform .8s .5s var(--ease-out); }
.is-loaded .stage { opacity: 1; transform: none; transition: opacity .9s .55s, transform 1.1s .55s var(--ease-out); }
.intro-done .hero-title .line > span, .intro-done .hero-side, .intro-done .stage { transition: none; }



/* ==========================================================
   Stage: browser with demo sites
   ========================================================== */
.stage { margin-top: clamp(44px, 5vw, 72px); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
/* Demo tabs: one segmented control. Hover tints, the selected tab is filled */
.tabs { display: flex; width: fit-content; max-width: 100%; gap: 2px; padding: 4px; border-radius: calc(var(--r-md) + 4px); background: color-mix(in srgb, var(--ink) 6%, var(--paper)); }
.tab {
  position: relative; overflow: hidden; flex: none;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 9px 16px 11px; border-radius: var(--r-md);
  font-weight: var(--w-ui); font-size: var(--fs-sm); white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.tab:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 700px) {
  .tabs { width: auto; margin-inline: calc(-1 * var(--gutter) + 8px); scroll-padding-inline: 8px; }
  .tab { padding: 8px 12px 10px; }
}
.tab-bar {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--lilac); transform-origin: left; transform: scaleX(0);
}
.tab.is-running .tab-bar { animation: tabprog var(--cycle, 6500ms) linear forwards; }
.stage:hover .tab.is-running .tab-bar,
.stage:focus-within .tab.is-running .tab-bar { animation-play-state: paused; }
@keyframes tabprog { to { transform: scaleX(1); } }

.browser {
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1.5px var(--ink),
    0 40px 80px -40px rgba(35, 55, 208, .45),
    0 18px 30px -18px rgba(18, 19, 42, .35);
}
.browser-bar {
  display: flex; align-items: center; gap: 16px;
  height: 46px; padding: 0 16px;
  background: var(--paper-2); border-bottom: 1.5px solid var(--ink);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dots i:first-child { background: var(--lilac); }
.url {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 auto; transform: translateX(-28px);
  padding: 5px 14px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-soft); min-width: min(320px, 50%); justify-content: center;
}
.url svg { width: 12px; height: 12px; flex: none; }

.viewport {
  position: relative; aspect-ratio: 16 / 8.6;
  container-type: inline-size;
  background: #E9EAE5;
}
@media (max-width: 700px) { .viewport { aspect-ratio: 4 / 5.2; } }

/* inventar:av */
/* Wireframe */
.wire {
  position: absolute; inset: 0; padding: 2.2cqi 3.5cqi;
  display: flex; flex-direction: column; gap: 4cqi;
  transition: opacity .6s;
}
.wire i { display: block; background: #D7D9D2; border-radius: .5cqi; }
.wire-nav { display: flex; gap: 2.4cqi; align-items: center; }
.wire-nav i { width: 7cqi; height: 1.2cqi; }
.wire-nav .w-logo { width: 13cqi; height: 2cqi; margin-right: auto; }
.wire-body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqi; align-items: center; }
.wire-col { display: flex; flex-direction: column; gap: 1.4cqi; }
.wire .w-h1 { height: 4.6cqi; width: 92%; }
.wire .w-h1.short { width: 62%; }
.wire .w-p { height: 1.2cqi; width: 80%; margin-top: .6cqi; }
.wire .w-btn { height: 4cqi; width: 16cqi; margin-top: 2cqi; border-radius: 1cqi; }
.wire .w-img { height: 80%; border-radius: 1.2cqi; }
.wire i { animation: wirepulse 1.4s ease-in-out infinite alternate; }
@keyframes wirepulse { from { opacity: .55; } to { opacity: 1; } }
.is-painted .wire { opacity: 0; }

/* Shared demo structure */
.demo {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}
.demo[hidden] { display: none; }
.demo.is-active, .demo.is-leaving { clip-path: inset(0 0 0 0); }
.demo.is-active { z-index: 2; }
.demo.is-leaving { z-index: 1; }
.demo.is-animate { animation: wipe .95s var(--ease) both; }
.demo.is-first { animation: wipeside 1.1s var(--ease) both; }
html:not(.js) .demo-frisor { clip-path: none; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipeside { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Elements marked data-in rise in order (--i); data-depth layers settle in and follow the mouse */
.demo.is-animate [data-in], .demo.is-first [data-in] { animation: rise .9s var(--ease-out) both; animation-delay: calc(.32s + var(--i, 0) * .08s); }
.demo.is-animate [data-depth], .demo.is-first [data-depth] { animation: artin 1.2s .25s var(--ease-out) both; }
.viewport [data-depth] { translate: calc(var(--mx, 0) * var(--depth, 0) * 1cqi) calc(var(--my, 0) * var(--depth, 0) * .75cqi); }
@keyframes rise { from { opacity: 0; transform: translateY(3cqi); } }
@keyframes artin { from { opacity: 0; transform: scale(.94) translateY(2cqi); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { to { transform: translateY(-1.2cqi) rotate(-2deg); } }
.demo ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Frisør: magasinforside ---------- */
.demo-frisor { display: grid; grid-template-rows: auto 1fr; background: #2A1830; color: #F3DFDB; }
.fr-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 2.2cqi 3.5cqi; font-size: 1.25cqi; letter-spacing: .02em;
  border-bottom: 1px solid rgba(243,223,219,.16);
}
.fr-links { display: flex; align-items: center; gap: 2.4cqi; }
.fr-end { justify-content: flex-end; }
.fr-links em { font-style: normal; padding: .8cqi 1.8cqi; border: 1px solid #F3DFDB; border-radius: 99cqi; }
.fr-logo { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: 2.7cqi; letter-spacing: .06em; }
.fr-stage { position: relative; --arch-top: 3.5cqi; --arch-w: 30cqi; --title-top: 7cqi; }
.fr-arch {
  position: absolute; z-index: 1; left: 50%; top: var(--arch-top); bottom: 0; width: var(--arch-w); margin-left: calc(var(--arch-w) / -2);
  border-radius: 15cqi 15cqi 0 0; overflow: hidden;
  background: linear-gradient(172deg, #E7A595 0%, #C47C88 48%, #6B3A5C 100%);
}
.fr-glass { position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); rotate: 16deg; animation: glint 7s ease-in-out infinite; }
@keyframes glint { 0%, 100% { translate: -120% 0; } 55% { translate: 320% 0; } }
.fr-ring { position: absolute; left: 50%; top: 6cqi; width: 21cqi; height: 21cqi; margin-left: -10.5cqi; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); }
/* The headline is light on the dark background and dark plum where it crosses the arch:
   a second copy sits inside the arch (which clips it), lined up exactly with the first. */
.fr-title {
  position: absolute; left: 0; right: 0; top: var(--title-top); text-align: center;
  font-family: "Bodoni Moda", serif; font-weight: 400; font-size: 9.4cqi; line-height: .92; letter-spacing: -.02em;
  color: #F3DFDB;
}
.fr-title i { color: #E7A595; }
.fr-title span, .fr-title i { display: block; }
.fr-title-in { left: calc((100cqi - var(--arch-w)) / -2); right: auto; width: 100cqi; top: calc(var(--title-top) - var(--arch-top)); color: #2A1830; }
.fr-title-in i { color: #4A2140; }
.fr-vert { position: absolute; left: 3.5cqi; top: 3.5cqi; writing-mode: vertical-rl; rotate: 180deg; font-size: 1.15cqi; letter-spacing: .22em; opacity: .75; }
.fr-lead { position: absolute; left: 3.5cqi; bottom: 4cqi; width: 21cqi; font-size: 1.45cqi; line-height: 1.5; }
.fr-menu { position: absolute; right: 3.5cqi; bottom: 4cqi; width: 22cqi; font-size: 1.35cqi; }
.fr-menu li { display: flex; justify-content: space-between; align-items: baseline; padding: .9cqi 0; border-bottom: 1px solid rgba(243,223,219,.22); }
.fr-menu b { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: 2.1cqi; }

/* ---------- Rørlegger: industriplakat ---------- */
.demo-ror { display: grid; grid-template-rows: auto 1fr; background: #FFD23F; color: #0E1A3A; --rule: .35cqi solid #0E1A3A; }
.ro-tape { overflow: hidden; padding: .9cqi 0; border-bottom: var(--rule); background: repeating-linear-gradient(-45deg, #0E1A3A 0 1.5cqi, #FFD23F 1.5cqi 3cqi); }
.ro-tape-in { display: flex; width: max-content; animation: tape 22s linear infinite; }
.ro-tape-in span {
  margin-right: 6cqi; padding: .3cqi 1.4cqi; background: #0E1A3A; color: #FFD23F;
  font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 1.5cqi; letter-spacing: .08em; text-transform: uppercase;
}
@keyframes tape { to { transform: translateX(-50%); } }
.ro-grid { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr auto; min-height: 0; }
.ro-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 1.7cqi 3cqi; border-bottom: var(--rule); }
.ro-logo { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 3cqi; letter-spacing: .02em; text-transform: uppercase; }
.ro-badge { padding: .6cqi 1.2cqi; border: .25cqi solid #0E1A3A; font-size: 1.2cqi; font-weight: 700; }
.ro-main { display: flex; flex-direction: column; justify-content: center; padding: 2.4cqi 3cqi; border-right: var(--rule); }
.ro-kick { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 3.6cqi; line-height: .95; text-transform: uppercase; }
.ro-phone { margin-top: 1cqi; font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 13.5cqi; line-height: .85; white-space: nowrap; }
.ro-call { align-self: flex-start; margin-top: 2.2cqi; padding: 1.3cqi 2.4cqi; background: #0E1A3A; color: #FFD23F; font-size: 1.5cqi; font-weight: 700; }
.ro-side { display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.ro-status { padding: 2.2cqi 2.6cqi; background: #0E1A3A; color: #fff; }
.ro-live { display: flex; align-items: center; gap: 1cqi; font-size: 1.35cqi; font-weight: 600; }
.ro-live i { width: 1.1cqi; height: 1.1cqi; border-radius: 50%; background: #3EE07A; animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(62,224,122,.6); } 70%, 100% { box-shadow: 0 0 0 1.2cqi rgba(62,224,122,0); } }
.ro-eta { display: flex; align-items: flex-end; gap: 1.2cqi; margin-top: 1.4cqi; }
.ro-eta b { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 7cqi; line-height: .8; color: #FFD23F; }
.ro-eta span { font-size: 1.3cqi; line-height: 1.3; opacity: .85; }
.ro-pipes { position: relative; overflow: hidden; }
.ro-pipes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-ror .pipe { fill: none; stroke: #0E1A3A; stroke-width: 16; stroke-linecap: round; }
.demo-ror .pipe.thin { stroke: #fff; stroke-width: 8; }
.demo-ror .joint { fill: #FFD23F; stroke: #0E1A3A; stroke-width: 4; }
.demo-ror .valve { fill: #E5484D; stroke: #0E1A3A; stroke-width: 4; }
.demo-ror .valve-x { stroke: #0E1A3A; stroke-width: 3.5; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spin 5s linear infinite; }
.demo-ror .drop { fill: #2F7BFF; transform-box: fill-box; transform-origin: center; animation: drop 2.2s cubic-bezier(.5,0,1,1) infinite; }
@keyframes drop { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { opacity: 1; transform: translateY(0) scale(1); } 100% { transform: translateY(40px); opacity: 0; } }
.ro-services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule); }
.ro-services li { padding: 1.5cqi 3cqi; border-right: var(--rule); font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: 2.1cqi; text-transform: uppercase; }
.ro-services li:last-child { border-right: 0; }

/* ---------- Bakeri: lekent og organisk ---------- */
.demo-bakeri {
  background-color: #1E4A37; color: #F6E7A6;
  background-image: radial-gradient(rgba(246,231,166,.08) 1px, transparent 1.3px); background-size: 1.6cqi 1.6cqi;
}
.ba-logo { position: absolute; left: 3.5cqi; top: 3cqi; font-family: "Young Serif", serif; font-size: 2.4cqi; line-height: 1; }
.ba-sun { position: absolute; left: 24cqi; top: 5.5cqi; width: 40cqi; height: 40cqi; }
.ba-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ba-ring text { fill: #F6E7A6; font-family: "Young Serif", serif; font-size: 10.6px; letter-spacing: .05em; }
.ba-disc { position: absolute; inset: 17%; border-radius: 50%; background: #F6E7A6; }
.demo-bakeri .loaf {
  position: absolute; left: 21%; right: 21%; top: 43%; height: 30%;
  background: #C9863F; border-radius: 50% 50% 44% 44% / 70% 70% 30% 30%;
  box-shadow: inset 0 -1.6cqi 0 rgba(0,0,0,.14);
  animation: bob 5s ease-in-out infinite alternate;
}
.demo-bakeri .loaf i { position: absolute; top: 26%; width: 20%; height: 9%; background: #EDC17E; border-radius: 99cqi; rotate: -24deg; }
.demo-bakeri .loaf i:nth-child(1) { left: 18%; }
.demo-bakeri .loaf i:nth-child(2) { left: 41%; top: 22%; }
.demo-bakeri .loaf i:nth-child(3) { left: 64%; top: 28%; }
.ba-copy { position: absolute; right: 4cqi; top: 5cqi; width: 30cqi; }
.ba-copy h3 { font-family: "Young Serif", serif; font-weight: 400; font-size: 5.6cqi; line-height: 1.02; }
.ba-copy p { margin-top: 1.6cqi; max-width: 26cqi; font-size: 1.45cqi; line-height: 1.5; }
.ba-card {
  position: absolute; right: 6cqi; bottom: 9cqi; width: 22cqi; padding: 1.8cqi 2.2cqi;
  background: #F6E7A6; color: #1E4A37; border-radius: .6cqi; rotate: -4deg;
  box-shadow: 0 1.2cqi 2.4cqi -1cqi rgba(0,0,0,.35);
}
.ba-card-t { margin-bottom: .8cqi; font-family: "Young Serif", serif; font-size: 2cqi; }
.ba-card li { display: flex; justify-content: space-between; padding: .55cqi 0; border-bottom: 1px dashed rgba(30,74,55,.35); font-size: 1.3cqi; }
.ba-ticket {
  position: absolute; left: 3.5cqi; bottom: 9cqi; width: 19cqi; padding: 1.6cqi 2.2cqi;
  background: #C9863F; color: #1E4A37; border-radius: .8cqi; rotate: 3deg;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent .9cqi, #000 .95cqi) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent .9cqi, #000 .95cqi) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent .9cqi, #000 .95cqi) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent .9cqi, #000 .95cqi) right / 51% 100% no-repeat;
}
.ba-ticket p { display: flex; justify-content: space-between; padding: .35cqi 0; font-size: 1.25cqi; }
.ba-nav {
  position: absolute; left: 50%; bottom: 2.4cqi; translate: -50% 0;
  display: flex; align-items: center; gap: 2.2cqi; padding: .9cqi .9cqi .9cqi 2.4cqi;
  background: rgba(14,40,29,.78); border: 1px solid rgba(246,231,166,.25); border-radius: 99cqi; font-size: 1.25cqi;
}
.ba-nav em { padding: .7cqi 1.6cqi; border-radius: 99cqi; background: #F6E7A6; color: #1E4A37; font-style: normal; font-weight: 600; }

/* ---------- Regnskap: app-grensesnitt ---------- */
.demo-regnskap { display: grid; grid-template-columns: 19cqi 1fr; background: #F7F8FA; color: #0B2B2E; --muted: #4B6466; }
.rg-side { display: flex; flex-direction: column; gap: 3cqi; padding: 3cqi 2cqi; background: #0B2B2E; color: #CFE3E0; }
.rg-logo { display: flex; align-items: center; gap: 1cqi; color: #fff; font-size: 1.6cqi; font-weight: 700; }
.rg-logo svg { width: 3.2cqi; flex: none; fill: none; stroke: #5FE0C8; stroke-width: 2.4; stroke-linecap: round; }
.rg-menu { display: grid; gap: .2cqi; font-size: 1.3cqi; }
.rg-menu li { display: flex; justify-content: space-between; align-items: center; padding: 1cqi 1.2cqi; border-radius: .7cqi; }
.rg-menu small { color: rgba(207,227,224,.55); font-size: 1.05cqi; font-variant-numeric: tabular-nums; }
.rg-menu .rg-count { min-width: 2.2cqi; padding: .15cqi .6cqi; border-radius: 99cqi; background: #0F8F84; color: #fff; text-align: center; font-weight: 600; }
.rg-menu li.on { background: #F7F8FA; color: #0B2B2E; font-weight: 600; }
.rg-cta { margin-top: auto; padding: 1.2cqi; border-radius: .7cqi; background: #0F8F84; color: #fff; font-size: 1.3cqi; font-weight: 600; text-align: center; }
.rg-main {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto 1fr;
  align-content: start; gap: 0 3cqi; padding: 3.4cqi 3.6cqi;
}
.rg-kicker { grid-column: 1 / -1; color: #0F8F84; font-size: 1.25cqi; font-weight: 600; }
.rg-main h3 { grid-column: 1; margin-top: 1.4cqi; font-size: 5.4cqi; font-weight: 750; font-variation-settings: "wdth" 75; letter-spacing: -.02em; line-height: .98; }
.rg-calc {
  grid-column: 2; grid-row: 2 / span 2; align-self: start; margin-top: 1.4cqi; padding: 2.2cqi;
  background: #fff; border-radius: 1.4cqi; box-shadow: 0 1.6cqi 4cqi -2cqi rgba(11,43,46,.25), 0 0 0 1px rgba(11,43,46,.06);
}
.rg-label { font-size: 1.5cqi; font-weight: 700; }
.rg-row { display: flex; justify-content: space-between; margin-top: 1.8cqi; color: var(--muted); font-size: 1.25cqi; }
.rg-row b { color: #0B2B2E; }
@property --v { syntax: "<percentage>"; inherits: true; initial-value: 40%; }
.rg-slider { position: relative; height: .6cqi; margin-top: 1.2cqi; border-radius: 99cqi; background: #E3EEEC; }
.rg-slider::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: #0F8F84; }
.rg-slider i { position: absolute; left: var(--v); top: 50%; width: 2cqi; height: 2cqi; margin: -1cqi 0 0 -1cqi; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .3cqi #0F8F84, 0 .4cqi 1cqi rgba(0,0,0,.2); }
.demo-regnskap.is-animate .rg-slider, .demo-regnskap.is-first .rg-slider { animation: slide 2.2s .7s var(--ease-out) both; }
@keyframes slide { from { --v: 10%; } }
.rg-seg { display: flex; margin-top: 2cqi; padding: .4cqi; border-radius: .8cqi; background: #EEF3F2; font-size: 1.15cqi; }
.rg-seg span { flex: 1; padding: .8cqi .4cqi; border-radius: .6cqi; text-align: center; }
.rg-seg .on { background: #fff; font-weight: 600; box-shadow: 0 .2cqi .6cqi rgba(0,0,0,.08); }
.rg-price { margin-top: 2.2cqi; font-size: 4.4cqi; font-weight: 800; font-variation-settings: "wdth" 80; letter-spacing: -.02em; line-height: 1; }
.rg-price small { color: var(--muted); font-size: 1.3cqi; font-weight: 500; letter-spacing: 0; }
.rg-kpis { grid-column: 1; grid-row: 3; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqi; margin-top: 2cqi; }
.rg-kpis > div { display: grid; gap: .3cqi; padding: 1.4cqi 1.6cqi; border-radius: 1cqi; background: #fff; box-shadow: 0 0 0 1px rgba(11,43,46,.07); }
.rg-kpis b { font-size: 1.6cqi; }
.rg-kpis span { color: var(--muted); font-size: 1.1cqi; }
.rg-kpis > .rg-chart { grid-column: 1 / -1; position: relative; height: 10cqi; padding: 0; overflow: hidden; }
.rg-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-chart span { position: absolute; left: 1.6cqi; top: 1.2cqi; }
.rg-area { fill: #CDE9E5; }
.rg-line { fill: none; stroke: #0F8F84; stroke-width: 2; vector-effect: non-scaling-stroke; }
.demo-regnskap.is-animate .rg-chart svg, .demo-regnskap.is-first .rg-chart svg { animation: draw 1.6s .7s var(--ease-out) both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.rg-chip {
  position: absolute; right: 3.6cqi; top: 2.6cqi; padding: .8cqi 1.6cqi .8cqi 3.4cqi; border-radius: 99cqi;
  background: #0B2B2E; color: #fff; font-size: 1.2cqi; font-weight: 600;
}
.rg-chip::before { content: ""; position: absolute; left: 1.4cqi; top: 50%; width: 1.3cqi; height: .7cqi; border: solid #5FE0C8; border-width: 0 0 .28cqi .28cqi; translate: 0 -70%; rotate: -45deg; }

/* ---------- Small screens: each demo gets its own phone layout ---------- */
@container (max-width: 620px) {
  /* Frisør */
  .fr-nav { grid-template-columns: 1fr auto; padding: 4cqi 5cqi; font-size: 3cqi; }
  .fr-links:first-child, .fr-end span { display: none; }
  .fr-logo { justify-self: start; font-size: 5.6cqi; }
  .fr-links em { padding: 1.6cqi 3cqi; }
  .fr-stage { --arch-top: 34cqi; --arch-w: 60cqi; --title-top: 9cqi; }
  .fr-arch { border-radius: 30cqi 30cqi 0 0; }
  .fr-ring { top: 12cqi; width: 40cqi; height: 40cqi; margin-left: -20cqi; }
  .fr-title { font-size: 15.5cqi; }
  .fr-vert, .fr-lead { display: none; }
  .fr-menu { left: 5cqi; right: 5cqi; bottom: 5cqi; width: auto; padding: 2cqi 4.5cqi; border-radius: 3cqi; background: rgba(42,24,48,.85); font-size: 3.3cqi; }
  .fr-menu li { padding: 1.6cqi 0; }
  .fr-menu li:last-child { border-bottom: 0; }
  .fr-menu b { font-size: 4.6cqi; }

  /* Rørlegger */
  .demo-ror { --rule: .7cqi solid #0E1A3A; }
  .ro-tape { padding: 2cqi 0; }
  .ro-tape-in span { font-size: 3.2cqi; padding: .6cqi 2.6cqi; }
  .ro-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr; }
  .ro-head { padding: 3.5cqi 5cqi; }
  .ro-logo { font-size: 6cqi; }
  .ro-badge { padding: 1cqi 1.8cqi; font-size: 2.3cqi; border-width: .5cqi; }
  .ro-main { padding: 5cqi; border-right: 0; }
  .ro-kick { font-size: 7.2cqi; }
  .ro-phone { font-size: 19cqi; }
  .ro-call { margin-top: 4cqi; padding: 2.8cqi 4.6cqi; font-size: 3.4cqi; }
  .ro-side { grid-template-rows: auto; }
  .ro-pipes { display: none; }
  .ro-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2cqi 4cqi; padding: 4cqi 5cqi; }
  .ro-live { gap: 2cqi; font-size: 3.2cqi; }
  .ro-live i { width: 2.4cqi; height: 2.4cqi; }
  .ro-eta { margin-top: 0; gap: 2cqi; }
  .ro-eta b { font-size: 10cqi; }
  .ro-eta span { font-size: 2.8cqi; }
  .ro-services { grid-template-columns: 1fr 1fr; align-content: start; }
  .ro-services li { padding: 3cqi 5cqi; font-size: 4.4cqi; border-bottom: var(--rule); }
  .ro-services li:nth-child(2n) { border-right: 0; }

  /* Bakeri */
  .ba-logo { left: 5cqi; top: 5cqi; font-size: 5.4cqi; }
  .ba-copy { left: 5cqi; right: 5cqi; top: 21cqi; width: auto; }
  .ba-copy h3 { font-size: 11cqi; }
  .ba-copy p { max-width: none; margin-top: 3cqi; font-size: 3.4cqi; }
  .ba-sun { left: auto; right: -8cqi; top: 50cqi; width: 62cqi; height: 62cqi; }
  .ba-card { display: none; }
  .ba-ticket { left: 5cqi; bottom: 21cqi; width: 42cqi; padding: 3cqi 4.4cqi; font-size: 2.9cqi; rotate: -3deg; }
  .ba-ticket p { font-size: 2.9cqi; padding: .8cqi 0; }
  .ba-nav { bottom: 4cqi; gap: 4cqi; padding: 1.8cqi 1.8cqi 1.8cqi 4.6cqi; font-size: 3cqi; }
  .ba-nav span:nth-child(3) { display: none; }
  .ba-nav em { padding: 1.6cqi 3cqi; }

  /* Regnskap */
  .demo-regnskap { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rg-side { flex-direction: row; align-items: center; padding: 4cqi 5cqi; }
  .rg-logo { gap: 2cqi; font-size: 4cqi; }
  .rg-logo svg { width: 7.5cqi; }
  .rg-menu, .rg-chip, .rg-kpis { display: none; }
  .rg-cta { margin: 0 0 0 auto; padding: 2cqi 3.6cqi; border-radius: 2cqi; font-size: 3cqi; }
  .rg-main { grid-template-columns: 1fr; grid-template-rows: none; padding: 5cqi; }
  .rg-kicker { font-size: 3cqi; }
  .rg-main h3 { font-size: 11.5cqi; margin-top: 3cqi; }
  .rg-calc { grid-column: 1; grid-row: auto; margin-top: 5cqi; padding: 5cqi; border-radius: 3.5cqi; }
  .rg-label { font-size: 3.8cqi; }
  .rg-row { margin-top: 4cqi; font-size: 3.1cqi; }
  .rg-slider { height: 1.4cqi; margin-top: 3cqi; }
  .rg-slider i { width: 4.8cqi; height: 4.8cqi; margin: -2.4cqi 0 0 -2.4cqi; box-shadow: 0 0 0 .7cqi #0F8F84; }
  .rg-seg { margin-top: 4.5cqi; padding: 1cqi; border-radius: 2cqi; font-size: 2.9cqi; }
  .rg-seg span { padding: 2cqi 1cqi; border-radius: 1.5cqi; }
  .rg-price { margin-top: 5cqi; font-size: 10.5cqi; }
  .rg-price small { font-size: 3.1cqi; }

  .wire-body { grid-template-columns: 1fr; }
}

/* ---------- Kafé: krittavle i treramme ---------- */
.demo-kafe { padding: 1.4cqi; background: repeating-linear-gradient(90deg, #7A4E2A 0 .6cqi, #6B4423 .6cqi 1.8cqi); }
.kf-board {
  position: relative; height: 100%; overflow: hidden; border-radius: .6cqi;
  background-color: #2E3430; color: #F2F0E6; font-family: "Caveat", cursive;
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 50%), radial-gradient(ellipse at 80% 75%, rgba(255,255,255,.05), transparent 45%), radial-gradient(rgba(255,255,255,.05) .5px, transparent .8px);
  background-size: auto, auto, .5cqi .5cqi;
  box-shadow: inset 0 0 3cqi rgba(0,0,0,.55);
}
.kf-sign { position: absolute; left: 56cqi; top: -.4cqi; z-index: 2; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: swing 2.8s ease-in-out infinite alternate; }
@keyframes swing { from { rotate: -6deg; } to { rotate: 6deg; } }
.kf-string { width: .25cqi; height: 3.4cqi; background: #C9B48A; }
.kf-plate { padding: .3cqi 2cqi; border-radius: .4cqi; background: #F2F0E6; color: #C0392B; font-weight: 700; font-size: 2.6cqi; box-shadow: 0 .6cqi 1cqi rgba(0,0,0,.35); }
.kf-left { position: absolute; left: 4cqi; top: 4.5cqi; width: 44cqi; }
.kf-logo { color: #F5D76E; font-size: 3.4cqi; font-weight: 700; }
.kf-left h3 { margin-top: 1.2cqi; font-family: "Caveat", cursive; font-weight: 700; font-size: 7.4cqi; line-height: .95; }
.kf-left h3 span { color: #F4A7B9; }
.kf-addr { margin-top: 2cqi; font-size: 2.3cqi; opacity: .85; }
.kf-menu { position: absolute; right: 5cqi; top: 5cqi; width: 28cqi; }
.kf-menu-t { font-size: 4.4cqi; font-weight: 700; text-decoration: underline wavy #F5D76E; text-decoration-thickness: .2cqi; text-underline-offset: .8cqi; }
.kf-menu li { display: flex; justify-content: space-between; padding: .5cqi 0; border-bottom: .15cqi dashed rgba(242,240,230,.3); font-size: 2.7cqi; }
.kf-menu b { color: #F5D76E; }
.kf-cup { width: 7cqi; margin-top: 1.4cqi; fill: none; stroke: #F2F0E6; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kf-steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 50% { opacity: .25; translate: 0 -2px; } }
.kf-polaroid { position: absolute; left: 46cqi; bottom: 4cqi; width: 14.5cqi; margin: 0; padding: 1cqi 1cqi 0; background: #F7F4EC; rotate: 6deg; box-shadow: 0 1cqi 2cqi rgba(0,0,0,.4); }
.kf-tape { position: absolute; left: 50%; top: -1.2cqi; width: 7cqi; height: 2.4cqi; margin-left: -3.5cqi; background: rgba(245,215,110,.75); rotate: -4deg; }
.kf-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 58%, #EFE3C8 0 36%, #D9C6A2 37% 62%, #B79F7B 63%); }
.kf-bun { position: absolute; inset: 23%; border-radius: 50%; background: repeating-radial-gradient(circle at 46% 54%, #B5743A 0 .6cqi, #DDA567 .6cqi 1.3cqi); box-shadow: inset 0 -.6cqi 0 rgba(0,0,0,.15); animation: spin 40s linear infinite; }
.kf-polaroid figcaption { padding: .8cqi 0 1cqi; color: #2E3430; font-family: "Caveat", cursive; font-size: 2cqi; text-align: center; }

/* ---------- Bilverksted: verkstedpanel ---------- */
.demo-bil { display: grid; grid-template-rows: auto 1fr auto; background-color: #17181B; color: #F4F4F2; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px); background-size: .8cqi .8cqi; }
.bl-nav { display: flex; align-items: center; gap: 2.6cqi; padding: 2.2cqi 3.5cqi; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.25cqi; }
.bl-nav b { margin-right: auto; color: #FF6A13; font-family: "Bungee", sans-serif; font-weight: 400; font-size: 2.2cqi; }
.bl-nav em { padding: .8cqi 1.6cqi; border-radius: .4cqi; background: #FF6A13; color: #17181B; font-style: normal; font-weight: 700; }
.bl-main { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 4cqi; padding: 0 4cqi; min-height: 0; }
.bl-gauge { position: relative; padding-bottom: 4cqi; }
.bl-gauge svg { display: block; width: 100%; overflow: visible; }
.bl-arc { fill: none; stroke: #2A2C31; stroke-width: 14; stroke-linecap: round; }
.bl-arc-on { stroke: #FF6A13; stroke-dasharray: 100; stroke-dashoffset: 28; }
.bl-ticks path { stroke: #6B6F78; stroke-width: 2.5; stroke-linecap: round; }
.bl-needle { transform-box: view-box; transform-origin: 100px 115px; rotate: 40deg; }
.bl-needle path { stroke: #F4F4F2; stroke-width: 4; stroke-linecap: round; }
.bl-needle circle { fill: #FF6A13; }
.demo-bil.is-animate .bl-needle, .demo-bil.is-first .bl-needle { animation: needle 1.8s .4s var(--ease-out) both; }
.demo-bil.is-animate .bl-arc-on, .demo-bil.is-first .bl-arc-on { animation: arc 1.8s .4s var(--ease-out) both; }
@keyframes needle { from { rotate: -90deg; } 70% { rotate: 50deg; } }
@keyframes arc { from { stroke-dashoffset: 100; } }
.bl-gauge-t { position: absolute; left: 0; right: 0; bottom: 0; color: #9CA0A8; font-size: 1.25cqi; text-align: center; }
.bl-gauge-t b { display: block; color: #F4F4F2; font-family: "Bungee", sans-serif; font-weight: 400; font-size: 2.4cqi; }
.bl-copy h3 { font-family: "Bungee", sans-serif; font-weight: 400; font-size: 5.2cqi; line-height: .98; }
.bl-copy p { max-width: 36cqi; margin-top: 1.6cqi; color: #B9BCC3; font-size: 1.45cqi; line-height: 1.5; }
.bl-plate-row { display: flex; align-items: stretch; gap: 1.2cqi; margin-top: 2.4cqi; }
.bl-plate {
  display: flex; align-items: center; gap: 1.4cqi; overflow: hidden; padding-right: 2cqi;
  background: #F4F4F2; color: #111; border: .3cqi solid #111; border-radius: .6cqi; box-shadow: 0 0 0 .25cqi #F4F4F2;
  font-family: "Archivo", sans-serif; font-weight: 800; font-variation-settings: "wdth" 80; font-size: 3.4cqi; letter-spacing: .06em;
}
.bl-plate i { align-self: stretch; display: grid; place-items: end center; width: 2.6cqi; padding-bottom: .4cqi; background: #2B5CE6; color: #fff; font-style: normal; font-size: 1.3cqi; }
.bl-go { display: grid; place-items: center; padding: 0 2.2cqi; border-radius: .6cqi; background: #FF6A13; color: #17181B; font-size: 1.5cqi; font-weight: 700; }
.bl-prices { display: flex; gap: 1cqi; margin-top: 2.4cqi; font-size: 1.25cqi; }
.bl-prices li { padding: .8cqi 1.4cqi; border: 1px solid rgba(255,255,255,.18); border-radius: 99cqi; color: #B9BCC3; }
.bl-prices b { color: #F4F4F2; }
.bl-tread { height: 3.2cqi; border-top: .3cqi solid #FF6A13; background: linear-gradient(115deg, #222429 0 50%, #2C2E34 50% 100%); background-size: 2.4cqi 100%; animation: tread 1.2s linear infinite; }
@keyframes tread { to { background-position-x: 2.4cqi; } }

/* ---------- Tannlege: rolig og luftig ---------- */
.demo-tann { display: grid; grid-template-rows: auto 1fr; background: #F3FAF8; color: #0E4D5C; font-family: "Lexend", sans-serif; }
.tn-blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 12s ease-in-out infinite alternate; }
.tn-b1 { left: -8cqi; top: 16cqi; width: 34cqi; height: 34cqi; background: #CBEFE7; }
.tn-b2 { right: -6cqi; top: 3cqi; width: 26cqi; height: 26cqi; background: #FFE3D4; animation-duration: 15s; }
@keyframes morph { 50% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; } 100% { border-radius: 38% 62% 52% 48% / 44% 36% 64% 56%; } }
.tn-nav { position: relative; display: flex; align-items: center; gap: 2.6cqi; padding: 2.4cqi 4cqi; font-size: 1.25cqi; }
.tn-nav b { margin-right: auto; font-size: 2.2cqi; font-weight: 600; letter-spacing: -.02em; }
.tn-nav b span { margin-left: .3cqi; font-weight: 300; }
.tn-nav em { padding: .9cqi 1.8cqi; border-radius: 99cqi; background: #0E4D5C; color: #fff; font-style: normal; font-weight: 500; }
.tn-center { position: relative; padding: .6cqi 10cqi 0; text-align: center; }
.tn-center h3 { font-size: 5.4cqi; font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
.tn-center > p { max-width: 46cqi; margin: 1.4cqi auto 0; color: #3F6F78; font-size: 1.5cqi; font-weight: 300; line-height: 1.5; }
.tn-book { max-width: 66cqi; margin: 3cqi auto 0; padding: 2cqi; border-radius: 2cqi; background: #fff; text-align: left; box-shadow: 0 2cqi 5cqi -2.5cqi rgba(14,77,92,.3), 0 0 0 1px rgba(14,77,92,.06); }
.tn-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1cqi; }
.tn-days > div { display: grid; align-content: start; gap: .7cqi; }
.tn-days b { padding-bottom: .6cqi; border-bottom: 1px solid #E1EEEB; font-size: 1.25cqi; font-weight: 500; }
.tn-days span { padding: .8cqi 0; border-radius: .8cqi; background: #ECF7F4; font-size: 1.25cqi; text-align: center; }
.tn-days span.on { background: #0E4D5C; color: #fff; }
.demo-tann.is-animate .tn-days span.on, .demo-tann.is-first .tn-days span.on { animation: pick .5s 1.4s both; }
@keyframes pick { from { background: #ECF7F4; color: #0E4D5C; scale: 1; } 60% { scale: 1.08; } }
.tn-days span.off { background: none; color: #9DB8BD; }
.tn-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6cqi; padding-top: 1.4cqi; border-top: 1px solid #E1EEEB; color: #3F6F78; font-size: 1.2cqi; }
.tn-foot em { padding: .9cqi 1.8cqi; border-radius: 99cqi; background: #7FD1C2; color: #0E4D5C; font-style: normal; font-weight: 500; }

/* ---------- Blomster: redaksjonelt galleri ---------- */
.demo-blomst { display: grid; grid-template-columns: 30cqi 1fr; background: #EEF0E6; color: #3B4A3F; }
.bm-col { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 3.5cqi 3cqi 3.5cqi 3.6cqi; border-right: 1px solid rgba(59,74,63,.15); background: #EEF0E6; }
.bm-logo { font-family: "Italiana", serif; font-size: 3cqi; letter-spacing: .04em; }
.bm-nav { display: grid; gap: .6cqi; margin-top: 2.6cqi; font-size: 1.3cqi; }
.bm-col h3 { margin-top: auto; font-family: "Italiana", serif; font-weight: 400; font-size: 5.2cqi; line-height: 1; }
.bm-sub { margin-top: 1.6cqi; color: #5E6E61; font-size: 1.3cqi; line-height: 1.5; }
.bm-gallery { position: relative; display: flex; align-items: center; overflow: hidden; padding-left: 3cqi; }
.bm-track { display: flex; width: max-content; animation: bm-slide 40s linear infinite; }
@keyframes bm-slide { to { transform: translateX(-50%); } }
.bm-card { position: relative; flex: none; display: flex; flex-direction: column; justify-content: flex-end; width: 19cqi; height: 40cqi; margin: 0 2.4cqi 0 0; overflow: hidden; border-radius: 10cqi 10cqi 1cqi 1cqi; }
.bm-card.c1 { background: #F4D9DF; --pet: #E9A1B2; --ctr: #F6D57B; }
.bm-card.c2 { background: #E2E8D6; --pet: #FFFFFF; --ctr: #F3E3A0; }
.bm-card.c3 { background: #F3E7C9; --pet: #F1B76A; --ctr: #7E4A2A; }
.bm-card.c4 { background: #DCE6CF; --pet: #B9A4E0; --ctr: #F6E6A0; }
.bm-bq { position: absolute; left: 50%; top: 18%; width: 13cqi; height: 22cqi; margin-left: -6.5cqi; transform-origin: 50% 0; }
.bm-bq::after { content: ""; position: absolute; left: 50%; top: 10cqi; width: .35cqi; height: 11cqi; margin-left: -.17cqi; background: #6E8B5E; box-shadow: -1.4cqi .5cqi 0 #6E8B5E, 1.4cqi .5cqi 0 #6E8B5E; rotate: 0deg; }
.bm-bq i { position: absolute; z-index: 1; width: 5.4cqi; height: 5.4cqi; border-radius: 50%; background: radial-gradient(circle, var(--ctr) 0 22%, var(--pet) 23%); box-shadow: inset 0 0 0 .3cqi rgba(255,255,255,.35); }
.bm-bq i:nth-child(1) { left: 0; top: 3cqi; }
.bm-bq i:nth-child(2) { left: 3.8cqi; top: 0; }
.bm-bq i:nth-child(3) { left: 7.6cqi; top: 3.4cqi; }
.bm-bq i:nth-child(4) { left: 1.8cqi; top: 6.6cqi; }
.bm-bq i:nth-child(5) { left: 5.8cqi; top: 7.2cqi; }
.bm-card figcaption { display: flex; justify-content: space-between; margin: 0; padding: 1.4cqi 1.6cqi; background: rgba(255,255,255,.55); font-size: 1.25cqi; }
.bm-card b { font-weight: 600; }
.bm-petal { position: absolute; left: 58cqi; top: -3cqi; width: 1.6cqi; height: 1.1cqi; border-radius: 0 100% 0 100%; background: #E9A1B2; animation: petal 10s linear infinite; }
@keyframes petal { to { transform: translate(-16cqi, 64cqi) rotate(540deg); } }

/* ---------- Snekker: arbeidstegning ---------- */
.demo-snekker {
  background-color: #1D3B6E; color: #F2F5FA;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 6cqi 6cqi, 6cqi 6cqi, 1.2cqi 1.2cqi, 1.2cqi 1.2cqi;
}
.sn-top { display: flex; align-items: center; gap: 2.6cqi; padding: 2.4cqi 3.5cqi; border-bottom: 1px solid rgba(242,245,250,.25); font-size: 1.25cqi; }
.sn-top b { margin-right: auto; color: #FFC94D; font-family: "Saira Stencil One", sans-serif; font-weight: 400; font-size: 2.4cqi; letter-spacing: .03em; }
.sn-copy { position: absolute; left: 3.5cqi; top: 11cqi; width: 36cqi; }
.sn-copy h3 { font-family: "Saira Stencil One", sans-serif; font-weight: 400; font-size: 4.6cqi; line-height: 1.05; }
.sn-copy p { max-width: 32cqi; margin-top: 1.6cqi; color: #C9D6EC; font-size: 1.45cqi; line-height: 1.5; }
.sn-cta { display: inline-block; margin-top: 2.4cqi; padding: 1.2cqi 2.2cqi; border-radius: .3cqi; background: #FFC94D; color: #1D3B6E; font-size: 1.45cqi; font-weight: 700; }
.sn-draw { position: absolute; right: 3cqi; top: 8cqi; width: 54cqi; height: auto; overflow: visible; }
.sn-lines path { fill: none; stroke: #F2F5FA; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sn-dims path { fill: none; stroke: #FFC94D; stroke-width: 1; }
.sn-draw text { fill: #FFC94D; font-family: "Archivo", sans-serif; font-size: 9px; text-anchor: middle; }
.demo-snekker.is-animate .sn-lines path, .demo-snekker.is-first .sn-lines path { animation: sketch 1.4s var(--ease-out) both; }
.sn-lines path:nth-child(1) { animation-delay: .4s !important; }
.sn-lines path:nth-child(2) { animation-delay: .8s !important; }
.sn-lines path:nth-child(3) { animation-delay: 1s !important; }
.sn-lines path:nth-child(4) { animation-delay: 1.2s !important; }
.sn-lines path:nth-child(5) { animation-delay: 1.4s !important; }
.sn-lines path:nth-child(6) { animation-delay: 1.5s !important; }
@keyframes sketch { from { stroke-dashoffset: 1; } }
.demo-snekker.is-animate .sn-dims, .demo-snekker.is-animate .sn-draw text,
.demo-snekker.is-first .sn-dims, .demo-snekker.is-first .sn-draw text { animation: fadein .8s 2s both; }
@keyframes fadein { from { opacity: 0; } }
.sn-block { position: absolute; right: 3cqi; bottom: 2.6cqi; display: grid; grid-template-columns: repeat(3, auto); border: 1px solid rgba(242,245,250,.6); font-size: 1.1cqi; }
.sn-block div { display: grid; gap: .2cqi; padding: .8cqi 1.4cqi; border-right: 1px solid rgba(242,245,250,.6); }
.sn-block div:last-child { border-right: 0; }
.sn-block span { opacity: .7; }
.sn-block b { font-size: 1.5cqi; }

@container (max-width: 620px) {
  /* Kafé */
  .demo-kafe { padding: 2.4cqi; }
  .kf-sign { left: auto; right: 8cqi; }
  .kf-string { width: .5cqi; height: 5cqi; }
  .kf-plate { padding: .6cqi 3.6cqi; font-size: 5cqi; }
  .kf-left { left: 6cqi; right: 6cqi; top: 5cqi; width: auto; }
  .kf-logo { font-size: 7cqi; }
  .kf-left h3 { margin-top: 3cqi; font-size: 12.5cqi; }
  .kf-addr { font-size: 4.4cqi; }
  .kf-menu { left: 6cqi; right: auto; top: auto; bottom: 6cqi; width: 50cqi; }
  .kf-menu-t { font-size: 7cqi; }
  .kf-menu li { font-size: 4.6cqi; padding: 1cqi 0; }
  .kf-cup { display: none; }
  .kf-polaroid { left: auto; right: 4cqi; bottom: 9cqi; width: 28cqi; padding: 2cqi 2cqi 0; }
  .kf-tape { width: 13cqi; height: 4.4cqi; margin-left: -6.5cqi; top: -2.2cqi; }
  .kf-polaroid figcaption { font-size: 3.6cqi; padding: 1.4cqi 0 2cqi; }

  /* Bilverksted */
  .bl-nav { padding: 4cqi 5cqi; font-size: 3cqi; }
  .bl-nav span { display: none; }
  .bl-nav b { font-size: 5cqi; }
  .bl-nav em { padding: 1.6cqi 3cqi; }
  .bl-main { grid-template-columns: 1fr; align-content: start; gap: 4cqi; padding: 5cqi 6cqi; }
  .bl-gauge { order: 2; justify-self: center; width: 62cqi; padding-bottom: 9cqi; }
  .bl-gauge-t { font-size: 2.8cqi; }
  .bl-gauge-t b { font-size: 5cqi; }
  .bl-copy h3 { font-size: 9.4cqi; }
  .bl-copy p { max-width: none; margin-top: 3cqi; font-size: 3.4cqi; }
  .bl-plate-row { gap: 2.4cqi; margin-top: 4cqi; }
  .bl-plate { gap: 2.4cqi; padding-right: 3.6cqi; font-size: 7cqi; border-width: .6cqi; }
  .bl-plate i { width: 5.6cqi; font-size: 2.8cqi; }
  .bl-go { padding: 0 4cqi; font-size: 3.4cqi; }
  .bl-prices { display: none; }
  .bl-tread { height: 6cqi; }

  /* Tannlege */
  .tn-nav { padding: 4cqi 5cqi; font-size: 3cqi; }
  .tn-nav > span { display: none; }
  .tn-nav b { font-size: 5cqi; }
  .tn-nav em { padding: 1.8cqi 3.4cqi; }
  .tn-center { padding: 2cqi 6cqi 0; }
  .tn-center h3 { font-size: 10.5cqi; }
  .tn-center > p { max-width: none; margin-top: 3cqi; font-size: 3.4cqi; }
  .tn-book { margin-top: 5cqi; padding: 4cqi; border-radius: 4cqi; }
  .tn-days { grid-template-columns: repeat(3, 1fr); gap: 2.6cqi; }
  .tn-days > div:nth-child(2), .tn-days > div:nth-child(3) { display: none; }
  .tn-days > div { gap: 1.8cqi; }
  .tn-days b { font-size: 3cqi; padding-bottom: 1.4cqi; }
  .tn-days span { padding: 2cqi 0; border-radius: 2cqi; font-size: 3.2cqi; }
  .tn-foot { flex-direction: column; align-items: stretch; gap: 2.4cqi; margin-top: 3.4cqi; padding-top: 3cqi; font-size: 3cqi; }
  .tn-foot em { padding: 2.4cqi; text-align: center; }
  .tn-b1 { left: -20cqi; top: 60cqi; width: 70cqi; height: 70cqi; }
  .tn-b2 { right: -16cqi; top: 4cqi; width: 50cqi; height: 50cqi; }

  /* Blomster */
  .demo-blomst { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .bm-col { padding: 5cqi 6cqi 3cqi; border-right: 0; }
  .bm-logo { font-size: 6.6cqi; }
  .bm-nav { display: flex; flex-wrap: wrap; gap: 1cqi 4cqi; margin-top: 3cqi; font-size: 3cqi; }
  .bm-col h3 { margin-top: 5cqi; font-size: 11cqi; }
  .bm-sub { margin-top: 3cqi; font-size: 3.4cqi; }
  .bm-gallery { padding-left: 6cqi; }
  .bm-card { width: 38cqi; height: 52cqi; margin-right: 4cqi; border-radius: 19cqi 19cqi 2cqi 2cqi; }
  .bm-bq { scale: 1.9; top: 12%; }
  .bm-card figcaption { padding: 2.6cqi 3cqi; font-size: 3cqi; }
  .bm-petal { left: 80cqi; width: 3cqi; height: 2cqi; }

  /* Snekker */
  .sn-top { padding: 4cqi 5cqi; font-size: 3cqi; }
  .sn-top span { display: none; }
  .sn-top b { font-size: 5cqi; }
  .sn-copy { left: 6cqi; right: 6cqi; top: 17cqi; width: auto; }
  .sn-copy h3 { font-size: 9cqi; }
  .sn-copy p { display: none; }
  .sn-cta { margin-top: 4cqi; padding: 2.6cqi 4.4cqi; font-size: 3.4cqi; }
  .sn-draw { left: 10cqi; right: auto; top: auto; bottom: 16cqi; width: 78cqi; }
  .sn-block { right: 6cqi; bottom: 4cqi; font-size: 2.4cqi; }
  .sn-block div { padding: 1.4cqi 2.4cqi; }
  .sn-block b { font-size: 3.2cqi; }
}

/* inventar:på */
.stage-note { margin-top: 18px; font-size: var(--fs-sm); color: var(--ink-soft); max-width: 60ch; }

/* ==========================================================
   Search section
   ========================================================== */
.search {
  max-width: var(--max); margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.search-copy p { margin-top: 20px; max-width: 34rem; color: var(--ink-soft); font-size: var(--fs-lg); }
.search-copy h2 { max-width: 13ch; }

.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px; padding: 5px; border-radius: calc(var(--r-md) + 5px);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink);
}
.switch-opt {
  position: relative; z-index: 1; border: 0; background: none;
  padding: 12px 20px; font-weight: var(--w-ui); border-radius: var(--r-md);
  transition: color .4s var(--ease-out);
}
.switch-opt[aria-pressed="true"] { color: #fff; }
.switch-knob {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  background: var(--ink); border-radius: var(--r-md);
  transition: transform .5s var(--ease-out), background-color .4s;
}
.switch.is-with .switch-knob { transform: translateX(100%); background: var(--cobalt); }

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--lilac); top: 50%; left: 50%; translate: -50% -50%;
  scale: var(--blob, 1);
}
/* inventar:av */ /* telefonmockupen etterligner Googles grensesnitt */
.phone {
  position: relative; width: min(100%, 360px);
  background: #fff; border-radius: 46px; padding: 16px 14px 22px;
  box-shadow: 0 0 0 10px var(--ink), 0 50px 70px -30px rgba(18,19,42,.5);
  font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #202124;
}
.phone-notch { width: 90px; height: 24px; background: var(--ink); border-radius: 20px; margin: -4px auto 12px; }
.g-search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-lg); background: #f1f3f4;
}
.g-logo { display: grid; color: #5f6368; }
.g-logo svg { width: 16px; height: 16px; }
.g-query { font-size: 14px; }
.g-map { position: relative; height: 104px; margin: 12px 0 4px; border-radius: 14px; overflow: hidden; background: #eef2ea; }
.g-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
  position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: #EA4335; color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: var(--w-title);
}
.pin { line-height: 1; }
.p1 { left: 22%; top: 30%; } .p2 { left: 58%; top: 52%; } .p3 { left: 78%; top: 22%; }
.g-list { display: flex; flex-direction: column; }
.g-item { padding: 12px 4px; border-bottom: 1px solid #e8eaed; }
.g-item:last-child { border-bottom: 0; }
.g-head { display: flex; justify-content: space-between; gap: 10px; }
.g-name { font-size: 16px; color: #1a0dab; }
.g-meta { color: #5f6368; margin-top: 2px; font-size: 12.5px; }
.stars { color: #e37400; }
.g-thumb {
  width: 64px; height: 64px; border-radius: var(--r-md); flex: none;
  background: #e8eaed; position: relative; overflow: hidden;
  transition: background-color .6s;
}
.g-thumb::after {
  content: ""; position: absolute; left: 18%; bottom: 0; width: 46%; height: 80%;
  border-radius: 99px 99px 0 0; background: #E7A595;
  transform: translateY(100%); transition: transform .7s .15s var(--ease-out);
}
.g-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.g-act {
  padding: 6px 12px; border-radius: 99px; border: 1px solid #dadce0; color: #1a73e8; font-size: 12.5px;
  white-space: nowrap;
}
.you .g-act.web, .you .g-act.book {
  display: inline-block; max-width: 0; padding-inline: 0; border-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .6s var(--ease-out), padding .6s var(--ease-out), opacity .4s, border-width .1s;
}
.you .g-act.book { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.g-missing {
  margin-top: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: #fce8e6; color: #a50e0e; font-size: 12px;
  transition: opacity .3s, max-height .5s var(--ease-out), margin .5s, padding .5s;
  max-height: 60px; overflow: hidden;
}
.g-site {
  display: grid; gap: 6px; overflow: hidden;
  max-height: 0; opacity: 0; margin-top: 0; padding: 0 12px;
  border-radius: var(--r-md); background: #2A1830; color: #F3DFDB;
  transition: max-height .7s var(--ease-out), opacity .5s .1s, margin .5s, padding .6s var(--ease-out);
}
.g-site-title { font-family: "Bodoni Moda", serif; font-size: 19px; font-style: italic; }
.g-site-row { display: flex; gap: 14px; font-size: 11.5px; opacity: .85; }
.g-site-row i { font-style: normal; }

.phone[data-state="with"] .you .g-act.web,
.phone[data-state="with"] .you .g-act.book { max-width: 120px; padding-inline: 12px; border-width: 1px; opacity: 1; }
.phone[data-state="with"] .g-missing { max-height: 0; opacity: 0; margin-top: 0; padding-block: 0; }
.phone[data-state="with"] .g-site { max-height: 120px; opacity: 1; margin-top: 12px; padding: 14px 12px; }
.phone[data-state="with"] .g-thumb { background: #2A1830; }
.phone[data-state="with"] .g-thumb::after { transform: none; }
/* inventar:på */

@media (max-width: 900px) {
  .search { grid-template-columns: 1fr; }
}

/* ==========================================================
   Included
   ========================================================== */
.included {
  --pad: clamp(28px, 5vw, 80px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: var(--space-section) auto 0;
  padding: 0 clamp(8px, 1.5vw, 24px);
}
.inc-panel {
  position: relative; overflow: hidden;
  background: var(--cobalt); color: #fff;
  border-radius: var(--r-xl); padding: var(--pad);
}
.inc-deco {
  position: absolute; right: -6%; top: -10%; width: min(46vw, 620px); height: auto;
  pointer-events: none; opacity: .14;
}
.inc-deco rect { fill: none; stroke: #fff; stroke-width: .35; }
.inc-panel h2 { position: relative; max-width: 14ch; margin-bottom: clamp(36px, 5vw, 64px); }
.inc-list {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px);
}
.inc-list > div { transition: translate .5s var(--ease-out); }
.inc-list > div::before {
  content: ""; display: block; height: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--lilac) 0 var(--fill, 0%), rgba(255,255,255,.28) var(--fill, 0%));
  transition: --fill .6s var(--ease-out);
}
.inc-list > div:hover { --fill: 100%; translate: 0 -4px; }
@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.inc-list dt { font-weight: var(--w-title); font-size: var(--fs-title-s); font-variation-settings: "wdth" 110; letter-spacing: -0.01em; }
.inc-list dd { margin-top: 8px; color: rgba(255,255,255,.82); font-size: var(--fs-sm); line-height: 1.55; }
@media (max-width: 1080px) { .inc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .inc-list { grid-template-columns: 1fr; } }

/* ==========================================================
   Process
   ========================================================== */
.process {
  max-width: var(--max); margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}
.process-head { align-self: start; position: sticky; top: 120px; }
.process-head p { margin-top: 20px; color: var(--ink-soft); max-width: 28rem; font-size: var(--fs-lg); }

.steps { position: relative; counter-reset: s; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: var(--line);
}
.steps::after { background: var(--cobalt); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 24px;
  padding: 0 0 clamp(36px, 5vw, 64px);
}
.step:last-child { padding-bottom: 0; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink);
  font-weight: var(--w-display); font-size: var(--fs-title); font-variation-settings: "wdth" 118;
  transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-reached .step-n { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.step h3 { font-size: var(--fs-title); font-weight: var(--w-title); font-variation-settings: "wdth" 110; letter-spacing: -0.015em; padding-top: 12px; }
.step p { margin-top: 8px; color: var(--ink-soft); max-width: 36rem; }
.step-time { padding-top: 16px; font-size: var(--fs-sm); color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-head { position: static; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .step-n { width: 48px; height: 48px; font-size: var(--fs-lg); }
  .steps::before, .steps::after { left: 23px; }
  .step > div { grid-column: 2; grid-row: 1 / span 2; }
  .step-time { grid-column: 2; grid-row: 1; padding-top: 0; font-size: var(--fs-xs); color: var(--cobalt); font-weight: var(--w-ui); }
  .step > div { padding-top: 1.35rem; }
  .step h3 { padding-top: 2px; }
}

/* ==========================================================
   Pricing
   ========================================================== */
.pricing {
  max-width: var(--max); margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
}
.pricing-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.pricing-head h2 { max-width: 15ch; }
.bill-note { margin-top: 18px; color: var(--ink-soft); min-height: 1.6em; }

.plans { margin-top: 36px; display: grid; gap: 14px; }
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.25fr) auto;
  gap: clamp(20px, 3vw, 48px); align-items: start;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper-2); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.plan h3 { font-size: var(--fs-title-l); font-weight: var(--w-display); font-variation-settings: "wdth" 118; letter-spacing: -0.03em; line-height: 1; }
.plan-id p { margin-top: 12px; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 26rem; }
.plan-flag {
  display: inline-block; margin-top: 16px !important;
  padding: 5px 10px; border-radius: var(--r-sm); background: var(--lilac); color: var(--ink) !important;
  font-size: var(--fs-xs) !important; font-weight: var(--w-ui);
}
.p-main { display: flex; align-items: baseline; gap: 6px; line-height: 1; white-space: nowrap; }
.p-main .num {
  display: inline-block;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: var(--w-display);
  font-variation-settings: "wdth" 112; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.p-main .unit { font-weight: var(--w-ui); font-size: var(--fs-base); }
.p-sub { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-sm); }
.plan-feats { display: grid; gap: 9px; font-size: var(--fs-sm); }
.plan-feats li { position: relative; padding-left: 26px; }
.plan-feats li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px;
  border: solid var(--cobalt); border-width: 0 0 2.5px 2.5px; rotate: -45deg;
}
.plan-cta { align-self: start; }

.plan-featured { background: var(--cobalt); color: #fff; box-shadow: none; }
.plan-featured .plan-id p, .plan-featured .p-sub { color: rgba(255,255,255,.82); }
.plan-featured .plan-feats li::before { border-color: var(--lilac); }

@media (max-width: 1080px) {
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan-feats { grid-column: 1; }
  .plan-cta { grid-column: 2; align-self: end; justify-self: start; }
}
@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; }
  .plan-feats, .plan-cta { grid-column: 1; }
  .plan-cta { width: 100%; }
}

.pricing-foot {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start;
}
.pricing-foot h3 { font-size: var(--fs-title); font-weight: var(--w-title); font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }

/* What the monthly price covers: a tinted panel, two columns of items */
.covers { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: color-mix(in srgb, var(--lilac) 45%, var(--paper)); }
.covers-lead { margin-top: 8px; color: var(--ink-soft); font-size: var(--fs-lg); }
.covers-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 24px; }
.covers-list li { position: relative; display: grid; gap: 2px; padding-left: 26px; }
.covers-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border: solid var(--cobalt); border-width: 0 0 2.5px 2.5px; rotate: -45deg;
}
.covers-list b { font-weight: var(--w-title); }
.covers-list span { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.45; }
.covers-terms { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(18,19,42,.12); font-size: var(--fs-sm); }

/* Add-ons: a price list with dotted leaders */
.addons dl { margin-top: 14px; }
.addons dl div { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addons dt { display: grid; gap: 3px; font-size: var(--fs-title-s); font-weight: var(--w-ui); }
.addons dt small { color: var(--ink-soft); font-size: var(--fs-xs); font-weight: 400; }
.addons dl div::after { content: ""; order: 1; flex: 1; min-width: 24px; align-self: center; margin-top: -1.2em; border-bottom: 2px dotted rgba(18,19,42,.25); }
.addons dd { order: 2; text-align: right; font-weight: var(--w-title); font-variation-settings: "wdth" 110; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addons dd small { font-weight: var(--w-ui); color: var(--ink-soft); font-size: var(--fs-xs); }
.addons .dd-sub { display: block; }
.vat { margin-top: 16px; font-size: var(--fs-xs); color: var(--ink-soft); }
@media (max-width: 900px) { .pricing-foot { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .covers-list { grid-template-columns: 1fr; gap: 14px; }
  .addons dl div::after { display: none; }
  .addons dl div { justify-content: space-between; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  max-width: var(--max); margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px);
}
.faq h2 { align-self: start; position: sticky; top: 120px; max-width: 10ch; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: var(--fs-title-s); font-weight: var(--w-ui); font-variation-settings: "wdth" 106;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: rotate .4s var(--ease-out), background-color .3s, color .3s;
}
.faq summary:hover::after { background-color: var(--lilac); }
.faq details[open] summary::after { rotate: 135deg; background-color: var(--ink); color: #fff; }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-soft); max-width: 40rem; }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq h2 { position: static; max-width: none; }
}

/* ==========================================================
   Contact
   ========================================================== */
.contact {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: var(--space-section) auto 0;
  padding: clamp(32px, 6vw, 96px) var(--gutter);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.contact-copy h2 { max-width: 12ch; }
.contact-copy p { margin-top: 20px; color: var(--on-dark-soft); font-size: var(--fs-lg); max-width: 30rem; }
.contact-alt { margin-top: 40px; display: grid; gap: 14px; }
.contact-alt li { display: flex; gap: 16px; align-items: baseline; }
.contact-alt span { width: 72px; color: rgba(255,255,255,.6); font-size: var(--fs-sm); }
.contact-alt a { font-size: var(--fs-title); font-weight: var(--w-ui); text-decoration: none; font-variation-settings: "wdth" 110; }
.contact-alt a:hover { color: var(--lilac); }

.form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: var(--w-ui); font-size: var(--fs-sm); padding: 0; }
.opt { color: rgba(255,255,255,.55); font-weight: 400; margin-left: 6px; }
.field input:not([type="radio"]), .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: var(--r-md);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(235,200,230,.35); }
.field input[aria-invalid="true"] { border-color: #FF8A7A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); font-size: var(--fs-sm); font-weight: var(--w-ui);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.chips input:checked + span { background: var(--lilac); color: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.form .btn { --b-bg: var(--lilac); --b-fg: var(--ink); --b-hover: #fff; margin-top: 6px; }
.form .btn:hover { color: var(--ink); }
.form-status { min-height: 1.5em; font-size: var(--fs-sm); }
.form-status.is-error { color: #FFB4A8; }
.form.is-sent .field, .form.is-sent .btn { display: none; }
.form.is-sent .form-status { font-size: var(--fs-title); font-weight: var(--w-title); font-variation-settings: "wdth" 110; line-height: 1.3; padding: 32px 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; border-radius: var(--r-xl) var(--r-xl) 0 0; } }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  background: var(--ink); color: var(--on-dark-soft);
  padding: 0 var(--gutter) 28px; overflow: hidden;
}
/* Stort ordmerk-bånd som ruller i en sløyfe. Sporet har innholdet to ganger, så -50 % går sømløst rundt.
   Uten GSAP ruller det med CSS. Med GSAP styres farten av scrollingen (main.js). */
.footer-marquee {
  margin: 0 calc(-1 * var(--gutter)) 28px;
  padding: clamp(20px, 3vw, 40px) 0 clamp(8px, 1.5vw, 20px);
  border-top: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.fm-track {
  display: flex; align-items: center; width: max-content;
  font-size: clamp(5.5rem, 19vw, 18rem); line-height: 1.04; font-weight: 900;
  font-variation-settings: "wdth" 125; letter-spacing: -0.05em; white-space: nowrap;
  color: var(--cobalt);
  animation: fm-scroll 45s linear infinite;
  will-change: transform;
}
.fm-track > * { margin-right: .22em; }
.fm-outline { color: transparent; -webkit-text-stroke: max(1.5px, .012em) var(--lilac); }
.fm-gem { flex: none; width: .16em; height: .16em; border-radius: .03em; background: var(--lilac); rotate: 45deg; }
.js-marquee .fm-track { animation: none; }
@keyframes fm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .fm-track { animation: none; font-size: min(10vw, 10rem); padding-left: var(--gutter); }
  .fm-track > :not(:first-child) { display: none; }
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--fs-sm); }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: #fff; }


/* ==========================================================
   Stage: 3D wrapper, floating cards
   ========================================================== */
.stage-3d { position: relative; }
.stage-3d .browser { position: relative; z-index: 1; }
.browser {
  transform: perspective(1800px)
    rotateX(calc(var(--my, 0) * -3deg))
    rotateY(calc(var(--mx, 0) * 4deg));
}

.float {
  position: absolute; z-index: 5;
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1.5px var(--ink), 0 24px 40px -20px rgba(18, 19, 42, .45);
  translate: calc(var(--mx, 0) * var(--depth) * 1px) calc(var(--my, 0) * var(--depth) * 1px);
}
.float-note {
  --depth: 28;
  right: -28px; top: -30px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; min-width: 270px;
}
.fn-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: none;
  background: var(--note-bg, var(--cobalt)); position: relative;
  transition: background-color .5s;
}
.fn-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 8px;
  border: solid var(--note-fg, #fff); border-width: 0 0 2.5px 2.5px; rotate: -45deg; translate: 0 -2px;
}
.fn-text { display: grid; line-height: 1.3; }
.fn-title { font-size: var(--fs-sm); font-weight: var(--w-title); }
.fn-sub { font-size: var(--fs-xs); color: var(--ink-soft); }
.fn-time { margin-left: auto; align-self: start; font-size: var(--fs-xs); color: var(--ink-soft); }

.float-spec {
  --depth: 46;
  right: -40px; bottom: 21%;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px 14px 14px;
}
.fs-aa {
  width: 64px; height: 64px; border-radius: var(--r-md); display: grid; place-items: center;
  font-size: 2rem; line-height: 1; background: var(--paper);
  font-family: var(--spec-ff, var(--font));
}
.fs-meta { display: grid; gap: 8px; }
/* Each demo has its free space in a different place, so the spec card moves with it */
.stage[data-demo="frisor"] .float-spec { right: auto; left: -40px; bottom: 34%; }
.stage[data-demo="bakeri"] .float-spec { right: auto; left: -40px; bottom: auto; top: 36%; }
.stage[data-demo="regnskap"] .float-spec { bottom: 9%; }
.stage[data-demo="kafe"] .float-spec { bottom: 5%; }
.stage[data-demo="bil"] .float-spec { right: auto; left: -40px; bottom: auto; top: 21%; }
.stage[data-demo="snekker"] .float-spec { right: auto; left: -40px; bottom: 5%; }
.fs-font { font-weight: var(--w-title); font-size: var(--fs-sm); }
.fs-swatches { display: flex; gap: 6px; }
.fs-swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18,19,42,.18); transition: background-color .5s; }

@media (max-width: 900px) {
  .float-note { right: 12px; top: calc(100% + 14px); bottom: auto; min-width: 0; }
  .float-spec { display: none; }
  .stage-note { margin-top: 92px; }
}
@media (max-width: 420px) {
  .float-note { padding: 10px 12px 10px 10px; gap: 10px; }
  .fn-icon { width: 32px; height: 32px; }
  .fn-time { display: none; }
}

/* ==========================================================
   Trades marquee
   ========================================================== */
.trades {
  padding: var(--space-section) 0 0;
  overflow: hidden; display: grid; gap: .1em;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  font-weight: var(--w-display); font-variation-settings: "wdth" 118; letter-spacing: -0.04em; line-height: 1;
}
.trades-row { display: flex; align-items: center; gap: .32em; white-space: nowrap; width: max-content; will-change: transform; }
.trades-row i {
  width: .26em; height: .26em; flex: none; border-radius: .05em; background: var(--cobalt);
  rotate: 45deg;
}
.trades-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); translate: -12% 0; }
.trades-outline i { background: var(--lilac); }
.trades-row span { transition: color .3s, -webkit-text-stroke-color .3s; }
.trades-row span:hover { color: var(--cobalt); }
.trades-outline span:hover { color: var(--lilac); -webkit-text-stroke-color: var(--lilac); }

/* ==========================================================
   Split headings
   ========================================================== */
.sw { display: inline-block; }
.sw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* ==========================================================
   Pricing hover spotlight
   ========================================================== */
.plan { position: relative; isolation: isolate; overflow: hidden; }
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(35, 55, 208, .09), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.plan-featured::before { background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .16), transparent 60%); }
.plan:hover::before { opacity: 1; }

/* FAQ hover */
.faq summary > span, .faq summary { transition: color .3s; }
.faq summary:hover { color: var(--cobalt); }

/* ==========================================================
   Phone tilt
   ========================================================== */
.phone {
  transform: perspective(1400px) rotateY(calc(var(--mx, 0) * -7deg)) rotateX(calc(var(--my, 0) * 5deg));
}

/* ==========================================================
   Custom cursor
   ========================================================== */
.cursor { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type="radio"]), .has-cursor textarea { cursor: text !important; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none;
  border-radius: 50%; will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center; mix-blend-mode: difference;
}
.cursor.is-label .cursor-ring { mix-blend-mode: normal; }
.cursor-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid #fff;
  transition: scale .4s var(--ease-out), background-color .3s, border-color .3s, opacity .3s;
}
.cursor-label {
  position: relative; font-size: .8rem; font-weight: var(--w-title); color: #fff; opacity: 0;
  transition: opacity .25s; white-space: nowrap;
}
.cursor.is-link .cursor-ring::before { scale: 1.7; border-width: 1px; }
.cursor.is-label .cursor-ring::before { scale: 2.2; background: var(--cobalt); border-color: var(--cobalt); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-text .cursor-ring::before, .cursor.is-hidden .cursor-ring::before { scale: .2; opacity: 0; }
.cursor.is-text .cursor-dot, .cursor.is-hidden .cursor-dot { opacity: 0; }
.cursor.is-down .cursor-ring::before { scale: .8; }
.cursor-dot { transition: opacity .2s; }

/* Magnetic */
[data-magnetic] { will-change: transform; }
.btn-label { display: inline-block; pointer-events: none; }

/* ==========================================================
   Small helpers
   ========================================================== */
.show-sm { display: none; }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}

/* ==========================================================
   Promises
   ========================================================== */
.promises {
  max-width: var(--max); margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
}
.promise-list {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
}
.promise-list li { border-top: 2px solid var(--ink); padding-top: 22px; }
.promise-big {
  font-size: var(--fs-title-l); line-height: 1.12; font-weight: var(--w-title);
  font-variation-settings: "wdth" 110; letter-spacing: -0.02em; text-wrap: balance;
}
.promise-list li p:not(.promise-big) { margin-top: 14px; color: var(--ink-soft); max-width: 30rem; }
@media (max-width: 860px) { .promise-list { grid-template-columns: 1fr; } }

.form-legal { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.form-legal a { color: rgba(255,255,255,.85); }
.form-legal a:hover { color: var(--lilac); }
.form.is-sent .form-legal { display: none; }

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .browser, .phone { transform: none !important; }
  .float, .viewport [data-depth] { translate: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================
   Legal page
   ========================================================== */
.legal { max-width: 44rem; margin: 0 auto; padding: 140px var(--gutter) 120px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; font-weight: var(--w-display); font-variation-settings: "wdth" 112; letter-spacing: -0.04em; }
.legal-lead { margin-top: 24px; font-size: var(--fs-lg); }
.legal h2 { margin-top: 48px; font-size: var(--fs-title); letter-spacing: -0.01em; font-variation-settings: "wdth" 110; }
.legal p { margin-top: 12px; color: var(--ink-soft); }
.legal-lead { color: var(--ink) !important; }
.legal a { color: var(--cobalt); }
.legal-date { margin-top: 56px !important; font-size: var(--fs-sm); }
