/* Symvia: one stylesheet, system fonts, no external resources. */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f7f7;
  --bg-tint: #e6f0f0;
  --line: #d5e2e2;
  --text: #13262a;
  --text-soft: #46595d;
  --accent: #0b5d63;        /* petrol, 7.4:1 on white */
  --accent-strong: #08464b;
  --accent-soft: #d7ebeb;
  --on-accent: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 38, 42, .05), 0 8px 24px rgba(19, 38, 42, .06);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { 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;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 32px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 4px 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav a:hover { background: var(--bg-soft); color: var(--accent-strong); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-soft); max-width: 60ch; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); vertical-align: middle; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1.5px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--text-soft); max-width: 64ch; margin-bottom: 32px; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-soft); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }

/* Link cards on the front page */
.link-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.link-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); box-shadow: 0 2px 4px rgba(19,38,42,.06), 0 14px 32px rgba(19,38,42,.1); }
@media (prefers-reduced-motion: reduce) { .link-card, .link-card:hover { transition: none; transform: none; } }
.link-card .more { margin-top: auto; padding-top: 12px; font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.link-card .more svg { width: 18px; height: 18px; }
.card-kicker { font-size: .85rem; font-weight: 650; color: var(--accent); margin-bottom: 4px; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 12px; }
.steps li p { color: var(--text-soft); margin: 0; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .88rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text-soft); }

/* Packages */
.package h3 { margin-bottom: 4px; }
.package .for { font-size: .95rem; color: var(--text-soft); margin-bottom: 12px; }
.package .checks { font-size: .96rem; }

/* Panel modules */
.modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.modules li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.modules strong { display: block; }
.modules span { color: var(--text-soft); font-size: .93rem; }

/* Figure */
figure { margin: 0; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg); }
.shot img { display: block; width: 100%; height: auto; }
figcaption { font-size: .9rem; color: var(--text-soft); margin-top: 10px; }

/* Notes */
.note { border-left: 4px solid var(--accent); background: var(--bg-tint); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--text); }
.note p:last-child { margin: 0; }
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* CTA */
.cta { background: var(--accent); color: var(--on-accent); border-radius: 18px; padding: 40px 32px; }
.cta h2 { color: var(--on-accent); }
.cta p { color: #e3f1f1; max-width: 60ch; }
.cta a { color: var(--on-accent); }

/* Prose (privacy page) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: #0e2427; color: #d3e3e3; padding: 48px 0 32px; margin-top: 0; }
.site-footer a { color: #ffffff; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font-size: 1rem; color: #ffffff; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .small { font-size: .88rem; color: #a9c2c2; margin-top: 32px; border-top: 1px solid #23454a; padding-top: 20px; }

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding: 44px 0 36px; }
  section { padding: 44px 0; }
  .site-header { position: static; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 8px; }
  .nav a { padding: 6px 10px; font-size: .93rem; }
  .card { padding: 20px; }
  .cta { padding: 28px 22px; }
}
.section-intro.after { margin: 24px 0 0; }
h3.sub { margin-top: 40px; }

/* Kontaktskjema */
.kform { margin-top: 20px; max-width: 760px; }
.kform label { display: block; font-weight: 600; margin: 12px 0 4px; }
.kform-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kform input[type=text], .kform input[type=email], .kform input[type=tel], .kform textarea {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 8px; border: 2px solid transparent; background: #fff; color: var(--text);
}
.kform input:focus-visible, .kform textarea:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.kform-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.kform-check input { margin-top: .35em; width: 20px; height: 20px; flex: none; }
.kform-check label { margin: 0; font-weight: 400; }
.kform-status:empty { display: none; }
.cta .kform-status { background: #fff; color: var(--text); max-width: none; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.cta .kform-status.err { background: #fde7e9; color: #7a1a1f; }
.btn-light { background: #fff; color: var(--accent-strong); border-color: #fff; cursor: pointer; font-size: 1rem; }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
