:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #f1f4ee;
  --ink: #182622;
  --ink-soft: #51645e;
  --line: #d8e2db;
  --brand: #2c6f5c;
  --brand-2: #8db9a8;
  --accent: #0f4d3e;
  --button: #123f34;
  --button-hover: #0f342c;
  --warning: #6f3d2c;
  --shadow: 0 16px 34px rgba(8, 26, 22, 0.08);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Bricolage Grotesque", "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 0% -10%, #dcece6, transparent 34%),
    radial-gradient(circle at 100% -5%, #e7f2ee, transparent 36%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  width: min(var(--max), 94vw);
  margin-inline: auto;
}

.page-header {
  position: sticky;
  top: 0.45rem;
  z-index: 200;
  width: min(var(--max), 94vw);
  margin: 0.45rem auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.32rem 0.58rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-image {
  width: clamp(236px, 27vw, 372px);
  height: auto;
  display: block;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  text-decoration: none;
  padding: 0.38rem 0.56rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: var(--surface-soft);
}

.header-actions {
  display: inline-flex;
  gap: 0.35rem;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-overlay,
.mobile-menu {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 4.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), 94vw);
  z-index: 420;
  border: 1px solid #d8ccbb;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f9f3e8);
  box-shadow: 0 22px 46px rgba(8, 24, 20, 0.25);
  padding: 0.7rem;
}

.mobile-menu-nav {
  display: grid;
  gap: 0.35rem;
}

.mobile-menu-nav a,
.mobile-menu-action {
  border: 1px solid #dccfba;
  border-radius: 11px;
  padding: 0.72rem 0.8rem;
  text-decoration: none;
  color: #203933;
  background: linear-gradient(180deg, #fff, #f7f1e4);
  font-weight: 600;
  text-align: left;
  font-family: inherit;
  font-size: 0.96rem;
}

.mobile-menu-nav a.active {
  border-color: #9bb6ab;
  background: linear-gradient(180deg, #eef5f1, #e7f1ec);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: rgba(19, 33, 28, 0.45);
  backdrop-filter: blur(2px);
}

body.menu-open {
  overflow: hidden;
}

.page-header .btn {
  padding: 0.46rem 0.78rem;
  border-radius: 10px;
}

.btn,
button.btn {
  border: 0;
  border-radius: 11px;
  padding: 0.62rem 0.95rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-primary {
  background: var(--button);
  color: #fff;
}

.btn-primary:hover {
  background: var(--button-hover);
}

.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface-soft);
}

.section {
  width: min(var(--max), 94vw);
  margin-inline: auto;
  margin-top: 2.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #48665d;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  max-width: 72ch;
}

.hero {
  width: min(var(--max), 96vw);
  margin: 1.2rem auto 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, #fdfefe, #edf4f1 52%, #e4efea);
  overflow: clip;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-height: 620px;
  padding: 1.1rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-copy h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  color: #2b5f50;
  font-style: italic;
  font-weight: 400;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.25rem;
  max-width: 27ch;
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-headers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-line {
  position: absolute;
  width: 180vw;
  font-size: clamp(4rem, 16vw, 12rem);
  letter-spacing: -0.04em;
  color: rgba(27, 47, 40, 0.1);
  font-weight: 800;
  white-space: nowrap;
}

.hero-line.top {
  top: 9%;
}

.hero-line.bottom {
  bottom: 2%;
  left: 18%;
}

.hero-slider {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.hero-slides {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 45%;
  padding: 0.9rem 0.9rem 5.1rem;
  background: radial-gradient(circle at 50% 0%, #f5f4f1 0%, #eef2ef 55%, #e9efec 100%);
}

.slide-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(15, 24, 21, 0.77), transparent);
  color: #fff;
  padding: 1rem;
}

.slide-overlay h3 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.slide-overlay p {
  margin-top: 0.35rem;
  color: #c6d4ce;
}

.slide-controls {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  gap: 0.4rem;
  z-index: 5;
}

.slide-controls button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(17, 35, 30, 0.62);
  color: #fff;
  padding: 0.38rem 0.52rem;
  border-radius: 8px;
  cursor: pointer;
}

.metrics-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.72rem;
  display: grid;
  align-content: start;
  gap: 0.48rem;
}

.metric-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #d6ccbb;
  background: linear-gradient(165deg, #fbf8f2, #f1f6f3);
  overflow: hidden;
}

