:root {
  --font-sans: 'Open Sans Local', 'Open Sans', Arial, sans-serif;
}

@font-face {
  font-family: 'Open Sans Local';
  src: url('font/Open_Sans/OpenSans-VariableFont_wdth%2Cwght.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Local';
  src: url('font/Open_Sans/OpenSans-Italic-VariableFont_wdth%2Cwght.ttf') format('truetype');
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --purple: #530def;
  --purple-dark: #4527a0;
  --purple-light: #ede7fb;
  --teal: #29c6b7;
  --text: #2e2e2e;
  --text-light: #6b6b6b;
  --line: #e4e0ee;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, .brand {
  font-family: var(--font-sans);
  font-weight: 700;
}

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2; background: var(--purple-dark); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn { transition: background-color 180ms ease, transform 180ms ease; }
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.78rem;
}
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--purple); }
.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.header-contact img { width: 16px; height: 16px; }
.header-contact a { color: #fff; text-decoration: none; }

/* Promo bar */
.promo {
  background: var(--purple-light);
  padding: 16px 20px;
}
.promo .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.promo .old-price { color: #aba4c7; text-decoration: line-through; }
.promo .highlight { color: var(--purple); }

/* Hero */
.hero {
  position: relative;
  background: url('images/hero.jpg') center/cover no-repeat;
  padding: clamp(56px, 8vw, 96px) 20px;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.52);
}
.hero .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-text { max-width: 480px; }
.hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 12px; text-wrap: balance; }
.hero-text p { margin-bottom: 24px; }
.hero-note { font-size: 0.86rem; opacity: 0.92; margin: 18px 0 0 !important; }
.hero-note img { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }

.hero-form {
  background: #fff;
  color: var(--text);
  padding: 28px;
  border-radius: 8px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(25, 16, 62, 0.18);
}
.form-title { font-family: var(--font-sans); font-size: 1.45rem; margin: 0 0 2px; }
.form-intro { color: var(--text-light) !important; font-size: 0.88rem; margin: 0 0 18px; }

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
form input::placeholder { color: #707070; }
form label.check-label {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.45;
}
form label.check-label input { flex: 0 0 auto; margin: 3px 0 0; }
form .consent-copy { flex: 1; }
form .consent-copy a { color: var(--purple-dark); font-weight: 700; text-underline-offset: 2px; }
form .consent-copy a:hover { color: var(--purple); }
form button.btn { width: 100%; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* Generic section */
.section { padding: 60px 20px; }
.section h2 {
  text-align: center;
  margin: 0 auto 32px;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: 0.5px;
  text-wrap: balance;
}
.section p { color: var(--text); }
.text-center { text-align: center; }

/* How it works */
.how-it-works {
  background: var(--purple);
  color: #fff;
}
.how-it-works .step p { color: #fff; }
.how-it-works h2 { color: #fff; }
.steps {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}
.step { max-width: 260px; }
.step .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: #fff;
}
.step .icon-circle img { width: 28px; height: 28px; }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  margin-bottom: 64px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.feature-row .feature-text { max-width: 46ch; }
.feature-text h3 { margin: 0 0 8px; font-size: 1.45rem; text-wrap: balance; }

/* Testimonials */
.testimonials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.testimonial-card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  max-width: 320px;
  flex: 1 1 280px;
}
.testimonial-card .quote-icon { width: 28px; height: 28px; margin-bottom: 12px; }
.testimonial-card .stars { color: #f5a623; margin: 8px 0; }
.testimonial-card .name { font-weight: 700; margin-top: 8px; }

/* Footer */
.site-footer {
  background: #f2f2f2;
  padding: 32px 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-light); font-weight: 700; }
.social-icon { width: 24px; height: 24px; }
.footer-bottom { text-align: center; padding: 16px 20px; font-size: 0.8rem; color: var(--text-light); }

/* Simple pages (thank you / privacy) */
.simple-page {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: justify;
}


@media (max-width: 1000px) {
  .site-header { justify-content: center; padding-inline: 16px; }
  .site-header nav { order: 3; justify-content: center; gap: 12px 16px; text-align: center; }
  .site-header nav a { font-size: 0.7rem; }
  .header-contact { font-size: 0.82rem; }
  .hero .container { flex-direction: column; }
  .hero-text, .hero-form { max-width: 100%; }
  .hero-text { text-align: center; }
  .hero-note { text-align: center; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; direction: ltr; }
  .feature-row .feature-text { max-width: none; }
  .section { padding-block: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
