/* ============================================================
   VOLTIO — design tokens
   Strategy: Committed cobalt on warm paper. Cobalt carries the
   brand; neutrals are warm, shadows tinted toward the hue.
   ============================================================ */
:root {
  /* Brand — eksakt kobolt-palett fra forsiden / delt style.css */
  --cobalt: #1B34FF;                         /* exact logo blue */
  --cobalt-deep: #1226CC;                    /* navy depth */
  --cobalt-ink: #0E1116;                     /* footer ground (ubrukt her: footer er dm-footer) */
  --cobalt-tint:   #ECEEFF;                  /* lys kobolt-flate (forsiden) */
  --cobalt-tint-2: #C7CEFF;                  /* medium kobolt-flate (forsiden) */

  /* Warm neutrals — eksakt fra forsiden (hex, ikke oklch) */
  --paper:   #FCFBF7;                         /* warm off-white */
  --paper-2: #F5F3EA;                         /* deeper warm panel (matcher delt --paper-2) */
  --card:    #FFFFFF;                         /* near-white card */
  --ink:     #0E1116;                         /* near-black */
  --ink-soft:#5F6169;                         /* sekundærtekst */
  --muted:   #9A9A93;                         /* dempet / labels */
  --line:    #E7E4D8;                         /* warm hairline */
  --line-2:  #D8D5C8;                         /* deeper hairline */

  /* Decorative + semantic accents (used sparingly) */
  --warm:    oklch(0.84 0.075 45);           /* soft coral/peach */
  --warm-soft: color-mix(in oklch, var(--warm) 45%, var(--paper));
  --green:   #2f6f5e;                          /* approve / sent only */
  --green-soft: color-mix(in srgb, var(--green) 18%, var(--paper));

  /* Type scale — fluid, ratio >= 1.25 */
  --fs--1: clamp(0.8rem, 0.77rem + 0.12vw, 0.875rem);
  --fs-0:  clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --fs-1:  clamp(1.18rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-2:  clamp(1.45rem, 1.25rem + 1vw, 2.05rem);
  --fs-3:  clamp(2rem, 1.55rem + 2.1vw, 3.1rem);
  --fs-4:  clamp(2.6rem, 1.7rem + 4.2vw, 4.7rem);

  /* Spacing */
  --gap: clamp(1rem, 0.7rem + 1.2vw, 1.6rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --wrap: 1200px;

  /* Radii — soft, friendly */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --pill: 999px;

  /* Shadows — tinted toward cobalt, never harsh black */
  --sh-1: 0 1px 2px oklch(0.45 0.07 266 / 0.07), 0 5px 16px oklch(0.5 0.09 266 / 0.07);
  --sh-2: 0 4px 12px oklch(0.45 0.08 266 / 0.09), 0 16px 40px oklch(0.45 0.1 266 / 0.11);
  --sh-float: 0 34px 70px -28px oklch(0.4 0.13 266 / 0.34), 0 6px 18px oklch(0.45 0.1 266 / 0.1);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);     /* ease-out-expo-ish */
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "neue-haas-grotesk-text", "Schibsted Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--fs-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.08; font-weight: 760; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2.2rem); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

.h2 { font-size: var(--fs-3); }
.lead { font-size: var(--fs-1); color: var(--ink-soft); max-width: 56ch; line-height: 1.5; }
.kicker {
  display: inline-block; font-size: var(--fs--1); font-weight: 680;
  letter-spacing: 0.04em; color: var(--cobalt);
  background: var(--cobalt-tint); padding: 6px 13px; border-radius: var(--pill);
  margin-bottom: 1rem;
}
.ink-cobalt { color: var(--cobalt); }

.section { padding-block: var(--section-y); }
.section__head { max-width: 64ch; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.6rem); }
.section__head .lead { margin-top: 0.9rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 660; font-size: var(--fs-0);
  padding: 0.72em 1.25em; border-radius: var(--pill);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--lg { padding: 0.92em 1.6em; font-size: var(--fs-1); }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn--solid { background: var(--cobalt); color: #fff; box-shadow: 0 8px 22px -8px var(--cobalt); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--cobalt); }

.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--cobalt); color: var(--cobalt); box-shadow: var(--sh-1); }

.btn--white {
  background: #fff;
  color: var(--cobalt);
  border-color: rgba(27,52,255,0.20);
  box-shadow: 0 6px 28px rgba(27,52,255,0.13), 0 1px 5px rgba(14,17,22,0.06);
}
.btn--white:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 42px rgba(27,52,255,0.22), 0 3px 10px rgba(14,17,22,0.07);
  border-color: rgba(27,52,255,0.38);
}

