/* Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #1a1a1a;
  background: #f8f7f4;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 32px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e9e3ff;
  color: #3a2c6a;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ebe7e0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1a1a1a;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d6d1c9;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e6e0d8;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
  background: #f0ede8;
}

.nav-wrapper {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.nav-wrapper.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #ebe7e0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: #3a2c6a;
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border-color: #d6d1c9;
  color: #3a2c6a;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #ebe7e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.price {
  font-weight: 700;
  color: #3a2c6a;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #ebe7e0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial strong {
  color: #3a2c6a;
}

/* Footer */
.site-footer {
  background: #1f1a2e;
  color: #f4f1ea;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e6e0d8;
  padding: 16px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 28, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e6e0d8;
}

.toggle button {
  min-width: 86px;
}

/* Layout helpers */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Desktop */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-wrapper {
    display: flex;
  }

  .site-nav {
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 260px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .split {
    flex-direction: row;
  }
}
