/*
Theme Name: Legendary Labz
Theme URI: https://legendarylabz.com
Author: Legendary Labz
Author URI: https://legendarylabz.com
Description: Research-grade peptide commerce theme with gated access control.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legendary-labz
*/

/* ==========================================================================
   Reset
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration-skip-ink: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
  font-size: 17px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3748;
  background-color: #FAFAF9;
}

::selection {
  background-color: rgba(59, 130, 198, 0.15);
  color: #2D3748;
}

:focus-visible {
  outline: 2px solid #3B82C6;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.content-width {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

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

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.text-muted {
  color: #64748B;
}

.text-center {
  text-align: center;
}

.text-small {
  font-size: 0.875rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3,
.display-heading {
  font-family: 'PT Serif', Georgia, serif;
  color: #2D3748;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.75em;
  text-wrap: balance;
}

h1 { font-size: 2.441rem; font-weight: 700; }
h2 { font-size: 1.953rem; font-weight: 700; }
h3 { font-size: 1.563rem; font-weight: 700; }
h4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D3748;
  text-wrap: balance;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
  color: #4A5568;
  text-wrap: pretty;
}

/* Widow prevention utilities */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

@supports not (text-wrap: balance) {
  .text-balance,
  h1, h2, h3, h4 {
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

a {
  color: #3B82C6;
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover,
a:focus {
  color: #2563EB;
  text-decoration: underline;
}

.label-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.compound-name {
  font-family: 'PT Serif', Georgia, serif;
}

strong, b {
  font-weight: 600;
}

small {
  font-size: 0.8125rem;
}

/* ==========================================================================
   Layout — Header
   ========================================================================== */

/* Site wrapper — hidden while Gate 1 is active */
.site-wrapper {
  display: none;
}

.site-wrapper.is-visible {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.site-header__inner {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo:hover {
  color: #2D3748;
  text-decoration: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__list li a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav__list li a:hover {
  color: #2D3748;
  text-decoration: none;
}

.site-nav__account {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  padding-left: 2rem;
  border-left: 1px solid #E2E8F0;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav__account:hover {
  color: #2D3748;
  text-decoration: none;
}

.site-nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #64748B;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav__cart:hover {
  color: #2D3748;
}

.site-nav__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #3B82C6;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.site-nav__cart-count[hidden] {
  display: none;
}

.member-trigger-btn {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B82C6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.member-trigger-btn:hover {
  color: #2563EB;
}

/* ==========================================================================
   Layout — Footer
   ========================================================================== */

.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 2.5rem 0;
}

.site-footer__inner {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.site-footer__copy {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.site-footer__disclaimer {
  font-size: 0.75rem;
  color: #94A3B8;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Components — Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid #3B82C6;
  outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background-color: #3B82C6;
  color: #FFFFFF;
  border-color: #3B82C6;
}

.btn--primary:hover:not(:disabled) {
  background-color: #2563EB;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 198, 0.3);
  color: #FFFFFF;
  text-decoration: none;
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.btn--secondary {
  background-color: transparent;
  color: #3B82C6;
  border-color: #3B82C6;
}

.btn--secondary:hover:not(:disabled) {
  background-color: #3B82C6;
  color: #FFFFFF;
  text-decoration: none;
}

.btn--secondary:active:not(:disabled) {
  background-color: #2563EB;
  border-color: #2563EB;
}

.btn--ghost {
  background-color: transparent;
  color: #64748B;
  border-color: transparent;
  padding: 0.5rem 1rem;
}

.btn--ghost:hover:not(:disabled) {
  color: #2D3748;
  background-color: #F5F5F4;
  text-decoration: none;
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Components — Cards
   ========================================================================== */

.card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card--static {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card__header {
  margin-bottom: 1.25rem;
}

.card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.25rem;
}

.card__subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.card__body {
  color: #4A5568;
  font-size: 0.9375rem;
}

.card__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.card--compound {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.card--compound .card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: #F5F5F4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Components — Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  color: #2D3748;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder {
  color: #94A3B8;
}

.form-input:hover {
  border-color: #CBD5E1;
}

.form-input:focus {
  outline: none;
  border-color: #3B82C6;
  box-shadow: 0 0 0 3px rgba(59, 130, 198, 0.1);
}

.form-input--error {
  border-color: #DC2626;
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

input[type="date"].form-input {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.875rem; /* iOS: without a height the field collapses to an empty box */
}
input[type="date"].form-input::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.25rem;
  line-height: 1.25rem;
}
  min-height: 2.875rem; /* iOS: without a height the field collapses to an empty box */
}
/* iOS renders the date value inside this pseudo-element; give it height + left
   alignment so the mm/dd/yyyy text actually shows on mobile. */
input[type="date"].form-input::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.25rem;
  line-height: 1.25rem;
}

.form-error {
  display: none;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #DC2626;
  line-height: 1.4;
}

.form-error.is-visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 639px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Custom Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

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

.checkbox__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #CBD5E1;
  border-radius: 4px;
  background: #FFFFFF;
  position: relative;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 2px;
}

.checkbox__box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox__input:checked + .checkbox__box {
  background-color: #3B82C6;
  border-color: #3B82C6;
}

.checkbox__input:checked + .checkbox__box::after {
  opacity: 1;
}

.checkbox__input:focus-visible + .checkbox__box {
  outline: 2px solid #3B82C6;
  outline-offset: 2px;
}

.checkbox__label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #4A5568;
  user-select: none;
}

.checkbox__label a {
  color: #3B82C6;
  text-decoration: underline;
}

.checkbox__label a:hover {
  color: #2563EB;
}

/* ==========================================================================
   Components — Modal
   ========================================================================== */

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes overlay-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(2px);
  animation: overlay-enter 400ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.modal-overlay.is-leaving {
  animation: overlay-enter 400ms cubic-bezier(0.4, 0, 0.2, 1) reverse both;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-enter 400ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.modal-brand {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.563rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 1rem;
}

.modal-divider {
  border: none;
  height: 1.5px;
  background-color: #2D3748;
  opacity: 0.15;
  margin-bottom: 1.5rem;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  font-size: 0.9375rem;
  color: #4A5568;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.modal-form {
  margin-bottom: 1.5rem;
}

.modal-error {
  background: #fef3f2;
  border: 1px solid #fda29b;
  border-radius: 0.375rem;
  color: #b42318;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: none;
}

.modal-checkboxes {
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Decorative background hint */
.modal-bg-hint {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
  filter: blur(2px);
  opacity: 0.6;
}

.modal-bg-hint__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.modal-bg-hint__logo {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
}

.modal-bg-hint__nav {
  display: flex;
  gap: 2rem;
}

.modal-bg-hint__nav span {
  font-size: 0.875rem;
  color: #64748B;
}

.modal-bg-hint__hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: #FAFAF9;
}

.modal-bg-hint__hero-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.modal-bg-hint__hero-subtitle {
  font-size: 0.9375rem;
  color: #64748B;
}

.modal-bg-hint__cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.modal-bg-hint__card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.modal-bg-hint__card-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.25rem;
}

.modal-bg-hint__card-meta {
  font-size: 0.75rem;
  color: #64748B;
}

/* Gate 2 tier descriptions (paragraph style) */
.modal-body--indent {
  padding-left: 1.25rem;
}

.modal-body--tight {
  margin-bottom: 0.5rem;
}

.modal-tier-name {
  color: #2D3748;
  font-weight: 500;
}

/* State management */
.modal-state {
  display: none;
}

.modal-state.is-active {
  display: block;
}

/* Dev toggle */
.dev-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10001;
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  background: #2D3748;
  color: #FFFFFF;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-toggle:hover {
  opacity: 1;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media (max-width: 639px) {
  .modal-card {
    padding: 1.75rem;
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-bg-hint__cards {
    flex-direction: column;
    align-items: center;
  }

  .modal-bg-hint__card {
    max-width: 100%;
  }

  .site-nav__list {
    gap: 1rem;
  }
}

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */

.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero__content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.441rem;
  font-weight: 700;
  color: #2D3748;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero__subhead {
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__secondary-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__secondary-link:hover {
  color: #2D3748;
  text-decoration: underline;
}

/* ==========================================================================
   Homepage — Section Divider
   ========================================================================== */

.section-divider {
  border: none;
  height: 3px;
  background-color: #2D3748;
  margin: 0;
}

/* ==========================================================================
   Homepage — Literature Access
   ========================================================================== */

.literature-access {
  padding: 3rem 0;
}

.literature-access__top-divider {
  border: none;
  height: 1.5px;
  background-color: #2D3748;
  margin-bottom: 1.5rem;
}

.literature-access__label {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.literature-access__body {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.literature-access__bottom-divider {
  border: none;
  height: 0.5px;
  background-color: #2D3748;
  opacity: 0.3;
}

/* ==========================================================================
   Homepage — Section Title
   ========================================================================== */

.section-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Homepage — Compounds Grid
   ========================================================================== */

.compounds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.compound-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.compound-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.compound-card__classification {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.compound-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.compound-card__citations {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 1rem;
}

.compound-card__gate-cta {
  font-size: 0.8125rem;
  color: #3B82C6;
  font-weight: 500;
  margin-bottom: 0;
  text-wrap: balance;
}

/* ==========================================================================
   Homepage — Articles Grid
   ========================================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.article-card__date {
  font-size: 0.75rem;
  color: #94A3B8;
}

.article-card__category {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.article-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 0;
  text-wrap: pretty;
}

/* ==========================================================================
   Homepage — Trust Bar
   ========================================================================== */

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-bar__item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  padding: 0 1.5rem;
  border-right: 1px solid #E2E8F0;
  line-height: 1;
}

.trust-bar__item:last-child {
  border-right: none;
}

/* ==========================================================================
   Pricing Page — Page Title
   ========================================================================== */

.page-title__subhead {
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* ==========================================================================
   Pricing Page — Pricing Grid
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card--premium {
  border-top: 3px solid #3B82C6;
}

.pricing-card__headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  margin-bottom: 1.5rem;
}

.pricing-card__price-amount {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.441rem;
  font-weight: 700;
  color: #2D3748;
}

.pricing-card__price-period {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: #64748B;
}

.pricing-card__divider {
  border: none;
  height: 1px;
  background-color: #E2E8F0;
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.7;
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
  text-wrap: pretty;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3B82C6;
}

.pricing-card__footer {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.pricing-card__cta {
  margin-bottom: 0.75rem;
}

.pricing-card__note {
  font-size: 0.75rem;
  color: #94A3B8;
  text-align: center;
  margin-bottom: 0;
}

.pricing-divider-wrap {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Pricing Page — FAQ Section
   ========================================================================== */

.faq-section__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-item {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E2E8F0;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item__question {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.faq-item__answer {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 0;
  text-wrap: pretty;
}

/* ==========================================================================
   Footer (expanded 3-column)
   ========================================================================== */

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E2E8F0;
}

.site-footer__brand-col {
  text-align: left;
}

.site-footer__brand {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.25rem;
}

.site-footer__address {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0;
}

.site-footer__email {
  font-size: 0.875rem;
  margin: 0.4rem 0 0;
}
.site-footer__email a {
  color: #64748B;
  text-decoration: none;
  transition: color 200ms ease;
}
.site-footer__email a:hover { color: #C8820A; }

.site-footer__nav-col {
  text-align: left;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav li a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav li a:hover {
  color: #2D3748;
  text-decoration: none;
}

.site-footer__disclaimer {
  font-size: 0.75rem;
  color: #94A3B8;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   Nav CTA (header menu item styled as CTA)
   ========================================================================== */

.site-nav__list li.nav-cta a {
  color: #3B82C6;
  font-weight: 500;
}

.site-nav__list li.nav-cta a:hover {
  color: #2563EB;
}

/* ==========================================================================
   Animations — Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal__child {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal__child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Animations — Hero Page-Load Entrance
   ========================================================================== */

.hero--animated {
  opacity: 0;
}

.hero--animated.hero--entered {
  opacity: 1;
}

.hero--animated .hero__headline {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1) 100ms,
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
}

.hero--animated.hero--entered .hero__headline {
  opacity: 1;
  transform: translateY(0);
}

.hero--animated .hero__subhead {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1) 300ms,
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1) 300ms;
}

.hero--animated.hero--entered .hero__subhead {
  opacity: 1;
  transform: translateY(0);
}

.hero--animated .hero__actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1) 500ms,
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1) 500ms;
}

.hero--animated.hero--entered .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Animations — Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero--animated,
  .reveal__child {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .hero--animated .hero__headline,
  .hero--animated .hero__subhead,
  .hero--animated .hero__actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive — Homepage & Pricing
   ========================================================================== */

@media (max-width: 1023px) {
  .compounds-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  .compounds-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero__headline {
    font-size: 1.953rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .trust-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .trust-bar__item {
    border-right: none;
    padding: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__brand-col,
  .site-footer__nav-col {
    text-align: center;
  }
}

/* ============================================
   GROUP 3 — PRODUCT PAGES
   ============================================ */

/* Dev Toggle Bar */
.dev-toggle-bar {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.dev-toggle-bar__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.125rem;
}

.dev-toggle-bar__btn {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #64748B;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border-right: none;
}

.dev-toggle-bar__btn:first-of-type {
  border-radius: 6px 0 0 6px;
}

.dev-toggle-bar__btn:last-of-type {
  border-radius: 0 6px 6px 0;
  border-right: 1px solid #E2E8F0;
}

.dev-toggle-bar__btn:only-of-type {
  border-radius: 6px;
  border-right: 1px solid #E2E8F0;
}

.dev-toggle-bar__btn:hover {
  background: #F5F5F4;
  color: #2D3748;
}

.dev-toggle-bar__btn.active {
  background: #3B82C6;
  border-color: #3B82C6;
  color: #fff;
}

.dev-toggle-bar__note {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  color: #64748B;
  font-style: italic;
}

/* State Visibility */
.state-public,
.state-member,
.state-subscriber {
  display: none;
}

body.show-public .state-public { display: block; }
body.show-member .state-member { display: block; }
body.show-subscriber .state-subscriber { display: block; }

body.show-public .state-public[style*="flex"] { display: flex !important; }
body.show-member .state-member[style*="flex"] { display: flex !important; }
body.show-subscriber .state-subscriber[style*="flex"] { display: flex !important; }

/* Checkout State Visibility */
.state-checkout { display: block; }
.state-confirmation { display: none; }

body.show-confirmation .state-checkout { display: none; }
body.show-confirmation .state-confirmation { display: block; }

body.show-checkout .state-checkout { display: block; }
body.show-checkout .state-confirmation { display: none; }

/* Members-Only Gate (shared component — checkout + compound library) */
.checkout-gate,
.members-only-gate {
  max-width: 32rem;
  margin: 6rem auto;
  text-align: center;
}
.checkout-gate__title,
.members-only-gate__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ink, #1d2939);
  margin-bottom: 1rem;
}
.checkout-gate__text,
.members-only-gate__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink-secondary, #475467);
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.checkout-gate__actions,
.members-only-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Product Layout */
.product-page .container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 4rem;
  align-items: start;
}

/* Compound Heading */
.compound-heading {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.441rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.compound-subtitle {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.compound-summary {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3748;
  margin-bottom: 2.5rem;
}

/* Restricted Badge */
.restricted-badge {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #64748B;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* Literature Index */
.literature-index {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2.5rem;
}

.literature-index__top-divider,
.literature-index__bottom-divider {
  border: none;
  height: 3px;
  background: #2D3748;
}

.literature-index__top-divider {
  margin-bottom: 2rem;
}

.literature-index__bottom-divider {
  margin-top: 2rem;
}

.literature-index__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.literature-index__number {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  color: #2D3748;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.literature-index__description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  color: #4A5568;
  margin-bottom: 0.5rem;
}

.literature-index__tertiary {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #64748B;
}

.literature-index__tertiary a {
  color: #3B82C6;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.literature-index__tertiary a:hover {
  color: #2563EB;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-nav__btn {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-nav__btn:hover {
  color: #2D3748;
}

.tab-nav__btn.active {
  color: #3B82C6;
  border-bottom-color: #3B82C6;
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3748;
  margin-bottom: 1.25rem;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

.tab-panel a {
  color: #3B82C6;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.tab-panel a:hover {
  color: #2563EB;
}

/* Structure Data */
.structure-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.structure-data__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.structure-data__sequence {
  grid-column: 1 / -1;
}

.structure-data__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.structure-data__value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2D3748;
}

.structure-data__value a {
  color: #3B82C6;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.structure-data__value a:hover {
  color: #2563EB;
}

/* Key Areas List */
.key-areas-list {
  list-style: none;
  padding: 0;
}

.key-areas-list li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3748;
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.key-areas-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3B82C6;
}

/* References List */
.references-list {
  list-style: none;
  padding: 0;
}

.references-list li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2D3748;
  padding: 0.6rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.references-list li:last-child {
  border-bottom: none;
}

.references-list a {
  color: #3B82C6;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  font-size: 0.8125rem;
}

.references-list a:hover {
  color: #2563EB;
}

/* Product Buy Box */
.product-buybox {
  position: sticky;
  top: 2rem;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F5F5F4;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-image__label {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.563rem;
  font-weight: 700;
  color: #2D3748;
  opacity: 0.6;
}

.product-image__vial {
  width: 40px;
  height: 80px;
  border: 1.5px solid #2D3748;
  border-radius: 4px 4px 2px 2px;
  opacity: 0.2;
  position: relative;
}

.product-image__vial::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  border: 1.5px solid #2D3748;
  border-radius: 2px 2px 0 0;
}

.product-image__vial::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 5px;
  background: #2D3748;
  border-radius: 2px 2px 0 0;
  opacity: 0.4;
}

/* Variant Selector */
.variant-selector {
  margin-bottom: 1.5rem;
}

.variant-selector__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.variant-selector__options {
  display: flex;
  gap: 0.5rem;
}

.variant-selector__btn {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #fff;
  color: #2D3748;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.variant-selector__btn:hover {
  border-color: #3B82C6;
  color: #3B82C6;
}

.variant-selector__btn.active {
  border-color: #3B82C6;
  background: rgba(59, 130, 198, 0.05);
  color: #3B82C6;
}

.variant-selector__btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Price Area */
.price-area {
  margin-bottom: 1.5rem;
}

.price-area__current {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
}

.price-area__original {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #64748B;
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.price-area__discount-badge {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.price-area__gated {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 1rem;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.quantity-selector__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-right: 1rem;
}

.quantity-selector__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #2D3748;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.quantity-selector__btn:first-of-type {
  border-radius: 6px 0 0 6px;
}

.quantity-selector__btn:last-of-type {
  border-radius: 0 6px 6px 0;
}

.quantity-selector__btn:hover {
  background: #F5F5F4;
}

.quantity-selector__value {
  width: 48px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  background: #fff;
  color: #2D3748;
}

/* Add to Cart Button */
.btn-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  line-height: 1;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.btn-add-to-cart--primary {
  background-color: #3B82C6;
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.btn-add-to-cart--primary:hover {
  background-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 198, 0.25);
}

.btn-add-to-cart--secondary {
  background-color: transparent;
  color: #3B82C6;
  border: 1px solid #3B82C6;
}

.btn-add-to-cart--secondary:hover {
  background-color: #3B82C6;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 198, 0.2);
}

/* Trust Signals */
.trust-signals {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
}

.trust-signals li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #64748B;
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.trust-signals li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64748B;
}

/* Stock Status */
.stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #16a34a;
}

.stock-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

/* Section Divider (product pages) */
.product-page .section-divider {
  border: none;
  height: 3px;
  background-color: #2D3748;
  margin: 4rem 0 2rem;
}

/* Disclaimer */
.disclaimer {
  margin-bottom: 3rem;
}

.disclaimer__text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #64748B;
}

/* Related Compounds */
.related-compounds {
  margin-bottom: 3rem;
}

.related-compounds__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.563rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 2rem;
}

.related-compounds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
}

.related-card {
  background: #FAFAF9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  padding: 2rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid #3B82C6;
}

.related-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.related-card__name {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.related-card__meta {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.related-card__citation-badge {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2D3748;
  background: #F5F5F4;
  border: 1px solid #E2E8F0;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.related-card__link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B82C6;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.related-card__link:hover {
  color: #2563EB;
}

.related-card__price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2D3748;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* 404 Page */
.page-404-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  padding: 4rem 2rem;
}

.page-404__code {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  color: #2D3748;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.75rem;
}

.page-404__description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 2rem;
}

.page-404__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.page-404__link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3B82C6;
  text-decoration: none;
}

.page-404__link-primary:hover {
  color: #2563EB;
}

.page-404__link-secondary {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #64748B;
  text-decoration: none;
}

.page-404__link-secondary:hover {
  color: #2D3748;
}

/* ============================================
   GROUP 3 — COMPOUND LIBRARY
   ============================================ */

.library-page .container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.library-page__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.441rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
  text-align: center;
}

.library-page__subtitle {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 2.5rem;
  text-wrap: balance;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-bar__btn {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  background: #fff;
  color: #64748B;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-bar__btn:hover {
  border-color: #3B82C6;
  color: #3B82C6;
}

.filter-bar__btn.active {
  background: #3B82C6;
  border-color: #3B82C6;
  color: #fff;
}

/* Compound Grid */
.compound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.compound-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.compound-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.compound-card__classification {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.375rem;
}

.compound-card__name {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.compound-card__citations {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2D3748;
  background: #F5F5F4;
  border: 1px solid #E2E8F0;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 1rem;
}

.compound-card__price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 0.75rem;
}

.compound-card__link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B82C6;
  text-decoration: none;
}

.compound-card__link:hover {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Premium Badge */
.compound-card__premium-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #64748B;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

/* Grid Count */
.library-page__count {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #64748B;
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   GROUP 3 — CHECKOUT
   ============================================ */

.checkout-page .container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 4rem;
  align-items: start;
}

.checkout-page-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2D3748;
  margin-bottom: 2rem;
}

.checkout-section-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2D3748;
  margin-bottom: 1.25rem;
}

.checkout-page .section-divider--thin {
  border: none;
  height: 1px;
  background-color: #E2E8F0;
  margin: 2rem 0;
}

/* Form Fields */
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row--two {
  grid-template-columns: 1fr 1fr;
}

.form-row--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2D3748;
}

.form-group input,
.form-group select {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #2D3748;
  background: #FEFEFE;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.7rem 0.875rem;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #3B82C6;
  box-shadow: 0 0 0 3px rgba(59, 130, 198, 0.12);
}

.form-group input::placeholder {
  color: #64748B;
  opacity: 0.6;
}

/* Locked fields */
.form-group--locked {
  position: relative;
}

.form-group--locked input {
  background: #F5F5F4;
  color: #64748B;
  cursor: not-allowed;
  padding-right: 2.5rem;
}

.lock-icon {
  position: absolute;
  right: 0.75rem;
  bottom: 0.7rem;
  width: 16px;
  height: 16px;
  color: #64748B;
}

.lock-icon svg {
  width: 16px;
  height: 16px;
  stroke: #64748B;
  fill: none;
  stroke-width: 1.5;
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.payment-option {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-option:hover {
  border-color: #3B82C6;
}

.payment-option.selected {
  border-color: #3B82C6;
  box-shadow: 0 0 0 2px rgba(59, 130, 198, 0.12);
}

.payment-option__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  position: relative;
  flex-shrink: 0;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-option.selected .payment-option__radio {
  border-color: #3B82C6;
}

.payment-option.selected .payment-option__radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82C6;
}

.payment-option__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2D3748;
}

.payment-option__sublabel {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #64748B;
  margin-left: 0.5rem;
}

.payment-option__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), margin-top 200ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.payment-option.selected .payment-option__details {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

.payment-instructions {
  background: #F5F5F4;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #2D3748;
}

.payment-instructions p {
  margin-bottom: 0.5rem;
}

.payment-instructions p:last-child {
  margin-bottom: 0;
}

.payment-note {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.75rem;
}

/* ACH Fields */
.ach-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ach-fields .form-group input {
  font-size: 0.875rem;
  padding: 0.6rem 0.75rem;
}

.ach-radio-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.25rem;
}

.ach-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #2D3748;
  cursor: pointer;
}

.ach-radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  position: relative;
  cursor: pointer;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.ach-radio-group input[type="radio"]:checked {
  border-color: #3B82C6;
}

.ach-radio-group input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82C6;
}

/* Acknowledgment */
.acknowledgment {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.acknowledgment input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #E2E8F0;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-top: 0.15rem;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.acknowledgment input[type="checkbox"]:checked {
  background: #3B82C6;
  border-color: #3B82C6;
}

.acknowledgment input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.acknowledgment label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #2D3748;
  cursor: pointer;
}

/* Place Order Button */
.btn-place-order {
  display: block;
  width: 100%;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  background: #3B82C6;
  color: #fff;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.btn-place-order:hover:not(:disabled) {
  background: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 198, 0.25);
}

.btn-place-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Order Summary */
.order-summary-col {
  position: sticky;
  top: 2rem;
}

.order-summary-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  padding: 2rem;
}

.order-summary-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 1.5rem;
}

.order-line-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: #2D3748;
}

.order-line-item__name {
  font-weight: 400;
}

.order-line-item__price {
  font-weight: 500;
  white-space: nowrap;
  margin-left: 1rem;
}

.order-line-item__dots {
  flex: 1;
  border-bottom: 1px dotted #E2E8F0;
  margin: 0 0.75rem;
  min-width: 2rem;
  position: relative;
  top: -3px;
}

.order-summary-divider {
  border: none;
  height: 1px;
  background: #E2E8F0;
  margin: 1rem 0;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.order-total-row--discount {
  color: #16a34a;
}

.order-total-row--final {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0;
}

.premium-discount-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #64748B;
}

.premium-discount-note svg {
  width: 14px;
  height: 14px;
  stroke: #3B82C6;
  fill: none;
  stroke-width: 2;
}

/* Confirmation Page */
.confirmation-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 198, 0.08);
  border: 3px solid #3B82C6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.confirmation-checkmark svg {
  width: 36px;
  height: 36px;
  stroke: #3B82C6;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirmation-headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.953rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.4rem;
}

.confirmation-subheadline {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.confirmation-body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3748;
  text-align: left;
  margin-bottom: 2rem;
}

.confirmation-instructions {
  background: #F5F5F4;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.confirmation-instructions p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

.confirmation-instructions p:last-child {
  margin-bottom: 0;
}

.confirmation-order-summary {
  text-align: left;
  margin-bottom: 2.5rem;
}

.confirmation-line {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: #2D3748;
  margin-bottom: 0.4rem;
}

.confirmation-line--discount {
  color: #16a34a;
}

.confirmation-line--total {
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid #E2E8F0;
}

.confirmation-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.confirmation-links a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  text-decoration: none;
}

.confirmation-links .link-primary {
  color: #3B82C6;
  font-weight: 500;
}

.confirmation-links .link-primary:hover {
  color: #2563EB;
}

.confirmation-links .link-secondary {
  color: #64748B;
  font-weight: 400;
}

.confirmation-links .link-secondary:hover {
  color: #2D3748;
}

/* ============================================
   GROUP 3 — RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-buybox {
    position: static;
  }

  .compound-heading {
    font-size: 1.953rem;
  }

  .literature-index__number {
    font-size: 3.5rem;
  }

  .tab-nav {
    gap: 0;
  }

  .tab-nav__btn {
    padding: 0.75rem 0.75rem;
    font-size: 0.8125rem;
  }

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

  .order-summary-col {
    position: static;
  }

  .dev-toggle-bar {
    position: fixed;
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: auto;
  }
}

@media (max-width: 640px) {
  .form-row--two,
  .form-row--three {
    grid-template-columns: 1fr;
  }

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

  .related-compounds__grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 0.375rem;
  }

  .filter-bar__btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ============================================
   GROUP 4 — ABOUT PAGE
   ============================================ */

.about-page {
  padding-bottom: 3rem;
}

.about-page .hero {
  padding: 5rem 0 3rem;
}

.about-page .hero h1 {
  font-family: var(--heading-font);
  font-size: 2.441rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.about-page .hero__subhead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.content-section {
  padding: 5rem 0;
}

.content-section h2 {
  font-family: var(--heading-font);
  font-size: 1.953rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.content-section p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.content-section p:last-of-type {
  margin-bottom: 0;
}

.content-width {
  max-width: 48rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 200ms ease;
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-card__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.metric-card__value {
  font-family: var(--heading-font);
  font-size: 1.563rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}

.metric-card__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   GROUP 4 — CONTACT PAGE
   ============================================ */

.contact-page {
  padding-bottom: 3rem;
}

.page-title-section {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.page-title-section h1 {
  font-family: var(--heading-font);
  font-size: 2.441rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-title-section__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-page .form-group label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary-color);
  background: #FFFFFE;
  border: 1px solid var(--primary-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 198, 0.15);
}

.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.contact-page .form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-page .form-group textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-honeypot-note {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text-muted);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 6px;
  background-color: var(--accent-color);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  line-height: 1;
}

.btn-submit:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 198, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.form-response-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  align-self: start;
}

.contact-info-card__title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-card__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info-item__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-item__value {
  font-size: 1rem;
}

.contact-info-card__divider {
  border: none;
  height: 1px;
  background-color: var(--border-color);
  margin: 1.5rem 0;
}

.contact-info-card__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================
   GROUP 4 — COMPLIANCE PAGE
   ============================================ */

.compliance-page {
  padding-bottom: 3rem;
}

.compliance-container {
  max-width: 48rem;
}

.draft-notice {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.draft-notice__heading {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.draft-notice__body {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-title {
  margin-bottom: 2rem;
}

.page-title h1 {
  font-family: var(--heading-font);
  font-size: 2.441rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-title__subtitle,
.page-title__subhead {
  font-size: 1rem;
  color: var(--text-muted);
}

.compliance-section {
  margin-bottom: 0;
}

.compliance-section__heading {
  font-family: var(--heading-font);
  font-size: 1.563rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.compliance-section__body {
  line-height: 1.7;
}

.compliance-section__body p + p {
  margin-top: 1rem;
}

/* ============================================
   GROUP 4 — SINGLE RESEARCH ARTICLE
   ============================================ */

.article-page {
  padding-bottom: 3rem;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-top: 3rem;
}

.article-header__category {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.article-header__title {
  font-family: var(--heading-font);
  font-size: 2.441rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.article-header__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.article-header__divider {
  border: none;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article-body {
  max-width: 48rem;
}

.article-body h2 {
  font-family: var(--heading-font);
  font-size: 1.953rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  font-family: var(--heading-font);
  font-size: 1.563rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-body a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 200ms ease;
}

.article-body a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

.article-body blockquote {
  border-left: 3px solid var(--accent-color);
  background: var(--surface);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  font-style: italic;
  margin-bottom: 0;
}

.article-body blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text-muted);
}

/* ---- Imported research article content ---- */
.article-breadcrumb {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}
.article-breadcrumb a { color: #64748B; text-decoration: none; }
.article-breadcrumb a:hover { color: #C8820A; }

.article-body--research { line-height: 1.75; color: #334155; }
.article-body--research h2 { margin-top: 2.5rem; }
.article-body--research h3 { margin-top: 1.75rem; }
.article-body--research p { margin-bottom: 1.15rem; font-size: 1.0625rem; }
.article-body--research a { color: #3B82C6; text-decoration: none; border-bottom: 1px solid rgba(59,130,198,0.3); }
.article-body--research a:hover { color: #2563EB; border-bottom-color: #2563EB; }
.article-body--research ul,
.article-body--research ol { margin: 0 0 1.4rem 1.4rem; }
.article-body--research li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.article-body--research ul li::marker { color: #C8820A; }
.article-body--research img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
.article-body--research hr { border: none; border-top: 1px solid #E2E8F0; margin: 2.5rem 0; }
.article-body--research sub, .article-body--research sup { font-size: 0.75em; }

/* References / citation lists */
.article-body--research ol li { font-size: 0.95rem; color: #475569; }

/* FAQ accordions (details/summary) */
.article-body--research details {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  margin: 0.75rem 0;
  background: #F8FAFC;
}
.article-body--research summary {
  cursor: pointer;
  font-weight: 600;
  color: #0B1D35;
  padding: 0.6rem 0;
  list-style-position: inside;
}
.article-body--research details[open] summary { border-bottom: 1px solid #E2E8F0; margin-bottom: 0.5rem; }
.article-body--research .ans { padding: 0.25rem 0 0.5rem; }

/* Research-use disclaimer box */
.article-body--research .ll-disclaimer {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: #FEF6E7;
  border: 1px solid #F5D89A;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #7A5B12;
}

/* Tables */
.article-body--research table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.article-body--research th,
.article-body--research td {
  border: 1px solid #E2E8F0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.article-body--research th { background: #F8FAFC; font-family: 'Inter', sans-serif; color: #0B1D35; }

/* Related articles */
.article-related {
  max-width: 48rem;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid #E2E8F0;
}
.article-related__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.375rem;
  color: #0B1D35;
  margin-bottom: 1.25rem;
}
.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.article-related__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: box-shadow 300ms ease, transform 300ms ease;
}
.article-related__card:hover { box-shadow: 0 10px 24px rgba(11,29,53,0.09); transform: translateY(-2px); }
.article-related__card-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
  color: #2D3748;
  text-wrap: pretty;
}
.article-related__card-go { font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600; color: #3B82C6; }

@media (max-width: 720px) {
  .article-related__grid { grid-template-columns: 1fr; }
}

.sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card__title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sidebar-card__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sidebar-card__links {
  list-style: none;
  padding: 0;
}

.sidebar-card__links li {
  margin-bottom: 0.75rem;
}

.sidebar-card__links li:last-child {
  margin-bottom: 0;
}

.sidebar-card__links a {
  font-size: 0.875rem;
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  line-height: 1.5;
  transition: color 200ms ease;
}

.sidebar-card__links a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

.sidebar-card__divider {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 1.25rem 0;
}

.sidebar-card__compound-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms ease;
}

.sidebar-card__compound-name:hover {
  color: var(--accent-color);
}

.sidebar-card__nav-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 200ms ease;
}

.sidebar-card__nav-link:hover {
  color: var(--accent-hover);
}

/* ============================================
   GROUP 4 — RESEARCH ARTICLES ARCHIVE
   ============================================ */

.research-page {
  padding-bottom: 3rem;
}

.research-page .page-title-section {
  padding: 3rem 0 2.5rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 1rem 0 3rem;
}

.article-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
}

.article-card__category {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.article-card__title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-card__meta {
  font-size: 0.75rem;
  color: #94A3B8;
}

.article-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-bottom: 4rem;
}

/* ============================================
   GROUP 4 — RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-page .hero h1,
  .page-title-section h1,
  .page-title h1,
  .article-header__title {
    font-size: 1.953rem;
  }

  .content-section h2,
  .compliance-section__heading {
    font-size: 1.563rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
  }

  .contact-info-card {
    order: -1;
  }

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

@media (max-width: 480px) {
  .about-page .hero {
    padding: 3rem 0 2rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .page-title-section h1,
  .page-title h1,
  .article-header__title {
    font-size: 1.563rem;
  }
}

/* ============================================
   MEMBERSHIP APPLICATION PAGE
   ============================================ */

.apply-page {
  padding: 4rem 0 5rem;
}

.apply-page__header {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.apply-page__title {
  font-family: var(--heading-font);
  font-size: 2.441rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.apply-page__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.apply-page__tiers {
  max-width: 38rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apply-tier-info {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4A5568;
}

.apply-tier-info__name {
  font-weight: 600;
  color: var(--primary-color);
}

.apply-form {
  max-width: 38rem;
}

.apply-form__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.apply-form__fieldset-title {
  font-family: var(--body-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.apply-form__helper {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.apply-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.apply-form__error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #DC2626;
  line-height: 1.5;
}

.apply-form__actions {
  margin-top: 2rem;
}

.apply-form__disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Radio Buttons */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

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

.radio__circle {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #CBD5E1;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.radio__circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82C6;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.radio__input:checked + .radio__circle {
  border-color: #3B82C6;
}

.radio__input:checked + .radio__circle::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio__input:focus-visible + .radio__circle {
  outline: 2px solid #3B82C6;
  outline-offset: 2px;
}

.radio__label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #2D3748;
  user-select: none;
}

/* Three-column form row */
.form-row--three {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 639px) {
  .form-row--three {
    grid-template-columns: 1fr;
  }
}

/* Select dropdown styling for apply page */
.apply-form select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* State B: Confirmation */
.apply-page__confirm-wrap {
  max-width: 38rem;
}

.apply-page__confirm-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4A5568;
}

.apply-page__confirm-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
}

/* ==========================================================================
   HOMEPAGE V2 — Enterprise Gateway, navy + premium gold, veteran story
   Tokens: navy #0B1D35 / #0F2544, gold #C8820A / #E0A83A, ink #2D3748
   ========================================================================== */

/* Shared button extensions */
.btn--gold {
  background-color: #C8820A;
  border-color: #C8820A;
  color: #fff;
}
.btn--gold:hover:not(:disabled) {
  background-color: #A9700A;
  border-color: #A9700A;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 130, 10, 0.32);
  text-decoration: none;
}
.btn--outline {
  background-color: transparent;
  border-color: #CBD5E1;
  color: #2D3748;
}
.btn--outline:hover:not(:disabled) {
  border-color: #0B1D35;
  color: #0B1D35;
  background-color: #F8FAFC;
  text-decoration: none;
}
.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 0.9375rem;
  border-radius: 8px;
}
.btn--full { width: 100%; }
.text-center { text-align: center; }

/* ---------- HERO ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
  color: #EAF0F8;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(200,130,10,0.16), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(59,130,198,0.18), transparent 55%),
    linear-gradient(160deg, #0B1D35 0%, #0F2544 55%, #0B1D35 100%);
}
.home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.home-hero__inner { position: relative; z-index: 1; max-width: 52rem; }
.home-hero__eyebrow {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E0A83A;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(224,168,58,0.35);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.home-hero__headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.home-hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #B6C4D8;
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-wrap: balance;
}
.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.home-hero__secondary {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #EAF0F8;
  text-decoration: none;
  transition: color 200ms ease;
}
.home-hero__secondary:hover { color: #E0A83A; text-decoration: none; }
.home-hero__microtrust {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #8CA0BC;
  letter-spacing: 0.01em;
}

/* ---------- PROOF STRIP ---------- */
.proof-strip {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}
.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}
.proof-item__icon { width: 26px; height: 26px; color: #C8820A; flex-shrink: 0; }
.proof-item__label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2D3748;
  line-height: 1.3;
}

/* ---------- FOUNDER ---------- */
.founder { padding: 5.5rem 0; background: #F8FAFC; }
.founder__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
.founder__eyebrow {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C8820A;
  margin-bottom: 1rem;
}
.founder__headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #0B1D35;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.founder__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1rem;
}
.founder__signature {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0B1D35;
  margin: 1.5rem 0 1.25rem;
}
.founder__signature-sub {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0.02em;
}
.founder__link {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #C8820A;
  text-decoration: none;
}
.founder__link:hover { color: #A9700A; text-decoration: none; }
.founder__card {
  position: relative;
  background: linear-gradient(160deg, #0B1D35, #0F2544);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(11,29,53,0.22);
}
.founder__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.founder__card-row:last-of-type { border-bottom: none; }
.founder__card-row span {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  color: #A9BBD4;
}
.founder__card-row strong {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.125rem;
  color: #E0A83A;
}
.founder__card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #C8820A;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- FEATURED ---------- */
.home-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.home-featured__head .section-title { margin-bottom: 0; }
.home-featured__all {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3B82C6;
  text-decoration: none;
  white-space: nowrap;
}
.home-featured__all:hover { color: #2563EB; text-decoration: none; }

/* Request a Compound — nav accent, gate, form */
.menu-item--request a,
.footer-nav__request {
  color: #C8820A !important;
  font-weight: 600;
}
.menu-item--request a:hover,
.footer-nav__request:hover { color: #A9700A !important; }

.request-gate {
  text-align: center;
  background: linear-gradient(160deg, #0B1D35, #0F2544);
  border-radius: 12px;
  padding: 3rem 2rem;
  color: #EAF0F8;
}
.request-gate__lock { display: inline-block; width: 44px; height: 44px; color: #E0A83A; margin-bottom: 1rem; }
.request-gate__lock svg { width: 100%; height: 100%; }
.request-gate__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.request-gate__text {
  color: #B6C4D8;
  line-height: 1.7;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  text-wrap: pretty;
}

.request-form { margin-top: 1rem; }
.form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label__optional { font-weight: 400; color: #94A3B8; text-transform: none; letter-spacing: 0; }
.request-form__note { font-size: 0.8125rem; color: #64748B; margin-top: 0.75rem; line-height: 1.55; }
.form-error--server { display: none; color: #DC2626; font-size: 0.875rem; margin-bottom: 0.75rem; }

.request-success {
  text-align: center;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.request-success__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.5rem;
  color: #166534;
  margin-bottom: 0.75rem;
}
.request-success__text { color: #475569; line-height: 1.7; margin-bottom: 1.5rem; }

@media (max-width: 540px) {
  .form-row--two { grid-template-columns: 1fr; }
}

/* ---- Announcement bar ---- */
.ll-announcement-bar {
  background: #0B1D35;
  color: #F8FAFC;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.6rem 1rem;
  line-height: 1.4;
}
.ll-announcement-bar strong {
  color: #E0A83A;
  font-weight: 700;
}

/* ==========================================================================
   WooCommerce — Cart & Checkout skin (classic shortcode)
   Matches the site: Inter / PT Serif, #3B82C6 primary, #E2E8F0 borders, 6px radius.
   ========================================================================== */

/* Section headings: Billing details / Your order / Cart totals */
.woocommerce form h3,
.woocommerce #order_review_heading,
.woocommerce .cart_totals h2,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  font-family: 'PT Serif', Georgia, serif;
  color: #0F2544;
  font-weight: 700;
}
.woocommerce form h3,
.woocommerce #order_review_heading,
.woocommerce .cart_totals h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #E2E8F0;
}

/* Field labels */
.woocommerce form .form-row label,
.woocommerce-checkout .form-row label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 0.35rem;
  display: block;
}
.woocommerce form .required { color: #DC2626; border: 0; }

/* Inputs, textareas, selects, quantity — mirror .form-input exactly */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce #order_comments,
.woocommerce .select2-container .select2-selection,
.woocommerce form .form-row select,
.woocommerce .quantity input.qty {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  color: #2D3748;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  line-height: 1.4;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce #order_comments:focus,
.woocommerce form .form-row select:focus,
.woocommerce .select2-container--focus .select2-selection {
  outline: none;
  border-color: #3B82C6;
  box-shadow: 0 0 0 3px rgba(59, 130, 198, 0.1);
}
/* select2 country/state dropdowns: height + alignment to match fields */
.woocommerce .select2-container .select2-selection--single {
  height: auto;
  min-height: 2.9rem;
  display: flex;
  align-items: center;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4;
  color: #2D3748;
  padding-left: 0;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}
.woocommerce .select2-dropdown { border-color: #E2E8F0; }
.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #3B82C6;
}

/* Order-review + cart tables */
.woocommerce table.shop_table {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D3748;
  border-top: 1px solid #EEF2F7;
  padding: 0.85rem 1rem;
}
.woocommerce table.shop_table thead th {
  background: #F8FAFC;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
  border-top: 0;
}
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
  background: #F8FAFC;
  font-weight: 600;
}
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total .amount {
  color: #0F2544;
  font-size: 1.05rem;
}

/* Payment methods box */
.woocommerce-checkout #payment {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 1.25rem;
}
.woocommerce-checkout #payment ul.payment_methods li {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D3748;
  margin-bottom: 0.4rem;
}
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; }
.woocommerce-checkout #payment input[type="radio"] { accent-color: #3B82C6; }
.woocommerce-checkout #payment div.payment_box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #64748B;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #FFFFFF; }

/* Primary actions: Place order + Proceed to checkout — mirror .btn--primary */
.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background-color: #3B82C6;
  color: #FFFFFF;
  border: 1.5px solid #3B82C6;
  border-radius: 6px;
  padding: 1rem 1.75rem;
  text-transform: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce-checkout #place_order { width: 100%; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; }
.woocommerce-checkout #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #2563EB;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 198, 0.3);
  color: #FFFFFF;
}

/* Secondary actions: update cart + apply coupon */
.woocommerce-cart .cart .button[name="update_cart"],
.woocommerce .coupon .button {
  background: transparent;
  color: #3B82C6;
  border: 1.5px solid #3B82C6;
  border-radius: 6px;
  font-weight: 600;
  text-transform: none;
}
.woocommerce-cart .cart .button[name="update_cart"]:hover,
.woocommerce .coupon .button:hover {
  background: #3B82C6;
  color: #FFFFFF;
}

/* Notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-radius: 6px;
  border-top: none;
  padding: 0.9rem 1.25rem;
}
.woocommerce-info { background: #EFF5FC; border-left: 4px solid #3B82C6; color: #1E3A5F; }
.woocommerce-message { background: #ECFDF5; border-left: 4px solid #10B981; color: #065F46; }
.woocommerce-error { background: #FEF2F2; border-left: 4px solid #DC2626; color: #7F1D1D; }
.woocommerce-info::before { color: #3B82C6; }
.woocommerce-message::before { color: #10B981; }
.woocommerce-error::before { color: #DC2626; }

/* ---- Product monograph (single product long description) ---- */
.ll-monograph {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  margin-top: 2.5rem;
  padding: 3rem 1.5rem;
}
.ll-monograph__inner {
  max-width: 48rem;
  margin: 0 auto;
}
.ll-monograph__inner h2 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.5rem;
  color: #0B1D35;
  margin: 2.25rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E0A83A;
  display: inline-block;
}
.ll-monograph__inner h2:first-child { margin-top: 0; }
.ll-monograph__inner table th {
  width: 38%;
  color: #0B1D35;
}
.ll-monograph__related { margin-top: 0.5rem; }
.ll-monograph__related li { margin-bottom: 0.4rem; }

/* ---- Research library listing ---- */
.research-page .container { max-width: 72rem; padding: 3rem 1.5rem; }
.research-search {
  display: flex;
  gap: 0.75rem;
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}
.research-search input[type="search"] {
  flex: 1;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
}
.research-search input[type="search"]:focus {
  outline: none;
  border-color: #3B82C6;
  box-shadow: 0 0 0 2px rgba(59,130,198,0.15);
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.research-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow 300ms ease, transform 300ms ease;
}
.research-card:hover { box-shadow: 0 12px 28px rgba(11,29,53,0.1); transform: translateY(-2px); text-decoration: none; }
.research-card__topic {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C8820A;
  margin-bottom: 0.6rem;
}
.research-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0B1D35;
  margin-bottom: 0.6rem;
  text-wrap: pretty;
}
.research-card__excerpt {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.research-card__meta {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  color: #94A3B8;
}
.research-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.research-pagination a,
.research-pagination span {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
}
.research-pagination a:hover { border-color: #3B82C6; color: #3B82C6; }
.research-pagination .current {
  background: #0B1D35;
  border-color: #0B1D35;
  color: #fff;
}
.research-empty { text-align: center; padding: 3rem 1rem; color: #64748B; }
.research-empty p { margin-bottom: 1.25rem; }

/* Premium teaser card (compound library) — generic, names no compounds. */
.compound-card--tease {
  background: linear-gradient(160deg, #0B1D35, #0F2544);
  border: 1px solid #0F2544;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}
.compound-card--tease .compound-card__name { color: #fff; }
.compound-card__tease-lock {
  width: 40px;
  height: 40px;
  color: #E0A83A;
  margin-bottom: 0.25rem;
}
.compound-card__tease-lock svg { width: 100%; height: 100%; }
.compound-card__tease-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #B6C4D8;
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.compound-card--tease .btn--gold { margin-top: auto; }

/* Featured = curated tiles in one clean row (--cols set per render, 3 or 4). */
.home-featured .compound-grid {
  grid-template-columns: repeat(var(--cols, 4), 1fr);
}
@media (max-width: 1024px) {
  .home-featured .compound-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .home-featured .compound-grid { grid-template-columns: 1fr; }
}

/* ---------- OFFER LADDER ---------- */
.offer__sub {
  text-align: center;
  color: #64748B;
  font-size: 1rem;
  margin: -0.5rem auto 2.5rem;
  max-width: 34rem;
  text-wrap: balance;
}
.offer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}
.offer__card {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.25rem 2rem;
}
.offer__card--premium {
  border: 2px solid #C8820A;
  box-shadow: 0 12px 32px rgba(200,130,10,0.12);
}
.offer__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #C8820A;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.offer__tier {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0B1D35;
  margin-bottom: 0.5rem;
}
.offer__price {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #0B1D35;
  margin-bottom: 1.25rem;
}
.offer__price-period {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #64748B;
}
.offer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid #E2E8F0;
}
.offer__list li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: #475569;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
}
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8820A;
}
.offer__list li:last-child { border-bottom: none; }

/* ---------- RESEARCH VALUE ---------- */
.research-value { background: #F8FAFC; }
.research-value__head { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.research-value__eyebrow {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C8820A;
  margin-bottom: 0.75rem;
}
.research-value__sub { color: #64748B; font-size: 1rem; line-height: 1.7; text-wrap: balance; }
.research-value__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}
.research-value__card {
  display: block;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: box-shadow 300ms ease, transform 300ms ease;
}
.research-value__card:hover {
  box-shadow: 0 12px 28px rgba(11,29,53,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.research-value__stat {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #C8820A;
  line-height: 1;
}
.research-value__label {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B1D35;
  margin: 0.5rem 0 0.75rem;
}
.research-value__desc { color: #64748B; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; }
.research-value__go {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3B82C6;
}

/* ---------- CLOSING CTA ---------- */
.home-cta {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  text-align: center;
  background: linear-gradient(160deg, #0B1D35, #0F2544);
  color: #fff;
}
.home-cta__inner { position: relative; z-index: 1; max-width: 40rem; }
.home-cta__headline {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.home-cta__sub { color: #B6C4D8; font-size: 1.0625rem; line-height: 1.7; margin-bottom: 2rem; text-wrap: balance; }
.home-cta__legal {
  font-size: 0.75rem;
  color: #6E82A0;
  margin-top: 1.75rem;
  line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .proof-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .founder__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .offer__grid, .research-value__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .proof-strip__inner { grid-template-columns: 1fr; }
  .home-hero { padding: 5rem 0 4rem; }
  .home-hero__actions { flex-direction: column; gap: 1rem; }
}

/* ==========================================================================
   WooCommerce — brand skin (matches compound-library design system)
   ========================================================================== */

.woocommerce .library-page > .container,
.woocommerce-page .library-page > .container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Shop page title */
.woocommerce .page-title,
.woocommerce-products-header__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 0.5rem;
}

/* Result count / ordering row */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  color: #64748B;
}

/* Product grid → mirror .compound-grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; }

/* Product card → mirror .compound-card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.woocommerce ul.products li.product a img {
  border-radius: 6px;
  margin-bottom: 1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  padding: 0 0 0.5rem;
}
.woocommerce ul.products li.product .price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2D3748;
  display: block;
  margin-bottom: 1rem;
}
.woocommerce ul.products li.product .price del {
  color: #94A3B8;
  font-weight: 400;
  margin-right: 0.35rem;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: #2D3748;
}

/* Premium price tag pill */
.ll-premium-tag {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C8820A;
  background: #FEF6E7;
  border: 1px solid #F5D89A;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Category label above title → mirror .compound-card__classification */
.woocommerce ul.products li.product .ll-loop-category {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.375rem;
}

/* ---- Buttons → mirror .btn / .btn--primary ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1.5px solid #3B82C6;
  background: #3B82C6;
  color: #fff;
  text-shadow: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 198, 0.3);
}

/* Single product layout */
.woocommerce div.product .product_title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2D3748;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2D3748;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: #3B82C6;
}
.woocommerce .quantity input.qty {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.5rem;
}

/* Variation select (sizes) */
.woocommerce div.product form.cart .variations select {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9375rem;
  min-width: 12rem;
}
.woocommerce div.product form.cart .variations th.label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  color: #2D3748;
}

/* Notices → brand colors */
.woocommerce .woocommerce-message { border-top-color: #3B82C6; }
.woocommerce .woocommerce-info { border-top-color: #3B82C6; }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before { color: #3B82C6; }
.woocommerce .woocommerce-error { border-top-color: #DC2626; }

/* Classic checkout form layout */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details {
  width: 100%;
}
.woocommerce-checkout #customer_details.col2-set .col-1,
.woocommerce-checkout #customer_details.col2-set .col-2 {
  float: none;
  width: 100%;
  max-width: 40rem;
}
.woocommerce form .form-row {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.1rem;
  padding: 0;
}
.woocommerce form .form-row label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 0.35rem;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: 48%;
  float: left;
  overflow: visible;
}
.woocommerce form .form-row-first { margin-right: 4%; }
.woocommerce form .form-row-wide { width: 100%; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 44px;
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  box-sizing: border-box;
}
.woocommerce .col2-set::after { content: ""; display: table; clear: both; }
.woocommerce-checkout #payment {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #E2E8F0;
  padding: 0 0 1rem;
  margin: 0 0 1rem;
  list-style: none;
}
.woocommerce-checkout #payment ul.payment_methods li { margin: 0.4rem 0; }
.woocommerce-checkout #payment div.payment_box {
  background: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #64748B;
}
.woocommerce-checkout #payment #place_order {
  width: 100%;
  margin-top: 0.5rem;
}
.woocommerce table.woocommerce-checkout-review-order-table {
  margin-bottom: 1.25rem;
}

/* Cart + checkout tables */
.woocommerce table.shop_table {
  border-radius: 8px;
  border-color: #E2E8F0;
}
.woocommerce table.shop_table th {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #2D3748;
}
.woocommerce-cart .cart-collaterals .cart_totals > h2,
.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce form.checkout h3 {
  font-family: 'PT Serif', Georgia, serif;
  color: #2D3748;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection {
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }
}