.btn--play { background: transparent; color: var(--ink); border-color: transparent; padding-left: 0.5em; }
.btn--play:hover { color: var(--cobalt); }
.btn__playdot {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cobalt-tint); color: var(--cobalt);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.btn--play:hover .btn__playdot { transform: scale(1.08); background: var(--cobalt-tint-2); }

.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--onCobalt { background: #fff; color: var(--cobalt); }
.btn--onCobalt:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px oklch(0 0 0 / 0.3); }
.btn--ghostOnCobalt { background: transparent; color: #fff; border-color: color-mix(in oklch, #fff 55%, transparent); }
.btn--ghostOnCobalt:hover { background: color-mix(in oklch, #fff 12%, transparent); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck { border-color: var(--line); background: color-mix(in oklch, var(--paper) 92%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.85rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 820; font-size: 1.32rem; letter-spacing: -0.03em; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 10px oklch(0.5 0.2 266 / 0.35)); }
.brand__name { color: var(--ink); }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-size: var(--fs-0); color: var(--ink-soft); font-weight: 560; transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--cobalt); }
.nav__cta { display: flex; gap: 0.6rem; }
.nav__cta .btn { padding: 0.6em 1.1em; font-size: var(--fs--1); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   Floating decorative shapes
   ============================================================ */
.floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floater { position: absolute; border-radius: 50%; will-change: transform; }
.floater.f1 { width: 120px; height: 120px; left: 4%;  top: 14%; border: 2px solid var(--cobalt); opacity: 0.18; }
.floater.f2 { width: 64px;  height: 64px;  right: 8%; top: 8%;  background: var(--warm-soft); }
.floater.f3 { width: 18px;  height: 18px;  left: 46%; top: 6%;  background: var(--cobalt); opacity: 0.5; }
.floater.f4 { width: 200px; height: 200px; right: 2%; bottom: -4%; border: 2px solid var(--green); opacity: 0.16; }
.floater.f5 { width: 38px;  height: 38px;  left: 8%;  bottom: 12%; border-radius: 9px; background: var(--cobalt-tint-2); transform: rotate(18deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); padding-bottom: var(--section-y); }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(3rem, 1.5rem + 5vw, 6.5rem); align-items: center;
}
.hero__title { font-size: var(--fs-4); font-weight: 820; margin-block: 0.6rem 1.7rem; max-width: 17ch; }
.hero__lead { font-size: var(--fs-1); color: var(--ink-soft); max-width: 50ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 2.6rem; color: var(--muted); font-size: var(--fs--1); font-weight: 560; }
.hero__trust li { display: flex; align-items: center; gap: 0.45rem; }
.hero__trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Hero diagram: how the automation flows through us */
.hero__demo { position: relative; }
.diagram { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 430px; margin-inline: auto; }

.diagram__node {
  width: 100%; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0.75rem 1.2rem; font-size: var(--fs--1); font-weight: 640;
  color: var(--ink-soft); box-shadow: var(--sh-1);
}
.diagram__node--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

.diagram__connector { width: 2px; height: 24px; border-left: 2px dashed var(--cobalt-tint-2); position: relative; }
.diagram__connector::after {
  content: ""; position: absolute; left: -4px; bottom: -1px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--cobalt-tint-2);
}
.diagram__connector--both::before {
  content: ""; position: absolute; left: -4px; top: -1px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid var(--cobalt-tint-2);
}

