:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f3f6f4;
  --text: #17211c;
  --muted: #58655f;
  --line: #d9e2dc;
  --brand: #246b52;
  --brand-dark: #164937;
  --accent: #9b5c2e;
  --focus: #1b75bb;
  --shadow: 0 16px 40px rgba(23, 33, 28, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  background: var(--brand);
  color: #fff;
  font-size: 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-list,
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}

.nav-list a[aria-current="page"],
.nav-list a:hover,
.footer-links a:hover {
  background: var(--surface-soft);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
}

.language-switcher button {
  min-width: 3rem;
  min-height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.hero {
  padding: 5.2rem 0 3.4rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(36, 107, 82, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--brand);
  border-radius: 0.5rem;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.phone-panel {
  justify-self: center;
  width: min(100%, 22rem);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: #202822;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 28rem;
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #fdfdfb, #edf3ef);
}

.dose-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.dose-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
}

.dose-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--brand);
}

.dose-time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #e7f1ec;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.section {
  padding: 4rem 0;
}

.section.narrow {
  max-width: 860px;
}

.section-header {
  max-width: 46rem;
  margin-bottom: 1.6rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(23, 33, 28, 0.04);
}

.card {
  padding: 1.1rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.75rem;
  border-radius: 0.55rem;
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.notice {
  padding: 1.25rem;
  border-left: 4px solid var(--brand);
}

.muted {
  color: var(--muted);
}

.content-list {
  padding-left: 1.2rem;
}

.content-list li {
  margin: 0.45rem 0;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq article {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--muted);
}

.lang-block {
  display: block;
}

.js .lang-block:not(.is-active) {
  display: none;
}

.privacy-variant-a[hidden],
.privacy-variant-b[hidden] {
  display: none;
}

.not-found {
  min-height: 54vh;
  display: grid;
  align-items: center;
}

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

@media (max-width: 840px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
  }

  .nav-list {
    flex-wrap: wrap;
  }

  .hero {
    padding: 3.1rem 0 2.6rem;
  }

  .hero-grid,
  .two-col,
  .grid {
    grid-template-columns: 1fr;
  }

  .phone-panel {
    width: min(100%, 19rem);
  }

  .phone-screen {
    min-height: 22rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .footer-inner,
  .section {
    width: min(100% - 1.25rem, 1120px);
  }

  .brand {
    white-space: normal;
  }

  .header-actions {
    flex-direction: column;
  }

  .nav-list a {
    padding: 0.32rem 0.55rem;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
