@font-face {
  font-family: SoviOutfit;
  src: url('/assets/fonts/outfit.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  background: #f7f5ef;
  color: #0b4849;
  font-family: SoviOutfit, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid #0b4849;
  outline-offset: 5px;
}

header {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 32px 24px 70px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.intro h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  gap: 24px;
  padding: 13px 26px;
  background: #0b4849;
  color: #fff;
  border-radius: 980px;
  text-decoration: none;
  min-height: 48px;
}

.qualifier {
  font-size: 13px;
  margin-top: 18px;
}

section {
  border-top: 1px solid #0b484926;
  padding: 28px 0;
  max-width: 76ch;
}

h2 {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 14px;
}

section p {
  margin: 12px 0;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  background: #fff9;
  border: 1px solid #0b48491a;
  border-radius: 12px;
}

.product-price strong {
  font-size: 27px;
}

.flex-price {
  border-top: 1px solid #0b48491a;
  padding-top: 12px;
  margin-top: 6px;
}

ol {
  padding-left: 24px;
}

@media (width <= 650px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro img {
    max-height: 220px;
    grid-row: 1;
  }

  main {
    padding-top: 16px;
  }
}

main > section {
  margin: 36px 0;
}

main li {
  margin: 12px 0;
  line-height: 1.7;
}

main h3 {
  margin-top: 22px;
}

.product-price {
  gap: 16px;
}

.price-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-option + .price-option {
  padding-top: 16px;
  border-top: 1px solid #0b48491c;
}

.price-plan-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9b4c33;
  font-weight: 600;
}

.price-eyebrow,
.price-detail {
  font-size: 13px;
  color: #53634f;
}

.price-billing {
  font-size: 15px;
  font-weight: 600;
}

.price-option strong {
  line-height: 1.15;
}

.price-option strong small {
  font-size: 15px;
  font-weight: 500;
}

.schedule-comparison {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.schedule-comparison caption {
  text-align: left;
  margin-bottom: 12px;
}

.schedule-comparison th,
.schedule-comparison td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #0b484926;
}

.schedule-comparison thead {
  background: #e5eeeb;
}

.schedule-saving {
  display: block;
  font-size: 11px;
  color: #9b4c33;
}

.schedule-note {
  font-size: 12px;
  max-width: 65ch;
}

.product-price:has(.schedule-comparison) {
  display: block;
}

.detail-how-it-works {
  max-width: none;
}

.detail-how-it-works ol {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-how-it-works li {
  margin: 0;
  padding: 22px;
  background: #eeeae0;
  border: 1px solid #0b48491c;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.55;
}

.detail-how-it-works li:nth-child(2) {
  background: #e5ebe3;
}

.detail-how-it-works li:nth-child(3) {
  background: #f2eee5;
}

.detail-how-it-works li strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.detail-how-it-works li strong span {
  font-family: georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
  color: #9b4c33;
}

.detail-process-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-top: auto;
  padding-top: 8px;
}

@media (width <= 768px) {
  .detail-how-it-works ol {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.medication-description {
  font-size: 18px;
  line-height: 1.6;
  color: #53634f;
  margin: 16px 0;
  max-width: 48ch;
}

/* Keep the existing Sovi palette and type while clarifying the intake handoff. */
.intake-handoff {
  margin-top: 20px;
  max-width: 48ch;
}
.billing-review-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
}
.intake-handoff p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #53634f;
}
#treatment-pricing {
  scroll-margin-top: 24px;
}
:focus-visible {
  outline: 2px solid #9b4c33;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: #0b4849;
  color: #f7f5ef;
}
.skip-link:focus {
  top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
