:root {
  --navy: #081838;
  --navy-2: #12306A;
  --sky: #286EBE;
  --ice: #EAF3FC;
  --card: #FFFFFF;
  --ink: #14223D;
  --muted: #5B6A82;
  --rose: #E23B5C;
  --radius: 24px;
  --shadow: 0 12px 34px rgba(8, 24, 56, 0.12);
  --font: "Avenir Next", "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top.solid { position: static; background: var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top .logo img { height: 36px; }
.top nav a { margin-left: 22px; text-decoration: none; color: #fff; font-weight: 600; font-size: 15px; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 560px) { .top nav a { margin-left: 14px; font-size: 14px; } .top .logo img { height: 30px; } }
@media (max-width: 420px) { .top nav a[href="#funksjoner"] { display: none; } }

/* Hero */
.hero {
  color: #fff;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 55%, var(--sky) 100%);
  padding: 120px 0 0;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero .text { padding-bottom: 90px; }
.hero .icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.08; margin: 26px 0 16px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; color: #C8DEFF; max-width: 500px; margin: 0 0 26px; }
.badge { display: inline-block; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; }
.press { margin-top: 28px; font-size: 14px; color: #A9C6EE; }
.press strong { color: #fff; }
.hero .phone { justify-self: center; width: min(330px, 74vw); margin-bottom: -60px; }
@media (max-width: 820px) {
  .hero { padding-top: 100px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .text { padding-bottom: 20px; }
  .hero .icon { margin: 0 auto; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
}

.phone {
  border-radius: 46px;
  border: 10px solid #121216;
  background: #121216;
  box-shadow: 0 24px 60px rgba(8, 24, 56, .45);
  overflow: hidden;
}

/* Sections */
section { padding: 110px 0 70px; }
section h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; text-align: center; }
section .intro { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 46px; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.shots .phone { border-width: 8px; border-radius: 38px; }
.shots figcaption { text-align: center; margin-top: 14px; font-weight: 600; }
@media (max-width: 720px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .shots figure { scroll-snap-align: center; }
}
figure { margin: 0; }

.quote { text-align: center; font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--navy); margin: 0; }
.quote span { display: block; font-size: 16px; font-weight: 600; color: var(--muted); margin-top: 6px; }

/* Documents */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.15; margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 38px 0 8px; text-align: left; }
.doc .meta { color: var(--muted); margin: 0 0 26px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid #E3EAF3; }
.doc th { background: #F3F7FC; }
.doc tr:last-child td { border-bottom: 0; }
@media (max-width: 620px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc tr:first-child { display: none; }
  .doc tr { border-bottom: 1px solid #E3EAF3; padding: 6px 0; }
  .doc td { border: 0; padding: 6px 16px; }
}
.contact { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin: 20px 0 10px; }
.contact a.badge { background: var(--navy); color: #fff; margin-top: 8px; }
details { background: var(--card); border-radius: 16px; padding: 16px 20px; margin: 12px 0; box-shadow: var(--shadow); }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { background: var(--navy); color: #A9C6EE; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer img { height: 28px; margin-bottom: 10px; }
footer a { color: #fff; margin-right: 18px; }
