/* ============================================================
   O Eyecare — 2026 UI Renewal · Myopia Management sub-pages
   Shared styles for the three new treatment pages:
     - Stellest Lenses    (ourservice/stellest-lenses)
     - Ortho-K Lenses     (ourservice/ortho-k-lenses)
     - Atropine Drops     (ourservice/atropine-eye-drops)
   New file (never edit the shared oeyecare-2026.css). Loaded in addition to
   the base design system by layout_stellest / layout_orthok / layout_atropine.
   Design source: _delivery/ui_kits/website/{essilor-stellest,ortho-k,atropine}-page.jsx
   All three pages share the same visual family as the MiSight page, so one
   .oe-mm-* vocabulary drives them all.
   ============================================================ */

/* ------------------------------------------------------------
   Solid header (design: <OEHeader solid />) — same technique as MiSight.
   Body carries .oe-mm-page.
   ------------------------------------------------------------ */
.oe-mm-page .oe-header {
  background: rgba(246, 241, 233, .92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--border-subtle);
}
.oe-mm-page .oe-header .oe-nav__link,
.oe-mm-page .oe-header .oe-nav__caret,
.oe-mm-page .oe-header .oe-header__phone,
.oe-mm-page .oe-header .oe-lang__toggle,
.oe-mm-page .oe-header .oe-header__burger {
  color: var(--ink-900);
}
.oe-mm-page .oe-header .oe-brand__tag { color: var(--text-muted); }
.oe-mm-page .oe-header .oe-brand__logo--white { display: none; }
.oe-mm-page .oe-header .oe-brand__logo--ink { display: block; }
.oe-mm-page .oe-header .oe-header__book { color: var(--ink-900); border-color: var(--ink-900); }
.oe-mm-page .oe-header .oe-header__book:hover { background: var(--ink-900); color: #fff; }

/* ------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------ */
.oe-mm-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}
.oe-mm-wrap--narrow { max-width: 820px; }

.oe-mm-sec { padding: 72px 0; }
.oe-mm-sec--white { background: var(--surface-card); }
.oe-mm-sec--cream { background: var(--surface-cream); }

/* ------------------------------------------------------------
   Hero — dark banner image + gradient
   ------------------------------------------------------------ */
.oe-mm-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
}
.oe-mm-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}
.oe-mm-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,.5) 0%, rgba(20,16,12,.22) 45%, rgba(20,16,12,.68) 100%);
}
.oe-mm-hero__inner {
  position: relative;
  padding-top: 128px;
  padding-bottom: 104px;
  max-width: 820px;
}
.oe-mm-hero__eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}
.oe-mm-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff;
}
.oe-mm-hero__lede {
  margin: 22px 0 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  max-width: 640px;
}
.oe-mm-hero__cta { margin-top: 32px; }

/* ------------------------------------------------------------
   Full-bleed banner (oe-myo-banner) — mirrors the myopia page's banner so the
   ortho-k hero can render the same edge-to-edge image (no text overlay).
   Kept identical to oeyecare-myopia-2026.css so both pages look the same.
   ------------------------------------------------------------ */
.oe-myo-banner {
  background: #fff;
  line-height: 0;
  padding-top: 92px;
}
.oe-myo-banner img {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------
   Prose + headings
   ------------------------------------------------------------ */
.oe-mm-eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 20px;
}
.oe-mm-h2 {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink-900);
  max-width: 620px;
}
.oe-mm-h2--sm { font-size: 30px; line-height: 1.2; margin-bottom: 22px; }
.oe-mm-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}
.oe-mm-body--muted { color: var(--text-muted); }
.oe-mm-body strong { color: var(--ink-900); font-weight: 600; }
.oe-mm-mt-sm { margin-top: 22px; }
.oe-mm-mt-md { margin-top: 32px; }
.oe-mm-mt-lg { margin-top: 40px; }

/* uppercase ink sub-label ("How they work", "Ideal for individuals with", …) */
.oe-mm-label {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 0 0 14px;
}

/* ------------------------------------------------------------
   Pill list (treatment types / "ideal for")
   ------------------------------------------------------------ */
.oe-mm-pills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.oe-mm-pill {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
}

/* ------------------------------------------------------------
   Marker lists (em-dash / bullet)
   ------------------------------------------------------------ */
.oe-mm-list { margin: 0; padding: 0; list-style: none; }
.oe-mm-list__item {
  display: flex;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.oe-mm-list__item:last-child { margin-bottom: 0; }
.oe-mm-list__m { color: var(--clay-500); flex-shrink: 0; }
.oe-mm-list--sm .oe-mm-list__item { font-size: 16px; line-height: 1.7; }
.oe-mm-list__item strong { color: var(--ink-900); font-weight: 600; }

/* ------------------------------------------------------------
   Stat cards (3-col)
   ------------------------------------------------------------ */
.oe-mm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oe-mm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.oe-mm-stat {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px 32px;
}
.oe-mm-stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--clay-500);
}
.oe-mm-stat__label {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   Feature cards — numbered (index | title + body)
   ------------------------------------------------------------ */
.oe-mm-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 32px;
}
.oe-mm-card--cream { background: var(--surface-cream); }
.oe-mm-card--plain { grid-template-columns: 1fr; }
.oe-mm-card__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  color: var(--clay-500);
}
.oe-mm-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.oe-mm-card__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* stacked step card — number on top (atropine "what to expect") */
.oe-mm-step {
  background: var(--surface-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 30px;
}
.oe-mm-step__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  color: var(--clay-500);
}
.oe-mm-step__title {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.oe-mm-step__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   Two-column (list + aside box) — stellest "how it helps"
   ------------------------------------------------------------ */
.oe-mm-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.oe-mm-aside {
  background: var(--surface-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px;
  align-self: start;
}
.oe-mm-aside--white { background: var(--surface-card); }
.oe-mm-aside__note {
  margin: 22px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Callout (atropine "it's important to note")
   ------------------------------------------------------------ */
.oe-mm-callout {
  background: var(--surface-cream);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--clay-500);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 28px;
}
.oe-mm-callout__label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--link-hover);
  margin: 0 0 8px;
}
.oe-mm-callout__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   Closing CTA band (dark) — shared OECTABand
   ------------------------------------------------------------ */
.oe-mm-cta { background: var(--ink-900); color: #fff; padding: 80px 0; }
.oe-mm-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.oe-mm-cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  max-width: 620px;
}
.oe-mm-cta__sub {
  font-family: var(--font-body);
  font-size: 17px;
  opacity: .82;
  margin-top: 12px;
  max-width: 560px;
}

/* ------------------------------------------------------------
   Responsive ( <= 760px ) — mirrors the *_mobile.html rules
   ------------------------------------------------------------ */
@media (max-width: 760px) {
  .oe-mm-wrap { padding: 0 20px; }
  .oe-mm-hero__inner { padding-top: 118px; }
  .oe-mm-hero__title { font-size: 34px; }
  .oe-myo-banner { padding-top: 76px; }
  .oe-mm-grid-3,
  .oe-mm-grid-2,
  .oe-mm-2col { grid-template-columns: 1fr; gap: 16px; }
  .oe-mm-2col { gap: 32px; }
  .oe-mm-h2 { font-size: 28px; }
  .oe-mm-cta__title { font-size: 30px; }
}