.diagram__panel {
  width: 100%; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: 0.65rem;
}
.diagram__panel h4 { font-size: var(--fs--1); font-weight: 720; color: var(--ink); }
.diagram__item {
  display: flex; align-items: center; gap: 0.6rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 0.5rem 0.75rem; font-size: 0.85rem; font-weight: 560; color: var(--ink-soft);
}
.diagram-icon {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--cobalt-tint); color: var(--cobalt); flex: none;
}

.diagram__core { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; padding: 0.3rem 0; }
.diagram__core-ring {
  position: relative; width: 82px; height: 82px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
  display: grid; place-items: center;
}
.diagram__core-ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed var(--cobalt-tint-2); }
.diagram__core-label { font-size: var(--fs--1); font-weight: 640; color: var(--ink-soft); }

/* Legacy hero demo card (currently unused, kept for reuse) */
.scene { display: flex; flex-direction: column; gap: 0.8rem; }
.demo-card {
  position: relative; z-index: 2;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-float);
  overflow: hidden; max-width: 430px; margin-inline: auto;
}
.demo-card__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.demo-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.demo-card__title { font-size: var(--fs--1); font-weight: 620; color: var(--muted); }

.demo-chat { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.8rem; min-height: 332px; }

.bubble { padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.94rem; line-height: 1.45; max-width: 86%; }
.bubble--user { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 5px; }
.bubble--ai { align-self: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble--sent { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: var(--sh-1); }
.bubble__who { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; color: var(--cobalt); margin-bottom: 0.3rem; text-transform: uppercase; }
.bubble__who--ok { color: var(--green); text-transform: none; letter-spacing: 0; font-size: 0.74rem; }
.bubble__who--auto { color: var(--cobalt); text-transform: none; letter-spacing: 0; font-size: 0.74rem; }

.demo-approve { align-self: stretch; background: color-mix(in oklch, var(--warm-soft) 55%, var(--card)); border: 1px dashed var(--line-2); border-radius: 14px; padding: 0.7rem 0.8rem; }
.demo-approve__head { margin-bottom: 0.55rem; }
.demo-approve__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: oklch(0.55 0.1 45); }
.demo-approve__draft { font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); margin: 0 0 0.6rem; }
.demo-approve__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 620; padding: 0.42em 0.7em; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--card); color: var(--ink-soft); }
.chip--approve { background: var(--green); color: #fff; border-color: var(--green); }

.demo-card__input { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.demo-card__send { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); color: #fff; }


/* ============================================================
   Problem
   ============================================================ */
.problem__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.problem__stat { margin-top: 1.2rem; font-weight: 600; color: var(--ink); font-size: var(--fs-1); max-width: 40ch; }
.problem__bubbles { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.problem__bubbles li {
  align-self: flex-start; background: var(--card); border: 1px solid var(--line);
  padding: 0.7rem 1.1rem; border-radius: 18px; border-bottom-left-radius: 5px;
  font-size: var(--fs-0); font-weight: 540; box-shadow: var(--sh-1); color: var(--ink-soft);
}
.problem__bubbles li:nth-child(2) { align-self: flex-end; border-bottom-left-radius: 18px; border-bottom-right-radius: 5px; background: var(--cobalt-tint); border-color: transparent; color: var(--cobalt); }
.problem__bubbles li:nth-child(3) { margin-left: clamp(0px, 4vw, 3rem); }
.problem__bubbles li:nth-child(5) { align-self: flex-end; border-bottom-left-radius: 18px; border-bottom-right-radius: 5px; }
.problem__bubbles li:nth-child(4) { margin-left: clamp(0px, 2vw, 1.5rem); }

/* ============================================================
   Steps
   ============================================================ */
.steps { background: var(--paper-2); }
.steps__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); }
.step__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cobalt-tint); color: var(--cobalt); font-weight: 800; font-size: 1.25rem; margin-bottom: 1.1rem; }
.step__title { font-size: var(--fs-1); margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); font-size: var(--fs-0); }
.step--key { background: var(--cobalt); color: #fff; border-color: var(--cobalt); box-shadow: var(--sh-float); }
.step--key .step__num { background: color-mix(in oklch, #fff 22%, transparent); color: #fff; }
.step--key .step__title { color: #fff; }
.step--key p { color: color-mix(in oklch, #fff 86%, var(--cobalt)); }
.step__flag { position: absolute; top: 1.4rem; right: 1.4rem; font-size: 0.72rem; font-weight: 720; letter-spacing: 0.03em; text-transform: uppercase; background: #fff; color: var(--cobalt); padding: 0.35em 0.7em; border-radius: var(--pill); }

/* ============================================================
   Features bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 0.5rem + 1.2vw, 1.4rem); }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; min-width: 0; }
.cell__title { font-size: var(--fs-1); margin-bottom: 0.5rem; }
.cell p { color: var(--ink-soft); font-size: var(--fs-0); }
.cell--wide { grid-column: span 2; flex-direction: row; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cell--wide .cell__body { max-width: 42ch; }
.cell--cobalt { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: var(--sh-float); }
.cell--cobalt .cell__title { color: #fff; font-size: var(--fs-2); }
.cell--cobalt p { color: color-mix(in oklch, #fff 86%, var(--cobalt)); }

.chip-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--cobalt-tint); color: var(--cobalt); margin-bottom: 1rem; font-weight: 800; font-size: 0.95rem; text-transform: uppercase;
}
.chip-icon--warm { background: var(--warm-soft); color: oklch(0.5 0.13 40); }
.chip-icon--green { background: var(--green-soft); color: var(--green); }

.mini-approve { display: flex; flex-direction: column; gap: 0.6rem; background: color-mix(in oklch, #fff 14%, var(--cobalt)); border-radius: var(--r); padding: 1rem; min-width: 180px; }
.mini-bubble { background: #fff; color: var(--ink); border-radius: 12px; border-bottom-left-radius: 4px; padding: 0.55rem 0.8rem; font-size: 0.85rem; font-weight: 540; align-self: flex-start; }
.mini-check { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-end; background: var(--green); color: #fff; padding: 0.45rem 0.8rem; border-radius: var(--pill); font-size: 0.82rem; font-weight: 660; }


/* ============================================================
   Integrasjoner / dybde
   ============================================================ */
.integrate__systems { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.4rem); }
.sys-chip { display: inline-flex; align-items: center; gap: 0.45em; font-size: var(--fs--1); font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 0.5em 1em; border-radius: var(--pill); }
.sys-chip--more { background: var(--cobalt-tint); color: var(--cobalt); border-color: transparent; }
.sys-logo { height: 18px; width: auto; flex: none; }

.scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 1.6rem); }
.scenario { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); display: flex; flex-direction: column; gap: 0.8rem; box-shadow: var(--sh-1); }
.scenario__tag { display: inline-flex; align-items: center; gap: 0.4em; align-self: flex-start; font-size: 0.72rem; font-weight: 720; letter-spacing: 0.03em; text-transform: uppercase; color: var(--cobalt); background: var(--cobalt-tint); padding: 0.4em 0.8em; border-radius: var(--pill); }
.scenario__tag .sys-logo { width: 14px; height: 14px; }
.scenario .bubble { max-width: 100%; }
.actions { list-style: none; padding: 0.9rem 1rem; margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 0.55rem; }
.action { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--ink); font-weight: 540; }
.action svg { flex: none; color: var(--green); }
.action__sys { margin-left: auto; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 0.2em 0.55em; border-radius: var(--pill); }

/* ============================================================
   E-post (Outlook / Gmail)
   ============================================================ */
.epost__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.epost__points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: 0.7rem; }
.epost__points li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-0); }
.epost__points li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: var(--cobalt-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B34FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

.mailcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-float); overflow: hidden; }
.mailcard__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); font-size: var(--fs--1); font-weight: 620; color: var(--muted); }
.mailcard__bar .sys-logo { width: 16px; height: 16px; }
.mailcard__mail { padding: 1.1rem; border-bottom: 1px solid var(--line); }
.mailcard__row { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.25rem; }
.mailcard__row span { display: inline-block; width: 44px; color: var(--muted); font-weight: 600; }
.mailcard__body { margin: 0.6rem 0 0; font-size: 0.94rem; color: var(--ink); }
.mailcard .actions { margin: 1.1rem; }
.mailcard__draft { margin: 0 1.1rem 1.2rem; background: color-mix(in srgb, var(--cobalt-tint) 60%, var(--card)); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 0.9rem; }
.mailcard__draft p { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--ink); }

