@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #2f3633;
  --fg-light-base-heading: #0b6b4f;
  --fg-light-base-muted: #56605c;
  --fg-light-base-link: #0a5c8a;
  --fg-light-base-inverse: #2f3633;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #2f3633;
  --fg-light-card-heading: #0b6b4f;
  --fg-light-card-muted: #56605c;
  --fg-light-card-link: #0a5c8a;
  --fg-light-card-inverse: #2f3633;
  --bg-light-elevated: #e6f4ee;
  --fg-light-elevated-body: #2f3633;
  --fg-light-elevated-heading: #0b6b4f;
  --fg-light-elevated-muted: #56605c;
  --fg-light-elevated-link: #0a5c8a;
  --fg-light-elevated-inverse: #2f3633;
  --brand-light-accent: #0b6b4f;
  --brand-light-accent-hover: #08503b;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0b6b4f;
  --border-light-default: #0b6b4f;
  --border-light-subtle: #b9d9cb;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Cos Cob Beauty Notes: a pharmacy dispensing label.
   White paper, pharmacy green for the band, headings and buttons, mint
   label panels, charcoal body, label red only for warnings and required
   marks, blue links. Lexend 600 for headings, Nunito Sans for reading. */

:root {
  --white: #ffffff;
  --green: #0b6b4f;
  --green-dark: #08503b;
  --charcoal: #2f3633;
  --mint: #e6f4ee;
  --mint-line: #b9d9cb;
  --red: #b42318;
  --blue: #0a5c8a;
  --head: 'Lexend', Verdana, sans-serif;
  --text: 'Nunito Sans', Arial, sans-serif;
  --rule: 2px solid var(--green);
  --radius: 8px;
  --shell: 72rem;
  --gutter: 1rem;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6.5rem; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  margin: 0;
  color: var(--fg-heading);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem); line-height: 1.25; }
h3 { font-size: 1.15rem; line-height: 1.35; }

p { margin: 0 0 1.1rem; }
strong { font-weight: 700; }

a.text-role-link { text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header: sticky white bar with a thin pharmacy-green top band ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-top: 6px solid var(--green);
  border-bottom: 1px solid var(--mint-line);
}

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

.brand { display: flex; align-items: center; min-height: 44px; flex: 0 1 276px; min-width: 0; }
.brand .site-logo { display: block; width: 100%; height: auto; }

/* Desktop: tab-style links with a green bottom bar on hover and focus. */
nav.site-nav { display: none; }
nav.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
nav.site-nav a.text-role-link {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
  padding: 0 0.6rem;
  border-bottom: 4px solid transparent;
  color: var(--charcoal);
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}
nav.site-nav a.text-role-link:hover,
nav.site-nav a.text-role-link:focus-visible { color: var(--green); border-bottom-color: var(--green); }
nav.site-nav a.text-role-link:focus-visible { outline-offset: -3px; }

/* Phones: a green Menu button opening a white sheet of stacked tabs. */
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.site-menu { flex: none; }
.site-menu > summary:hover { background: var(--green-dark); }
.site-menu > summary .menu-icon {
  position: relative;
  display: inline-block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.site-menu[open] > summary .menu-icon { background: transparent; box-shadow: none; }
.site-menu[open] > summary .menu-icon::before,
.site-menu[open] > summary .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.site-menu[open] > summary .menu-icon::after { transform: rotate(-45deg); }

.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 1rem;
  background: var(--white);
  border-bottom: var(--rule);
  box-shadow: 0 12px 24px rgba(11, 107, 79, 0.12);
}
.site-menu > ul li + li { border-top: 1px solid var(--mint-line); }
.site-menu > ul a.text-role-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 0.75rem;
  border-left: 4px solid transparent;
  color: var(--charcoal);
  font-family: var(--head);
  font-weight: 600;
  text-decoration: none;
}
.site-menu > ul a.text-role-link:hover { color: var(--green); border-left-color: var(--green); background: var(--mint); }

@media (min-width: 64rem) {
  .header-row { gap: 1rem 1.5rem; }
  .brand { flex-basis: 248px; }
  nav.site-nav { display: block; }
  .site-menu { display: none; }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { max-width: calc(var(--shell) + 2 * var(--gutter)); margin: 0 auto; padding: 0.75rem var(--gutter) 0; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--mint-line); }