.metric-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
  display: block;
}

.metric-label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.98rem;
  color: #2a4f45;
  font-weight: 700;
}

.metric-value {
  margin-top: 0.1rem;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  line-height: 1.05;
  font-weight: 800;
  color: #1d3832;
}

.metric-copy {
  display: grid;
  gap: 0.32rem;
}

.metric-copy p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.28;
}

.feature-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.preview-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.preview-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f3f7f4;
  padding: 0.45rem;
  display: block;
  transform: scale(var(--img-scale, 1));
  transform-origin: center;
}

.preview-body {
  padding: 0.8rem;
}

.preview-body h3 {
  font-size: 1.05rem;
  line-height: 1.1;
}

.preview-body p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.horizontal-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(460px, 46vw);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.3rem;
  margin-top: 1rem;
}

.home-pdf-viewport {
  margin-top: 1rem;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

#science-docs.section {
  position: relative;
  z-index: 3;
  background: var(--bg);
  scroll-margin-top: 7rem;
}

.home-pdf-strip {
  margin-top: 0;
  width: max-content;
  overflow: visible;
}

.rationale-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.horizontal-strip::-webkit-scrollbar {
  height: 10px;
}

.horizontal-strip::-webkit-scrollbar-thumb {
  background: #ccdad3;
  border-radius: 999px;
}

.rationale-card,
.pdf-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.rationale-card {
  padding: 1rem;
  min-height: 380px;
  display: grid;
  align-content: start;
}

.rationale-card h3 {
  font-size: 1.3rem;
}

.rationale-card p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
}

.rationale-card ul {
  margin-top: 0.7rem;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.rationale-card li {
  color: #315248;
  font-size: 0.9rem;
}

.rationale-card li::before {
  content: "\2022";
  margin-right: 0.5ch;
  color: #4d796c;
}

.pdf-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
  min-height: 440px;
}

.pdf-preview {
  background: #f6faf8;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-height: 280px;
}

.pdf-preview canvas {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.pdf-meta {
  padding: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.pdf-meta h3 {
  font-size: 1.02rem;
  line-height: 1.1;
}

.pdf-meta p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.pdf-actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.brand-explorer {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.brand-toolbar {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.brand-pill {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 0.36rem 0.62rem;
  border-radius: 8px;
  font-size: 0.86rem;
  cursor: pointer;
}

.brand-pill.active,
.brand-pill:hover {
  border-color: #9ab8ad;
  color: #183029;
  background: #edf4f1;
}

.brand-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.brand-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: #fafcfa;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
  text-align: left;
}

.brand-card strong {
  font-size: 0.84rem;
  color: #183129;
}

.brand-card span {
  color: #6a8179;
  font-size: 0.73rem;
}

.brand-card:hover,
.brand-card.active {
  border-color: #8fb1a4;
  color: #1f3e35;
  background: #edf4f1;
}

.brand-info {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: #fbfdfb;
  color: var(--ink-soft);
}

.brand-info h3 {
  color: #16342d;
  margin-bottom: 0.25rem;
}

.ref-mini {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #5d746c;
  display: grid;
  gap: 0.2rem;
}

.ref-mini a {
  text-decoration: underline;
  text-decoration-color: #9fb8ae;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #f3f7f4;
  color: #5b7068;
}

.footer-inner {
  width: min(var(--max), 94vw);
  margin-inline: auto;
  padding: 1.4rem 0 2.2rem;
  display: grid;
  gap: 0.8rem;
}

.footer-title {
  font-weight: 700;
  color: #234137;
}

.footer-legal {
  font-size: 0.83rem;
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 19, 0.56);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-card {
  width: min(1000px, 96vw);
  height: min(90svh, 860px);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.modal-head {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.modal-controls {
  display: inline-flex;
  gap: 0.35rem;
}

.modal-controls button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.pdf-modal-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.pdf-toolbar {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pdf-toolbar input,
.pdf-toolbar select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.35rem 0.5rem;
  font: inherit;
  color: var(--ink);
}

#pdf-search {
  width: min(260px, 34vw);
}

#pdf-page-number {
  width: 76px;
}

#pdf-page-count {
  color: var(--ink-soft);
  font-size: 0.86rem;
  padding-inline: 0.2rem;
}

.modal-body {
  overflow: auto;
  padding: 0.9rem;
  background: #f5f8f6;
  display: grid;
  place-items: start center;
}

.modal-body canvas {
  width: min(900px, 100%);
  height: auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pdf-reader-body {
  display: block;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #dfe7ec, #e8edf0);
}

.pdf-reader-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 0.95rem;
}

.pdf-pages {
  position: relative;
}

.pdf-pages .page {
  margin: 0 auto 0.8rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 31, 27, 0.18);
}

.pdf-pages .canvasWrapper canvas {
  display: block;
}

.checkout-card {
  width: min(1120px, 96vw);
  height: min(92svh, 900px);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 0.75rem;
  align-items: stretch;
  background: #eef5f2;
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem;
  overflow: auto;
}

.checkout-panel h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.checkout-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: baseline;
}

