:root {
  --ink: #15202b;
  --ink-soft: #46525e;
  --paper: #f6f3ee;
  --card: #ffffff;
  --line: #e2ddd4;
  --accent: #c2502b;
  --accent-ink: #ffffff;
  --navy: #1b2c3d;
  --tag-bg: #fdf0e9;
  --tag-ink: #9a3a1a;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.6rem; text-decoration: none; letter-spacing: -.02em; margin: 0; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; color: var(--ink); }
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; border: 0; }
  .nav-open .site-nav { display: flex; }
}

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font: 600 1rem/1 "Inter", sans-serif; }
.btn:hover { filter: brightness(.93); }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.hero-points li::before { content: "\2014"; color: var(--accent); margin-right: 10px; }
.hero-panel { background: var(--navy); color: #e9e4da; border-radius: 22px; padding: 32px; }
.hero-panel h2 { color: #fff; font-size: 1.5rem; }
.hero-panel ol { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; }
.hero-panel strong { color: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

/* Product cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a { text-decoration: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; }
.filters a:hover { border-color: var(--ink); }
.cat-title { font-size: 1.5rem; margin: 40px 0 16px; scroll-margin-top: 90px; }
.cat-title:first-of-type { margin-top: 0; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-img { background: #ece7de; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.product-name h3 { margin: 0; }
.tag { display: inline-block; font: 600 .72rem/1 "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: #eef1f4; color: var(--navy); }
.tag-compounded { background: var(--tag-bg); color: var(--tag-ink); }
.product-form { color: var(--ink-soft); font-size: .92rem; margin-bottom: 12px; }
.product-body ul { padding-left: 1.1em; margin: 0 0 16px; color: var(--ink-soft); font-size: .93rem; }
.compound-note { font-size: .82rem; color: var(--tag-ink); background: var(--tag-bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; }
.price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price strong { font-size: 1.1rem; }
.price small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .8rem; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 .85rem "Inter", sans-serif; color: var(--accent); display: block; margin-bottom: 12px; letter-spacing: .1em; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Partners */
.partners { display: grid; gap: 20px; }
@media (min-width: 800px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card); }
.partner .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px; }
.partner h3 { margin-bottom: 8px; }
.partner p { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-soft); }
.faq .answer ul { padding-left: 1.2em; }
.faq-group { font-size: 1.3rem; margin: 48px 0 8px; }
.faq-group:first-child { margin-top: 0; }

/* Page header & legal */
.page-head { padding: 56px 0 24px; }
.page-head p { color: var(--ink-soft); max-width: 40em; }
.legal { padding-bottom: 72px; }
.legal > * { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; font-family: "Inter", sans-serif; }
.legal p, .legal li { color: #2c3742; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal .meta { color: var(--ink-soft); font-size: .92rem; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 24px 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 8px; }
.toc ol { margin: 0; columns: 2 220px; }

/* Contact */
.contact-grid { display: grid; gap: 20px; max-width: 900px; padding-bottom: 24px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card p { color: var(--ink-soft); margin: 0; overflow-wrap: anywhere; }

/* CTA band */
.cta-band { background: var(--navy); color: #e9e4da; border-radius: 22px; padding: 44px 32px; text-align: center; }
.cta-band h2 { color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c0c7; padding: 56px 0 28px; font-size: .92rem; }
.site-footer a { color: #e6e9ec; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 12px; }
.fine-print { border-top: 1px solid #2c3a48; margin-top: 40px; padding-top: 24px; font-size: .8rem; color: #8d97a1; }

/* Centered hero */
.hero-center { text-align: center; max-width: 860px; }
.hero-center .lede { margin: 0 auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.hero { padding: 88px 0 80px; background: radial-gradient(ellipse at 50% 0%, #fbeee6 0%, var(--paper) 60%); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); display: block; }

/* Category tiles */
.cat-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-tile { position: relative; display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 56px 24px 24px; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-tile h3 { margin: 6px 0 6px; }
.cat-tile p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.cat-count { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--accent); }
.cat-arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ink); }

/* Promises */
.promises { display: grid; gap: 20px; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.promise { border-top: 2px solid var(--ink); padding-top: 18px; }
.promise p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Dark section */
.section-dark { background: var(--navy); color: #d9dee3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #b9c3cc; }
.section-dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-dark .step p { color: #b9c3cc; }
.section-dark .step::before { color: #f0a17f; }
.section-dark .eyebrow { color: #f0a17f; }

/* Treatments page */
.cat-section { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.cat-head { display: grid; gap: 4px 40px; margin-bottom: 28px; }
@media (min-width: 900px) { .cat-head { grid-template-columns: 1fr 1.6fr; align-items: end; } }
.cat-head h2 { margin: 0; }
.cat-head p { color: var(--ink-soft); margin: 0; }
.product-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.product-desc { color: var(--ink-soft); font-size: .95rem; }
.price strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.3rem; }
.price sup { font-size: .6em; }
.arrow-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; text-decoration: none; font-size: 1.15rem; transition: background .15s, color .15s; }
.arrow-btn:hover { background: var(--ink); color: var(--paper); }
.price-notes { padding: 32px 16px 72px; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.price-notes p { max-width: 820px; }
@media (min-width: 720px) { .price-notes { padding-left: 32px; padding-right: 32px; } }
.page-head h1 { margin-bottom: .35em; }

/* Safety page */
.safety-block { border-top: 1px solid var(--line); padding-top: 8px; }
.safety-block h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; }
.legal ul.state-list { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
@media (min-width: 640px) { .legal ul.state-list { columns: 4; } }
.state-list li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* Announcement bar */
.announce { background: var(--ink); color: #e9e4da; text-align: center; font-size: .82rem; padding: 8px 16px; letter-spacing: .02em; }

/* Split hero with photo */
.hero-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1fr 1fr; } }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #e9e2d9; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-split .hero-points { margin-top: 4px; }
.hero-split h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }

/* Photo category tiles (override the plain tiles) */
.cat-tile { padding: 0; overflow: hidden; background: var(--card); display: flex; flex-direction: column; }
.cat-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e2d9; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.03); }
.cat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.cat-body p { margin: 0 0 12px; }
.cat-names { margin-top: auto !important; font-size: .85rem !important; color: var(--ink) !important; font-weight: 500; }

/* Taken seriously */
.listen { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .listen { grid-template-columns: .9fr 1.1fr; } }
.listen-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e2d9; }
.listen-photo img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--tag-bg); color: var(--accent); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }

/* Category banner photo on treatments page */
.cat-photo { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; background: #e9e2d9; }

.site-footer a.inline { display: inline; margin: 0; text-decoration: underline; }