/* ============================================================
   Proof
   ============================================================ */
/* Brukt av: E-Wheels — trust-stripe (samme treatment som voltio.no) */
.proof { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.proof__trust { text-align: center; }
.proof__card { max-width: 540px; margin: 1.6rem auto 0; background: #fff; border: 1px solid rgba(20,30,60,0.09); border-radius: var(--r-xl); box-shadow: var(--sh-float); padding: 2.4rem 3rem; }
.proof__logobox { height: 72px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proof__logobox img { height: 236px; margin: -82px 0; }
.proof__sub { margin-top: 1.3rem; color: var(--ink-soft); font-size: var(--fs-0); }

/* ============================================================
   Compare
   ============================================================ */
.compare { background: var(--paper-2); }
.compare__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.5rem + 1.5vw, 1.6rem); align-items: start; }
.vcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem); }
.vcol__title { font-size: var(--fs-1); }
.vcol__note { color: var(--muted); font-size: var(--fs--1); font-weight: 600; margin-bottom: 1.1rem; }
.vcol__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; font-size: var(--fs-0); }
.vcol__list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.vcol__list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: var(--cobalt-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B34FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.vcol__list--muted li::before { background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a93' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; color: var(--muted); }
.vcol--win { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: var(--sh-float); transform: translateY(-8px); }
.vcol--win .vcol__title { color: #fff; }
.vcol--win .vcol__note { color: color-mix(in oklch, #fff 80%, var(--cobalt)); }
.vcol--win .vcol__list li::before { background: color-mix(in oklch, #fff 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.pricing__note { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-0); max-width: 44ch; }
.pricing__cards { display: grid; gap: 1.1rem; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
.plan__name { font-size: var(--fs-2); margin-bottom: 0.4rem; }
.plan__desc { color: var(--ink-soft); margin-bottom: 1.2rem; }
.plan__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; font-size: var(--fs-0); }
.plan__list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan__list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: var(--cobalt-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B34FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan__list--muted li::before { background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan--primary { border: 1.5px solid var(--cobalt); box-shadow: var(--sh-2); position: relative; }
.plan__phase { font-size: var(--fs--1); font-weight: 700; letter-spacing: 0.01em; color: var(--ink-soft); margin-bottom: 0.7rem; }
.plan__list + .plan__phase { margin-top: 0.2rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__list { display: flex; flex-direction: column; gap: 0.7rem; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0.4rem 1.3rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.qa[open] { border-color: var(--cobalt); box-shadow: var(--sh-1); }
.qa summary { list-style: none; cursor: pointer; font-weight: 640; font-size: var(--fs-1); padding: 0.9rem 2rem 0.9rem 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 13px; height: 13px; margin-top: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B34FF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.3s var(--ease); }
.qa[open] summary::after { transform: rotate(135deg); }
.qa p { color: var(--ink-soft); font-size: var(--fs-0); padding-bottom: 1rem; max-width: 64ch; }

/* ============================================================
   Final CTA
   ============================================================ */
.finalcta { position: relative; overflow: hidden; background: var(--cobalt); color: #fff; padding-block: var(--section-y); text-align: center; }
.finalcta .floater.f1 { border-color: #fff; opacity: 0.22; left: 8%; top: 18%; }
.finalcta .floater.f3 { background: #fff; opacity: 0.55; }
.finalcta .floater.f5 { background: color-mix(in oklch, #fff 22%, transparent); }
.finalcta__inner { position: relative; z-index: 1; max-width: 56ch; margin-inline: auto; }
.finalcta__title { font-size: var(--fs-3); color: #fff; }
.finalcta__lead { font-size: var(--fs-1); margin-top: 1rem; color: color-mix(in oklch, #fff 88%, var(--cobalt)); line-height: 1.5; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }
.finalcta__contact { margin-top: 1.6rem; font-size: var(--fs-0); color: color-mix(in oklch, #fff 80%, var(--cobalt)); }

/* Two-column CTA with contact form */
.finalcta__grid {
  position: relative; z-index: 1; text-align: left;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
}
.finalcta__copy { max-width: 32rem; }
.finalcta__points { list-style: none; padding: 0; margin: 1.7rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.finalcta__points li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-0); color: color-mix(in oklch, #fff 90%, var(--cobalt)); }
.finalcta__points li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: color-mix(in oklch, #fff 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.finalcta__grid .finalcta__contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.finalcta__grid .finalcta__contact a:hover { text-decoration: none; }

/* Contact form card (light card on the cobalt section) */
.contact-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-float); padding: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem); }
.contact-card .kicker { margin-bottom: 1.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.95rem; }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.95rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; text-align: left; }
.field label { font-size: var(--fs--1); font-weight: 640; color: var(--ink-soft); }
.field__opt { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit; width: 100%; padding: 0.7em 0.9em; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-tint-2); }
.contact-form textarea { resize: vertical; min-height: 88px; }
.contact-form .btn { margin-top: 0.35rem; }
.contact-form__intro { font-size: var(--fs--1); color: var(--ink-soft); margin: 0; }
.contact-form__fineprint { font-size: var(--fs--1); color: var(--muted); text-align: center; margin: 0; }
.field--error input, .field--error textarea { border-color: #cf4034; background: color-mix(in srgb, #cf4034 5%, var(--paper)); }

.contact-ok { text-align: center; padding: clamp(1.4rem, 1rem + 2vw, 2.6rem) 0.5rem; }
.contact-ok__check { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 1rem; }
.contact-ok h3 { font-size: var(--fs-2); }
.contact-ok p { color: var(--ink-soft); margin-top: 0.5rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--cobalt-ink); color: oklch(0.78 0.03 266); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in oklch, #fff 12%, transparent); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 1rem; max-width: 38ch; font-size: var(--fs-0); }
.footer__col h4 { font-size: var(--fs-0); color: #fff; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col a { color: oklch(0.78 0.03 266); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.6rem; font-size: var(--fs--1); color: oklch(0.65 0.03 266); }

/* ============================================================
   Reveal (enhanced by JS; visible by default if JS fails)
   ============================================================ */
.js [data-reveal] { opacity: 0; }

/* ============================================================
   Responsive
   ============================================================ */
/* Nav collapses earlier so links never wrap in the cramped mid-range */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav.is-open .nav__inner { flex-wrap: wrap; row-gap: 0.3rem; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0.1rem;
    flex-basis: 100%; order: 3;
    border-top: 1px solid var(--line); padding-top: 0.5rem;
  }
  .nav.is-open .nav__links a { padding: 0.55rem 0; }
  .nav.is-open .nav__cta {
    display: flex; flex-direction: column; gap: 0.5rem;
    flex-basis: 100%; order: 4; padding-bottom: 0.5rem;
  }
  .nav.is-open .nav__cta .btn { width: 100%; justify-content: center; font-size: var(--fs-0); padding: 0.7em 1.1em; }
}

@media (max-width: 1000px) {
  .hero__grid, .problem__grid, .pricing__grid, .faq__grid, .epost__grid, .finalcta__grid { grid-template-columns: 1fr; }
  /* Hide decorative floaters in single-column layout so they never sit on the heading */
  .hero .floaters, .finalcta .floaters { display: none; }
  .finalcta__copy { max-width: 56ch; }
  .faq__head { position: static; }
  .steps__list, .compare__cols { grid-template-columns: 1fr; }
  .vcol--win { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--wide { grid-column: span 2; }
  .hero__demo { margin-top: 1rem; }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
