:root {
  --bg: #FEFBF7;
  --fg: #3A2A1A;
  --muted: #6F5B49;
  --brand: #2F251B;
  --card: #FFFDF9;
  --border: #EADFCC;
  --header-blue: #EAF5FF;
  --shadow: rgba(0,0,0,0.08);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Nunito', system-ui, Arial, sans-serif;
  line-height: 1.6;
}

/* Container */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
header.banner {
  background: var(--header-blue);
  box-shadow: 0 3px 6px var(--shadow);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 0;
}

.logo-combo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.brand-main {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--brand);
}

.brand-dotno {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--muted);
}

.logo-mark {
  width: 72px;
  height: auto;
}

/* Tekstblokker */
.hero, .section {
  text-align: center;
}

.narrow-text {
  max-width: 70ch;
  margin: 0 auto;
  color: var(--muted);
}

.hero {
  padding: 40px 0 24px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 8px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  color: var(--brand);
  margin: .2rem 0 .6rem;
}

.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.step {
  grid-column: span 12;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

@media (min-width: 880px) {
  .step {
    grid-column: span 6;
  }
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.video-card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

@media (min-width: 880px) {
  .video-card {
    grid-column: span 6;
  }
}

.video-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.video-body {
  padding: 14px 16px;
}

.video-title {
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--brand);
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

/* Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta.center, .btn-wrapper {
  justify-content: center;
  display: flex;
  margin-top: 12px;
}

.btn {
  appearance: none;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

/* Footer */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 40px 0 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Kort for Gunnar og bøker */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
  justify-items: center;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 8px var(--shadow);
  max-width: 420px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-image {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: 8px;
}

.card-text {
  color: var(--muted);
  margin-bottom: 16px;
}

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

.photo-credit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* Skillelinje mellom seksjoner */
.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 60px auto;
  width: 80%;
  max-width: 900px;
  opacity: 0.7;
}
