/* === TOKENS === */
:root {
  --cream: #F5F0EB;
  --white: #FFFFFF;
  --sage: #8B9E7C;
  --sage-light: #EEF2EA;
  --text: #2D2D2D;
  --text-muted: #6B6B6B;
  --text-light: #F5F0EB;
  --border: #DDD8D2;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 4px;
  --max-width: 1100px;
  --narrow-width: 680px;
}

/* === LANG SWITCHER === */
.lang-switcher {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(245, 240, 235, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3px;
  padding: 0.2rem 0.35rem;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.25rem 0.4rem;
  transition: color 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--sage); }
.lang-divider {
  font-size: 0.65rem;
  color: var(--border);
  line-height: 1;
  user-select: none;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container--narrow {
  max-width: var(--narrow-width);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* hidden on mobile by default */
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero__video { display: block; }
  .hero__img   { display: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-xl);
  color: var(--text-light);
  max-width: var(--narrow-width);
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--space-xs);
  opacity: 0.92;
}

.hero__note {
  font-size: 0.875rem;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: var(--space-md);
}

.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: inline; } }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.btn:hover  { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--sage);
  color: #fff;
}
.btn--full { width: 100%; text-align: center; }

/* === SECTIONS === */
.section {
  padding-block: var(--space-xl);
}
.section--cream     { background: var(--cream); }
.section--white     { background: var(--white); }
.section--sage-light { background: var(--sage-light); }

/* === QUOTE BLOCKS === */
.section__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--sage);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.section__source {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.section__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}
.section__intro {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

/* === PROSE === */
.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--text);
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 500; color: var(--text); }
.prose em { font-style: italic; }

.prose__emphasis {
  font-family: var(--font-serif);
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--text) !important;
}

/* === FEATURE LIST === */
.feature-list {
  list-style: none;
  margin-block: var(--space-md);
}
.feature-list__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
.feature-list__item:first-child { border-top: 1px solid var(--border); }
.feature-list__dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 0.55rem;
}

.medical-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

/* === FORM === */
.signup-form {
  margin-top: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--sage); }
.form-input::placeholder { color: var(--text-muted); }

/* === SURVEY === */
.survey {
  border: none;
  margin-bottom: var(--space-md);
}
.survey__legend {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.survey__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  cursor: pointer;
  font-size: 0.975rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.radio-label:first-of-type { border-top: 1px solid var(--border); }

.radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-custom {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin-top: 0.15rem;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.radio-input:checked + .radio-custom {
  border-color: var(--sage);
  background: var(--sage);
}
.radio-input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* === FOOTER === */
.footer {
  background: var(--text);
  color: rgba(245, 240, 235, 0.7);
  padding-block: var(--space-lg);
}
.footer .container { text-align: center; }

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}
.footer__disclaimer {
  font-size: 0.825rem;
  line-height: 1.6;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
}
.footer__credit {
  font-size: 0.8rem;
}
.footer__link {
  color: var(--sage);
  text-decoration: none;
}
.footer__link:hover { text-decoration: underline; }

/* === RESPONSIVE TWEAKS === */
@media (max-width: 480px) {
  .section { padding-block: 4rem; }
  .hero__content { padding-block: 5rem; }
  .btn { font-size: 0.95rem; padding: 0.85rem 1.5rem; }
}
