/* VA-Norge landing — bransje/VA, teal-forward (matches app VA tokens) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #0f766e;
  --brand-light: #14b8a6;
  --brand-dark: #115e59;
  --accent: #0891b2;
  --bg: #f8fafc;
  --bg-alt: #f0fdfa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(15, 118, 110, 0.08);
  --max: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-footer {
  margin-bottom: 0.15rem;
}

.brand-footer .brand-logo {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--brand-light); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.1) 0%, rgba(8, 145, 178, 0.06) 45%, transparent 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--brand-dark);
}

.stack-diagram {
  display: grid;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.stack-row {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.stack-row strong { display: block; font-size: 0.75rem; color: var(--brand); margin-bottom: 0.15rem; }

/* Sections */
section { padding: 3.5rem 0; }

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.6rem;
}

.section-head p { color: var(--text-secondary); }

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--brand-dark);
}

.value-card p { font-size: 0.92rem; color: var(--text-secondary); }

/* Actors */
.actors { background: var(--bg-alt); }

.actor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.actor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.actor-card:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--shadow);
}

.actor-card h3 { font-size: 1.05rem; }

.actor-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.actor-card .btn { align-self: flex-start; font-size: 0.85rem; padding: 0.5rem 1rem; }

.actor-tag {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.step {
  text-align: center;
  padding: 1rem;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  font-size: 0.95rem;
}

.step h3 { font-size: 1rem; margin-bottom: 0.35rem; }

.step p { font-size: 0.88rem; color: var(--text-secondary); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  margin: 0 1rem 3rem;
  max-width: calc(var(--max) + 2rem);
  margin-inline: auto;
}

.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.6rem; }

.cta-band p {
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  font-size: 1rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}

.cta-band .btn-primary:hover { background: #f0fdfa; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.footer-links a:hover { color: var(--brand); }

.powered {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
  .hero { padding-top: 2.5rem; }
}