.checkout-cart-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.55rem;
}

.checkout-totals {
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 0.72rem;
  display: grid;
  gap: 0.42rem;
}

.checkout-totals p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--ink-soft);
}

.checkout-totals .total {
  font-size: 1.06rem;
  color: var(--ink);
  border-top: 1px dashed var(--line);
  margin-top: 0.28rem;
  padding-top: 0.45rem;
}

.checkout-panel-cart .btn {
  margin-top: 0.8rem;
  width: 100%;
}

.checkout-form {
  display: grid;
  gap: 0.78rem;
}

.checkout-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: #2f4a42;
}

.checkout-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.56rem 0.64rem;
  font: inherit;
  color: var(--ink);
  background: #fdfefd;
}

.checkout-form input:focus {
  outline: none;
  border-color: #8eb9a8;
  box-shadow: 0 0 0 3px rgba(141, 185, 168, 0.22);
}

.checkout-grid {
  display: grid;
  gap: 0.55rem;
}

.checkout-grid.one {
  grid-template-columns: 1fr;
}

.checkout-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-grid.three {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.shipping-options {
  display: grid;
  gap: 0.48rem;
}

.shipping-option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.52rem 0.58rem;
  background: #fbfdfc;
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
}

.shipping-option span {
  display: grid;
  gap: 0.18rem;
  font-size: 0.9rem;
  color: #26463d;
}

.shipping-option small {
  color: #5a746b;
}

.shipping-option input {
  margin-top: 0.16rem;
}

.terms-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.terms-row input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
}

.terms-row span {
  font-size: 0.82rem;
  color: #45645a;
  line-height: 1.45;
}

.checkout-submit {
  display: flex;
  justify-content: flex-end;
}

.checkout-submit .btn {
  min-width: 190px;
}

.order-success {
  border: 1px solid #d7e4de;
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(140deg, #f4faf7, #fafdfe);
  display: grid;
  gap: 0.5rem;
}

.order-success h3 {
  font-size: 1.32rem;
}

.order-success p {
  color: var(--ink-soft);
}

.order-success[hidden],
.checkout-form[hidden] {
  display: none;
}

.science-rail-section {
  width: min(var(--max), 96vw);
  margin: 1.2rem auto 3.4rem;
}

.science-rail-viewport {
  width: 100%;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(125deg, #edf5f1, #f8fbf9);
  padding: 1rem;
}

.science-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  min-height: unset;
}

.science-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.science-post-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

#science-posts.section {
  margin-top: 4rem;
  padding-top: 1.1rem;
  scroll-margin-top: 7rem;
}

.science-posts-title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 0.95;
}

.science-post-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  scroll-margin-top: 7.4rem;
}

.science-post-card h3 {
  font-size: 1.25rem;
  line-height: 1;
}