.breadcrumbs a.text-role-link { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Reading copy ---------- */

.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3,
.prose > blockquote, .prose > .table-scroll { max-width: 64ch; }
.prose > h2 { margin: 2.4rem 0 0.75rem; }
.prose > h3 { margin: 1.75rem 0 0.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--green); }
.prose blockquote {
  margin: 0 0 1.4rem;
  padding: 0.75rem 1.1rem;
  border-left: 4px solid var(--green);
  background: var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.4rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--mint-line); padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mint); font-weight: 700; }

/* Photos: rounded 8px corners inside a bordered label frame. */
figure.photo-hero, figure.photo-inline {
  margin: 0 0 1.75rem;
  padding: 6px;
  max-width: 44rem;
  border: 1px solid var(--mint-line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
}
figure.photo-hero img, figure.photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Photo-backed sections: a white label panel over the picture. */
section[data-section][style] {
  margin: 2rem 0;
  padding: clamp(1.25rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
section[data-section][style] > .bg-surface-card {
  max-width: 40rem;
  padding: 1.25rem 1.4rem;
  border-top: 6px solid var(--green);
  border-radius: var(--radius);
}
section[data-section][style] > .bg-surface-card > *:last-child { margin-bottom: 0; }
section[data-section][style] > .bg-surface-card h2,
section[data-section][style] > .bg-surface-card h3 { margin: 0 0 0.6rem; }

/* ---------- Label box: the dispensing label, used for facts and method ---------- */

.rx-label {
  max-width: 44rem;
  margin: 3rem 0;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.rx-label-lines { list-style: none; margin: 0; padding: 0; }
.rx-label-lines li { padding: 0.8rem 1.25rem; }
.rx-label-lines li + li { border-top: 1px dashed var(--mint-line); }

/* ---------- Home: the dispensing counter ---------- */

.counter { padding-bottom: 1rem; }

.counter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 3rem;
  padding-top: clamp(2rem, 5vw, 4rem);
}
.counter-copy { grid-row: 1; }
.counter-title h1 { color: var(--green); max-width: 14ch; }
.counter-deck {
  margin: 1rem 0 2rem;
  max-width: 30ch;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.45;
}
.counter-body { display: contents; }
.counter-body > * { grid-column: 1 / -1; }
.counter-body > figure.photo-hero { margin-bottom: 2.5rem; }

@media (min-width: 56rem) {
  .counter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .counter-copy { grid-column: 1; align-self: center; }
  .counter-body > figure.photo-hero { grid-column: 2; grid-row: 1; margin: 0 0 3rem; }
}

.shelf { margin-top: 3rem; }

.label-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1.25rem;
}
.label-card {
  border: 1px solid var(--mint-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.label-strip {
  padding: 0.85rem 1.1rem;
  border-top: 8px solid var(--green);
  border-bottom: 1px solid var(--mint-line);
  font-size: 1.1rem;
}
.label-strip a.text-role-link { color: var(--green); text-decoration: none; }
.label-strip a.text-role-link:hover { text-decoration: underline; }
.label-links { list-style: none; margin: 0; padding: 0.5rem 1.1rem 0.9rem; }
.label-links li + li { border-top: 1px solid var(--mint-line); }
.label-links a.text-role-link { display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0; line-height: 1.4; }

/* ---------- Green title strip (hubs, about) ---------- */

.title-strip { margin-top: 0.75rem; padding: clamp(1.5rem, 4vw, 2.5rem) 0; border-top: 10px solid var(--green); }
.title-strip h1 { max-width: 22ch; font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3.5rem); }

/* ---------- Topic hub: shelf of label cards ---------- */

.shelf-page-wrap { padding-top: 2rem; padding-bottom: 3rem; }
.shelf-items { margin-top: 2.5rem; }
.shelf-items-heading { margin-bottom: 1rem; }
.item-labels > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}
.item-labels a.text-role-link {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  height: 100%;
  padding: 1rem 1.25rem;
  border: var(--rule);
  border-left-width: 10px;
  border-radius: var(--radius);
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 140ms ease;
}
.item-labels a.text-role-link:hover { background: var(--mint); text-decoration: underline; }

/* ---------- Article: plain-language leaflet ---------- */

.leaflet-wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
.leaflet-title { max-width: 64ch; margin-bottom: 1.75rem; }
.leaflet-body { display: flex; flex-direction: column; }
.leaflet-body > * { order: 2; }
.leaflet-body > :first-child,
.leaflet-body > figure.photo-hero + * { order: 0; }
.leaflet-body > figure.photo-hero { order: 1; }

/* The closing section of each leaflet sits in a red-edged label. */
.leaflet-body > h2:last-of-type,
.leaflet-body > h2:last-of-type ~ * {
  max-width: 64ch;
  margin: 0;
  padding: 0 1.25rem 0.9rem;
  border-left: 8px solid var(--red);
  border-right: 1px solid var(--mint-line);
}
.leaflet-body > h2:last-of-type {
  margin-top: 2.4rem;
  padding-top: 1rem;
  padding-bottom: 0.6rem;
  border-top: 1px solid var(--mint-line);
  border-radius: var(--radius) var(--radius) 0 0;
}
.leaflet-body > h2:last-of-type ~ ul,
.leaflet-body > h2:last-of-type ~ ol { padding-left: 2.6rem; }
.leaflet-body > h2:last-of-type ~ :last-child {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--mint-line);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ---------- About: a label sheet, one label card per body section ---------- */

.note-wrap { padding-top: 2rem; padding-bottom: 2rem; }
.note-body > p:first-child { font-size: 1.3rem; line-height: 1.55; max-width: 44ch; margin-bottom: 2rem; }

.about-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row dense;
  column-gap: 1.5rem;
}
.about-sheet > * { grid-column: 1 / -1; }
.about-sheet > h2 {
  max-width: none;
  margin: 0;
  padding: 1rem 1.25rem 0.6rem;
  border: 2px solid var(--green);
  border-top-width: 8px;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.2rem;
}
.about-sheet > h2 + * {
  max-width: none;
  margin: 0 0 1.5rem;
  padding: 0 1.25rem 1.1rem;
  border: 2px solid var(--green);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
@media (min-width: 56rem) {
  .about-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-sheet > h2:nth-of-type(odd),
  .about-sheet > h2:nth-of-type(odd) + * { grid-column: 1; }
  .about-sheet > h2:nth-of-type(even),
  .about-sheet > h2:nth-of-type(even) + * { grid-column: 2; }
}

/* ---------- Contact: prescription pad ---------- */

.pad-wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
.pad-line { margin: 0.75rem 0 1.75rem; max-width: 48ch; font-size: 1.15rem; }
.pad-card {
  max-width: 44rem;
  padding: clamp(1.1rem, 4vw, 2rem);
  border: var(--rule);
  border-top-width: 10px;
  border-radius: var(--radius);
  background: var(--white);
}
.req { color: var(--red); font-weight: 700; }
.pad-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem 1.25rem; }
@media (min-width: 40rem) {
  .pad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-label { font-weight: 700; }
.field-input {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #6b7a74;
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
}
.field-input:focus-visible { border-color: var(--green); }
.field-area { min-height: 9rem; resize: vertical; }
.button-green {
  margin-top: 1.5rem;
  min-height: 48px;
  padding: 0.65rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 140ms ease;
}
.button-green:hover { background: var(--green-dark); }
.pad-body { margin-top: 3rem; }

/* ---------- Thank you and not found: the filled order ---------- */

.filled-wrap { padding-top: 2rem; padding-bottom: 3rem; }
.filled-card {
  max-width: 40rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: var(--rule);
  border-radius: var(--radius);
}
.filled-check { display: block; margin-bottom: 1rem; }
.filled-card .filled-body { margin-top: 1rem; }
.filled-wrap > .filled-body { margin-top: 2rem; }

.hub-pills { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hub-pills a.text-role-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 1.1rem;
  border: var(--rule);
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.hub-pills a.text-role-link:hover { background: var(--mint); }

/* ---------- Footer: mint band ---------- */

.site-footer { margin-top: 3rem; border-top: 6px solid var(--green); }
.footer-inner { padding-top: 2.25rem; padding-bottom: 2rem; }
.footer-list { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2 15rem; column-gap: 2rem; }
.footer-list li { break-inside: avoid; }
.footer-list a.text-role-link { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { margin: 0; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
