:root {
  --ink: #0E1621;
  --paper: #F4F2ED;
  --paper-2: #E9E6DF;
  --card: #FFFFFF;
  --text-2: #3A4250;
  --muted: #4A5361;
  --line: #D9D5CC;
  --chip: #C9C4B8;
  --accent: #1F6FAE; /* logoblå #2980C3, mørknet for kontrast */
  --tmesh: #0F7B5F;
  --tmesh-text: #0F6B53;
  --firemesh: #FF4604;
  --firemesh-text: #B83200;
  --dark-muted: #9AA3B2;
  --dark-text-2: #C3CAD6;
  --dark-line: #2B3443;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
p, ul, ol { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.eyebrow.muted { color: var(--muted); }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lead { font-size: 19px; color: var(--text-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 16px; z-index: 10; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 34px; width: auto; mix-blend-mode: multiply; } /* JPG med hvit bakgrunn */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; font-weight: 600; text-decoration: none; padding: 13px 23px; border-radius: 999px; border: 1.5px solid transparent; line-height: 1.4; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-ink, .nav a.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover, .nav a.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.nav .btn { padding: 10px 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-sub { font-size: 20px; color: var(--text-2); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.flow { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 32px; font-family: var(--mono); font-size: 14px; }
.flow-title { color: var(--dark-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; margin-bottom: 20px; }
.flow ol { list-style: none; padding: 0; }
.flow li { display: flex; gap: 16px; align-items: flex-start; }
.flow .rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.flow .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--paper); margin-top: 5px; }
.flow .dot.on { border: 0; background: var(--accent); }
.flow .line { width: 2px; height: 56px; background: #3A4458; }
.flow .step { display: flex; flex-direction: column; gap: 2px; }
.flow .step b { font-weight: 500; }
.flow .step span { color: var(--dark-muted); }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.proof p { font-size: 16px; color: var(--muted); }
.proof-links { display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.proof-links a { color: var(--ink); text-decoration: none; }
.proof-links a:hover { color: var(--accent); }

/* Sections */
.section { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.section.tight-top { padding-top: 0; }
.band { background: var(--paper-2); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.card h3 { font-size: 30px; letter-spacing: -0.02em; }
.card > p { color: var(--text-2); }
.card .more { margin-top: auto; font-weight: 600; }
.arrows { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.arrows li { display: flex; gap: 12px; }
.arrows li::before { content: "→"; color: var(--accent); font-family: var(--mono); flex: none; }
.arrows strong { font-weight: 600; }

/* Products */
.product { background: var(--card); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.product .bar { height: 8px; }
.product .body { padding: 40px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.product .tag { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.product h3 { font-size: 40px; letter-spacing: -0.025em; }
.product .pitch { font-size: 19px; }
.product ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); }
.product li { display: flex; gap: 12px; }
.product li::before { content: "●"; flex: none; }
.product .for { font-size: 15px; color: var(--muted); }
.product .btn { margin-top: auto; align-self: flex-start; }
.product.tmesh .bar { background: var(--tmesh); }
.product.tmesh .tag, .product.tmesh li::before { color: var(--tmesh-text); }
.product.firemesh .bar { background: var(--firemesh); }
.product.firemesh .tag, .product.firemesh li::before { color: var(--firemesh-text); }

/* Process */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--mono); color: var(--accent); }
.steps h3 { font-size: 24px; }
.steps p { color: var(--text-2); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips .label { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-right: 8px; }
.chips li:not(.label) { border: 1px solid var(--chip); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

/* Jobs */
.jobs { border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--card); }
.jobs div { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.jobs h2 { font-size: 30px; letter-spacing: -0.02em; }
.jobs p { color: var(--text-2); }

/* Contact / footer */
.contact { background: var(--ink); color: var(--paper); }
.contact a { color: var(--paper); }
.contact a:hover { color: #8EC1E8; }
.contact a:focus-visible { outline-color: #8EC1E8; }
.contact .wrap { padding-top: 112px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 64px; }
.contact-head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.contact-head p { font-size: 20px; color: var(--dark-text-2); }
.big-mail { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; text-decoration-thickness: 2px; text-underline-offset: 8px; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; border-top: 1px solid var(--dark-line); padding-top: 32px; }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts .k { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dark-muted); }
.facts a { text-decoration: none; }
.facts address { font-style: normal; }
.legal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; color: var(--dark-muted); }
.legal a { color: var(--dark-muted); text-decoration: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
