/* ============================================================================
   Kveo — offentleg nettstad
   ----------------------------------------------------------------------------
   Krev public/css/system.css (lastast FOR denne fila i _head.ejs).
   Denne fila definerer INGEN fargeverdiar — berre alias til systemtokena
   og komponentar som er unike for den offentlege sida.
   ========================================================================= */

.legal-page { padding-top: 80px; padding-bottom: 80px; }
.legal-header { max-width: 780px; margin-bottom: 48px; }
.legal-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.12; margin: 16px 0 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.legal-page a, .legal-notice a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a { min-height: var(--control-h); display: inline-flex; align-items: center; }
.legal-links [aria-current] { font-weight: 700; }
.legal-grid { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 740px); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 16px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc a { display: block; padding: 8px 0; min-height: var(--control-h); line-height: 1.5; font-size: 0.875rem; }
.legal-copy { min-width: 0; overflow-wrap: anywhere; }
.legal-google-box { overflow-wrap: anywhere; }
.legal-copy section { scroll-margin-top: 100px; margin-bottom: 40px; }
.legal-copy h2 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 16px; }
.legal-copy p, .legal-copy dd { line-height: 1.8; margin: 0 0 16px; }
.legal-providers { margin: 24px 0 0; }
.legal-providers > div { padding: 20px 0 4px; border-top: 1px solid var(--line); }
.legal-providers dt { font-weight: 700; margin-bottom: 8px; }
.legal-copy button { margin: 8px 0 20px; }
.legal-google-box { max-width: 780px; margin: 0 0 48px; padding: 24px 28px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); }
.legal-google-box h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 12px; }
.legal-google-box p, .legal-google-box li { line-height: 1.7; }
.legal-google-box ul { margin: 12px 0; padding-left: 1.25rem; }
.legal-google-lead { margin: 0 0 8px; }
.legal-google-limited { margin: 12px 0 0; font-weight: 600; }
.legal-list { margin: 0 0 16px; padding-left: 1.25rem; line-height: 1.8; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.6; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.legal-table thead th { border-top: 0; border-bottom: 1px solid var(--line-strong); font-weight: 700; }
.legal-table code { font-size: 0.8125rem; overflow-wrap: anywhere; }
.legal-contact { padding-top: 24px; border-top: 1px solid var(--line); }
.legal-notice { font-size: 0.875rem; line-height: 1.6; color: var(--muted); margin: 16px 0; }
@media (max-width: 800px) {
  .legal-page { padding-top: 40px; padding-bottom: 48px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-toc { position: static; }
}

/* Alias: eldre namn i denne fila og i inline-stilar i EJS-viewa peikar
   pa systemtokena, slik at begge tema held seg riktige utan at kvar
   regel ma skrivast om. */
:root {
  --bg:           var(--canvas);
  --bg-alt:       var(--sunk);
  --surface-sunk: var(--surface-3);
  --line-soft:    var(--line);
  --plate:        #0e100f;

  /* Showcase-panelet bak portefolje-illustrasjonane er alltid morkt (i begge
     tema), so desse verdiane snur IKKJE. Alle er verifiserte >=4.5:1 mot
     --plate; --plate-accent ligg pa 10.29:1. */
  --plate-ink:       #f1f3ef;
  --plate-muted:     #a2aaa4;
  --plate-faint:     #7d867f;
  --plate-surface:   #212522;
  --plate-line:      #2e332f;
  --plate-accent:    #5fd3a1;
  --plate-on-accent: #042116;

  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent);
  --gap:  var(--s-4);
  --section-y: clamp(56px, 7vw, 96px);

  /* Brukt av inline style="" i eldre view-filer. */
  --text:       var(--ink);
  --textMu:     var(--ink-2);
  --textDim:    var(--muted);
  --text-muted: var(--muted);
  --bg2:        var(--surface);
  --line2:      var(--line);
  --green:      var(--accent-ink);
  --blue:        var(--accent-ink);
  --paper:      var(--surface);
  --radius:     var(--r-sm);
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sunk) 48%, transparent), transparent 360px),
    var(--canvas);
}


.hero-h1,
.section-h2,
.page-hero h1,
.cta-h,
.wizard-h,
.success-h,
.api-section h2 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-eye,
.section-eye,
.cta-eye,
.portfolio-kind,
.blog-date,
.stat-key,
.footer-col-h,
.footer-bottom,
.api-method,
.api-table th,
.api-sidebar a,
.wizard-side-eye,
.wizard-progress-label,
.prinsipp-n,
.field-label,
.review-key,
.section-tag,
.marquee-track,
.success-step-t {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-eye,
.section-eye,
.cta-eye,
.section-tag,
.wizard-side-eye {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-ink);
}

.hero-eye,
.section-eye { margin-bottom: 18px; }

.hero-eye-dot,
.section-eye-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-h);
}

.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-weight: 700;
  letter-spacing: -.02em;
}

.nav-logo span,
.footer-logo span { color: var(--muted); }

.nav-logo-dot,
.footer-logo-dot {
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.brand-logo-light,
.brand-logo-dark {
  display: block;
  height: 34px;
  width: auto;
}

.brand-logo-dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo-dark { display: block; }
}

:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-links a,
.nav-portal {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-h-sm);
  padding-inline: 12px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}

.nav-links a:hover,
.nav-portal:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-h-sm);
  padding-inline: 9px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .06em;
}

.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--surface-sunk); color: var(--ink); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: var(--control-h);
  height: var(--control-h);
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
}

.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 16px; height: 16px; display: none; }
.theme-toggle .ti-system { display: block; }
:root[data-theme-mode="light"] .theme-toggle .ti-system,
:root[data-theme-mode="dark"] .theme-toggle .ti-system { display: none; }
:root[data-theme-mode="light"] .theme-toggle .ti-light { display: block; }
:root[data-theme-mode="dark"] .theme-toggle .ti-dark { display: block; }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.hamburger span {
  width: 17px;
  height: 1.5px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-ghost,
.wizard-next,
.wizard-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--control-h);
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .92rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}

