:root {
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-bg: #eff6ff;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --container: min(1060px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ── Layout ────────────────────────────────── */

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ── Skip link ─────────────────────────────── */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Header ────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 120ms ease, background 120ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--bg-alt);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--accent-hover);
  color: #fff;
}

/* ── Hero ──────────────────────────────────── */

.hero {
  padding: 5.5rem 0 5rem;
}

.eyebrow {
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.hero__lead {
  max-width: 52ch;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
}

.hero__link:hover {
  text-decoration: underline;
}

/* ── Buttons ───────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

/* ── Services ──────────────────────────────── */

.section-label {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Pricing ───────────────────────────────── */

.pricing-intro {
  max-width: 56ch;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-card {
  padding: 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card h3 {
  margin-bottom: 0;
}

.pricing-card p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── About ─────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-aside {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.stat-grid {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.stat {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.stat dt {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
}

.aside-note {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Contact ───────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-grid > div > p {
  color: var(--text-muted);
}

.contact-info-box {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.contact-svg {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* ── How it works ──────────────────────────── */

.how-it-works h3 {
  margin-bottom: 1.5rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Form ──────────────────────────────────── */

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: var(--accent);
}

/* ── Honeypot ──────────────────────────────── */

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Footer ────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer strong {
  color: var(--text);
}

/* ── Scroll offsets ────────────────────────── */

#tjenester,
#pris,
#om,
#kontakt {
  scroll-margin-top: 80px;
}

/* ── Responsive ────────────────────────────── */

@media (max-width: 900px) {
  .service-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 2rem);
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }
}
