*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0f1116;
  --night: #151a24;
  --dusk: #2a3042;
  --accent: #a76bff;
  --accent-soft: #e2d3ff;
  --light: #f5f3f0;
  --muted: #6c6f79;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(15, 17, 22, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  background: var(--night);
  color: white;
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--accent-soft);
}

.site-nav {
  display: none;
  gap: 20px;
  align-items: center;
}

.site-nav a {
  color: white;
  font-size: 0.95rem;
  opacity: 0.9;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
  opacity: 1;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--accent-soft);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0 24px;
  gap: 12px;
}

.mobile-nav a {
  color: white;
  opacity: 0.9;
}

.hero {
  padding: 60px 0 40px;
  background: linear-gradient(140deg, var(--night), var(--dusk));
  color: white;
}

.hero.compact {
  padding: 48px 0 32px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px;
  border-radius: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--night);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: transparent;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 56px 0;
}

.section.soft {
  background: #efe9ff;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-grid,
.services-grid,
.team-grid,
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card,
.service-card,
.team-card,
.testimonial,
.contact-card,
.value-card {
  background: var(--card);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.price {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: white;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.steps,
.values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  padding: 16px;
  border-radius: 14px;
}

.step-number {
  font-weight: 700;
  color: var(--accent);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.site-footer {
  background: var(--night);
  color: white;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0.9;
}

.testimonials {
  gap: 16px;
}

.testimonial p {
  margin-top: 0;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--night);
  color: white;
  padding: 16px;
  display: none;
  z-index: 10;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 22, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-dialog {
  background: white;
  color: var(--ink);
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-modal-header,
.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle {
  background: #f0f1f6;
  border: 1px solid #d9dbe6;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.toggle[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.icon-button {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

.legal .legal-block {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.legal .legal-block h2 {
  margin-top: 0;
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-content,
  .hero-card {
    flex: 1;
  }

  .feature-grid,
  .services-grid,
  .team-grid,
  .testimonials,
  .contact-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card,
  .service-card,
  .team-card,
  .testimonial,
  .contact-card {
    flex: 1 1 280px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .stats,
  .steps,
  .values {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 980px) {
  .hero-content h1 {
    font-size: 3.4rem;
  }

  .services-grid .service-card,
  .feature-grid .feature-card {
    flex: 1 1 300px;
  }
}