.nav-cta,
.btn-primary,
.wizard-next {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.nav-cta:hover,
.btn-primary:hover,
.wizard-next:not(:disabled):hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-cta { min-height: var(--control-h-sm); padding-inline: 15px; }

.btn-secondary,
.btn-ghost,
.wizard-back {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
}

.btn-secondary:hover,
.btn-ghost:hover,
.wizard-back:hover {
  border-color: var(--ink-2);
  background: var(--surface-2);
  color: var(--ink);
}

.wizard-next:disabled {
  border-color: var(--line);
  background: var(--surface-sunk);
  color: var(--faint);
  cursor: not-allowed;
  transform: none;
}

.hero {
  position: relative;
  padding-block: clamp(50px, 7vw, 86px) clamp(44px, 6vw, 72px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    linear-gradient(180deg, var(--line-soft) 1px, transparent 1px);
  background-size: 16.666% 100%, 100% 96px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
  opacity: .68;
}

.hero-inner { position: relative; z-index: 1; }

.hero-h1 {
  max-width: 1040px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  letter-spacing: -.04em;
  line-height: 1.02;
}

.hero-fraunces,
.hero-underline,
.sosial-quote,
.founder-quote {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
}

.hero-fraunces,
.hero-underline {
  color: var(--accent-ink);
  font-style: italic;
  font-weight: 500;
}

.hero-underline {
  background-image: linear-gradient(var(--accent-line), var(--accent-line));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 2px;
}

.hero-pill {
  display: inline-block;
  padding: 0 .16em .03em;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: end;
  margin-top: 40px;
}

.hero-lede,
.section-lede,
.page-hero p,
.cta-lede {
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.section-lede,
.page-hero p,
.cta-lede { margin-top: 14px; color: var(--muted); }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat {
  min-height: 112px;
  padding: 19px;
  background: color-mix(in srgb, var(--surface) 94%, var(--bg-alt));
}

.stat-val {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  line-height: 1;
}

.stat-key { margin-top: 12px; color: var(--faint); }

.marquee-wrap {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding-block: 14px;
  color: var(--muted);
  white-space: nowrap;
  animation: marquee 48s linear infinite;
}

.marquee-dot { color: var(--accent); font-size: .5rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tenester-section,
.prosess-section,
.sosial-section,
.portfolio-section,
.blog-section,
.kontakt-section,
.om-section,
.api-docs,
.page-content {
  padding-block: var(--section-y);
}

.prosess-section,
.api-docs {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.tenester-grid,
.sosial-grid,
.portfolio-grid,
.blog-grid,
.api-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.tenester-card,
.sosial-card,
.portfolio-card,
.blog-card,
.form-card,
.info-card,
.wizard-card,
.wizard-side,
.api-endpoint,
.api-model-grid article,
.prinsipp-item,
.om-step-body,
.founder-note,
.prosess-step,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tenester-card,
.sosial-card,
.blog-card,
.api-endpoint,
.api-model-grid article { padding: 24px; }

.y-card,
.tenester-card,
.portfolio-card,
.blog-card,
.type-card {
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease), background-color .18s var(--ease);
}

.tenester-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.y-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}

.tenester-card { display: flex; flex-direction: column; min-height: 100%; }

.tenester-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tenester-card h3,
.portfolio-title,
.blog-card h2,
.blog-card h3,
.sosial-name,
.prinsipp-content h3,
.om-step-body h3,
.info-card h3,
.prosess-step h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -.018em;
}

.tenester-card h3 { margin-top: 14px; font-size: 1.24rem; }

.tenester-card p,
.portfolio-summary,
.sosial-who,
.blog-card p,
.api-section p,
.api-section li,
.api-section td,
.api-endpoint small,
.prinsipp-content p,
.om-step-body p,
.om-text p,
.prosess-step p,
.info-card p {
  color: var(--muted);
}

.tenester-card p {
  margin-top: 10px;
  font-size: .94rem;
  line-height: 1.65;
}

.service-row {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-row + .service-row { margin-top: 14px; }

.service-row-n {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
}

.service-row h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.018em;
  line-height: 1.18;
}

.service-row p {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.68;
}

.service-row-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.service-row-item {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.service-row-item {
  gap: 9px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
}

.service-row-item span:first-child {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  flex: none;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.tenester-items {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}

.tenester-item {
  display: flex;
  gap: 10px;
  padding-block: 8px;
  color: var(--ink-2);
  font-size: .88rem;
}

.tenester-item-plus { color: var(--accent-ink); font-family: var(--font-mono); }

.prosess-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}


.prosess-step { padding: 22px; }

.prosess-num,
.om-step-dot,
.founder-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0;
}

.prosess-num { margin-bottom: 18px; }
.prosess-step h3 { font-size: 1rem; }
.prosess-step p { margin-top: 8px; font-size: .9rem; line-height: 1.6; }

.sosial-card { display: flex; flex-direction: column; }

.sosial-quote-mark {
  color: var(--accent-line);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: .6;
  margin-bottom: 14px;
}

.sosial-quote,
.founder-quote {
  flex: 1;
  color: var(--ink);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  text-wrap: pretty;
}

.sosial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.sosial-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent-ink);
  font-weight: 700;
}

.sosial-name { font-size: .9rem; }
.sosial-who { font-size: .82rem; line-height: 1.4; }

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-visual {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--plate);
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-body { flex: 1; padding: 22px; }
.portfolio-kind { color: var(--faint); }
.portfolio-title { margin-top: 12px; font-size: 1.2rem; }
.portfolio-summary { margin-top: 10px; font-size: .93rem; line-height: 1.62; }

