/* Guidesidan /guide – gratisguiden "5 saker din hemsida måste ha" */

.guide-hero {
  padding-top: 130px;
  background: linear-gradient(180deg, #faf8f4 0%, #f2eee8 100%);
}

.guide-layout {
  display: grid;
  gap: 40px;
}

.guide-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  margin-bottom: 1.4rem;
}

.guide-intro h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.guide-intro h1 em {
  font-style: normal;
  color: var(--accent);
}

.guide-intro .section-sub {
  margin-bottom: 1.6rem;
}

.guide-list {
  list-style: none;
  counter-reset: guide;
  display: grid;
  gap: 10px;
  margin-bottom: 1.6rem;
}

.guide-list li {
  counter-increment: guide;
  position: relative;
  padding: 12px 16px 12px 58px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
}

.guide-list li::before {
  content: "0" counter(guide);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--accent);
}

.guide-for {
  color: var(--text-muted);
}

.guide-form-title {
  font-size: 1.4rem;
  margin: 0;
}

.guide-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.guide-consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.guide-consent label {
  font-size: 0.9rem;
}

.guide-form[hidden],
.guide-tack[hidden] {
  display: none;
}

.guide-tack p {
  margin: 0;
}

.guide-tack:focus {
  outline: none;
}

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

.guide-om-wrap {
  max-width: 720px;
}

.guide-om-wrap p {
  margin-bottom: 1.6rem;
}

@media (min-width: 900px) {
  .guide-hero {
    padding-top: 150px;
  }

  .guide-layout {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    gap: 56px;
  }

  .guide-form-wrap {
    position: sticky;
    top: 110px;
  }
}
