/* ============================================================
   ECHOO — Kvalitetssystem for elektrohåndverk
   Dark, industrial, high-contrast. Tool, not SaaS.
   ============================================================ */

:root {
  /* Surfaces — Lin: varm, lys mellomtone */
  --bg:        #c8c1b2;
  --bg-2:      #d0cabc;
  --surface:   #dcd7cc;
  --surface-2: #cfc9bb;
  --line:      #b9b2a1;
  --line-2:    #a39b88;

  /* Ink */
  --ink:       #1a1916;
  --ink-2:     #57544b;
  --ink-3:     #8a867a;

  /* Accent — Echoo's own (kobberbrun). Themeable via Tweaks.
     NB: var still named --orange so component CSS stays unchanged. */
  --orange:    #a06a30;
  --orange-2:  #b5824a;
  --orange-ink:#ffffff;

  /* Signal */
  --ok:        #2e9e6b;
  --ok-dim:    #d6efe1;
  --warn:      #c98a16;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --maxw: 1200px;
  --pad:  clamp(20px, 5vw, 64px);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: var(--orange-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--orange);
  display: inline-block;
}

.section-head { max-width: 760px; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: 18px;
}
.section-head .lede {
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 20px);
  margin-top: 18px;
  max-width: 640px;
}

.pad-y { padding-block: clamp(72px, 11vh, 140px); }
.divider { border-top: 1px solid var(--line); }

