:root {
  --px-ivory: #fbf8f2;
  --px-paper: #fffdf9;
  --px-sage: #738a70;
  --px-sage-deep: #4e634b;
  --px-lilac: #cdb6d8;
  --px-ink: #40352d;
  --px-mist: #e9f0e5;
  --px-line: #d8d0c5;
  --px-radius: 1.25rem;
  --px-shadow: 0 14px 40px rgba(64, 53, 45, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--px-ivory);
  color: var(--px-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 3px solid var(--px-lilac); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--px-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.05rem, 4vw, 3.5rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1rem; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 1rem;
  left: 1rem;
  z-index: 999;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--px-ink);
  color: #fff;
}

.px-container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.px-container--narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.px-section { padding: clamp(3.75rem, 8vw, 7rem) 0; }
.px-eyebrow { margin-bottom: .8rem; color: var(--px-sage-deep); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.px-lede { max-width: 40rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }

.px-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--px-ink);
  border-radius: 999px;
  background: var(--px-ink);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.px-button:hover { transform: translateY(-1px); background: var(--px-sage-deep); }
.px-button--secondary { background: transparent; color: var(--px-ink); }
.px-button--secondary:hover { background: var(--px-mist); color: var(--px-ink); }

.px-announce { padding: .6rem 1rem; background: var(--px-sage-deep); color: #fff; font-size: .85rem; text-align: center; }
.px-header { border-bottom: 1px solid var(--px-line); background: rgba(251, 248, 242, .96); }
.px-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.px-brand { color: var(--px-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.px-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.px-nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
.px-cart { font-size: .9rem; font-weight: 750; text-decoration: none; }

.px-hero { position: relative; overflow: hidden; padding: clamp(5rem, 12vw, 10rem) 0; background: radial-gradient(circle at 87% 25%, rgba(205, 182, 216, .62), transparent 25rem), radial-gradient(circle at 18% 90%, rgba(233, 240, 229, .95), transparent 28rem); }
.px-hero__content { max-width: 690px; }
.px-hero h1 { max-width: 650px; margin-bottom: 1.25rem; }
.px-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.px-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.px-pack-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--px-line); border-radius: var(--px-radius); background: var(--px-paper); box-shadow: var(--px-shadow); }
.px-pack-card__image { display: grid; min-height: 255px; place-items: center; margin: -.25rem 0 1.2rem; overflow: hidden; border-radius: calc(var(--px-radius) - .45rem); background: linear-gradient(145deg, #f4efe7, var(--px-mist)); }
.px-pack-card__meta { margin: .75rem 0 1rem; color: var(--px-sage-deep); font-size: .92rem; }
.px-pack-card .px-button { width: 100%; margin-top: auto; }

.precilyx-safety-note { margin: 1.75rem 0; padding: 1.35rem; border-left: 4px solid var(--px-sage); border-radius: 0 var(--px-radius) var(--px-radius) 0; background: #fff; box-shadow: var(--px-shadow); }
.precilyx-safety-note h2 { margin-bottom: .85rem; font-size: 1.35rem; }
.precilyx-drug-facts { padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--px-line); border-radius: var(--px-radius); background: var(--px-paper); box-shadow: var(--px-shadow); }
.precilyx-drug-facts section { padding: 1.5rem 0; border-top: 1px solid var(--px-line); }
.precilyx-drug-facts h3 { margin-bottom: .8rem; }
.precilyx-drug-facts h4 { margin: 1rem 0 .65rem; font-size: 1rem; }
.precilyx-drug-facts ul, .precilyx-drug-facts ol { padding-left: 1.25rem; }
.precilyx-drug-facts li + li { margin-top: .5rem; }

.px-footer { margin-top: 4rem; padding: 3rem 0; background: var(--px-ink); color: #f8f3ea; }
.px-footer h2 { color: #fff; font-size: 1.8rem; }
.px-footer a { color: inherit; }
.px-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.px-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; padding: 0; margin: 0; list-style: none; }

@media (max-width: 760px) {
  .px-header__inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .px-nav ul { gap: .6rem 1rem; }
  .px-card-grid, .px-footer__grid { grid-template-columns: 1fr; }
  .px-pack-card__image { min-height: 210px; }
}
