:root {
  color-scheme: light;
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-strong: #eef3ec;
  --ink: #20312b;
  --muted: #64726d;
  --line: #d8e0da;
  --accent: #15745f;
  --accent-strong: #0f5d4c;
  --clay: #a84d43;
  --gold: #d5a83f;
  --sky: #4f8ba3;
  --shadow: 0 24px 70px rgba(32, 49, 43, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: transparent;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.5rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3d4d47;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
  color: white;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.phone-preview {
  margin: 0;
  justify-self: center;
}

.phone-shell {
  width: min(86vw, 360px);
  aspect-ratio: 0.52;
  padding: 14px;
  border-radius: 46px;
  background: #1f2926;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(21, 116, 95, 0.12), rgba(255, 255, 255, 0) 38%),
    #fbfcf8;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.phone-status strong {
  color: var(--ink);
}

.dose-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.dose-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.dose-card strong {
  grid-column: 2;
  font-size: 2.4rem;
  line-height: 1;
}

.pill {
  grid-row: 1 / 3;
  width: 28px;
  height: 54px;
  border: 3px solid var(--accent);
  border-radius: 999px;
  background: linear-gradient(180deg, white 0 50%, var(--gold) 50% 100%);
  transform: rotate(32deg);
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.progress-strip span {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.progress-strip span:nth-child(-n + 3) {
  background: var(--accent);
}

.phone-message {
  margin: 0;
  color: #34463f;
  font-size: 1rem;
  line-height: 1.45;
}

.phone-button {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-align: center;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.summary-item {
  display: grid;
  gap: 4px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.summary-item:last-child {
  border-right: 0;
}

.summary-item strong {
  font-size: 1.05rem;
}

.summary-item span,
.muted {
  color: var(--muted);
}

.content-section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 7vw, 92px);
}

.prose {
  max-width: 720px;
  color: #34463f;
  font-size: 1.05rem;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 5vw, 56px) clamp(20px, 5vw, 72px);
  background: #fff7e2;
  border-bottom: 1px solid #ecdba4;
}

.notice h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.notice p {
  max-width: 850px;
  margin: 12px 0 0;
}

.support-notice {
  background: #eef3ec;
  border-bottom-color: var(--line);
}

.page-hero {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
}

.page-hero .button {
  margin-top: 30px;
}

.contact-panel {
  padding: 26px;
  border-left: 6px solid var(--sky);
  background: var(--surface);
}

.contact-panel p {
  margin: 0 0 10px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 980px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.article-layout {
  padding: clamp(42px, 7vw, 90px) clamp(20px, 5vw, 72px);
}

.article {
  width: min(100%, 840px);
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.article h2 {
  margin-top: 48px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.article h3 {
  margin-top: 28px;
}

.article p,
.article li {
  color: #34463f;
  font-size: 1.08rem;
}

.article-subtitle {
  margin: 22px 0 0;
  color: #3d4d47;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.byline {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.article hr {
  height: 1px;
  margin: 42px 0;
  border: 0;
  background: var(--line);
}

blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  border-left: 5px solid var(--clay);
}

blockquote p {
  margin: 10px 0;
  color: var(--ink);
  font-weight: 700;
}

.article ul {
  padding-left: 1.2rem;
}

.article-note {
  margin-top: 52px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.article-note h2 {
  margin-top: 0;
}

.legal h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: white;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-preview {
    justify-self: start;
  }

  .summary-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .summary-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-item:last-child {
    border-bottom: 0;
  }

  .notice,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .phone-shell {
    width: 100%;
  }

  .article-layout {
    padding-top: 36px;
  }
}
