/* Ferdig AI-oppsett — Nordic B2B landing */
:root {
  --navy-950: #0b1220;
  --navy-900: #111827;
  --navy-800: #1a2438;
  --navy-700: #243049;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f8fafc;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --amber-500: #d97706;
  --amber-400: #f59e0b;
  --amber-100: #fef3c7;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --ok: #059669;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 40px rgba(15, 23, 42, 0.08);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--teal-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--navy-900); }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-950);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy-950);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--navy-950); }

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--amber-400), var(--teal-500));
}

.logo-text { font-size: 1rem; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  color: var(--slate-600);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--navy-950); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

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

.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

.btn-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--slate-400);
  color: var(--navy-950);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber-500), #b45309);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover { color: #fff; filter: brightness(1.05); }

.btn-block { width: 100%; }

.nav-cta { margin-left: 0.25rem; }

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

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

.section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.section-intro {
  font-size: 1.1rem;
  max-width: 54ch;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 48ch;
  color: var(--slate-600);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 9vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(20, 184, 166, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(245, 158, 11, 0.07), transparent 45%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}


.hero-micro {
  margin: -0.5rem 0 1.1rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Why AI */
.why-grid {
  gap: 1.15rem;
}

.why-card {
  position: relative;
  padding-top: 1.75rem;
}

.why-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-500);
  margin-bottom: 0.65rem;
}

.why-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.why-cta p {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
  max-width: 40ch;
}

.cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.cta-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-400);
  flex-shrink: 0;
}

.hero-visual { display: flex; justify-content: center; }

.visual-card {
  width: min(100%, 340px);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.visual-header {
  display: flex;
  gap: 6px;
  padding: 0.85rem 1rem;
  background: var(--navy-900);
}

.visual-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.visual-header .dot:first-child { background: #f87171; }
.visual-header .dot:nth-child(2) { background: #fbbf24; }
.visual-header .dot:nth-child(3) { background: #34d399; }

.visual-body { padding: 1.25rem 1.35rem 1.5rem; }

.visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.visual-row .label {
  font-weight: 560;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.badge-ok {
  background: #ecfdf5;
  color: var(--ok);
}

.visual-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.card.compact { padding: 1.35rem 1.3rem; }

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.card-icon svg { width: 40px; height: 40px; }

/* Solution */
.solution-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: start;
}

.solution-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--slate-200);
}

.solution-item:first-child { border-top: none; padding-top: 0; }

.callout {
  background: var(--navy-900);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-lg);
}

.callout-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.callout-text {
  color: #cbd5e1;
  margin-bottom: 1.25rem !important;
}

.callout .text-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.callout .text-link:hover { color: var(--amber-100); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-500);
  margin-bottom: 0.85rem;
}

/* Pricing */
.pricing-card { display: flex; flex-direction: column; }

.pricing-card.featured {
  border-color: var(--navy-800);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-card.featured::before {
  content: "Anbefalt sammen med oppsett";
  position: absolute;
  top: -11px;
  left: 1.25rem;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.price-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.pricing-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.price-desc {
  margin-bottom: 1.25rem !important;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  flex: 1;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--slate-600);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--amber-100);
  box-shadow: inset 0 0 0 3px var(--amber-500);
}

.pricing-note {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--slate-500);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-card dl { margin: 0; }

.about-card dl > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.about-card dl > div:first-child { padding-top: 0; }
.about-card dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-card dt {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}

.about-card dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
}

.about-card a {
  color: var(--navy-900);
  text-decoration: none;
}

.about-card a:hover { color: var(--teal-600); }

/* CTA band */
.cta-band {
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: #cbd5e1; max-width: 48ch; margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: #f8fafc;
  font-size: 1rem;
}

.footer-brand p { margin: 0.15rem 0 0; color: #94a3b8; font-size: 0.88rem; }

.footer-meta a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-meta a:hover { color: var(--amber-400); }

.footer-meta p { margin: 0 0 0.35rem; color: #94a3b8; }

.footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */



@media (max-width: 900px) {
  .hero-grid,
  .solution-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual { order: -1; justify-content: flex-start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .card-grid.three,
  .card-grid.two,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .why-cta { flex-direction: column; align-items: flex-start; }

  .cta-benefits { flex-direction: column; gap: 0.65rem; }

  .pricing-card.featured::before {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .nav-toggle-bar,
  .site-nav { transition: none; }
}
