:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #374151;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --mint-green: #5ead18;
  --mint-green-bright: #87cf3e;
  --mint-green-dark: #397d12;
  --mint-pale: #f0f9eb;
  --border: #e5e7eb;
  --shadow: 0 4px 14px rgb(31 41 55 / 8%);
}

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

body { margin: 0; min-width: 320px; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--mint-green-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.site-header {
  align-items: center;
  background: #4b8b2b;
  display: grid;
  grid-template-areas: "brand nav toggle";
  grid-template-columns: auto 1fr auto;
  min-height: 88px;
  padding: 0 max(1rem, calc((100vw - 80rem) / 2));
  position: relative;
  z-index: 2;
}
.site-title {
  grid-area: brand;
  padding: 0;
}
.site-title img { filter: grayscale(1) contrast(4) invert(1); height: 68px; mix-blend-mode: screen; object-fit: contain; width: 68px; }
.desktop-nav, .mobile-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.desktop-nav {
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  grid-area: nav;
  justify-content: center;
  min-height: 0;
  padding: 0.35rem 0;
}
.desktop-nav a, .mobile-nav a { border-radius: 0.3rem; color: #fff; padding: 0.55rem 0.7rem; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover { background: rgb(255 255 255 / 15%); color: #fff; }
.desktop-nav a:focus-visible, .mobile-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.menu-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 1.8rem;
  grid-area: toggle;
  line-height: 1;
  margin-right: 0;
  padding: 0.5rem;
}
.mobile-nav {
  align-items: stretch;
  background: #4b8b2b;
  color: #fff;
  display: grid;
  gap: 0;
  padding: 0.5rem max(1rem, calc((100vw - 80rem) / 2)) 1rem;
}
.mobile-nav a { padding: 0.55rem 0; }
.mobile-nav[hidden] { display: none; }

#main-content { min-height: 65vh; }
.home-hero {
  background: linear-gradient(135deg, #eaf8df 0%, #f7fcf3 52%, #fff 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  text-align: center;
}
.home-hero-inner { margin: 0 auto; max-width: 76rem; }
.home-hero h1 {
  color: var(--mint-green-dark);
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 auto 1.1rem;
  max-width: 60rem;
}
.home-hero .hero-subtitle { color: var(--mint-green-dark); font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 650; margin: -0.5rem auto 1rem; }
.home-hero p { color: #4b5563; font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 0 auto 2rem; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.button {
  background: var(--mint-green);
  border: 2px solid var(--mint-green);
  border-radius: 0.55rem;
  box-shadow: var(--shadow);
  color: #fff;
  display: inline-block;
  font-weight: 650;
  padding: 0.8rem 1.35rem;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.button:hover { background: var(--mint-green-dark); border-color: var(--mint-green-dark); color: #fff; transform: translateY(-1px); }
.button-secondary { background: #fff; color: var(--mint-green-dark); }
.button-secondary:hover { background: var(--mint-pale); color: var(--mint-green-dark); }

.benefits-section { margin: 0 auto; max-width: 80rem; padding: 3.5rem 1.5rem; }
.benefits-section > h2 { color: #356e15; font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 2rem; text-align: center; }
.benefits-grid { display: grid; gap: 1.25rem; }
.benefit-card {
  align-items: center;
  background: var(--mint-pale);
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.benefit-card:hover, .feature-card:hover, .faq-item:hover { box-shadow: 0 8px 22px rgb(31 41 55 / 12%); transform: translateY(-1px); }
.benefit-card img { flex: 0 0 6rem; height: 6rem; object-fit: contain; width: 6rem; }
.benefit-card h3 { color: #4a8e1d; font-size: 1.3rem; margin: 0 0 0.3rem; }
.benefit-card p { color: #4b5563; margin: 0; }

.content { margin: 0 auto; max-width: 58rem; padding: clamp(2rem, 5vw, 4rem) 1.5rem; }
.content--bestil { max-width: none; }
.content > h1 { color: var(--mint-green-dark); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.2; margin: 0 0 1.25rem; }
.content > p:first-of-type { font-size: 1.08rem; }
.content h2 { color: #3f781b; font-size: 1.55rem; line-height: 1.3; margin: 2rem 0 0.6rem; }
.content h3 { color: #4a8e1d; font-size: 1.2rem; margin: 1.5rem 0 0.4rem; }
.content p { margin: 0.6rem 0 1rem; }
.content ul { padding-left: 1.4rem; }
.content li { margin: 0.35rem 0; }
.content a:not(.button) { color: var(--mint-green-dark); }
.content table {
  border: 1px solid #b8c9ae;
  border-collapse: separate;
  border-radius: 0.7rem;
  border-spacing: 0;
  display: block;
  margin: 1.5rem 0;
  max-width: 100%;
  overflow-x: auto;
  width: max-content;
}
.content th, .content td {
  border-bottom: 1px solid #d8e3d2;
  border-right: 1px solid #d8e3d2;
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.content th { background: var(--mint-pale); color: #356e15; font-weight: 700; }
.content td { background: #fff; }
.content tr:last-child td { border-bottom: 0; }
.content th:last-child, .content td:last-child { border-right: 0; }

.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; }
.feature-card {
  background: #fff;
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  min-height: 150px;
  padding: 1.5rem;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.feature-card h2 { font-size: 1.2rem; margin: 0 0 0.5rem; text-align: center; }
.feature-card > div { color: #4b5563; text-align: center; }

.faq-list { display: grid; gap: 1rem; }
.faq-item {
  background: #f0f9eb;
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.faq-item summary { color: #263b1c; cursor: pointer; font-size: 1.1rem; font-weight: 650; }
.faq-answer { color: #4b5563; padding-top: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

.form-card {
  background: #f0f9eb;
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}
.form-field { display: grid; gap: 0.35rem; }
.form-field label { color: #374151; font-weight: 650; }
.form-field label span { color: #6b7280; font-weight: 400; }
.form-field input, .form-field textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.4rem;
  color: #111827;
  padding: 0.75rem;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--mint-green); outline: 3px solid rgb(135 207 62 / 24%); }
.honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.turnstile-widget { margin: 0.25rem 0; min-height: 65px; }
.configuration-note { background: #fff8e1; border-left: 4px solid #d39e00; margin: 0; padding: 0.75rem 1rem; }
.form-status { margin: 0; }
.form-status[data-state="error"] { color: #a12622; }
.form-status[data-state="success"] { color: #2f6f18; font-weight: 650; }
.form-status[data-state="pending"] { color: #4b5563; }
.choice-group { border: 0; display: grid; gap: 0.65rem; margin: 0; padding: 0; }
.choice-group legend { color: #356e15; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; }
.choice-option { align-items: center; background: #fff; border: 1px solid #d8e6ce; border-radius: 0.5rem; cursor: pointer; display: flex; gap: 0.7rem; padding: 0.8rem 1rem; }
.choice-option:has(input:checked) { border-color: var(--mint-green); box-shadow: 0 0 0 2px rgb(94 173 24 / 18%); }
.choice-option input { accent-color: var(--mint-green); height: 1.1rem; width: 1.1rem; }
.choice-option strong { color: var(--mint-green-dark); margin-left: 0.35rem; }
.address-row { display: grid; gap: 1rem; grid-template-columns: minmax(7rem, 1fr) 2fr; }
.form-card button {
  background: #d1d5db;
  border: 0;
  border-radius: 0.4rem;
  color: #4b5563;
  cursor: not-allowed;
  font-weight: 650;
  justify-self: start;
  padding: 0.75rem 1.25rem;
}
.form-card button:enabled { background: var(--mint-green); color: #fff; cursor: pointer; }
.form-card button:enabled:hover { background: var(--mint-green-dark); }

.site-footer {
  align-items: flex-start;
  background: #f9fafb;
  border-top: 1px solid var(--border);
  color: #4b5563;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(10rem, 1fr) 2fr auto;
  margin-top: 2rem;
  padding: 2.5rem max(1rem, calc((100vw - 80rem) / 2));
}
.site-footer strong, .site-footer nav { color: #4a8e1d; }
.site-footer p { margin: 0.25rem 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.site-footer nav a { text-decoration: none; }
.site-footer small { color: #6b7280; white-space: nowrap; }

@media (min-width: 900px) {
  .benefit-card { align-items: flex-start; }
}
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 640px) {
  .site-header { min-height: 72px; }
  .site-title img { height: 56px; width: 56px; }
  .home-hero { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; margin: auto; max-width: 25rem; }
  .benefit-card { align-items: flex-start; gap: 1rem; padding: 1.15rem; }
  .benefit-card img { flex-basis: 4.5rem; height: 4.5rem; width: 4.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