.science-post-card p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.science-post-card ul {
  margin-top: 0.6rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.science-post-card li {
  font-size: 0.9rem;
  color: #2d4d44;
}

.science-post-card li::before {
  content: "\2022";
  margin-right: 0.5ch;
  color: #4c776a;
}

.post-links {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.post-links a {
  color: #194236;
  font-size: 0.86rem;
  text-decoration: underline;
  text-decoration-color: #a7c0b7;
}

.store-layout {
  width: min(var(--max), 94vw);
  margin: 1rem auto 0;
}

.store-toolbar {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-toolbar input,
.store-toolbar select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  font: inherit;
}

.store-toolbar .btn {
  padding-inline: 0.8rem;
}

.store-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f4f8f5;
  padding: 0.5rem;
  display: block;
  transform: scale(var(--img-scale, 1));
  transform-origin: center;
}

.product-body {
  padding: 0.75rem;
}

.product-meta {
  color: #5c756c;
  font-size: 0.8rem;
}

.product-meta a {
  color: #1c4438;
  text-decoration: underline;
  text-decoration-color: #9ab8ad;
}

.product-title {
  margin-top: 0.3rem;
  font-size: 1.02rem;
  line-height: 1.1;
}

.product-note {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.product-foot {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.price {
  color: #1f473c;
  font-weight: 700;
}

.small {
  font-size: 0.82rem;
}

.cart-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.cart-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
}

.cart-actions [data-remove] {
  width: auto;
  height: auto;
  padding: 0.28rem 0.45rem;
  font-size: 0.74rem;
}

/* Luxury conversion refresh */
:root {
  --bg: #f3efe7;
  --surface: #ffffff;
  --surface-soft: #f6f2eb;
  --ink: #18231f;
  --ink-soft: #4f615c;
  --line: #dcd2c3;
  --brand: #165f53;
  --brand-2: #91b7ac;
  --accent: #0d4a3f;
  --button: #0f4e42;
  --button-hover: #0a3e35;
  --shadow: 0 18px 46px rgba(17, 31, 27, 0.12);
}

body {
  font-family: "Outfit", "Bricolage Grotesque", system-ui, sans-serif;
  background: radial-gradient(circle at 8% -8%, #efe5d4, transparent 36%),
    radial-gradient(circle at 100% -12%, #dbe9e2, transparent 35%),
    linear-gradient(160deg, #f6f2e9, #edf2ef 58%, #eef3f0);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(16, 32, 27, 0.04) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  pointer-events: none;
  opacity: 0.22;
  z-index: -1;
}

.page-header {
  border-radius: 16px;
  border-color: rgba(201, 187, 165, 0.66);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 235, 0.9));
  box-shadow: 0 14px 40px rgba(14, 28, 23, 0.12);
}

.main-nav a {
  border-radius: 999px;
  padding: 0.44rem 0.72rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(145deg, #f7f3ec, #eef3ef);
  box-shadow: inset 0 0 0 1px #d9cfbf;
}

.btn,
button.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease,
    border-color 220ms ease;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 42, 35, 0.15);
}

.btn-primary {
  background: linear-gradient(130deg, #145a4d, #0d4339);
  border: 1px solid rgba(20, 90, 77, 0.25);
}

.btn-outline {
  border-color: #d8cebf;
  background: linear-gradient(180deg, #fff, #f8f4ec);
}

.section-title {
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-copy h1 {
  font-family: "Outfit", "Bricolage Grotesque", sans-serif;
}

.hero-copy h1 em {
  font-family: "Cormorant Garamond", "Instrument Serif", serif;
  font-weight: 600;
  color: #2f6458;
}

.metric-card,
.preview-card,
.rationale-card,
.pdf-card,
.brand-explorer,
.science-card,
.science-post-card,
.product-card {
  border-color: #ded4c6;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(17, 32, 28, 0.08);
  background: linear-gradient(180deg, #fff, #fbf9f4);
}

.metric-value {
  color: #173d34;
}

.store-toolbar input,
.store-toolbar select {
  border-radius: 999px;
  border-color: #d6cbba;
  background: linear-gradient(180deg, #fff, #f8f4ec);
  padding: 0.64rem 0.78rem;
}

.product-card {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ccb89a;
  box-shadow: 0 20px 42px rgba(18, 35, 30, 0.14);
}

.product-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 236, 0.95));
}

.checkout-card {
  border-radius: 24px;
  border-color: #d7c9b5;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(10, 24, 21, 0.24);
}

.checkout-head {
  border-bottom-color: #d8ccbb;
  background: linear-gradient(180deg, #fff, #f5efe4);
}

.checkout-head strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-layout {
  background: linear-gradient(145deg, #f3ece0, #e8efeb);
  gap: 1rem;
  padding: 1rem;
}

.checkout-panel {
  border-radius: 20px;
  border-color: #dacdbb;
  background: linear-gradient(180deg, #fff, #fbf7ef);
}

.checkout-panel-cart {
  background: linear-gradient(165deg, #102c26, #0f4036);
  border-color: rgba(207, 184, 147, 0.36);
  color: #e6f0ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 45px rgba(8, 19, 16, 0.35);
}

.checkout-panel-cart h3,
.checkout-panel-cart strong,
.checkout-panel-cart .price {
  color: #f6fbfa;
}

.checkout-panel-cart .product-meta,
.checkout-panel-cart p,
.checkout-panel-cart span {
  color: #bdd2cc;
}

.checkout-trust {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.checkout-trust span {
  border: 1px solid rgba(204, 186, 157, 0.34);
  color: #dce9e4;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.18rem 0.52rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-panel-cart .cart-row {
  border-color: rgba(202, 184, 152, 0.36);
  background: rgba(248, 255, 252, 0.06);
}

.checkout-panel-cart .cart-actions button {
  border-color: rgba(204, 187, 159, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: #eff9f6;
}

.checkout-totals {
  border-top-color: rgba(204, 186, 159, 0.42);
}

.checkout-totals .total {
  border-top-color: rgba(204, 187, 159, 0.42);
}

.checkout-panel-cart .btn-outline {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(208, 190, 163, 0.56);
  color: #f2f8f6;
}

.checkout-panel-form {
  padding: 1.15rem 1.1rem 1rem;
}

.checkout-note {
  margin: -0.15rem 0 0.35rem;
  padding: 0.55rem 0.62rem;
  border-radius: 12px;
  border: 1px solid #e2d8c9;
  background: linear-gradient(180deg, #fffaf2, #f8f3e8);
  color: #54655f;
  font-size: 0.82rem;
}

.checkout-form h3 {
  margin: 0.2rem 0 0.15rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #24423a;
}

.checkout-pay-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin: 0.1rem 0 0.2rem;
}

.checkout-pay-rail span {
  border: 1px solid #dfd1bd;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: #fff;
  font-size: 0.72rem;
  color: #4e605a;
}

.checkout-form label {
  gap: 0.36rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.checkout-form input {
  border-radius: 14px;
  min-height: 46px;
  border-color: #dacdb8;
  background: linear-gradient(180deg, #fff, #f8f3e9);
  font-size: 0.95rem;
}

.checkout-form input::placeholder {
  color: #8b948f;
}

.shipping-option {
  border-radius: 14px;
  border-color: #ded0bb;
  background: linear-gradient(180deg, #fff, #faf5ec);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shipping-option:hover {
  transform: translateY(-1px);
  border-color: #c8b091;
  box-shadow: 0 10px 20px rgba(26, 45, 39, 0.09);
}

.shipping-option:has(input:checked) {
  border-color: #0f5f50;
  box-shadow: 0 0 0 2px rgba(15, 95, 80, 0.12);
  background: linear-gradient(180deg, #f7fffc, #eef8f4);
}

.shipping-option input:checked + span {
  color: #123f36;
  font-weight: 600;
}

.terms-row {
  background: linear-gradient(180deg, #f8f2e8, #f5efe5);
  border: 1px solid #dfd2bf;
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
}

.checkout-submit {
  position: sticky;
  bottom: -1px;
  padding-top: 0.55rem;
  background: linear-gradient(180deg, transparent, #fbf7ef 30%);
}

.checkout-submit .btn {
  min-width: 230px;
  padding: 0.82rem 1.12rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.order-success {
  border-radius: 16px;
  border-color: #d2c4ad;
  background: linear-gradient(165deg, #fffaf0, #f4fbf8);
}

.order-success h3 {
  font-family: "Cormorant Garamond", "Instrument Serif", serif;
  font-size: 1.75rem;
  color: #213f36;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-slides {
    min-height: 400px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-preview {
    grid-template-columns: 1fr;
  }

  .rationale-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .science-post-grid {
    grid-template-columns: 1fr;
  }

  .science-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    height: min(94svh, 960px);
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-menu-overlay:not([hidden]),
  .mobile-menu:not([hidden]) {
    display: block;
  }

  .hero-copy {
    padding: 0.5rem;
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-strip {
    grid-auto-columns: 86vw;
  }

  .home-pdf-viewport {
    overflow-x: auto;
  }

  .home-pdf-strip {
    width: auto;
    overflow-x: auto;
  }

  .rationale-grid {
    grid-template-columns: 1fr;
  }

  .science-rail-viewport {
    overflow: visible;
  }

  .science-rail {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-grid.two,
  .checkout-grid.three {
    grid-template-columns: 1fr;
  }

  #pdf-search {
    width: 100%;
    min-width: 170px;
  }
}

@media (max-width: 560px) {
  .logo-image {
    width: 236px;
  }

  .hero {
    border-radius: 16px;
  }

  .hero-line {
    display: none;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }
}
