:root {
  --bg: #F7F5F2;
  --bg-alt: #EFEBE5;
  --hero-a: #D6E8E4;
  --hero-b: #F7F5F2;
  --card: #FFFFFF;
  --ink: #1F2422;
  --muted: #5B635F;
  --line: #E3DFD9;
  --teal: #2F6F6A;
  --on-teal: #FFFFFF;
  --accent: #E9A15F;
  --frame: #1F2422;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161716;
    --bg-alt: #1D1E1C;
    --hero-a: #1B3834;
    --hero-b: #161716;
    --card: #21211F;
    --ink: #ECEAE6;
    --muted: #A9AEAA;
    --line: #34332F;
    --teal: #7FC3BA;
    --on-teal: #10201E;
    --frame: #3A3B38;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--teal); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2 { line-height: 1.15; letter-spacing: -0.015em; }

/* Innholdsbredde: bred nok til å fylle store skjermer, med luft på sidene. */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px); }

/* ---------- topp ---------- */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.top-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand span { font-weight: 700; font-size: 21px; }
.toplink { text-decoration: none; font-weight: 600; }

/* ---------- bånd i full bredde ---------- */
.band { width: 100%; }
.band-plain { background: var(--bg); }
.band-alt { background: var(--bg-alt); }
.band-hero { background: linear-gradient(150deg, var(--hero-a) 0%, var(--hero-a) 25%, var(--hero-b) 85%); }

/* ---------- telefonramme ---------- */
.phone {
  border: 9px solid var(--frame);
  border-radius: 38px;
  overflow: hidden;
  background: var(--frame);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.16);
}
.phone img { border-radius: 29px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: min(92vh, 860px);
  padding-top: 110px; padding-bottom: 72px;
}
h1 { font-size: clamp(34px, 4.4vw, 68px); margin: 0 0 20px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.badge {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--teal); color: var(--on-teal); font-weight: 600;
}
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); }
.checks li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }

.hero-phones { position: relative; height: clamp(520px, 48vw, 780px); }
.hero-phones .phone { position: absolute; width: clamp(220px, 20vw, 340px); }
.hero-phones .ph-back { right: 4%; top: 0; }
.hero-phones .ph-front { left: 6%; top: 64px; z-index: 1; }

/* ---------- funksjoner ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px);
}
.feature .phone { width: clamp(240px, 23vw, 360px); justify-self: center; }
.feature.flip .feature-text { order: 2; }
.feature-text { max-width: 620px; }
.kicker { margin: 0 0 6px; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: 14px; }
.feature h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 0 0 16px; }
.feature p { margin: 0; color: var(--muted); }
.paper { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 40px rgb(0 0 0 / 0.12); background: #fff; }
.feature.report .paper { justify-self: stretch; }

/* ---------- personvern ---------- */
.privacy { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.privacy h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 0 0 32px; }
.pillars { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.pillars li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--muted); }
.pillars strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 19px; }
.privacy p { margin: 0; }

.note { font-size: 15px; color: var(--muted); margin: 0 auto; padding: 8px 0 48px; max-width: 680px; text-align: center; }

/* ---------- personvernside ---------- */
main.doc { max-width: 800px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 48px; }
.doc h1 { font-size: clamp(28px, 3vw, 38px); }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.back { display: inline-block; margin-bottom: 16px; text-decoration: none; }
.doc li { margin-bottom: 4px; }
.doc-foot { max-width: 800px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { padding-top: 24px; padding-bottom: 40px; }
footer a { margin-right: 16px; }

/* ---------- mobil og nettbrett ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .top { position: static; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; padding-bottom: 48px; gap: 32px; }
  .hero-phones { height: 460px; max-width: 380px; margin: 0 auto; width: 100%; }
  .hero-phones .phone { width: 190px; }
  .hero-phones .ph-front { left: 0; top: 48px; }
  .hero-phones .ph-back { right: 0; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature-text { max-width: none; }
  .feature .phone { width: 230px; }
  .pillars { grid-template-columns: 1fr; }
}