.portfolio-link,
.read-more,
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-size: .9rem;
  font-weight: 650;
}

.portfolio-link { margin-top: 18px; }
.portfolio-link:hover,
.read-more:hover,
.blog-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-date { color: var(--faint); }
.blog-card h2,
.blog-card h3 { font-size: 1.18rem; line-height: 1.32; }
.blog-card .read-more { margin-top: auto; padding-top: 10px; }

.cta-band {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: clamp(50px, 6vw, 76px);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-eye { margin-bottom: 14px; }
.cta-h { font-size: clamp(1.75rem, 3vw, 2.55rem); }

.page-hero {
  padding-block: clamp(54px, 6vw, 82px) clamp(38px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.page-hero .section-eye { margin-bottom: 16px; }

.om-grid,
.contact-layout,
.api-docs-grid,
.wizard-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
  gap: 32px;
  align-items: start;
}

.om-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
}

.om-text p { font-size: 1.03rem; line-height: 1.76; }

.prinsipp-list,
.om-timeline,
.api-endpoints,
.form-card,
.info-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.prinsipp-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 22px;
}

.prinsipp-content h3,
.om-step-body h3 { font-size: 1.02rem; }

.prinsipp-content p,
.om-step-body p {
  margin-top: 6px;
  font-size: .93rem;
  line-height: 1.62;
}


.om-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
}

.om-step-body { padding: 22px; }

.founder-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  margin-top: 40px;
  padding: 26px;
  background: var(--surface-2);
}

.founder-quote { font-size: 1.08rem; }
.founder-meta { margin-top: 12px; color: var(--faint); font-size: .85rem; }

.form-card,
.info-card,
.wizard-card,
.wizard-side { padding: 26px; }

.wizard-card { min-width: 0; }
.wizard-progress-label { color: var(--faint); margin-bottom: 12px; }

.wizard-progress-track {
  height: 4px;
  margin-bottom: 30px;
  border-radius: var(--r-pill);
  background: var(--surface-sunk);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--accent);
  transition: width .32s var(--ease);
}

.wizard-h { font-size: 1.48rem; }

.wizard-sub {
  margin-top: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .96rem;
}

.type-grid,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.type-card {
  position: relative;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
}

.type-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.type-card.active { border-color: var(--accent); background: var(--accent-soft); }

.type-check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--t-micro);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}

.type-card.active .type-check { opacity: 1; transform: scale(1); }
.type-card-t { color: var(--ink); font-size: .98rem; font-weight: 650; }
.type-card-d { margin-top: 6px; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  min-height: 36px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .88rem;
}

.chip:hover { border-color: var(--line-strong); background: var(--surface-2); }
.chip.active { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }

.form-group,
.field { display: flex; flex-direction: column; gap: 8px; }

.form-group label,
.field label {
  color: var(--ink-2);
  font-size: .86rem;
  font-weight: 650;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--faint);
}

.form-group input,
.form-group textarea,
.form-group select,
.field input,
.wizard-textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.form-group textarea,
.wizard-textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input::placeholder,
.field input::placeholder,
.wizard-textarea::placeholder { color: var(--faint); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.field input:focus,
.wizard-textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.wizard-btns {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.wizard-next { margin-left: auto; }

.review-card {
  display: flex;
  flex-direction: column;
  padding: 4px 20px;
  background: var(--surface-2);
}

.review-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding-block: 14px;
}

.review-row + .review-row { border-top: 1px solid var(--line); }
.review-key { color: var(--faint); padding-top: 2px; }
.review-val { color: var(--ink); font-size: .94rem; overflow-wrap: anywhere; }

.wizard-side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--surface-2);
}

.wizard-side-h {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 650;
  letter-spacing: -.018em;
}

.wizard-side-body {
  margin-top: 10px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.65;
}

.success-check {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.1rem;
}

.success-h { font-size: 1.68rem; }
.success-sub { margin-top: 10px; color: var(--muted); font-size: 1rem; }

.success-timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 30px 0;
  padding-left: 4px;
}

.success-step {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  padding-block: 14px;
  align-items: start;
}

.success-step + .success-step { border-top: 1px solid var(--line-soft); }

.success-dot {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.success-step-t { color: var(--ink); }
.success-step-d { margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.alert,
.api-note {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .92rem;
}

.alert-success,
.api-note { border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok); }
.api-note { display: block; margin-top: 16px; line-height: 1.6; }
.api-note strong { color: var(--ok); }
.alert-error { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger); }
.note { color: var(--muted); font-size: .88rem; }

.api-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.api-docs-grid { grid-template-columns: minmax(220px, .28fr) minmax(0, 1fr); }
.api-docs-grid > .api-sidebar { order: -1; }
.api-main { min-width: 0; }

.api-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.api-sidebar a {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--muted);
}

.api-sidebar a:hover { background: var(--surface-2); color: var(--ink); }

.api-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.api-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.api-section h2 { font-size: 1.6rem; margin-bottom: 14px; }
.api-section h3 { color: var(--ink); font-size: 1.05rem; font-weight: 650; margin: 22px 0 8px; }
.api-section p { line-height: 1.7; }

.api-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.api-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.65;
}

.api-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.api-section pre {
  overflow-x: auto;
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--plate);
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.7;
}

.api-section pre code {
  color: #d6ded8;
  background: none;
  border: 0;
  padding: 0;
}

.api-section code,
.api-scope-grid code,
.api-table code,
.blog-post-content code {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: .82em;
}

.api-scope-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.api-endpoint > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.api-endpoint small {
  display: block;
  margin-top: 8px;
  line-height: 1.55;
}

.api-method {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding-inline: 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  color: var(--muted);
  font-size: var(--t-micro);
}

.api-method-get { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); }
.api-method-post { border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok); }
.api-method-put,
.api-method-patch { border-color: var(--warn-soft); background: var(--warn-soft); color: var(--warn); }
.api-method-delete { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger); }

.api-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  margin-top: 14px;
}

.api-table th,
.api-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.api-table th { background: var(--surface-2); color: var(--faint); }
.api-table tr:last-child td { border-bottom: 0; }

.blog-post-section {
  padding: 56px 0 80px;
  border-top: 1px solid var(--line);
}

.blog-post-wrap { max-width: 70ch; }
.blog-back { margin-bottom: 30px; }
.blog-post-title { font-size: clamp(1.9rem, 3.5vw, 2.85rem); margin-bottom: 14px; }

.blog-post-meta {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-post-content {
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.78;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -.02em;
}

.blog-post-content h2 { font-size: 1.5rem; }
.blog-post-content h3 { font-size: 1.2rem; }
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.blog-post-content ul,
.blog-post-content ol { margin: 0 0 18px 20px; }
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent-line);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
}

.blog-post-more {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 54px 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 42px;
}

.footer-tagline {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.footer-col-h { color: var(--faint); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-col a,
.footer-col span { color: var(--ink-2); font-size: .92rem; }
.footer-col a:hover { color: var(--accent-ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.error-code {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

@media (max-width: 1080px) {
  .hero-bottom,
  .om-grid,
  .contact-layout,
  .api-docs-grid,
  .wizard-wrap,
  .cta-band-inner { grid-template-columns: 1fr; }

  .cta-band-inner { justify-items: start; }

  .prosess-grid,
  .tenester-grid,
  .sosial-grid,
  .portfolio-grid,
  .blog-grid,
  .api-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .api-sidebar,
  .wizard-side { position: static; }

  .api-sidebar { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 32px, 1180px); }
  .navbar { max-height: 100dvh; overflow-y: auto; }
  .nav-inner { flex-wrap: wrap; gap: 12px; }

  .nav-links,
  .nav-right {
    display: none;
    flex: 0 0 100%;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-block: 6px 12px;
    border-top: 1px solid var(--line-soft);
  }

  .nav-right.open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
  }

  .nav-right.open .nav-cta { margin-left: auto; }
  .nav-links.open a { min-height: 44px; padding-inline: 14px; border-radius: var(--r-sm); }
  .hamburger { display: flex; margin-left: auto; }

  .hero::before { display: none; }
  .hero-h1 { max-width: none; font-size: clamp(2.25rem, 9vw, 3.2rem); }
  .hero-lede { font-size: 1rem; }

  .hero-stats,
  .prosess-grid,
  .tenester-grid,
  .sosial-grid,
  .portfolio-grid,
  .blog-grid,
  .api-model-grid,
  .type-grid,
  .field-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .review-row { grid-template-columns: 1fr; gap: 6px; }

  .form-card,
  .info-card,
  .wizard-card,
  .wizard-side,
  .founder-note { padding: 22px; }

  .wizard-btns { flex-wrap: wrap; }
  .wizard-next { margin-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { width: auto; justify-content: center; flex-wrap: wrap; }
}

/* ==========================================================================
   Justeringar for den omstrukturerte forsida
   ========================================================================== */

/* Prosessen er ei ORDNA liste — rekkjefølgja er sjølve poenget. */
ol { list-style: none; }

/* Nøkkeltala er ei definisjonsliste: <dt> er etiketten, <dd> er talet.
   Semantisk må <dt> kome først, men visuelt skal talet stå øvst — difor
   order i staden for å snu DOM-rekkjefølgja. */
.stat { display: flex; flex-direction: column; }
.stat-val { order: -1; }
.stat-val, .stat-key { margin-inline: 0; }

/* Fotnota under hero (var inline style). */
.hero-note {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
}

/* Venstrestilt "sjå alle"-lenke under ein seksjon (var inline margin-top). */
.section-action { margin-top: 26px; }

/* Kundeord er no <figure>/<blockquote>/<figcaption>; namn og rolle er
   <span> og treng eksplisitt blokk-visning. */
.sosial-name, .sosial-who { display: block; }
.sosial-quote { font-style: normal; }
.sosial-card { display: flex; flex-direction: column; }
.sosial-meta { margin-top: auto; }

/* Prosess-delen på /om er ein eigen seksjon (eige <h2>), men skal ikkje
   få dobbelt seksjonsluft mot prinsippa over. */
.om-section-prosess { padding-top: 0; }
/* Apple-inspired web composition. Shared semantics and theme tokens live in system.css. */
body { background: var(--canvas); }
:root { --section-y: clamp(64px, 9vw, 120px); --gap: 24px; }
.hero-eye, .section-eye, .cta-eye, .portfolio-kind, .blog-date, .stat-key,
.footer-col-h, .footer-bottom, .wizard-side-eye, .wizard-progress-label,
.field-label, .review-key, .section-tag, .success-step-t {
  font-family: var(--font); letter-spacing: 0; text-transform: none;
  font-size: .875rem; font-weight: 600;
}
.navbar { background: color-mix(in srgb, var(--canvas) 94%, transparent); border-color: var(--line); }
.nav-inner { min-height: 76px; gap: 12px; }
.nav-links a { font-size: .8125rem; padding-inline: 10px; }
.nav-logo img { height: 28px; }
.nav-cta { min-height: 36px; font-weight: 500; }
.hero { padding: clamp(64px, 8vw, 112px) 0 0; text-align: center; overflow: hidden; }
.hero::before { display: none; }
.hero-eye { color: var(--muted); margin-bottom: 24px; }
.hero-eye-dot { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.hero-h1 { max-width: 1000px; margin-inline: auto; font-size: clamp(2.75rem, 6.7vw, 6rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 650; }
.hero-emphasis { color: var(--accent-ink); }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 60px; margin-top: 30px; }
.hero-lede { max-width: 640px; margin-inline: auto; color: var(--muted); font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.65; }
.hero-btns { justify-content: center; gap: 16px; margin-top: 28px; }
.hero-btns a { min-height: 48px; padding-inline: 24px; font-weight: 500; }
.hero-btns .btn-secondary { background: transparent; color: var(--accent-ink); border-color: transparent; }
.hero-stats { width: 100%; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; padding-block: 30px; }
.stat { align-items: center; justify-content: center; min-height: 94px; padding: 12px 20px; background: transparent; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-val { font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 600; letter-spacing: -.05em; }
.stat-key { margin-top: 10px; font-weight: 400; color: var(--muted); }
.hero-note { margin: 0 0 30px; font-family: var(--font); }
.capabilities-strip { background: var(--surface); border-block: 1px solid var(--line); }
.capabilities-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 64px; padding-block: 22px; }
.capabilities-inner a { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: .9375rem; font-weight: 600; }
.capabilities-inner a span { color: var(--accent-ink); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-h2, .page-hero h1 { font-size: clamp(2.25rem,4.4vw,4rem); line-height: 1.08; letter-spacing: -.05em; }
.section-eye { color: var(--muted); margin-bottom: 16px; }
.section-eye-dot { display: none; }
.section-lede, .page-hero p { font-size: 1.125rem; line-height: 1.65; }
.tenester-card, .sosial-card, .blog-card { padding: 34px; box-shadow: none; border-color: transparent; border-radius: 26px; }
.tenester-card { min-height: 360px; }
.tenester-card-top { font-family: var(--font); letter-spacing: 0; font-size: .875rem; }
.tenester-card-top span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); }
.tenester-card-top span:last-child { font-size: 1.5rem; }
.tenester-card h3 { margin-top: 32px; font-size: 1.5rem; letter-spacing: -.035em; }
.tenester-card p { font-size: 1rem; }
.tenester-items { margin-top: 24px; }
.portfolio-section, .prosess-section { background: var(--surface); border: 0; }
.portfolio-card { border-radius: 26px; border: 1px solid var(--line); box-shadow: none; overflow: hidden; }
.portfolio-visual { min-height: 260px; }
.portfolio-body { padding: 28px; }
.portfolio-title { font-size: 1.5rem; }
.sosial-quote, .founder-quote { font-family: var(--font); font-size: 1.25rem; line-height: 1.55; letter-spacing: -.02em; }
.sosial-quote-mark { color: var(--accent-ink); }
.sosial-card { gap: 24px; }
.prosess-step { padding: 28px; border: 0; border-radius: 0; box-shadow: none; background: transparent; border-top: 2px solid var(--line); }
.prosess-num { background: transparent; color: var(--accent-ink); font-family: var(--font); font-size: 2rem; letter-spacing: -.04em; }
.prosess-step h3 { margin-top: 24px; font-size: 1.25rem; }
.blog-card { border: 1px solid var(--line); background: transparent; }
.blog-card h3 { font-size: 1.5rem; margin-block: 22px; }
.cta-band { background: var(--surface); border: 0; padding-block: 100px; }
.cta-band-inner { flex-direction: column; text-align: center; gap: 30px; }
.cta-band-text { max-width: 760px; }
.cta-eye { color: var(--muted); }
.cta-h { font-size: clamp(2.5rem,5vw,4.5rem); letter-spacing: -.055em; }
.cta-lede { margin-inline: auto; font-size: 1.125rem; }
.footer { background: var(--canvas); padding-top: 64px; }
.footer-col-h { color: var(--ink); }
.footer-bottom { font-size: .75rem; font-weight: 400; }
.page-hero { text-align: center; background: var(--surface); padding-block: 80px; border: 0; }
.page-hero h1, .page-hero p { margin-inline: auto; max-width: 800px; }
.service-row { padding: clamp(24px,5vw,56px); border: 0; box-shadow: none; border-radius: 28px; }
.service-row + .service-row { margin-top: 24px; }
.service-row-n { font-family: var(--font); font-size: 1rem; letter-spacing: 0; }
.service-row h2 { font-size: clamp(1.75rem,3vw,2.5rem); letter-spacing: -.04em; }
.service-row p { font-size: 1.125rem; max-width: 65ch; }
.prinsipp-item, .om-step-body, .founder-note { box-shadow: none; border-color: transparent; padding: 32px; }
.kontakt-section > .container > .section-head { margin-inline: auto; text-align: center; }
.wizard-card { padding: clamp(24px,4vw,48px); box-shadow: var(--shadow-md); border-color: transparent; border-radius: 28px; }
.wizard-side { background: transparent; border: 0; box-shadow: none; }
.wizard-h { font-size: 1.75rem; letter-spacing: -.04em; }
.type-card { border-radius: 16px; padding: 22px; }
.wizard-input, .wizard-textarea, .wizard-select { border-radius: 12px; font-size: 1rem; }
.api-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.api-sidebar a { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: .875rem; }
.api-endpoint, .api-model-grid article { box-shadow: none; padding: 28px; }
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-inner { flex-wrap: wrap; padding-block: 12px; }
  .nav-links { order: 3; flex-basis: 100%; justify-content: center; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero { padding-top: 60px; }
  .hero-h1 { font-size: clamp(2.5rem,9vw,4.5rem); }
  .hero-bottom { gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 20px; }
  .stat:nth-child(3) { border-left: 0; }
  .capabilities-inner { gap: 0; justify-content: stretch; }
  .capabilities-inner a { flex: 1 1 100%; justify-content: space-between; padding: 12px 8px; }
  .capabilities-inner a + a { border-top: 1px solid var(--line); }
  .section-head { margin-bottom: 28px; }
  .tenester-card { min-height: auto; padding: 28px; }
  .page-hero { padding-block: 56px; }
  .cta-band { padding-block: 64px; }
  .nav-cta, .lang-btn, .theme-toggle, .nav-portal { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce) { .navbar { background: var(--canvas); backdrop-filter: none; } }
@media (min-width: 861px) {
  .service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .service-row-items { margin-top: 0; grid-template-columns: 1fr; }
  .service-row-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-block: 18px; }
}

/* Studio composition: editorial layout, neutral actions, content-led navigation. */
:root { --studio-rule: var(--line); }
.navbar { background: var(--canvas); backdrop-filter: none; border-bottom: 0; }
.nav-inner { min-height: 100px; border-bottom: 1px solid var(--line); gap: 36px; }
.studio-wordmark { display: flex; align-items: baseline; gap: 6px; font-size: 2.125rem; font-weight: 750; letter-spacing: -.09em; color: var(--ink); }
.studio-wordmark span { font-size: .8125rem; letter-spacing: -.025em; color: var(--muted); font-weight: 500; }
.nav-links { justify-content: center; }
.nav-links a { font-size: .875rem; font-weight: 500; }
.nav-links a.active { color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 7px; }
.nav-cta { border-radius: 8px; }
.hero-eye-dot, .section-eye-dot { display: none; }
.studio-hero { padding-top: 58px; }
.studio-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: clamp(32px,5vw,76px); align-items: center; }
.studio-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .8125rem; font-weight: 500; letter-spacing: .015em; }
.studio-intro .studio-eyebrow span { border-left: 1px solid var(--line-strong); padding-left: 12px; }
.studio-intro h1 { margin-top: 34px; font-size: clamp(3rem,5.7vw,5.5rem); letter-spacing: -.065em; line-height: 1.035; font-weight: 550; text-wrap: balance; }
.studio-intro h1 em { color: var(--muted); font-style: normal; }
.type-caret {
  display: inline-block;
  width: .06em;
  height: .82em;
  margin-left: .05em;
  vertical-align: -.06em;
  background: var(--muted);
  animation: type-blink 1s steps(1) infinite;
}
@keyframes type-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.studio-lede { max-width: 49ch; margin-top: 28px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.studio-actions .btn-primary { border-radius: 8px; min-height: 52px; padding-inline: 24px; font-weight: 500; gap: 24px; }
.studio-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: .9375rem; font-weight: 550; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.studio-text-link:hover { text-decoration-color: currentColor; }
.studio-directory { position: relative; padding: 30px; background: var(--surface-3); border-radius: 4px 4px 64px 4px; overflow: hidden; min-height: 470px; display: flex; flex-direction: column; }
.directory-caption { display: flex; justify-content: space-between; gap: 16px; font-size: .75rem; color: var(--muted); padding-bottom: 25px; border-bottom: 1px solid var(--line-strong); }
.directory-title { margin-block: 28px; font-size: clamp(1.875rem,3vw,2.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.05em; }
.directory-services a { display: grid; grid-template-columns: 24px 1fr 20px; align-items: center; gap: 14px; border-top: 1px solid var(--line-strong); padding-block: 18px; color: var(--ink); font-size: .9375rem; font-weight: 550; }
.directory-services a:hover { background: var(--surface-2); }
.directory-number { color: var(--muted); font-size: .75rem; font-weight: 400; }
.directory-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 20px; margin-top: auto; }
.directory-foot span { max-width: 22ch; font-size: .8125rem; color: var(--muted); }
.directory-foot svg { width: 62px; height: 62px; color: var(--ink-2); flex: none; }
.studio-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-block: 24px; border-block: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.studio-bottom a { display: flex; align-items: center; gap: 20px; min-height: 44px; color: var(--ink); }
.studio-services,.studio-work,.studio-process,.studio-journal { padding-block: 100px; }
.studio-google { padding-block: 80px; border-top: 1px solid var(--line); }
.studio-google-copy p { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 20px; }
.studio-split { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(32px,7vw,100px); }
.studio-section-intro h2,.studio-section-bar h2 { margin-top: 20px; font-size: clamp(2rem,3.3vw,3.25rem); font-weight: 500; line-height: 1.1; letter-spacing: -.05em; text-wrap: balance; }
.studio-section-intro > p:not(.studio-eyebrow) { margin-top: 24px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.studio-section-intro > a { margin-top: 26px; }
.service-disclosures details { border-bottom: 1px solid var(--line); }
.service-disclosures details:first-child { border-top: 1px solid var(--line); }
.service-disclosures summary { display: flex; align-items: center; gap: 22px; padding-block: 28px; cursor: pointer; list-style: none; }
.service-disclosures summary::-webkit-details-marker { display: none; }
.disclosure-number { color: var(--muted); font-size: .8125rem; }
.service-disclosures h3 { flex: 1; font-size: 1.5rem; font-weight: 500; letter-spacing: -.025em; }
.disclosure-symbol { position: relative; width: 20px; height: 20px; flex: none; }
.disclosure-symbol::before,.disclosure-symbol::after { content: ''; position: absolute; background: var(--ink); width: 16px; height: 1px; top: 10px; left: 2px; }
.disclosure-symbol::after { transform: rotate(90deg); }
.service-disclosures details[open] .disclosure-symbol::after { display: none; }
.disclosure-content { padding: 0 0 30px 42px; }
.disclosure-content > p { color: var(--muted); max-width: 54ch; line-height: 1.7; }
.disclosure-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-block: 24px; list-style: none; }
.disclosure-content li { font-size: .875rem; padding-left: 16px; position: relative; }
.disclosure-content li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
.studio-work { background: var(--surface-2); }
.studio-section-bar { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.studio-section-bar h2 { max-width: 650px; }
.studio-project { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 56px; align-items: center; }
.studio-project + .studio-project { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.studio-project:nth-child(even) .project-preview { order: 2; }
.project-preview { background: var(--surface); padding: 22px 28px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); }
.project-window-bar { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.project-art { min-height: 220px; display: flex; align-items: center; justify-content: center; margin-top: 22px; background: var(--plate); border-radius: 4px; }
.project-art svg { width: min(80%,340px); height: auto; }
.project-preview-name { display: block; padding-top: 20px; font-size: .875rem; font-weight: 550; }
.project-info h3 { margin-block: 20px; font-size: clamp(1.875rem,3vw,2.75rem); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; }
.project-info > p { color: var(--muted); line-height: 1.7; max-width: 45ch; }
.project-info > a { margin-top: 22px; }
.studio-timeline { list-style: none; }
.studio-timeline li { display: grid; grid-template-columns: 46px 1fr; gap: 22px; position: relative; padding-bottom: 36px; }
.studio-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; background: var(--line); }
.timeline-number { display: grid; place-items: center; height: 46px; width: 46px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .8125rem; }
.studio-timeline h3 { font-size: 1.25rem; font-weight: 550; padding-top: 8px; }
.studio-timeline p { color: var(--muted); line-height: 1.7; margin-top: 12px; }
.studio-quotes { background: var(--surface-3); padding-block: 64px; }
.studio-quote-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 30px; }
.studio-quote-grid figure { margin: 0; display: flex; flex-direction: column; }
.studio-quote-grid blockquote { font-size: 1.125rem; line-height: 1.6; letter-spacing: -.02em; margin: 0 0 30px; }
.studio-quote-grid figcaption { margin-top: auto; font-size: .8125rem; }
.studio-quote-grid figcaption span { display: block; margin-top: 6px; color: var(--muted); }
.journal-list a { display: grid; grid-template-columns: 1fr 24px; gap: 12px; border-top: 1px solid var(--line); padding-block: 28px; }
.journal-list a:last-child { border-bottom: 1px solid var(--line); }
.journal-list time { grid-column: 1/-1; font-size: .8125rem; color: var(--muted); }
.journal-list h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.025em; }
.studio-contact { padding-block: 70px; background: var(--surface-3); }
.studio-contact-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 30px 44px; border-bottom: 1px solid var(--line-strong); }
.studio-contact h2 { max-width: 850px; font-size: clamp(2.75rem,6vw,6rem); line-height: 1.04; font-weight: 500; letter-spacing: -.06em; }
.contact-arrow { display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 3rem; flex: none; }
.contact-arrow:hover { background: var(--ink); color: var(--canvas); }
.studio-contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 26px; }
.studio-contact-bottom p { max-width: 55ch; color: var(--muted); }
.studio-contact-bottom a { font-size: 1.25rem; white-space: nowrap; }
.page-hero { text-align: left; background: var(--canvas); padding-block: 70px 52px; }
.page-hero .container { border-bottom: 1px solid var(--line); padding-bottom: 46px; }
.page-hero h1,.page-hero p { margin-left: 0; }
.page-hero h1 { max-width: 900px; font-weight: 500; font-size: clamp(2.75rem,5vw,4.75rem); }
.portfolio-grid { grid-template-columns: 1fr; gap: 40px; }
.portfolio-card { display: grid; grid-template-columns: 1.2fr 1fr; border: 0; background: transparent; border-radius: 0; align-items: center; }
.portfolio-card .portfolio-visual { min-height: 340px; border-radius: 8px; }
.portfolio-card .portfolio-body { padding: 40px; }
.portfolio-card .portfolio-title { font-size: 2rem; font-weight: 500; }
.blog-grid { grid-template-columns: 1fr; }
.blog-card { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); padding: 30px 0; }
.service-row { border-radius: 0; border-top: 1px solid var(--line); background: transparent; box-shadow: none; padding-inline: 0; }
.footer { border-top: 0; }
@media(min-width:861px) and (max-width:1100px) { .nav-inner { gap: 20px; }.studio-hero-grid { gap: 32px; }.studio-intro h1 { font-size: 3.5rem; } }
@media(max-width:860px) {
  .nav-inner { min-height: 78px; gap: 16px; }.studio-wordmark { font-size: 1.875rem; }
  .studio-hero { padding-top: 32px; }.studio-hero-grid,.studio-split { grid-template-columns: 1fr; gap: 40px; }
  .studio-intro h1 { font-size: clamp(2.75rem,10vw,4rem); margin-top: 26px; }.studio-lede { font-size: 1rem; }
  .studio-directory { min-height: 0; padding: 24px; border-radius: 4px 4px 40px 4px; }.directory-title { font-size: 2rem; }
  .studio-bottom { margin-top: 32px; }.studio-bottom > span { max-width: 25ch; }
  .studio-services,.studio-work,.studio-process,.studio-journal { padding-block: 58px; }
  .studio-section-bar { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .studio-project { grid-template-columns: 1fr; gap: 26px; }.studio-project:nth-child(even) .project-preview { order: 0; }
  .studio-project + .studio-project { margin-top: 36px; padding-top: 36px; }.project-preview { padding: 18px; }.project-art { min-height: 200px; }
  .studio-quote-grid { grid-template-columns: 1fr; gap: 30px; }.studio-quote-grid figure + figure { border-top: 1px solid var(--line-strong); padding-top: 30px; }
  .disclosure-content { padding-left: 0; }.disclosure-content ul { grid-template-columns: 1fr; }.service-disclosures summary { gap: 14px; }.service-disclosures h3 { font-size: 1.25rem; }
  .studio-contact-row { gap: 20px; }.contact-arrow { width: 60px; height: 60px; font-size: 2rem; }.studio-contact h2 { font-size: clamp(2rem,8vw,3rem); }
  .studio-contact-bottom { align-items: start; flex-direction: column; gap: 22px; }.portfolio-card { grid-template-columns: 1fr; }.portfolio-card .portfolio-body { padding: 28px 0; }
}
.nav-logo .studio-wordmark { color: var(--ink); }
.service-row { scroll-margin-top: 120px; }

/* ============================================================================
   Cookie consent (views/public/_cookie-consent.ejs, public/js/cookie-consent.js)
   Bare tokens fra system.css. "Godta alle" og "Avvis" er begge .btn-primary:
   lik vekt er eit krav (Datatilsynet / ePrivacy).
   ========================================================================= */
.cc[hidden], .cc [hidden] { display: none !important; }
.cc-backdrop {
  position: fixed; inset: 0; z-index: 1190;
  background: color-mix(in srgb, var(--canvas) 72%, transparent);
}
.cc-dialog {
  position: fixed; z-index: 1200;
  left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  max-width: 760px; margin-inline: auto;
  max-height: calc(100vh - 2 * var(--s-4)); max-height: calc(100dvh - 2 * var(--s-4));
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s-6);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.cc-modal .cc-dialog { top: 50%; bottom: auto; transform: translateY(-50%); max-width: 560px; }
.cc-dialog:focus { outline: none; }
.cc-title { font-size: var(--t-lg); line-height: var(--lh-snug); font-weight: 650; color: var(--ink); margin-bottom: var(--s-2); }
.cc-text { color: var(--ink-2); font-size: var(--t-sm); line-height: var(--lh-body); }
.cc-text a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.cc-actions button { flex: 1 1 180px; white-space: normal; text-align: center; }
.cc-cats { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.cc-cat { padding: var(--s-4); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.cc-cat-title { font-weight: 650; color: var(--ink); font-size: var(--t-base); }
.cc-cat-desc { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-xs); line-height: var(--lh-body); }
.cc-cat input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--accent); flex: none; cursor: pointer; }
.cc-cat input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .7; }
.cc-view-settings { position: relative; padding-right: var(--s-8); }
.cc-close {
  position: absolute; top: 0; right: 0;
  width: var(--tap-min); height: var(--tap-min);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); color: var(--ink-2); font-size: 1.5rem; line-height: 1;
}
.cc-close:hover { background: var(--surface-2); color: var(--ink); }
.cc-view-settings { padding-right: 0; }
.cc-view-settings .cc-title { padding-right: var(--tap-min); }
button[data-cookie-settings], a[data-cookie-settings] { cursor: pointer; }
@media (max-width: 560px) {
  .cc-dialog { left: var(--s-2); right: var(--s-2); bottom: var(--s-2); padding: var(--s-4); }
  .cc-actions button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .cc-dialog { animation: cc-in .2s var(--ease); }
  @keyframes cc-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
}

/* Vennlege feilsider (utils/feil.js) */
.feil-section { min-height: 60vh; display: grid; place-items: center; padding: 72px 0; }
.feil-wrap { max-width: 620px; text-align: center; }
.feil-wrap .section-lede { margin-inline: auto; }
.feil-actions { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.feil-avansert { margin-top: 36px; text-align: left; font-size: .875rem; color: var(--muted); }
.feil-avansert summary { cursor: pointer; text-align: center; color: var(--muted); }
.feil-avansert dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 0; word-break: break-word; }
.feil-avansert dt { font-weight: 650; color: var(--ink-2); }
.feil-avansert dd { margin: 0; font-family: var(--font-mono); }
.feil-avansert pre { white-space: pre-wrap; word-break: break-word; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sunk); font-family: var(--font-mono); font-size: .8rem; }

/* /api på mobil: lange kodeeksempel og tabellar skal scrolle, ikkje sprenge sida */
.api-section { min-width: 0; }
.api-docs-grid > * { min-width: 0; }
.api-section pre { max-width: 100%; }
.api-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

.blog-lang-note { font-size: .875rem; color: var(--faint); font-style: italic; }
@media (max-width: 1080px) {
  .api-docs-grid { grid-template-columns: minmax(0, 1fr); }
  .api-section code { overflow-wrap: anywhere; }
  .api-section pre code { overflow-wrap: normal; }
}
.api-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .api-hero h1 { font-size: clamp(1.75rem, 9vw, 2.4rem); } }

/* Telefon (tel:-lenke): skjemaet er hovudhandlinga, telefonen er eit lågmælt val for dei som vil snakke med meg */
.nav-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  min-height: 44px; color: var(--muted); font-size: .8125rem; font-weight: 500; white-space: nowrap; text-decoration: none;
}
.nav-phone:hover, .nav-phone:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav-phone-icon { flex: none; }
@media (max-width: 860px) {
  .nav-phone { margin-left: auto; min-width: 44px; }
  .nav-phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-phone-icon { width: 20px; height: 20px; }
  .nav-inner .hamburger { margin-left: 0; }
}
@media (max-width: 420px) { .nav-inner { gap: 4px; } }

.talk-line { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.talk-line-link { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.talk-line-link:hover, .talk-line-link:focus-visible { color: var(--accent-ink); text-decoration-color: currentColor; }
.talk-line-num { white-space: nowrap; }
.talk-line-hero { margin-top: 18px; }
.talk-line-cta { font-size: .9375rem; }
.talk-line-contact { margin: 28px auto 0; max-width: 1180px; text-align: center; }

.studio-contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 860px) { .studio-contact-links { align-items: flex-start; } }

.phone-line { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.phone-line-label { color: var(--muted); }
.phone-line-link { color: var(--ink-2); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.phone-line-link:hover, .phone-line-link:focus-visible { color: var(--accent-ink); }
.phone-line-note { display: block; color: var(--faint); font-size: .8rem; }
.footer-col .phone-line, .footer-col .phone-line-link { font-size: .92rem; }
