/* ============================================================
   SmartStandard – Landingsside  v2
   ============================================================ */

/* ── TOPBAR ── */
.topbar {
  background: var(--surface-dark);
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid var(--green);
  gap: 16px;
}

.topbar-spacer { flex: 1; }

.topbar-login {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 6px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.topbar-login:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* ── HERO ── */
.hero {
  background: #0a6840;
  padding: 72px 40px 56px;
  border-bottom: 3px solid var(--green);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9f1d1;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 16px;
}

.hero-title strong { font-weight: 700; font-style: italic; color: #b9f1d1; }

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(185,241,209,0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Hero søkefelt */
.hero-search {
  display: flex;
  max-width: 680px;
  margin: 0 auto 32px;
  background: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}

.hero-search:focus-within { border-color: var(--green-pale); }

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  min-height: 52px;
}

.hero-search input::placeholder { color: #999; font-style: italic; }

.hero-search-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 52px;
}

.hero-search-btn:hover { background: var(--green-lt); }

/* Bransje-tags */
.hero-bransjer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.bransje-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #b9f1d1;
  border-radius: var(--radius);
  padding: 7px 14px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.13s;
  white-space: nowrap;
}

.bransje-tag:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ── SLIK FUNGERER DET ── */
.how-section {
  padding: 72px 40px;
  text-align: center;
  background: var(--bg);
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 52px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.5% + 28px);
  right: calc(16.5% + 28px);
  height: 2px;
  background: var(--rule);
  pointer-events: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(18,157,99,0.3);
}

.step-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 220px;
}

/* ── EKSEMPEL-SVAR ── */
.example-section {
  background: var(--bg-2);
  padding: 72px 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.example-inner { max-width: 820px; margin: 0 auto; }

.example-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 6px;
}

.example-question {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink2);
  margin-bottom: 20px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}

.example-sources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

/* ── CTA ── */
.cta-section {
  background: var(--surface-dark);
  padding: 80px 40px;
  text-align: center;
  border-top: 3px solid var(--green);
}

.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-title strong { font-weight: 700; font-style: italic; color: var(--green-pale); }

.cta-sub {
  font-size: 1rem;
  color: #d4cfc7;   /* AAA */
  margin-bottom: 36px;
}

/* ── FOOTER ── */
.footer {
  background: var(--surface-dark);
  border-top: 1px solid #1e1e1e;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;   /* 5.7:1 på mørk – AA */
  text-decoration: none;
  transition: color 0.13s;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #666;   /* 3.8:1 – AA for stor tekst, borderline for liten – vi bruker 0.75rem */
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .topbar  { padding: 0 16px; }

  .hero {
    padding: 48px 20px 40px;
    text-align: left;
  }
  .hero { padding: 48px 20px 40px; text-align: left; }
  .hero-title, .hero-sub { margin-left: 0; margin-right: 0; text-align: left; }
  .hero-search { max-width: none; }
  .hero-bransjer { justify-content: flex-start; }

  .how-section { padding: 48px 20px; }
  .steps-grid  {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps-grid::before { display: none; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; }
  .step-desc { max-width: none; }

  .example-section { padding: 48px 20px; }
  .example-sources { grid-template-columns: 1fr; }

  .cta-section { padding: 48px 20px; text-align: left; }

  .footer { flex-direction: column; padding: 28px 20px; gap: 16px; }
}