/* ---------- Hazard stripe ---------- */
.hazard {
  height: 8px;
  background-image: repeating-linear-gradient(
    -45deg, var(--orange) 0 14px, #0d0d0c 14px 28px);
  opacity: 0.92;
}
.hazard.thin { height: 5px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: var(--bh);
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  border-color: var(--orange);
  font-weight: 700;
}
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-sm { --bh: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-arrow svg { transition: transform .15s ease; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ---------- Brand mark ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo .rings { display: block; }
.logo .rings circle { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.logo .rings .solid { fill: var(--orange); stroke: var(--orange); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: color-mix(in srgb, var(--ink-2) 55%, var(--ink)); font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-login {
  font-size: 14.5px; font-weight: 500;
  color: color-mix(in srgb, var(--ink-2) 55%, var(--ink));
  padding: 8px 4px;
  transition: color .15s ease;
}
.nav-login:hover { color: var(--ink); }
@media (max-width: 940px) { .nav-login { display: none; } }

/* Burger button */
.nav-burger {
  display: none;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-burger span {
  position: relative; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: background .2s ease;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .25s ease, top .2s ease;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.menu-open .nav-burger span { background: transparent; }
.nav.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(20,18,12,.4);
  padding: 12px var(--pad) 22px;
  flex-direction: column; gap: 4px;
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.nav.menu-open .nav-mobile { display: flex; animation: navdrop .22s ease; }
@keyframes navdrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-mobile a.m-link {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em; color: var(--ink);
  padding: 15px 4px; border-bottom: 1px solid var(--line);
}
.nav-mobile a.m-link:last-of-type { border-bottom: none; }
.nav-mobile .m-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.nav-mobile .m-cta .btn { width: 100%; --bh: 52px; }

/* ---------- Mobil-finpuss ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1, h2, h3, .hero h1, .founders p.big { overflow-wrap: anywhere; }
  .hero h1 { hyphens: auto; }
  .hero-cta .btn, .price-right .cta .btn { flex: 1 1 auto; }
  .pk-mods { grid-template-columns: 1fr !important; }
  .pk-meta { gap: 14px; }
  .sc-tabs { gap: 6px; }
  .sc-tab { font-size: 12px; padding: 9px 13px; }
  .price-left, .price-right { padding: 28px 22px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .fgrid { grid-template-columns: 1fr; }
  .trust-inner { gap: 16px; }
  .trust .std { gap: 14px 18px; }
}
@media (max-width: 380px) {
  .frame-bar .addr { display: none; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(54px, 8vh, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 60%),
    radial-gradient(700px 600px at 5% 20%, color-mix(in srgb, var(--orange) 6%, transparent), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 600px at 70% 10%, #000 0%, transparent 72%);
          mask-image: radial-gradient(900px 600px at 70% 10%, #000 0%, transparent 72%);
  opacity: .7; pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(56px, 8vh, 96px);
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  margin-top: 26px;
}
.hero h1 .hl { color: var(--orange); }
.hero .sub {
  color: var(--ink-2);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  margin-top: 26px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px;
}
.chip {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 15px;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---------- Browser / app frame ---------- */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(20,18,12,.45), 0 2px 8px -2px rgba(20,18,12,.12);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: block; }
.frame-bar .addr {
  margin-left: 8px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 12px;
  flex: 1; max-width: 300px;
}
.frame-body { background: var(--bg-2); }

/* ---------- Dark scope: product screens stay dark on light page ---------- */
.frame, .phone {
  --bg:        #0d0d0c;
  --bg-2:      #131312;
  --surface:   #181816;
  --surface-2: #1e1e1b;
  --line:      #2a2a26;
  --line-2:    #38382f;
  --ink:       #f4f3ee;
  --ink-2:     #b6b3a9;
  --ink-3:     #7c7a72;
  --ok:        #57c98a;
  --ok-dim:    #1c3a2b;
  --warn:      #e7b24a;
}

/* ---------- App mockup: shared ---------- */
.app { font-size: 13px; color: var(--ink); }
.app-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.app-topbar .left { display: flex; align-items: center; gap: 12px; }
.app-status {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px;
  display: inline-flex; align-items: center; gap: 7px;
}
.app-status .dot { width: 6px; height: 6px; border-radius: 50%; }

/* Prosjektkort */
.pk { padding: 18px; display: grid; gap: 16px; }
.pk-head h4 { font-size: 19px; letter-spacing: -0.02em; }
.pk-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.pk-meta div { font-size: 11.5px; }
.pk-meta .k { font-family: var(--font-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-size: 9.5px; }
.pk-meta .v { color: var(--ink); margin-top: 2px; font-weight: 500; }
.pk-prog { display: grid; gap: 7px; }
.pk-prog .bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pk-prog .bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.pk-prog .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-2); }
.pk-prog .lbl b { color: var(--ink); }
.pk-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk-mod {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
}
.pk-mod .ic {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.pk-mod .ic.done { background: var(--ok-dim); color: var(--ok); }
.pk-mod .ic.prog { background: rgba(231,178,74,.15); color: var(--warn); }
.pk-mod .ic.todo { background: var(--surface-2); color: var(--ink-3); border: 1px dashed var(--line-2); }
.pk-mod .nm { font-size: 12px; font-weight: 500; }
.pk-mod .st { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pk-sign {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--orange); border-radius: var(--r);
  background: color-mix(in srgb, var(--orange) 12%, transparent);
}
.pk-sign .t { font-size: 12.5px; font-weight: 600; }
.pk-sign .d { font-size: 10.5px; color: var(--ink-2); }
.pk-sign .go {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--orange-ink); background: var(--orange);
  padding: 7px 12px; border-radius: 6px;
}

/* Gantt */
.gantt { padding: 16px; }
.gantt-head { display: grid; grid-template-columns: 132px 1fr; margin-bottom: 10px; }
.gantt-weeks { display: grid; grid-template-columns: repeat(6, 1fr); }
.gantt-weeks span {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .05em;
  border-left: 1px solid var(--line); padding-left: 8px;
}
.gantt-row { display: grid; grid-template-columns: 132px 1fr; align-items: center; height: 38px; }
.gantt-row .task { font-size: 12px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.gantt-row .task .sq { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.gantt-track { position: relative; height: 100%;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100%/6) 100%;
}
.gantt-bar {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 18px; border-radius: 5px;
  display: flex; align-items: center; padding: 0 8px;
  font-family: var(--font-mono); font-size: 9px; color: #fff; font-weight: 500;
  white-space: nowrap; overflow: hidden;
}
.gantt-today { position: absolute; top: -6px; bottom: 0; width: 2px; background: var(--orange); z-index: 3; }
.gantt-today::after {
  content: "I DAG"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 8px; color: var(--orange); letter-spacing: .1em;
}

/* PDF / Samsvarserklæring */
.pdf-wrap { padding: 22px; display: grid; place-items: center; background:
  repeating-linear-gradient(45deg, #161614 0 2px, #131312 2px 9px); }
.pdf {
  width: 100%; max-width: 360px;
  background: #f6f5f1; color: #1a1a18;
  border-radius: 4px; padding: 26px 26px 22px;
  font-family: var(--font-body);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  position: relative;
}
.pdf .ph { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 2px solid #1a1a18; padding-bottom: 12px; }
.pdf .ph .t { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.pdf .ph .n { font-family: var(--font-mono); font-size: 8.5px; color: #555; text-align: right; line-height: 1.5; }
.pdf .row { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; padding: 6px 0; border-bottom: 1px solid #e2e0d8; }
.pdf .row .k { color: #6a6a64; }
.pdf .row .v { font-weight: 600; text-align: right; }
.pdf .body-txt { font-size: 9px; color: #4a4a44; line-height: 1.55; margin: 12px 0; }
.pdf .sign-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; }
.pdf .sig { font-family: "Caveat", cursive; font-size: 26px; color: #15315a; line-height: 1; transform: rotate(-4deg); }
.pdf .sig-line { font-family: var(--font-mono); font-size: 8px; color: #6a6a64; border-top: 1px solid #999; padding-top: 4px; margin-top: 6px; width: 130px; }
.pdf .stamp {
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 700;
  color: #1b7a47; border: 1.5px solid #1b7a47; border-radius: 5px;
  padding: 6px 9px; text-align: center; line-height: 1.4; letter-spacing: .03em;
  transform: rotate(5deg);
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 26px; flex-wrap: wrap; }
.trust .made { font-size: 14px; color: var(--ink-2); }
.trust .made b { color: var(--ink); font-weight: 600; }
.trust .std { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust .std span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.trust .std span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }

/* ---------- Problem cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.pcard {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 32px; background: var(--surface);
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px color-mix(in srgb, var(--tc, var(--ink)) 40%, transparent); }
/* Svake, jordnære toner per rute */
.pcard.tint {
  background: color-mix(in srgb, var(--tc) 11%, var(--surface));
  border-color: color-mix(in srgb, var(--tc) 34%, var(--line));
}
.pcard.tint::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--tc);
}
.tint-rust  { --tc: #b9544a; }  /* svak rustrød */
.tint-olive { --tc: #6f8a4f; }  /* dempet oliven */
.tint-slate { --tc: #5a7a9e; }  /* dempet blå */
.pcard .num {
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  line-height: 1; letter-spacing: -.03em;
  color: var(--tc, var(--orange));
}
.pcard h3 { font-size: 22px; margin-top: 14px; }
.pcard p { color: var(--ink-2); margin-top: 12px; font-size: 15.5px; }
.pcard .strike { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--tc, var(--orange)); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 26px 24px 28px; background: var(--surface); position: relative;
  border: 1px solid var(--line); border-top: 3px solid var(--sc, var(--orange));
  border-radius: var(--r-lg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px color-mix(in srgb, var(--sc, var(--ink)) 45%, transparent); }
.step .n {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sc, var(--orange)); color: #fff;
}
/* Egne farger per steg-rute */
.s-1 { --sc: var(--orange); }  /* følger merkefargen */
.s-2 { --sc: #6f8a4f; }  /* oliven */
.s-3 { --sc: #5a7a9e; }  /* dempet blå */
.s-4 { --sc: #5e8f82; }  /* dempet grønnblå */
.step h3 { font-size: 18px; margin-top: 20px; }
.step p { color: var(--ink-2); margin-top: 10px; font-size: 14.5px; }
.step .arr { position: absolute; top: 50%; right: -19px; transform: translateY(-50%); color: var(--sc, var(--orange)); z-index: 2; }
@media (max-width: 900px) { .step .arr { display: none; } }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 54px; }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  background: var(--surface); transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.feat .ic { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; color: var(--orange); }
/* Per-modul fargekoding — dempede, jordnære toner */
.feat .ic.tinted {
  border-color: color-mix(in srgb, var(--c) 38%, var(--line-2));
  background: color-mix(in srgb, var(--c) 15%, var(--surface));
  color: var(--c);
}
.feat .ic.neutral {
  border-color: var(--line-2);
  background: #fbfaf6;
  color: #3a3630;
}
.ic-red    { --c: #b9544a; }  /* svak rød */
.ic-green  { --c: #5f8a5c; }  /* svak grønn */
.ic-blue   { --c: #5a7a9e; }  /* dempet blå */
.ic-amber  { --c: #b5824a; }  /* kobber/rav */
.ic-yellow { --c: #bd9a3c; }  /* oker */
.ic-teal   { --c: #5e8f82; }  /* dempet grønnblå */
.feat h3 { font-size: 17px; margin-top: 18px; }
.feat p { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; line-height: 1.5; }

/* ---------- Showcase tabs ---------- */
.showcase { background: var(--bg-2); }
.sc-tabs { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.sc-tab {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); border: 1px solid var(--line-2); background: transparent;
  border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: all .15s ease; letter-spacing: .02em;
}
.sc-tab:hover { color: var(--ink); border-color: var(--ink-3); }
.sc-tab.active { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); font-weight: 600; }
.sc-stage { margin-top: 28px; position: relative; }
.sc-panel { display: none; }
.sc-panel.active { display: block; animation: fade .35s ease; }
.sc-panel .cap { margin-top: 20px; display: flex; gap: 14px; align-items: baseline; }
.sc-panel .cap .t { font-family: var(--font-mono); font-size: 12px; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; }
.sc-panel .cap .d { color: var(--ink-2); font-size: 15px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Pricing ---------- */
.pricing { }
.price-box {
  display: grid; grid-template-columns: 1fr 1px 1.1fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden;
  margin-top: 54px; background: var(--surface);
}
@media (max-width: 820px) { .price-box { grid-template-columns: 1fr; } }
.price-left { padding: 40px; background:
  radial-gradient(500px 300px at 20% 0%, color-mix(in srgb, var(--orange) 12%, transparent), transparent 70%), var(--surface); }
.price-left .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.price-left .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.price-left .amt .kr { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 7vw, 72px); letter-spacing: -.03em; }
.price-left .amt .per { color: var(--ink-2); font-size: 16px; }
.price-left .note { color: var(--ink-2); font-size: 15px; margin-top: 14px; max-width: 320px; }
.price-left .nope { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.price-left .nope div { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.price-left .nope .x { color: var(--orange); font-family: var(--font-mono); font-weight: 700; }
.price-left .addon-tier { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.price-left .addon-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-left .addon-label { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.015em; }
.price-left .addon-amt { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--orange); letter-spacing: -.02em; }
.price-left .addon-note { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 8px; max-width: 360px; }
.price-left .addon-note b { color: var(--ink); font-weight: 700; }
.price-left .addon-cta { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--orange); transition: color .15s ease; }
.price-left .addon-cta:hover { color: var(--orange-2); }
.price-mid { background: var(--line); }
.price-right { padding: 40px; }
.price-right .h { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.incl { display: grid; gap: 12px; margin-top: 22px; }
.incl div { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.incl .ck { color: var(--ok); flex: none; margin-top: 2px; }
.price-right .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Founders ---------- */
.founders-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: 16px; }
@media (max-width: 860px) { .founders-grid { grid-template-columns: 1fr; } }
.founders h2 { font-size: clamp(30px, 4.2vw, 48px); }
.founders p.big { font-size: clamp(18px, 2vw, 22px); color: var(--ink); margin-top: 26px; line-height: 1.5; }
.founders p.sm { color: var(--ink-2); margin-top: 18px; font-size: 16px; }
.founders .sig-name { font-family: "Caveat", cursive; font-size: 30px; color: var(--orange); margin-top: 24px; transform: rotate(-3deg); display: inline-block; }
.founders .role { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .04em; }

/* image placeholder */
.ph-img {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(45deg, var(--surface) 0 10px, var(--bg-2) 10px 20px);
  display: grid; place-items: center; min-height: 340px; position: relative;
  overflow: hidden;
}
.ph-img .lbl {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 8px 14px; letter-spacing: .04em;
}

/* ---------- Demo booking ---------- */
.demo { background:
  radial-gradient(800px 400px at 85% 0%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-why { display: grid; gap: 18px; margin-top: 30px; }
.demo-why div { display: flex; gap: 14px; align-items: flex-start; }
.demo-why .ic { color: var(--orange); flex: none; margin-top: 2px; }
.demo-why .tx b { display: block; font-size: 16px; font-weight: 600; }
.demo-why .tx span { color: var(--ink-2); font-size: 14.5px; }

.form-card { border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--surface); padding: 30px; }
.form-card .fc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.form-card .fc-head .t { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--orange); }
.field input, .field select {
  height: 48px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); font-family: var(--font-body); font-size: 15px; padding: 0 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none; width: 100%;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c7a72' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }
.field input::placeholder { color: var(--ink-3); }
.field.err input, .field.err select { border-color: #e0533a; }
.field .msg { font-size: 11.5px; color: #e0533a; display: none; }
.field.err .msg { display: block; }

.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 9px 13px; cursor: pointer;
  background: var(--bg); transition: all .14s ease;
}
.slot:hover { border-color: var(--ink-3); color: var(--ink); }
.slot.sel { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); font-weight: 600; }

.form-submit { margin-top: 22px; }
.form-submit .btn { width: 100%; }
.form-foot { text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: fade .4s ease; }
.form-success .big-ck { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-dim); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--ink-2); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; color: var(--ink); font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 2vw, 21px); letter-spacing: -.02em;
}
.faq-q .pm { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .25s ease; }
.faq-q .pm::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.faq-q .pm::after { top: 4px; left: 12px; width: 2px; height: 18px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 4px 26px; color: var(--ink-2); font-size: 16px; max-width: 760px; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--orange-ink); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--orange-ink); max-width: 640px; }
.cta-band .btn-dark { background: #16140f; color: #f4f3ee; border-color: #16140f; }
.cta-band .btn-dark:hover { background: #000; border-color: #000; }
.cta-band-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-band-link { color: var(--orange-ink); font-weight: 600; font-size: 15px; opacity: .9; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cta-band-link:hover { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px; }
@media (max-width: 1060px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer .col-fagstoff { grid-column: 1 / -1; } }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .footer .col-fagstoff { grid-column: auto; } }
.footer .col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; font-weight: 600; }
.footer .col a, .footer .col p { display: block; color: var(--ink-2); font-size: 14.5px; margin-bottom: 11px; }
.footer .col a:hover { color: var(--orange); }
.footer .brandcol p { color: var(--ink-2); max-width: 280px; font-size: 14px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* mobile phone mock */
.phone {
  width: 230px; border: 8px solid #1c1c19; border-radius: 34px; background: var(--bg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); overflow: hidden; flex: none;
}
.phone .notch { height: 26px; background: #1c1c19; position: relative; }
.phone .notch::after { content: ""; position: absolute; width: 70px; height: 5px; border-radius: 99px; background: #000; left: 50%; top: 9px; transform: translateX(-50%); }
.phone .scr { padding: 14px; }
.mob-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mob-top .t { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.mob-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--surface); margin-bottom: 10px; }
.mob-card .lab { font-family: var(--font-mono); font-size: 8.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.mob-card .val { font-size: 13px; font-weight: 600; margin-top: 3px; }
.mob-photo { height: 70px; border-radius: 8px; margin-top: 10px; background: repeating-linear-gradient(45deg, var(--surface-2) 0 8px, var(--bg-2) 8px 16px); display: grid; place-items: center; }
.mob-photo span { font-family: var(--font-mono); font-size: 9px; color: var(--ink-3); }
.mob-btn { background: var(--orange); color: var(--orange-ink); text-align: center; font-weight: 700; font-size: 12px; padding: 11px; border-radius: 8px; margin-top: 4px; }

.mobile-section { display: grid; grid-template-columns: 280px 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .mobile-section { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- Pillar pages (samme designspråk) ---------- */
.hero.pillar .hero-inner { grid-template-columns: 1fr; gap: 0; }
.hero.pillar .hero-copy { max-width: 880px; }
.hero.pillar h1 { font-size: clamp(34px, 5.4vw, 62px); }
.hero.pillar .sub { max-width: 780px; }

.def-box { background: var(--surface); border-left: 4px solid var(--orange); padding: 26px 30px; border-radius: var(--r-lg); margin-top: 30px; max-width: 820px; }
.def-box .def-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.def-box p { margin-top: 10px; font-size: 18px; line-height: 1.55; color: var(--ink); font-weight: 500; }

.article-body { max-width: 760px; margin-inline: auto; padding-top: 12px; }
.article-body > * + * { margin-top: 16px; }
.article-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.05; margin-top: 56px; color: var(--ink); }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; margin-top: 36px; color: var(--ink); }
.article-body p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article-body p strong, .article-body li strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-top: 8px; }
.article-body li::marker { color: var(--ink-3); }
.article-body a { color: var(--orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--orange-2); }
.article-body table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15.5px; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.article-body th, .article-body td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-body tr:last-child td { border-bottom: none; }
.article-body th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); border-bottom: 1px solid var(--line-2); font-weight: 600; }
.article-body td { color: var(--ink-2); }
.article-body td strong { color: var(--ink); }
.article-body blockquote { border-left: 3px solid var(--line-2); padding: 4px 0 4px 18px; color: var(--ink-2); font-style: italic; margin-top: 18px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 860px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }
.related a { display: block; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .18s ease, border-color .18s ease; }
.related a:hover { transform: translateY(-3px); border-color: var(--line-2); }
.related .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.related .ttl { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.015em; color: var(--ink); margin-top: 8px; }
.related .desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }
