/* ============================================
   LifestyleLabs — light & airy e-commerce reference
   Two design directions toggled via body[data-direction]:
     - "studio" (default): cream surfaces, editorial serif, soft shadows
     - "lab":              white surfaces, mono-heavy, hairline borders
   ============================================ */

:root {
  /* Brand */
  --navy: #1B3747;
  --navy-deep: #0E2433;
  --navy-soft: #2B4A5E;
  --blue: #2F8FAC;
  --blue-bright: #4FA3BE;
  --blue-deep: #226F86;
  --blue-pale: #D3E8F0;

  /* Neutrals (studio default) */
  --cream: #f6f3ec;
  --cream-warm: #efe9da;
  --paper: #fbfaf6;
  --ink: #1B3747;
  --ink-soft: #3F5566;
  --ink-muted: #7D8E97;
  --line: #e3dfd2;
  --line-soft: #ecead8;

  --bg: var(--cream);
  --surface: var(--paper);
  --surface-elev: #ffffff;

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", "Source Sans 3", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Menlo", monospace;

  /* Scale */
  --container: 1360px;
  --pad-x: clamp(20px, 4vw, 56px);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-card: 6px;

  --shadow-sm: 0 1px 2px rgba(15, 45, 82, 0.04);
  --shadow: 0 2px 6px rgba(15, 45, 82, 0.06), 0 8px 24px -8px rgba(15, 45, 82, 0.08);
  --shadow-lift: 0 4px 12px rgba(15, 45, 82, 0.08), 0 24px 48px -12px rgba(15, 45, 82, 0.18);
}

/* "Lab" direction overrides (clinical white, hairline) */
body[data-direction="lab"] {
  --cream: #ffffff;
  --cream-warm: #f4f6fa;
  --paper: #ffffff;
  --line: #e6ebf2;
  --line-soft: #eef2f7;
  --radius-card: 0px;
  --radius-lg: 0px;
  --radius: 0px;
  --shadow: 0 1px 0 rgba(15, 45, 82, 0.05);
  --shadow-lift: 0 8px 24px -12px rgba(15, 45, 82, 0.16);
}

/* ============================================
   Reset & base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.022em; }
h3 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

body[data-direction="lab"] h1,
body[data-direction="lab"] h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* ============================================
   Top bars
   ============================================ */

.top-promo {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 7px var(--pad-x);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
}

.shipping-bar {
  display: none;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
}
body[data-direction="lab"] .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 258px;
}
.brand-logo {
  width: 258px;
  height: auto;
  max-width: min(281px, 42vw);
  flex: 0 0 auto;
  display: block;
}
@media (max-width: 720px) {
  .brand {
    min-width: 0;
  }
  .brand-logo {
    width: 148px;
    max-width: 38vw;
  }
}

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  justify-self: center;
}
.nav a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
}
.social-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--navy);
  transition: right 0.22s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  position: relative;
}
.social-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 14px;
  margin-right: 6px;
  border-right: 1px solid var(--line);
}
.social-actions::before {
  content: "Socials";
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-right: 2px;
}
.social-actions .social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 44px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7e6ee;
  background: #f6fbfd;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.social-actions .social-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.social-actions .social-link span {
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
  color: currentColor;
  padding: 0;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.social-actions .social-link:last-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.social-actions .social-link:hover,
.social-actions .social-link:focus-visible {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-1px);
}
.social-actions .social-link:last-child:hover,
.social-actions .social-link:last-child:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
.header-actions .lang {
  padding: 0 12px 0 4px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.header-actions .icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.header-actions .icon-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--cream); }

.cart-toggle, .header-actions a.cta {
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s ease;
}
body[data-direction="lab"] .cart-toggle,
body[data-direction="lab"] .header-actions a.cta { border-radius: 0; }
.cart-toggle:hover, .header-actions a.cta:hover { background: var(--navy-soft); }
.cart-toggle #cartCount {
  background: var(--blue);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.list-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(15, 45, 82, 0.16);
  color: #172030;
  padding: 22px 24px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  z-index: 80;
}
.list-popover::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 34px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.list-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.list-popover strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.list-popover > span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.list-popover-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  text-align: left;
}
.list-popover-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  color: var(--navy);
  border: 1px solid rgba(27, 55, 71, 0.1);
  background: #f8fbfd;
  text-decoration: none;
}
.list-popover-item:hover {
  border-color: rgba(47, 143, 172, 0.35);
  background: #eef7fb;
}
.list-popover-vial {
  display: block;
  width: 44px;
  height: 52px;
  overflow: hidden;
  background: #f8fbfd;
}
.list-popover-vial svg {
  width: 100%;
  height: 100%;
  display: block;
}
.list-popover-copy {
  min-width: 0;
}
.list-popover-name,
.list-popover-sub {
  display: block;
}
.list-popover-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
.list-popover-sub {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-popover-telegram {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px 13px;
  background: var(--navy);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: background 0.18s ease;
}
.list-popover-telegram:hover {
  background: var(--navy-soft);
}
.list-popover-telegram .telegram-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.list-popover-telegram svg {
  width: 18px;
  height: 18px;
}
.list-popover-telegram strong,
.list-popover-telegram small {
  display: block;
}
.list-popover-telegram strong {
  margin: 0 0 2px;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}
.list-popover-telegram small {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  line-height: 1.3;
}

/* ============================================
   Hero
   ============================================ */

main { padding-bottom: 80px; }

.store-hero {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 16px;
}

.hero-tile {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px 42px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.primary-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  position: relative;
}
.primary-tile::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,179,232,0.22), transparent 60%);
  pointer-events: none;
}
.primary-tile::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  background-image: radial-gradient(circle, rgba(15,45,82,0.12) 1.3px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
}

.primary-tile > * { position: relative; z-index: 1; }
.primary-tile .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.primary-tile .eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 179, 232, 0.22);
}
.primary-tile h1 {
  font-size: clamp(40px, 4.45vw, 62px);
  line-height: 0.98;
  max-width: 14ch;
  margin: 18px 0 0;
  color: var(--navy);
}
.primary-tile h1 em {
  font-style: italic;
  color: var(--blue-deep);
}
body[data-direction="lab"] .primary-tile h1 em {
  font-style: normal;
  color: var(--blue-deep);
  background: linear-gradient(transparent 65%, rgba(74,179,232,0.35) 65%);
  padding: 0 4px;
}
.primary-tile p.lede {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 44ch;
  line-height: 1.55;
}
.primary-tile .cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: 0;
  transition: background 0.18s ease;
}
.btn-primary::after { content: "→"; transition: transform 0.2s ease; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  background: transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--cream-warm); }
body[data-direction="lab"] .btn-primary,
body[data-direction="lab"] .btn-ghost { border-radius: 0; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
body[data-direction="lab"] .hero-stats strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 28px;
}
.hero-stats span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Feature tile — shows a hero vial */
.feature-tile {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  display: block;
}
.feature-duo {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: stretch;
  min-height: 390px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 34% 54%, rgba(120, 199, 222, 0.14), transparent 32%),
    linear-gradient(135deg, #102838 0%, #173d50 100%);
  color: var(--navy);
}
.feature-duo::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(47, 143, 172, 0.16);
  pointer-events: none;
}
.feature-duo::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -42px;
  width: 245px;
  height: 245px;
  background-image: radial-gradient(circle, rgba(15,45,82,0.1) 1.3px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}
.feature-duo-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 34px 12px 36px 32px;
  max-width: 255px;
}
.feature-duo-copy span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.feature-duo-copy h3 {
  margin-top: 12px;
  color: #fff;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.feature-duo-copy h3 em {
  color: rgba(255,255,255,0.58);
  font-style: normal;
  font-weight: 500;
}
.feature-duo-copy p {
  margin-top: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.45;
}
.feature-duo-vials {
  position: relative;
  z-index: 1;
  min-height: 0;
}
.feature-duo-vials::before {
  content: "";
  position: absolute;
  inset: 0 -1px 0 auto;
  width: 76%;
  background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: -30px 0 70px rgba(5, 19, 28, 0.18);
}
.feature-vial {
  position: absolute;
  display: block;
}
.feature-vial svg {
  width: 100%;
  height: auto;
  display: block;
}
.feature-vial.lead {
  width: 245px;
  right: 28%;
  bottom: 26px;
  filter: drop-shadow(0 18px 24px rgba(15,45,82,0.18));
}
.feature-vial.secondary {
  width: 198px;
  right: 6%;
  top: 40px;
  opacity: 0.88;
  filter: drop-shadow(0 14px 20px rgba(15,45,82,0.12));
}
.feature-card {
  background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  min-height: 213px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:nth-child(1) {
  background:
    linear-gradient(135deg, #102838 0%, #173d50 58%, #f8fbfd 58.2%, #ffffff 100%);
}
.feature-card:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(47, 143, 172, 0.08), transparent 48%),
    #ffffff;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: #cfe0eb;
  box-shadow: var(--shadow);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(47, 143, 172, 0.16);
  pointer-events: none;
}
.feature-card::after {
  content: "";
  position: absolute;
  left: 29%;
  top: 50%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(47, 143, 172, 0.22), transparent 64%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.feature-tile .feature-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 43%;
  padding: 18px 10px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.feature-tile .feature-visual svg {
  max-height: 190px;
  width: auto;
  max-width: 100%;
}
.feature-tile .feature-meta {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 32px 26px 28px 6px;
  background: transparent;
  border-top: 0;
  align-self: center;
}
.feature-tile .feature-meta .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.feature-tile .feature-meta .row span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.feature-tile .feature-meta .row span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.feature-tile .feature-meta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  color: var(--navy);
  margin: 10px 0 5px;
  letter-spacing: -0.015em;
}
body[data-direction="lab"] .feature-tile .feature-meta h3 {
  font-family: var(--font-sans);
  font-weight: 600;
}
.feature-tile .feature-meta p {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.feature-card:nth-child(1) .feature-meta .row span:first-child,
.feature-card:nth-child(1) .feature-meta h3,
.feature-card:nth-child(1) .feature-meta p {
  color: #fff;
}
.feature-card:nth-child(1) .feature-meta p {
  color: rgba(255,255,255,0.7);
}
.feature-card:nth-child(1) .feature-meta {
  padding-left: 22px;
  max-width: 230px;
  background: linear-gradient(90deg, rgba(16, 40, 56, 0.96), rgba(16, 40, 56, 0.72), transparent);
}

/* ============================================
   Community promo band
   ============================================ */

.community-band {
  max-width: var(--container);
  margin: 26px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.community-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  display: grid;
  align-items: stretch;
  padding: 28px 32px;
  background:
    radial-gradient(circle at 78% 32%, rgba(79, 163, 190, 0.36), transparent 36%),
    linear-gradient(135deg, #0b1720 0%, #111922 48%, #1B3747 100%);
  color: #f5fbfd;
  border: 1px solid rgba(211, 232, 240, 0.16);
}
.community-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  opacity: 0.34;
}
.telegram-tile {
  background:
    radial-gradient(circle at 78% 40%, rgba(211, 232, 240, 0.22), transparent 38%),
    linear-gradient(135deg, #0c1115 0%, #121b20 54%, #0E2433 100%);
}
.community-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  max-width: 390px;
  min-height: 132px;
}
.community-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.community-copy small {
  display: block;
  max-width: 360px;
  margin-top: 18px;
  color: rgba(245, 251, 253, 0.82);
  font-size: 17px;
  line-height: 1.35;
}
.community-arrow {
  align-self: end;
  width: fit-content;
  margin-top: 28px;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.community-tile:hover .community-arrow {
  transform: translateX(6px);
}
.community-art {
  position: absolute;
  z-index: 1;
  right: 22px;
  top: 0;
  bottom: 0;
  width: 42%;
  pointer-events: none;
}
.referral-art span {
  position: absolute;
  display: block;
  border: 1px solid rgba(211, 232, 240, 0.65);
  background: linear-gradient(145deg, #f4fbfd 0%, #9cc9d8 52%, #1B3747 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.referral-art span:nth-child(1) {
  width: 70px;
  height: 70px;
  right: 74px;
  top: 30px;
  transform: rotate(12deg);
}
.referral-art span:nth-child(2) {
  width: 46px;
  height: 46px;
  right: 8px;
  top: 64px;
  transform: rotate(-16deg);
}
.referral-art span:nth-child(3) {
  width: 58px;
  height: 58px;
  right: 132px;
  bottom: 20px;
  transform: rotate(-10deg);
}
.referral-art span:nth-child(4) {
  width: 36px;
  height: 36px;
  right: 46px;
  bottom: 34px;
  transform: rotate(28deg);
}
.phone-art {
  right: 0;
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(11deg) translateX(8px);
}
.phone-art svg {
  width: min(210px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.42));
}

/* ============================================
   Curated shelves
   ============================================ */

.compound-shelves {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 var(--pad-x);
}
.quick-browse {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
}
.quick-browse > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.quick-browse > div {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.quick-browse button {
  border: 1px solid #d7e6ee;
  background: #f6fbfd;
  color: var(--navy);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 650;
}
.quick-browse button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.compound-shelf { display: none; }
.shelf-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.shelf-head .tab-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-deep);
}
.shelf-head h2 {
  margin-top: 4px;
  color: var(--navy);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.025em;
}
.shelf-head > a {
  border: 1px solid var(--line);
  background: var(--surface-elev);
  color: var(--navy);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.shelf-head > a:hover {
  background: #f4f8fb;
  border-color: #d3e2ec;
}
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.shelf-card {
  display: grid;
  grid-template-rows: 182px minmax(0, 1fr);
  background: var(--surface-elev);
  border: 1px solid rgba(196, 210, 218, 0.72);
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.shelf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 45, 82, 0.18);
  box-shadow: 0 16px 32px rgba(15, 45, 82, 0.07);
}
.shelf-vial {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fbfd;
  border-bottom: 1px solid var(--line);
}
.shelf-vial svg {
  width: 100%;
  height: 100%;
  transform: scale(0.84) translateY(6px);
}
.shelf-copy {
  padding: 13px 14px 14px;
  display: grid;
  gap: 5px;
  min-width: 0;
}
.shelf-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.shelf-copy h3 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.shelf-copy p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.3;
  min-height: 31px;
}
.shelf-meta span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 7px;
  background: #eef7fb;
  border: 1px solid #d8e9f1;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shelf-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 6px;
}
.shelf-actions .quick-add,
.shelf-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #d7e6ee;
  background: #f6fbfd;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
}
.shelf-actions .quick-add { gap: 6px; }
.shelf-actions .quick-add.active {
  background: #eef7fb;
  border-color: #c8dfe9;
}
.shelf-view {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ============================================
   Category rail
   ============================================ */

.category-rail {
  max-width: var(--container);
  margin: 46px auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.category-rail .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 10px;
}
.category-rail button {
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
body[data-direction="lab"] .category-rail button { border-radius: 0; }
.category-rail button:hover { border-color: var(--navy); color: var(--navy); }
.category-rail button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.category-rail button .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}
.category-rail button.active .count { color: rgba(255,255,255,0.7); }

/* ============================================
   Blend feature
   ============================================ */

.blend-feature {
  max-width: var(--container);
  margin: 14px auto 28px;
  padding: 0 var(--pad-x);
}
.blend-feature:empty { display: none; }
.blend-quick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
}
.blend-quick > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  white-space: nowrap;
}
.blend-quick > div {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.blend-quick a,
.blend-quick button {
  border: 1px solid #d7e6ee;
  background: #f6fbfd;
  color: var(--navy);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 650;
}
.blend-quick a small {
  margin-left: 8px;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.blend-quick button {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.blend-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.blend-feature .tab-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-deep);
}
.blend-feature-head h2 {
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.blend-feature-head button {
  border: 1px solid var(--line);
  background: var(--surface-elev);
  color: var(--navy);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.blend-feature-head button:hover {
  background: #f4f8fb;
  border-color: #d3e2ec;
}
.blend-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.blend-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 12px;
  background: var(--surface-elev);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.blend-card:hover {
  transform: translateY(-2px);
  border-color: #cfe0eb;
  box-shadow: var(--shadow);
}
.blend-card.is-blend {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbfd 100%);
}
.blend-vial {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.blend-vial svg {
  width: 60px;
  height: auto;
  max-height: 86px;
}
.blend-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.blend-kicker,
.blend-strengths {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.blend-kicker { color: var(--blue-deep); }
.blend-strengths {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 7px;
  background: #eef7fb;
  color: var(--navy);
  border: 1px solid #d8e9f1;
}
.blend-copy strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.08;
}
.blend-copy small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

/* ============================================
   Library section
   ============================================ */

.library {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-heading .tab-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-heading .tab-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blue-deep);
}
.section-heading h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.02;
  margin-top: 6px;
  color: var(--navy);
  max-width: 22ch;
}
.section-heading .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading .meta strong { color: var(--navy); font-weight: 600; }

/* Toolbar (search + sort) */
.toolbar {
  display: grid;
  grid-template-columns: 1.4fr auto auto auto;
  gap: 8px;
  background: var(--surface-elev);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  align-items: center;
}
body[data-direction="lab"] .toolbar { border-radius: 0; }
.toolbar .search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.toolbar .search svg { color: var(--ink-muted); }
.toolbar input {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 7px 4px;
  outline: none;
  width: 100%;
}
.toolbar .toolbar-group { display: flex; align-items: center; gap: 8px; padding: 0 6px; border-right: 1px solid var(--line); }
.toolbar .toolbar-group:last-child { border-right: 0; }
.toolbar .toolbar-group > label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.toolbar select {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--navy);
  background: transparent;
  border: 0;
  padding: 6px 22px 6px 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%230f2d52' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.view-toggle { display: flex; gap: 2px; padding: 2px; background: var(--cream); border-radius: 999px; }
body[data-direction="lab"] .view-toggle { border-radius: 0; background: var(--cream-warm); }
.view-toggle button {
  background: transparent;
  border: 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
body[data-direction="lab"] .view-toggle button { border-radius: 0; }
.view-toggle button.active { background: var(--surface-elev); color: var(--navy); box-shadow: var(--shadow-sm); }

/* ============================================
   Compound grid (store cards)
   ============================================ */

.compound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
}
.compound-grid.list-view {
  grid-template-columns: 1fr;
}

.compound-card {
  position: relative;
  background: var(--surface-elev);
  border: 1px solid rgba(196, 210, 218, 0.72);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
body[data-direction="lab"] .compound-card { border-radius: 0; }
.compound-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 45, 82, 0.08);
  border-color: rgba(15, 45, 82, 0.18);
}

.compound-visual {
  aspect-ratio: 1 / 0.96;
  background: #f8fbfd;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.compound-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(0.86) translateY(8px);
  transform-origin: center center;
}
.compound-card .visual-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.86);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
body[data-direction="lab"] .compound-card .visual-tag { border-radius: 0; }
.compound-card .visual-evidence {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
}
body[data-direction="lab"] .compound-card .visual-evidence { border-radius: 0; }
.evidence-Preclinical { background: rgba(15, 45, 82, 0.06); color: var(--navy); }
.evidence-Mixed { background: rgba(74, 179, 232, 0.16); color: var(--blue-deep); }
.evidence-Clinical { background: var(--navy); color: #fff; }

.compound-card .save-pop {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  opacity: 0;
  transform: translateY(-4px);
}
body[data-direction="lab"] .compound-card .save-pop { border-radius: 0; }
.compound-card:hover .save-pop { opacity: 1; transform: translateY(0); }
.compound-card .save-pop.active {
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  border-color: var(--line);
  opacity: 1;
  transform: translateY(0);
}

.compound-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.compound-meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}
.compound-meta-row .cat-num { color: var(--navy); font-weight: 500; }

.compound-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.compound-name h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 4px;
}
body[data-direction="lab"] .compound-name h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.compound-name .synonym {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.body-evidence {
  flex: 0 0 auto;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 7px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
}
.strength-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: -2px;
}
.strength-strip span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 2px;
}
.strength-strip button {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 6px;
  background: #f4f8fb;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.strength-strip button:hover,
.strength-strip button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
body[data-direction="lab"] .strength-strip button { border-radius: 0; }
.compound-summary {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compound-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  gap: 0;
}
.compound-data > div { display: flex; flex-direction: column; gap: 2px; }
.compound-data > div + div { border-left: 1px solid var(--line-soft); padding-left: 14px; }
.compound-data dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.compound-data dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.compound-card .card-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 8px;
  margin-top: 2px;
}
.compound-card .quick-add,
.compound-card a.view-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.compound-card .quick-add {
  background: #f6fbfd;
  color: var(--navy);
  border: 1px solid #d7e6ee;
  gap: 7px;
  justify-content: center;
}
.compound-card .quick-add.active {
  background: #eef7fb;
  border-color: #c8dfe9;
}
.compound-card a.view-ref {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}
body[data-direction="lab"] .compound-card .quick-add,
body[data-direction="lab"] .compound-card a.view-ref { border-radius: 0; }
.compound-card .quick-add:hover {
  background: #eef7fb;
  border-color: #c8dfe9;
}
.compound-card a.view-ref:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.compound-card a.view-ref span:last-child { transition: transform 0.18s ease; }
.compound-card a.view-ref:hover span:last-child { transform: translateX(3px); }

/* List view variant */
.compound-grid.list-view .compound-card {
  flex-direction: row;
  align-items: stretch;
}
.compound-grid.list-view .compound-visual {
  aspect-ratio: auto;
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.compound-grid.list-view .compound-body { flex: 1; padding: 24px 28px; }
.compound-grid.list-view .compound-summary { -webkit-line-clamp: 2; }
.compound-grid.list-view .card-actions {
  width: min(420px, 100%);
}
.compound-grid.list-view .quick-add,
.compound-grid.list-view a.view-ref { padding: 10px 18px; }

.library-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.library-pagination[hidden] { display: none; }
.page-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-buttons button,
.page-gap {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface-elev);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.page-buttons button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.page-buttons button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.page-gap {
  border-color: transparent;
  background: transparent;
  color: var(--ink-muted);
}
.library-pagination p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}
body[data-direction="lab"] .empty-state { border-radius: 0; }
.empty-state strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; font-family: var(--font-display); font-weight: 400; }
body[data-direction="lab"] .empty-state strong { font-family: var(--font-sans); font-weight: 600; }

/* ============================================
   Disclaimer
   ============================================ */

.disclaimer {
  max-width: 920px;
  margin: 100px auto 0;
  padding: 56px var(--pad-x);
  text-align: center;
}
.disclaimer .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-deep);
  margin-bottom: 14px;
}
.disclaimer h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}
.disclaimer p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.65;
}
.compact-disclaimer { margin: 60px auto 0; padding: 36px var(--pad-x); }
.compact-disclaimer h2 { font-size: 26px; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px var(--pad-x) 36px;
  margin-top: 80px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer > div {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.7); transition: color 0.18s ease; }
.site-footer ul a:hover { color: var(--blue); }
.site-footer a.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer a.footer-social .social-icon {
  color: var(--blue);
}
.site-footer .footer-brand strong {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
body[data-direction="lab"] .site-footer .footer-brand strong {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 18px;
  text-transform: uppercase;
}
.site-footer .footer-brand p { font-size: 13px; line-height: 1.65; max-width: 32ch; }
.site-footer > p { max-width: var(--container); margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.site-footer > p a { color: var(--blue); }

/* ============================================
   Breadcrumb (detail)
   ============================================ */

.breadcrumb {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a { color: var(--ink-muted); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb strong { color: var(--navy); font-weight: 500; }
.breadcrumb span { opacity: 0.5; }

/* ============================================
   Product detail
   ============================================ */

.product-detail {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Gallery */
.detail-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
}
body[data-direction="lab"] .gallery-main { border-radius: 0; background: #fff; }
.gallery-main svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-main .gallery-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.86);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
body[data-direction="lab"] .gallery-main .gallery-tag { border-radius: 0; }

/* Info column */
.detail-info { padding-top: 8px; }
.detail-info .eyebrow-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.detail-info .eyebrow-row .chip {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
}
body[data-direction="lab"] .detail-info .eyebrow-row .chip { border-radius: 0; }
.detail-info .eyebrow-row .chip.evidence-Mixed { background: rgba(74, 179, 232, 0.16); color: var(--blue-deep); border-color: transparent; }
.detail-info .eyebrow-row .chip.evidence-Clinical { background: var(--navy); color: #fff; border-color: var(--navy); }

.detail-info h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 0.98;
  color: var(--navy);
  margin-bottom: 14px;
}
.detail-info .synonym-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.detail-info .summary {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 50ch;
}
.detail-strengths {
  margin-bottom: 26px;
  max-width: 560px;
}
.detail-strengths span {
  flex-basis: 100%;
  margin-bottom: 2px;
}
.detail-strengths button {
  min-height: 28px;
  padding: 6px 10px;
  font-size: 11px;
}

.detail-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.detail-spec > div { padding: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.detail-spec > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
.detail-spec > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
.detail-spec dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.detail-spec dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  word-break: break-all;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.detail-actions .primary {
  background: var(--navy);
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  transition: background 0.18s ease;
}
body[data-direction="lab"] .detail-actions .primary { border-radius: 0; }
.detail-actions .primary:hover { background: var(--navy-soft); }
.detail-actions .secondary {
  background: transparent;
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
body[data-direction="lab"] .detail-actions .secondary { border-radius: 0; }
.detail-actions .secondary:hover { border-color: var(--navy); background: var(--cream); }

/* Detail tabs section */
.detail-tabs {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 var(--pad-x);
}
.detail-info .detail-tabs {
  max-width: none;
  margin: 30px 0 0;
  padding: 0;
}

.copy-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface-elev);
  margin-bottom: 0;
}
.copy-tabs button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  padding: 11px 18px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  position: relative;
}
.copy-tabs button:last-child { border-right: 0; }
.copy-tabs button.active {
  color: var(--navy);
}
.copy-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--navy);
}

.copy-panel {
  max-width: none;
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 30px 32px 34px;
}
.detail-info .copy-panel {
  padding: 28px 30px 32px;
}
.copy-panel > h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
  margin: 0 0 18px;
}
.quick-read {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.quick-read article {
  border: 1px solid var(--line-soft);
  background: #f9fbfd;
  padding: 12px 13px;
}
.quick-read span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.quick-read strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 700;
}
.copy-panel article {
  padding: 24px 0 21px;
  border-top: 1px solid var(--line-soft);
}
.copy-panel article:first-of-type,
.copy-panel .quick-read article { border-top-color: var(--line-soft); }
.copy-panel .copy-intro {
  border-top-color: var(--line);
  padding-top: 23px;
}
.copy-panel h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 10px;
}
.copy-panel p,
.copy-panel li {
  font-size: 13.5px;
  line-height: 1.72;
  color: #172030;
  letter-spacing: 0;
  max-width: 68ch;
}
.copy-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.copy-panel li {
  position: relative;
  padding-left: 16px;
}
.copy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 5px;
  height: 5px;
  background: var(--blue);
}
.copy-interest {
  background: #f9fbfd;
  margin: 8px 0 0;
  padding: 20px 22px !important;
  border: 1px solid var(--line-soft) !important;
}
.copy-interest .interest-list {
  grid-template-columns: 1fr;
  gap: 10px;
}
.copy-interest .interest-note {
  max-width: 76ch;
  margin-top: 18px;
}

/* Related */
.related {
  max-width: var(--container);
  margin: 72px auto 0;
  padding: 0 var(--pad-x);
}
.related h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.related .compound-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ============================================
   Tweaks panel
   ============================================ */

.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  z-index: 100;
  box-shadow: 0 18px 48px -16px rgba(15,45,82,0.32), 0 4px 12px rgba(15,45,82,0.08);
  backdrop-filter: blur(14px);
  font-family: var(--font-sans);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tweaks-panel header h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.tweaks-panel .tweak-close {
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.tweaks-panel .tweak-row { margin-bottom: 14px; }
.tweaks-panel .tweak-row > label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.tweaks-panel .seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.tweaks-panel .seg button {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
}
.tweaks-panel .seg button.active { background: var(--navy); color: #fff; }
.tweaks-panel .helper { font-size: 11px; color: var(--ink-muted); line-height: 1.5; margin-top: 8px; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .store-hero { grid-template-columns: 1fr; }
  .community-band { grid-template-columns: 1fr; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blend-feature-grid { grid-template-columns: 1fr; }
  .hero-tile { min-height: 360px; padding: 36px 32px; }
  .feature-tile {
    min-height: 0;
    padding: 0;
  }
  .feature-duo {
    min-height: 320px;
  }
  .feature-duo-copy {
    padding: 34px 12px 34px 30px;
  }
  .feature-vial.lead {
    width: 220px;
    right: 28%;
  }
  .feature-vial.secondary {
    width: 178px;
    right: 8%;
  }
  .feature-card { min-height: 250px; }
  .feature-tile .feature-visual svg { max-height: 210px; }
  .primary-tile h1 { font-size: 52px; }
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-info h1 { font-size: 44px; }
  .detail-tabs { margin-top: 48px; }
  .toolbar { grid-template-columns: 1fr; }
  .toolbar .search { border-right: 0; padding-right: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .toolbar .toolbar-group { border-right: 0 !important; padding: 4px 6px; }
  .compound-grid.list-view .compound-card { flex-direction: column; }
  .compound-grid.list-view .compound-visual { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 1 / 1; }
  .site-footer > div { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats > div + div { padding-left: 16px; }
  .hero-stats strong { font-size: 30px; }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand {
    justify-self: center;
  }
  .brand-logo {
    width: 172px;
    max-width: 64vw;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .social-actions {
    display: flex;
    gap: 8px;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }
  .social-actions::before {
    display: none;
  }
  .social-actions .social-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
  }
  .social-actions .social-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .social-actions .social-icon {
    width: 19px;
    height: 19px;
  }
  .cart-toggle {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 0;
  }
  .site-footer > div { grid-template-columns: 1fr; }
  .community-band { margin-top: 20px; gap: 12px; }
  .community-tile { min-height: 190px; padding: 22px 24px; }
  .community-copy { max-width: 72%; }
  .community-copy strong { font-size: 24px; }
  .community-copy small { font-size: 14px; margin-top: 12px; }
  .community-art { width: 36%; opacity: 0.9; right: 0; }
  .referral-art span:nth-child(1) { width: 48px; height: 48px; right: 28px; top: 26px; }
  .referral-art span:nth-child(2) { width: 34px; height: 34px; right: 4px; top: 84px; }
  .referral-art span:nth-child(3) { width: 42px; height: 42px; right: 52px; bottom: 24px; }
  .referral-art span:nth-child(4) { display: none; }
  .phone-art svg { width: 150px; }
  .compound-shelves { margin-top: 28px; gap: 28px; }
  .quick-browse {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .blend-quick {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .shelf-head { align-items: stretch; flex-direction: column; gap: 10px; }
  .shelf-head > a { width: 100%; text-align: center; }
  .shelf-grid { grid-template-columns: 1fr; }
  .shelf-card {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 168px;
  }
  .shelf-vial { border-bottom: 0; border-right: 1px solid var(--line); }
  .shelf-vial svg { transform: scale(0.9) translateY(4px); }
  .shelf-copy { padding: 14px; }
  .shelf-copy p { min-height: 0; }
  .shelf-actions { grid-template-columns: 1fr; }
  .blend-feature-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .blend-feature-head button { width: 100%; }
  .blend-card { grid-template-columns: 82px 1fr; gap: 12px; padding: 12px; }
  .blend-vial svg { width: 78px; }
  .blend-copy strong { font-size: 19px; }
  .primary-tile h1 { font-size: 40px; }
  .hero-tile { min-height: 280px; padding: 28px 24px; }
  .feature-tile {
    padding: 0;
  }
  .feature-duo {
    grid-template-columns: 1fr;
    min-height: 455px;
    background:
      radial-gradient(circle at 32% 26%, rgba(120, 199, 222, 0.14), transparent 32%),
      linear-gradient(135deg, #102838 0%, #173d50 100%);
  }
  .feature-duo-copy {
    align-self: start;
    padding: 28px 26px 10px;
    max-width: 260px;
  }
  .feature-duo-copy h3 {
    font-size: 29px;
  }
  .feature-duo-vials {
    min-height: 285px;
  }
  .feature-duo-vials::before {
    width: 100%;
    height: 73%;
    inset: auto 0 0 0;
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  }
  .feature-vial.lead {
    width: 190px;
    right: 34%;
    bottom: 10px;
  }
  .feature-vial.secondary {
    width: 150px;
    right: 7%;
    top: 62px;
  }
  .feature-card {
    min-height: 330px;
  }
  .feature-tile .feature-visual {
    padding: 22px 18px 8px;
  }
  .feature-tile .feature-visual svg {
    max-height: 215px;
  }
  .feature-card:nth-child(1) {
    background:
      linear-gradient(135deg, #102838 0%, #173d50 64%, #f8fbfd 64.2%, #ffffff 100%);
  }
  .feature-card:nth-child(1) .feature-meta {
    max-width: 190px;
    padding-left: 14px;
  }
  .feature-tile .feature-meta h3 {
    font-size: 26px;
  }
  .library-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .library-pagination p {
    text-align: left;
  }
  .compound-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .compound-grid.list-view {
    grid-template-columns: 1fr;
  }
  .compound-card:hover {
    transform: none;
    box-shadow: none;
  }
  .compound-visual {
    aspect-ratio: 1 / 0.78;
  }
  .compound-visual svg {
    transform: scale(1.02) translateY(2px);
  }
  .compound-card .visual-evidence {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 5px;
    font-size: 7px;
    letter-spacing: 0.14em;
  }
  .compound-card .save-pop {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
  }
  .compound-body {
    padding: 11px 12px 12px;
    gap: 6px;
  }
  .compound-title-row {
    gap: 6px;
  }
  body[data-direction="lab"] .compound-name h3,
  .compound-name h3 {
    font-size: 17px;
    line-height: 1.08;
    margin-bottom: 2px;
  }
  .compound-name .synonym {
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .body-evidence {
    display: none;
  }
  .strength-strip {
    gap: 3px;
  }
  .strength-strip span {
    width: 100%;
    font-size: 7px;
    letter-spacing: 0.2em;
  }
  .strength-strip button {
    min-height: 18px;
    padding: 3px 5px;
    font-size: 8px;
  }
  .compound-summary {
    display: none;
  }
  .compound-card .card-actions {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 0;
  }
  .compound-card .quick-add,
  .compound-card a.view-ref {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 11px;
  }
  .header-actions .lang { display: none; }
  .header-actions .icon-btn { display: none; }
  .copy-tabs { overflow-x: auto; }
  .copy-tabs button { padding: 13px 16px 12px; font-size: 14px; white-space: nowrap; }
  .copy-panel { padding: 24px 20px; }
  .quick-read { grid-template-columns: 1fr; margin-bottom: 20px; }
  .copy-panel article { padding: 22px 0 18px; }
  .copy-panel p,
  .copy-panel li { font-size: 14.5px; line-height: 1.68; }
  .tweaks-panel { right: 12px; bottom: 12px; left: 12px; width: auto; }
}

.interest-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 18px;
}
.interest-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2a44;
}
.interest-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2F8FAC;
  box-shadow: 0 0 0 3px rgba(74,179,232,0.18);
}
.interest-note {
  font-size: 13px;
  color: #5e6b85;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
