/* eit.no – presentasjonsnettside. Samme formspråk som appen: mørkt/lyst, oransje signalfarge,
   IBM Plex Sans Condensed + IBM Plex Mono (SIL Open Font License, se fonts/OFL-IBM-Plex.txt). */
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "PlexMono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "PlexMono"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0e1013; --ink2: #171a1f; --ink3: #2a2f37;
  --paper: #ffffff; --soft: #f2f3f5; --line: #dde1e6;
  --text: #14171c; --muted: #59636e; --on-dark: #e9ecef; --on-dark-muted: #9aa3ae;
  --acc: #ff7a2f; --acc-ink: #0e1013; --acc-text: #b2410a;
  --ok: #1e7a46;
  --font: "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "PlexMono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--acc-text); }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid #2f62e8; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Merke og knapper */
.badge { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 11px; background: var(--acc); color: var(--acc-ink); font: 600 1rem/1 var(--mono); letter-spacing: .06em; }
.badge.sm { height: 26px; padding: 0 7px; border-radius: 8px; font-size: .8rem; margin-right: 6px; vertical-align: middle; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.btn:hover { filter: brightness(1.06); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker .dot { width: 10px; height: 10px; border-radius: 5px; background: var(--acc); }

/* Toppfelt */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 16, 19, .92); backdrop-filter: blur(8px); color: var(--on-dark); border-bottom: 1px solid var(--ink3); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 600; }
.brand-t { white-space: nowrap; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
.bar .btn { white-space: nowrap; }
.lang-link { color: var(--on-dark-muted); text-decoration: none; font: 600 .82rem/1 "PlexMono", monospace; letter-spacing: .06em; border: 1px solid currentColor; border-radius: 6px; padding: 5px 7px; white-space: nowrap; }
.lang-link:hover { color: var(--on-dark); }
@media (max-width: 900px) { .lang-link { margin-left: auto; } .bar .lang-link + .btn { margin-left: 0; } }
@media (max-width: 1240px) { .brand-t { display: none; } .top nav { gap: 18px; } }
.top nav a:hover { color: var(--on-dark); }
@media (max-width: 900px) { .top nav { display: none; } .bar .btn { margin-left: auto; } }
@media (max-width: 520px) { .brand-t { display: none; } }

/* Toppbilde */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: -.025em; }
.hero h1 span { color: var(--acc); }
.hero .lead { color: #c3c9d1; margin-top: 22px; }
.hero .kicker { color: var(--on-dark-muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.pills li { padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink3); color: #d4d8de; font-size: .92rem; }
.hero-phones { position: relative; height: 600px; }
.phone { border-radius: 36px; padding: 9px; background: var(--ink); box-shadow: 0 0 0 1px var(--ink3), 0 24px 60px rgba(0, 0, 0, .35); }
.phone img { border-radius: 28px; width: 100%; }
.hero-phones .phone { position: absolute; width: 270px; }
.hero-phones .back { right: 170px; top: 40px; transform: rotate(-4deg); opacity: .9; }
.hero-phones .front { right: 0; top: 0; transform: rotate(3deg); background: #1f232a; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 0; }
  .hero-phones { height: 420px; margin: 0 auto; width: 100%; max-width: 420px; }
  .hero-phones .phone { width: 210px; }
  .hero-phones .back { right: auto; left: 0; }
}

/* Seksjoner */
.sec { padding: 96px 0; }
.sec.alt { background: var(--soft); }
.sec.dark { background: var(--ink); color: var(--on-dark); }
.sec.dark .kicker { color: var(--on-dark-muted); }
@media (max-width: 700px) { .sec { padding: 64px 0; } }

.steps { list-style: none; padding: 0; margin: 28px 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--soft); border-radius: 24px; padding: 24px; }
.steps .n { display: inline-block; font: 600 2.4rem/1 var(--mono); color: var(--acc-text); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.shots { display: grid; gap: 28px; justify-content: center; }
.shots.three { grid-template-columns: repeat(3, minmax(0, 280px)); }
.shots.two { grid-template-columns: repeat(2, minmax(0, 260px)); }
.shots figure { margin: 0; }
figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .shots.three { grid-template-columns: repeat(3, 200px); justify-content: start; overflow-x: auto; padding-bottom: 8px; } .shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.grid { display: grid; gap: 16px; }
.feats { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 28px; }
.feats article { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.feats p { color: var(--muted); margin: 0; font-size: 1rem; }
.tagm { display: inline-block; font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); background: #fff1e8; padding: 6px 9px; border-radius: 8px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.goal { margin: 8px 0 22px; max-width: 420px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(14, 16, 19, .08); }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.check li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.sec.dark .check li::before { border-color: #5fd08a; }
.check.cols { columns: 2 320px; column-gap: 40px; margin-top: 36px; }
.check.cols li { break-inside: avoid; }

.desk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
@media (max-width: 800px) { .desk { grid-template-columns: 1fr; } }
.desk figure { margin: 0; }
.screen { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--ink3), 0 20px 50px rgba(0, 0, 0, .35); }
.sec.dark figcaption { text-align: left; color: var(--on-dark-muted); margin-top: 14px; }
.sec.dark figcaption b { color: var(--on-dark); font-weight: 600; }

.privacy { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 28px; }
.privacy article { background: var(--soft); border-radius: 22px; padding: 22px; }
.privacy p { color: var(--muted); margin: 0; font-size: 1rem; }

.contact { background: var(--acc); color: var(--acc-ink); padding: 72px 0; }
.contact .lead { color: #3a2010; }
.contact-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.contact h2 { margin-bottom: 10px; }
.contact .cta { margin-top: 0; }
.contact .btn { background: var(--ink); color: var(--on-dark); }
.contact .btn.ghost { background: transparent; color: var(--acc-ink); }

.foot { background: var(--ink); color: var(--on-dark-muted); padding: 32px 0; font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.foot a { color: var(--on-dark); }
.foot .muted { color: #6b747f; font-size: .85rem; }

/* Fem telefoner i rad (ruller sidelengs på smale skjermer) */
.shots.five { grid-template-columns: repeat(5, minmax(0, 210px)); margin-top: 28px; }
@media (max-width: 1100px) { .shots.five { grid-template-columns: repeat(5, 190px); justify-content: start; overflow-x: auto; padding-bottom: 8px; } }
.sec .lead + .grid.desk { margin-top: 32px; }
.paper { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(14, 16, 19, .16); }
#attest .shots.two { grid-template-columns: minmax(0, 300px) minmax(0, 230px); align-items: center; }
@media (max-width: 700px) { #attest .shots.two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* Bilder kan klikkes for å se dem større */
main img.zoom { cursor: zoom-in; }
main img.zoom:focus-visible { outline: 3px solid #2f62e8; outline-offset: 4px; }
.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; background: transparent; }
.lightbox::backdrop { background: rgba(8, 9, 11, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 72px 24px; max-width: 100vw; max-height: 100dvh; }
.lightbox img { max-width: calc(100vw - 144px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; cursor: zoom-out; }
.lightbox figcaption { color: #e9ecef; text-align: center; max-width: 720px; font-size: 1rem; margin: 0; }
.lightbox figcaption .n { color: #9aa3ae; font: 500 .85rem/1 var(--mono); margin-left: 8px; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 400 2rem/1 var(--font); cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox figure { padding: 64px 12px 84px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 170px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
html.lb-open { overflow: hidden; }

/* Undersider (priser, databehandleravtale) */
.page-head { background: var(--ink); color: var(--on-dark); padding: 64px 0 56px; }
.page-head .lead { color: var(--on-dark-muted); }
.page-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.top nav a.on { color: var(--on-dark); }

/* Priser */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 480px; } }
.price { background: var(--paper); border-radius: 24px; padding: 28px 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.price.hl { box-shadow: inset 0 0 0 2.5px var(--acc), 0 18px 44px rgba(14, 16, 19, .10); }
.price .who { font: 600 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price .amt { font: 600 3rem/1 var(--mono); letter-spacing: -.03em; margin: 8px 0 4px; }
.price .amt small { font: 500 1rem/1 var(--font); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .per { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.price .check { margin: 4px 0 22px; font-size: 1rem; }
.price .btn { margin-top: auto; }
.price .pop { align-self: flex-start; background: var(--acc); color: var(--acc-ink); border-radius: 999px; padding: 4px 12px; font: 600 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.note-box { background: var(--soft); border-radius: 18px; padding: 18px 22px; margin-top: 22px; color: var(--muted); }
.faq { max-width: 820px; margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 500 1.4rem/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Driftsløfte */
.promise { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 28px; }
.promise article { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.promise article b.n { display: block; font: 600 1.9rem/1 var(--mono); color: var(--acc-text); margin-bottom: 10px; letter-spacing: -.02em; }
.promise p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Avtaletekst */
.legal { max-width: 820px; font-size: 1.02rem; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text, inherit); }
.legal ol, .legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal .fill { background: #fff4c7; border-radius: 4px; padding: 0 4px; font-family: var(--mono); font-size: .92em; }
.legal table { border-collapse: collapse; width: 100%; margin: 8px 0 18px; font-size: .96rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal th { font: 600 .78rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal .sign { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.legal .sign div { border-top: 1px solid currentColor; padding-top: 8px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media print {
  .top, .foot, .doc-actions, .page-head .kicker { display: none !important; }
  .page-head { background: none; color: #000; padding: 0 0 10px; }
  .page-head .lead { color: #333; }
  .sec { padding: 0 !important; }
  .legal { max-width: none; font-size: 10.5pt; }
  .legal h2 { break-after: avoid; margin-top: 18pt; }
  .legal table, .legal li { break-inside: avoid; }
  .legal h3 { break-after: avoid; }
  body { background: #fff; }
}
