/* Homepage polish: sticky header CTA, hero trust row, comparison, pricing, FAQ and footer. */

/* Sticky header with a persistent primary action */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 252, 250, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-cta {
  flex-shrink: 0;
  transition: background-color 160ms ease;
}
.header-cta:hover { background: var(--home-green-strong); }
.header-cta:focus-visible,
.price-cta:focus-visible,
.faq-item summary:focus-visible,
.site-footer a:focus-visible,
.hero-trust a:focus-visible {
  outline: 3px solid var(--home-focus);
  outline-offset: 3px;
  border-radius: 6px;
}
html { scroll-padding-top: 88px; }
#landing-intake { scroll-margin-top: 96px; }

/* Hero trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 22px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--home-line);
  max-width: 640px;
  list-style: none;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 650;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust a { color: inherit; text-decoration: none; }
.hero-trust a:hover { color: var(--home-green); text-decoration: underline; text-underline-offset: 3px; }
.hero-trust strong { color: var(--home-ink); }
.hero-trust-stars { color: #00b67a; letter-spacing: 1px; }
.hero-trust-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--home-green-soft);
  color: var(--home-green);
  font-size: 11px;
  font-weight: 850;
}

/* Shared section rhythm */
.compare-section,
.pricing-section,
.faq-section {
  width: 100%;
  padding: 84px 20px;
}
.compare-section { background: var(--home-white); }
.pricing-section { background: var(--home-paper); border-top: 1px solid var(--home-line); }
.faq-section { background: var(--home-white); }
.compare-section h2,
.pricing-heading h2,
.faq-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 38px;
  font-weight: 850;
  line-height: 1.08;
}
.pricing-heading p:last-child,
.faq-heading p:last-child {
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.6;
}
.compare-section a,
.pricing-section a,
.faq-section a { color: var(--home-green); text-underline-offset: 3px; }

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.compare-card {
  padding: 28px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: #f6f8f6;
}
.compare-card.is-dinleje {
  border-color: var(--home-green);
  background: var(--home-white);
  box-shadow: 0 18px 44px rgba(10, 77, 60, 0.1);
}
.compare-card h3 { margin: 0 0 16px; font-size: 20px; font-weight: 850; }
.compare-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.compare-list li {
  position: relative;
  padding-left: 30px;
  color: #33473f;
  font-size: 15px;
  line-height: 1.5;
}
.compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--home-green);
  color: var(--home-white);
  font-size: 12px;
  font-weight: 850;
}
.compare-list.is-generic li { color: var(--home-muted); }
.compare-list.is-generic li::before { content: "–"; background: #dfe5e1; color: #52645d; }

/* Pricing */
.pricing-heading { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-white);
}
.price-card.is-featured { border: 2px solid var(--home-green); box-shadow: 0 18px 44px rgba(10, 77, 60, 0.12); }
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--home-amber);
  color: #3d2a05;
  font-size: 12px;
  font-weight: 850;
}
.price-card h3 { margin: 0; font-size: 18px; font-weight: 850; }
.price { margin: 10px 0 20px; color: var(--home-muted); font-size: 14px; }
.price strong { color: var(--home-ink); font-size: 40px; font-weight: 850; letter-spacing: -0.01em; }
.price-features { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.price-features li { position: relative; padding-left: 26px; color: #33473f; font-size: 15px; line-height: 1.5; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--home-green); font-weight: 850; }
.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--home-green);
  border-radius: 8px;
  color: var(--home-green) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.price-cta:hover { background: var(--home-green-soft); }
.price-cta.is-primary { background: var(--home-green); color: var(--home-white) !important; }
.price-cta.is-primary:hover { background: var(--home-green-strong); }
.pricing-note { margin: 24px 0 0; color: var(--home-muted); font-size: 13px; text-align: center; }

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq-heading { position: sticky; top: 100px; }
.faq-list { border-top: 1px solid var(--home-line); }
.faq-item { border-bottom: 1px solid var(--home-line); }
.faq-item summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--home-green);
  font-size: 24px;
  font-weight: 500;
  transition: transform 160ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--home-muted); font-size: 15px; line-height: 1.65; }

/* Footer */
.site-footer {
  padding: 64px 20px 32px;
  background: var(--home-green-strong);
  color: rgba(255, 255, 255, 0.82);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: min(1080px, 100%);
  margin: 0 auto;
}
.site-footer .brand { color: var(--home-white); }
.footer-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 {
  margin: 0 0 4px;
  color: var(--home-white);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); font-size: 14px; text-decoration: none; }
.site-footer a:hover { color: var(--home-white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: min(1080px, 100%);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}
.footer-bottom p { margin: 0; }

@media (max-width: 860px) {
  .compare-grid,
  .pricing-grid,
  .faq-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-inner { gap: 28px; }
  .faq-heading { position: static; }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .header-cta { display: inline-flex; min-height: 38px; padding: 0 12px; font-size: 13px; }
  .market-selector { margin-right: 0; }
  .header-inner { gap: 8px; }
  .market-selector select { width: auto; padding: 0 24px 0 9px; font-size: 12px; }
  .hero-trust { gap: 8px 14px; font-size: 12px; }
  .compare-section,
  .pricing-section,
  .faq-section { padding: 56px 18px; }
  .compare-section h2,
  .pricing-heading h2,
  .faq-heading h2 { font-size: 28px; }
  .compare-card,
  .price-card { padding: 24px 20px; }
  .price strong { font-size: 34px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .header-cta { transition: none; }
}
