*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-ink: #10202c;
  --color-slate: #4a5a66;
  --color-ice: #eff5f7;
  --color-lake: #2d6e84;
  --color-mist: #d7e5ea;
  --color-sun: #f0b15b;
  --color-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --shadow-soft: 0 12px 30px rgba(16, 32, 44, 0.12);
  --max-width: 1120px;
  --transition: 0.2s ease;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-mist);
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-ink);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  border: 1px solid var(--color-mist);
  background: var(--color-white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 8px;
}

.nav a {
  font-weight: 600;
  color: var(--color-ink);
}

.nav a:hover,
.nav a:focus {
  color: var(--color-lake);
}

.nav.is-open {
  display: flex;
}

.hero {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--color-ice), var(--color-white));
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
}

.hero p {
  color: var(--color-slate);
  margin: 0;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--color-lake);
  color: var(--color-white);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.button.secondary {
  background: var(--color-white);
  color: var(--color-lake);
  border-color: var(--color-lake);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.section-header p {
  margin: 0;
  color: var(--color-slate);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-mist);
  background: var(--color-white);
  box-shadow: 0 8px 18px rgba(16, 32, 44, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--color-slate);
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
  color: var(--color-ink);
}

.highlight {
  background: var(--color-ice);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--color-ice);
  border-radius: var(--radius-md);
}

.testimonial span {
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer {
  border-top: 1px solid var(--color-mist);
  padding: 24px 0 40px;
  background: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-slate);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-lake);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: var(--color-white);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions .button {
  width: 100%;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 32, 44, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 16px;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  width: min(100%, 520px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal h3 {
  margin: 0;
}

.preference-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preference {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--color-ice);
}

.preference-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    flex: 1;
  }

  .hero-panel {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .button-row {
    flex-direction: row;
  }

  .card-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .highlight {
    flex: 1;
  }

  .testimonial {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cookie-actions .button {
    width: auto;
  }

  .modal-buttons {
    flex-direction: row;
  }
}
