/* ═══════════════════════════════════════════════════════
   Alderm Direct — Base styles
   B2B equipment site. Density tuned to medprolasers.com.
   ═══════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Layout primitives ─────────────────────────────── */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

section {
  padding: var(--section-padding-y) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--section-padding-y-sm) 0;
  }
}

.section--surface {
  background: var(--color-surface);
}

.section--navy {
  background: var(--color-accent-navy);
  color: #FFFFFF;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--navy p { color: rgba(255, 255, 255, 0.85); }

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
}
h1 { font-size: var(--text-5xl); letter-spacing: -0.03em; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); font-weight: var(--weight-semibold); }

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent-navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-teal); }
a:focus-visible {
  outline: 2px solid var(--color-accent-navy);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin: 0 0 0.75rem;
}

/* FDA-clearance badge — visible on home + /product first viewport.
   Authorized as-is post 2026-05-08 Jim/Candice call for 755/808/1064 nm. */
.fda-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-tint-navy, rgba(20, 35, 70, 0.06));
  border: 1px solid var(--color-accent-navy);
  border-radius: 999px;
  color: var(--color-accent-navy);
  letter-spacing: 0.06em;
}
.fda-badge span[aria-hidden="true"] {
  color: var(--color-accent-gold);
  font-size: 0.85em;
}

/* Throughput explainer — 2-column block on /product page beneath the
   per-area treatment-time table. Collapses to single column on small screens. */
.throughput-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.throughput-explainer h3 {
  margin: 0 0 0.75rem;
}
@media (max-width: 720px) {
  .throughput-explainer { grid-template-columns: 1fr; }
}

.hero__model {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.55em;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  letter-spacing: 0;
}

.lede {
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent-navy);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--color-accent-navy-dk);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-navy);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent-navy);
  background: var(--color-tint-navy);
}

/* Gold buttons read dark across all three themes — the gold token is a
   bright fill in every palette (warm gold under clinical/modern, sage
   cream under dark), so white text fails WCAG AA (~2.6:1 on clinical
   gold). Hardcoded dark navy clears AAA on all three gold variants
   (~7.5–11:1). */
.btn-gold {
  background: var(--color-accent-gold);
  color: #0E1B2D;
}
.btn-gold:hover {
  background: var(--color-accent-gold-dk);
  color: #0E1B2D;
}

.btn-large { padding: 1.125rem 2rem; font-size: var(--text-lg); }

/* ── Header / Nav ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header__brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
/* Nav-link color only applies to text-anchor children, not button-styled
   anchors (.btn / .btn-primary / .btn-gold). Without :not(.btn), the
   element-bearing selector here outweighs single-class .btn-primary and
   forces button text to the muted secondary-gray on a navy fill
   (~2:1 contrast ratio — fails WCAG AA). */
.site-header__nav a:not(.btn) {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}
.site-header__nav a:not(.btn):hover { color: var(--color-text-primary); }
.site-header__nav .btn { font-size: var(--text-sm); padding: 0.625rem 1.25rem; }

/* Hamburger button (hidden on wide screens) */
.site-header__menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.5rem;
  cursor: pointer;
  color: var(--color-text-primary);
  line-height: 1;
  flex-shrink: 0;
}
.site-header__menu-btn:focus-visible {
  outline: 2px solid var(--color-accent-navy);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .site-header__nav { gap: 1.25rem; }
  .site-header__nav a:not(.btn) { font-size: var(--text-sm); }
}

/* Hamburger nav — below 700px (inline nav squeezed at ≤700px) */
@media (max-width: 700px) {
  .site-header__menu-btn { display: flex; align-items: center; min-height: 44px; }
  .site-header__brand { font-size: var(--text-base); gap: 0.5rem; }
  .site-header__brand-mark { width: 28px; height: 28px; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--shadow-card);
  }
  .site-header__nav.is-open { display: flex; }
  .site-header__nav a:not(.btn) {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
  }
  .site-header__nav a:not(.btn):last-child { border-bottom: none; }
  .site-header__nav .btn {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
  }
}
@media (max-width: 480px) {
  .site-header__brand span:last-child { display: inline; }
  .site-header__brand-mark { 
    width: 40px; 
    height: 40px;
  }
  .site-header__brand {
    font-size: var(--text-lg);
    gap: 0.5rem;
  }
}

/* ── Nav dropdown (Products & Services) ─────────────
   Added 2026-05-18 with the 3-tab nav. The trigger is a <button>,
   not an <a>, so it needs explicit color rules — the .site-header__nav
   a:not(.btn) selector above doesn't reach it. */
.nav-item {
  display: inline-flex;
  align-items: center;
}
.nav-item--dropdown { position: relative; }

.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: inherit;
  cursor: pointer;
}
.nav-item__trigger:hover { color: var(--color-text-primary); }
.nav-item__trigger:focus-visible {
  outline: 2px solid var(--color-accent-navy);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.nav-item__trigger[data-current-section="true"] { color: var(--color-text-primary); }
.nav-item__chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.nav-item__trigger[aria-expanded="true"] .nav-item__chevron {
  transform: rotate(180deg);
}

.nav-item__link {
  /* Anchor sibling — same color rules as the trigger so they read as a row. */
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 17rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--color-header-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: none;
  z-index: var(--z-nav);
}
.nav-item__trigger[aria-expanded="true"] + .nav-dropdown { display: block; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-primary) !important;
  text-decoration: none;
  font-size: var(--text-base) !important;
  font-weight: var(--weight-medium);
  line-height: 1.4;
}
.nav-dropdown a:hover {
  background: var(--color-tint-navy);
  color: var(--color-text-primary) !important;
}

/* Request-a-Quote CTA in the nav — gold treatment so it pops against the
   navy header. The bottom-page "Schedule a Call" CTAs already use the same
   gold; this creates a consistent primary-action color. */
.nav-item__cta {
  /* Inherits .btn .btn-gold; the modifier exists for future hooks. */
}

@media (max-width: 900px) {
  .nav-item__trigger { font-size: var(--text-sm); }
}

/* Mobile: hamburger expands nav vertically. Dropdown becomes inline-list. */
@media (max-width: 700px) {
  .nav-item,
  .nav-item--dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: static;
  }
  .nav-item__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
  }
  .nav-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-item__trigger[aria-expanded="true"] + .nav-dropdown { display: block; }
  /* Always show dropdown items in mobile view — tap target is the trigger,
     but the future Devin polish pass can add collapse if needed. */
  .nav-dropdown a {
    padding: 0.625rem 0 0.625rem 1rem;
    border-bottom: 1px solid var(--color-tint-navy);
    font-size: var(--text-sm) !important;
  }
  .nav-dropdown li:last-child a { border-bottom: none; }
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero__content h1 { margin-bottom: 1.25rem; font-size: var(--text-6xl); max-width: 11ch; }
@media (max-width: 768px) {
  .hero__content h1 { font-size: var(--text-4xl); max-width: 10ch; }
}
.hero__content .lede { margin-bottom: 2rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-accent-navy) 0%, var(--color-accent-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Variant-specific hero treatments — toggled by ?variant=a|b|c */
.hero[data-variant="b"] {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-surface) 100%);
}
.hero[data-variant="b"] .hero__stat {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--color-tint-gold);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-accent-navy-dk);
  font-size: var(--text-base);
}
.hero[data-variant="b"] .hero__stat strong {
  color: var(--color-accent-gold);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
}

.hero[data-variant="c"] .hero__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .hero[data-variant="c"] .hero__steps { grid-template-columns: repeat(2, 1fr); }
}
.hero[data-variant="c"] .hero__step {
  font-size: var(--text-sm);
}
.hero[data-variant="c"] .hero__step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-2xl);
  color: var(--color-accent-gold);
  margin-bottom: 0.25rem;
}
.hero[data-variant="c"] .hero__step-label {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}

/* Variants are mutually exclusive */
.variant-a-only, .variant-b-only, .variant-c-only { display: none; }
.hero[data-variant="a"] .variant-a-only { display: block; }
.hero[data-variant="b"] .variant-b-only { display: block; }
.hero[data-variant="c"] .variant-c-only { display: block; }

/* ── Floating CTA (mobile) ───────────────────────────── */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  background: var(--color-accent-gold);
  color: #0E1B2D;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  opacity: 0;
  box-shadow: var(--shadow-elevated);
}

.floating-cta.visible {
  opacity: 1;
}

.floating-cta:hover {
  background: var(--color-accent-gold-dk);
  color: #0E1B2D;
  transform: translateX(-50%) translateY(-1px);
}

@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }
}

/* ── Wavelength cards (3 cards in 1 row) ─────────────── */
#wavelengths .feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  #wavelengths .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Differentiators / Feature grid ───────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .feature-grid--3-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .feature-grid--3-cols { grid-template-columns: 1fr; }
}
.feature-card {
  padding: 2rem;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}
/* When .feature-card is rendered as an <a>, kill default anchor coloring
   so the heading and body text stay in their original ink color. The
   border/shadow hover affordance still indicates clickability. */
a.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.feature-card:hover {
  color: inherit;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent-navy);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-tint-navy);
  color: var(--color-accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 { margin-bottom: 0.625rem; font-size: var(--text-xl); }
.feature-card p { margin: 0; font-size: var(--text-base); }
.feature-card__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-navy);
}
a.feature-card:hover .feature-card__more {
  color: var(--color-accent-teal);
}

/* ── Spec table ────────────────────────────────────── */
.spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-table th, .spec-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}
.spec-table th {
  background: var(--color-surface);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  width: 40%;
}
.spec-table td { color: var(--color-text-secondary); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ── Tier (fleet) pricing table ──────────────────── */
.tier-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.tier-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.tier-table thead th {
  background: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.tier-table__col-size  { width: 18%; }
.tier-table__col-price { width: 30%; }
.tier-table__col-notes { width: auto; }
.tier-table tbody th,
.tier-table tbody td {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
  vertical-align: top;
}
.tier-table tbody th[scope="row"] {
  text-align: left;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
}
.tier-table tbody td { color: var(--color-text-secondary); }
.tier-table tr:last-child th,
.tier-table tr:last-child td { border-bottom: none; }
.tier-table__price-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tier-price {
  font-family: var(--font-display, var(--font-sans));
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.tier-discount {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tier-discount--public {
  color: var(--color-text-secondary);
  font-style: italic;
}
.tier-row--featured {
  background: var(--color-tint-gold, rgba(201, 155, 92, 0.08));
  position: relative;
}
.tier-row--featured th[scope="row"]::after {
  content: "Most common";
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--color-accent-gold-dk, #8a6a3d);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .tier-table thead th,
  .tier-table tbody th,
  .tier-table tbody td {
    padding: 0.875rem 0.875rem;
  }
  .tier-price { font-size: var(--text-lg); }
  .tier-discount { font-size: 0.8rem; }
}
/* ── Comparison table ─────────────────────────────── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.compare-table th, .compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}
.compare-table thead th {
  background: var(--color-accent-navy);
  color: #FFFFFF;
  font-weight: var(--weight-semibold);
  border-bottom: none;
}
.compare-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table thead th:last-child  { border-radius: 0 var(--radius-md) 0 0; }
.compare-table tbody tr.is-alderm {
  background: var(--color-tint-gold);
  font-weight: var(--weight-semibold);
}
.compare-table tbody tr.is-alderm td {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-accent-gold);
}

/* ── Compare-table V2 (2026-05-18 rebuild) ─────────────
   Column-based highlight (Alderm leftmost, gold-bordered),
   larger row text, sub-line metadata under each cell. Used
   on /compare main table. Trigger via .compare-table--v2
   modifier on the table element. */
.compare-table.compare-table--v2 {
  min-width: 720px;
}
.compare-table.compare-table--v2 th,
.compare-table.compare-table--v2 td {
  padding: 1.125rem 1rem;
  font-size: var(--text-lg);
  line-height: 1.45;
  vertical-align: top;
}
.compare-table.compare-table--v2 thead th {
  font-size: var(--text-base);
  padding: 1rem;
}
.compare-table.compare-table--v2 thead th small,
.compare-table.compare-table--v2 tbody td small {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--weight-regular);
  margin-top: 0.25rem;
  line-height: 1.35;
}
.compare-table.compare-table--v2 thead th.is-alderm {
  background: var(--color-accent-gold);
  color: #0E1B2D;
  font-weight: var(--weight-bold);
}
.compare-table.compare-table--v2 thead th.is-alderm small {
  color: rgba(14, 27, 45, 0.78);
}
.compare-table.compare-table--v2 thead th:first-child {
  background: var(--color-accent-navy-dk);
}
.compare-table.compare-table--v2 tbody th {
  background: var(--color-surface);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  width: 14rem;
  font-size: var(--text-base);
}
.compare-table.compare-table--v2 tbody td.is-alderm {
  background: var(--color-tint-gold);
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  border-left: 3px solid var(--color-accent-gold);
  border-right: 3px solid var(--color-accent-gold);
}
.compare-table.compare-table--v2 tbody td.is-alderm small {
  color: var(--color-text-secondary);
}
.compare-table.compare-table--v2 tbody tr:first-child td.is-alderm {
  border-top: 3px solid var(--color-accent-gold);
}
.compare-table.compare-table--v2 tbody tr:last-child td.is-alderm {
  border-bottom: 3px solid var(--color-accent-gold);
}
.compare-table.compare-table--v2 tbody td {
  color: var(--color-text-secondary);
}
.compare-table.compare-table--v2 sup {
  font-size: 0.7em;
  color: var(--color-accent-teal);
  font-weight: var(--weight-bold);
}

@media (max-width: 700px) {
  .compare-table.compare-table--v2 th,
  .compare-table.compare-table--v2 td {
    padding: 0.875rem 0.75rem;
    font-size: var(--text-base);
  }
  .compare-table.compare-table--v2 tbody th { width: 8rem; font-size: var(--text-sm); }
}

/* ── FDA tri-wavelength callout ──────────────────────
   "Only laser with FDA clearance on all three wavelengths"
   per Jim's 2026-05-08 kickoff (file 36 line 26). Red is
   intentional — the only red on the site outside of the
   confirm-pill — because it carries the regulatory edge that
   competitor single-wavelength systems cannot match.
   Used on /, /product, /compare. */
.fda-three-callout {
  display: block;
  margin: 1.5rem auto;
  max-width: 44rem;
  padding: 0.875rem 1.25rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-left: 4px solid #B91C1C;
  border-radius: var(--radius-md);
  color: #B91C1C;
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  line-height: 1.45;
  text-align: left;
}
.fda-three-callout strong {
  display: block;
  font-size: var(--text-lg);
  margin-bottom: 0.125rem;
  letter-spacing: -0.01em;
  color: #B91C1C;
}
.fda-three-callout span.fda-three-callout__waves {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
[data-theme="dark"] .fda-three-callout {
  background: rgba(220, 38, 38, 0.10);
  border-color: rgba(220, 38, 38, 0.45);
  color: #FCA5A5;
}
[data-theme="dark"] .fda-three-callout strong { color: #FCA5A5; }

/* ── Why bullets ───────────────────────────────────── */
/* Trimmed-section bullet rows used on /why-alderm-direct
   (Chad 2026-05-19: convert long prose to bullet + SVG icon rows).
   Each <li> is a 2-column grid: icon column, copy column. */
.why-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.why-bullets > li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  background: var(--color-bg-elevated, #FFFFFF);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-md);
  line-height: 1.5;
}
.why-bullets > li strong {
  color: var(--color-text-primary);
}
.why-bullets__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--color-tint-teal, rgba(20, 184, 166, 0.08));
  color: var(--color-accent-teal, #0F766E);
  flex-shrink: 0;
}
[data-theme="dark"] .why-bullets > li {
  background: var(--color-bg-elevated);
  border-color: var(--color-border);
}
@media (max-width: 600px) {
  .why-bullets > li {
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
  }
  .why-bullets__icon {
    width: 2rem;
    height: 2rem;
  }
  .why-bullets__icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ── Lead form ─────────────────────────────────────── */
.lead-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin: 2rem auto 0;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__submit { justify-self: stretch; }
}
.lead-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0.375rem;
}
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--color-accent-navy);
  box-shadow: 0 0 0 3px var(--color-tint-navy);
}
.lead-form textarea { min-height: 6rem; resize: vertical; }
.lead-form__submit { margin-top: 0.5rem; justify-self: start; }
.lead-form__msg {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: none;
}
.lead-form__msg.is-success {
  display: block;
  background: var(--color-tint-teal);
  color: var(--color-accent-teal);
  border: 1px solid var(--color-accent-teal);
}
.lead-form__msg.is-error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  color: #B91C1C;
  border: 1px solid #DC2626;
}
.form-field__error {
  display: block;
  color: #B91C1C;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}
.lead-form input[aria-invalid="true"],
.lead-form textarea[aria-invalid="true"] {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ── Testimonials ──────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin: 0;
}
.testimonial__photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-accent-teal-bg, rgba(0,128,128,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__photo-placeholder {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-accent-teal, #0D9488);
}
.testimonial__quote {
  flex: 1;
}
.testimonial__quote p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}
.testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.testimonial__name {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}
.testimonial__practice {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── ROI snapshot ──────────────────────────────────── */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-card {
  padding: 1.5rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.roi-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-accent-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.roi-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-text-primary);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}
.site-footer h4 {
  color: #FFFFFF;
  font-size: var(--text-base);
  margin-bottom: 1rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-sm);
}
.site-footer__compliance {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
}

/* ── Variant indicator (dev/presentation only) ─────── */
.variant-indicator {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 0.875rem;
  background: var(--color-accent-navy);
  color: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  z-index: var(--z-toast);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.variant-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.variant-indicator a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: var(--weight-medium);
}

/* ── Misc ──────────────────────────────────────────── */
.text-center { text-align: center; }
.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
@media (max-width: 600px) {
  .section-head { margin-bottom: 2rem; }
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: var(--text-lg); margin: 0; }

[CONFIRM] {
  background: rgba(220, 38, 38, 0.1);
  color: #B91C1C;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
}

/* Scroll-trigger fade-in (used by main.js IntersectionObserver) */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.merch-section { display: none; }
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 1100px) { .merch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .merch-grid { grid-template-columns: 1fr; } }

.merch-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}
.merch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-accent-gold);
}
.merch-card__visual {
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
  color: var(--color-accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}
.merch-card__visual svg {
  width: 64%;
  height: 64%;
}
.merch-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.merch-card__eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-navy);
  margin: 0;
}
.merch-card h3 {
  font-size: var(--text-xl);
  margin: 0;
  line-height: 1.25;
}
.merch-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.merch-card__price {
  margin: 0.5rem 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px dashed var(--color-border);
  font-size: var(--text-sm);
}
.merch-card__price strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}
.merch-card__price span {
  color: var(--color-text-muted);
}
.merch-card__cta {
  margin-top: 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-navy);
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: transform var(--transition-fast);
}
.merch-card:hover .merch-card__cta {
  transform: translateX(2px);
}

/* ── View Transitions API — SPA crossfade ─────────────────
   Layered by js/router.js when document.startViewTransition is
   available (Chrome/Edge ≥111, Safari ≥18). Browsers without
   support get a plain swap (no animation) — the router falls
   through gracefully. */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
::view-transition-old(root) {
  animation-name: alderm-fade-out;
}
::view-transition-new(root) {
  animation-name: alderm-fade-in;
}
@keyframes alderm-fade-out {
  to { opacity: 0; }
}
@keyframes alderm-fade-in {
  from { opacity: 0; }
}

/* Respect reduced-motion users — kill the crossfade */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.001ms;
  }
}

/* ── Product gallery (PDP) ─────────────────────────────────
   4-up grid of additional manufacturer angles, sits between the
   hero and the spec table. Mobile reflows to 2-up then 1-up. */
.product-gallery { padding: var(--section-padding-y-sm) 0; }
.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.product-gallery__grid figure {
  margin: 0;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.product-gallery__grid figure:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.product-gallery__grid img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--color-surface);
  padding: 1rem;
}
.product-gallery__grid figcaption {
  padding: 0.875rem 1rem 1.125rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

/* ── Wavelength visualization (navy container) ───────────
   The tri-wavelength explainer section itself stays neutral;
   only this figure carries the brand-blue navy background so
   the visualization reads as a high-contrast hero element
   against the surrounding white surface. Dark mode raises one
   luminance step above the page background. */
.wavelength-viz {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem auto 3rem;
  max-width: 56rem;
  padding: 2rem;
  background: var(--color-accent-navy);
  border: 1px solid var(--color-accent-navy);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 50px rgba(15, 27, 45, 0.18),
    0 2px 6px rgba(15, 27, 45, 0.08);
  color: #F0F2F5;
}
[data-theme="dark"] .wavelength-viz {
  background: linear-gradient(180deg, var(--color-surface-raised) 0%, #11192C 100%);
  border-color: var(--color-border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.wavelength-viz img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: #0A0A0A;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.wavelength-viz figcaption {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(240, 242, 245, 0.85);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .wavelength-viz {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    max-width: 26rem;
  }
  .wavelength-viz figcaption { text-align: center; }
}

/* Detail-features grid — close-up engineering shots after the
   wavelength explainer. 4 cards, photo-led, captioned. */
.detail-features { padding: var(--section-padding-y-sm) 0; background: var(--color-surface); }
.detail-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.detail-features__grid figure {
  margin: 0;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.detail-features__grid img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--color-bg);
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.detail-features__grid figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.detail-features__grid figcaption strong {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
}



/* ── [data-theme="dark"] — Clinical dark mode component overrides ─────
   Most components reskin automatically via tokens. The selectors below
   cover edges where a component hardcoded a brand assumption that the
   light token set carried implicitly (e.g. footer pulled from
   --color-text-primary, which inverts under dark and would break the
   footer; hero variant-b had a literal white gradient stop, etc.).
   No selectors for [data-theme="modern"] — that variant is forbidden.
   ─────────────────────────────────────────────────────────────────── */

/* Footer — uses --color-text-primary as its background in light, which
   would invert to off-white under dark. Pin it to a deep navy in both
   modes so the white footer text stays readable. */
[data-theme="dark"] .site-footer { background: #0A1220; }

/* section--navy accent strip — the light brand-navy (--color-accent-navy)
   lifts to #4A6FA5 in dark for CTA visibility, but using that as a full
   band background reads as a bright blue strip against the page. Pin
   .section--navy to a deep navy so it sits as a deep accent strip in
   both modes (light: brand navy on white; dark: deep navy on near-black). */
[data-theme="dark"] .section--navy { background: #16294A; }

/* Hero variant-b gradient — literal #FFFFFF starts the gradient.
   Under dark it would be a white-to-dark stripe. Re-tint from the
   page bg into surface. */
[data-theme="dark"] .hero[data-variant="b"] {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

/* Fleet pricing tier table — token-light bg, needs explicit white-on-
   dark contrast tweaks (existing rules use var(--color-border) which
   adapts, but the featured-row gold tint and the header band benefit
   from slightly different alphas under dark). */
[data-theme="dark"] .tier-table-wrap { border-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .tier-table thead th { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .tier-table tbody th,
[data-theme="dark"] .tier-table tbody td { border-bottom-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .tier-table tbody th[scope="row"] { color: #FFFFFF; }
[data-theme="dark"] .tier-table tbody td { color: rgba(255, 255, 255, 0.78); }
[data-theme="dark"] .tier-price { color: #FFFFFF; }
[data-theme="dark"] .tier-discount { color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] .tier-row--featured { background: rgba(224, 182, 115, 0.10); }
[data-theme="dark"] .tier-row--featured th[scope="row"]::after { color: var(--color-accent-gold); }

/* Before-after photo cards — manufacturer photos have white backgrounds.
   Sit them on a surface with a small inset so the white edge doesn't
   bleed against the dark page. */
[data-theme="dark"] .results-card,
[data-theme="dark"] .before-after-card { background: var(--color-surface); }
[data-theme="dark"] .results-card picture,
[data-theme="dark"] .before-after-card picture { padding: 0.5rem; }
[data-theme="dark"] .results-card img,
[data-theme="dark"] .before-after-card img { border-radius: var(--radius-sm); }

/* Compliance disclaimer bar — gold-tinted under dark for readability */
[data-theme="dark"] .results-disclaimer,
[data-theme="dark"] .before-after-disclaimer {
  background: var(--color-tint-gold);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="dark"] .results-disclaimer p,
[data-theme="dark"] .before-after-disclaimer p { color: var(--color-text-primary); }
[data-theme="dark"] .results-disclaimer strong,
[data-theme="dark"] .before-after-disclaimer strong { color: var(--color-accent-gold); }



/* Product page imagery — white-bg manufacturer shots need a soft
   surround on dark to avoid a stark white-on-dark edge */
[data-theme="dark"] .product-gallery__grid img,
[data-theme="dark"] .detail-features__grid img {
  background: var(--color-surface-raised);
}


/* ── Theme toggle (.theme-toggle in site nav) ──────────────
   Sun visible under light theme, moon visible under dark.
   Cycles clinical (light) ↔ dark via main.js initThemeToggle().
   Persists choice to localStorage('alderm-theme'); honors
   prefers-color-scheme on first visit. aria-pressed reflects
   current state for assistive tech.
   ───────────────────────────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0.25rem;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.theme-toggle:hover { background: var(--color-tint-ink); color: var(--color-text-primary); }
.theme-toggle:focus-visible { outline: 2px solid var(--color-accent-gold); outline-offset: 2px; }

.theme-toggle__icon { display: none; }
[data-theme="clinical"] .theme-toggle__icon--moon { display: block; }
[data-theme="dark"]     .theme-toggle__icon--sun  { display: block; }

/* Mobile nav: theme-toggle stays inline; just nudge size on tiny screens */
@media (max-width: 480px) {
  .theme-toggle { width: 2rem; height: 2rem; }
}

/* ── FAQ ──────────────────────────────────────────────
   Drop-in accordion on the homepage between ROI and lead-capture.
   Vanilla <details>/<summary> — no JS. Voice & content sourced from
   /design/homepage-restyle/aldermdirect-homepage-faqs.md v2.
   ──────────────────────────────────────────────────── */
.faq-section {
  padding: 4.5rem 0 5rem;
}
.faq-section .container {
  max-width: 880px;
}
.faq-section .section-head {
  margin-bottom: 2.5rem;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(20, 35, 70, 0.12);
}
[data-theme="dark"] .faq-list {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(20, 35, 70, 0.12);
}
[data-theme="dark"] .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.faq-item details {
  padding: 1.5rem 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
  color: var(--color-text-primary);
  outline: none;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent-navy);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: var(--weight-regular);
  color: var(--color-accent-gold);
  line-height: 1;
  margin-top: 0.125rem;
  transition: transform 200ms ease;
}
.faq-item details[open] summary::after {
  content: "−";
}

.faq-item .faq-a {
  padding: 1rem 2.5rem 0.25rem 0;
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
}
.faq-item .faq-a p {
  margin: 0 0 0.85rem;
}
.faq-item .faq-a p:last-child {
  margin-bottom: 0;
}
.faq-item .faq-a strong {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}

.faq-cta {
  margin: 3rem 0 0;
  text-align: center;
}

@media (max-width: 720px) {
  .faq-section { padding: 3rem 0 3.5rem; }
  .faq-item details { padding: 1.25rem 0; }
  .faq-item summary { font-size: var(--text-lg); gap: 1rem; }
  .faq-item summary::after { font-size: 1.5rem; }
  .faq-item .faq-a { padding-right: 0; }
}

/* ── HERO INTRO ("Introducing the" small-print pre-headline) ──
   Sits above the .eyebrow FDA chip in Variant A.
   Source: /design/homepage-restyle/aldermdirect-homepage-copy-v2.md.
   ───────────────────────────────────────────────────────────── */
.hero__intro {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-secondary);
  margin: 0 0 0.75rem;
}

.hero__fda-microcopy {
  font-size: 0.8125rem;
  font-weight: var(--weight-regular);
  letter-spacing: 0;
  color: var(--color-text-secondary);
  margin: 0.625rem 0 1.5rem;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .hero__intro { font-size: 0.8125rem; margin-bottom: 0.5rem; }
  .hero__fda-microcopy { font-size: 0.75rem; }
}

/* Aggressive mobile reduction for 375px viewports to prevent H1/CTA below fold */
@media (max-width: 480px) {
  .hero__intro { font-size: 0.75rem; margin-bottom: 0.375rem; }
  .hero__fda-microcopy { font-size: 0.6875rem; margin: 0.5rem 0 1rem; }
  .fda-badge { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
}

/* ────────────────────────────────────────────────────
   PRODUCT PAGE (PDP) — 2026-05-18 first-draft redesign
   Goal: visually distinct from homepage hero pattern.
   Lead-with-photo + quick-fact panel + sticky sub-nav.
   Scoped to <main class="product-page"> so the patterns
   don't leak into other pages.
   ──────────────────────────────────────────────────── */

.product-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 80% 20%, var(--color-tint-navy) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="dark"] .product-hero {
  background:
    radial-gradient(circle at 80% 20%, var(--color-tint-navy) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-hero__media {
  position: relative;
}

.product-hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--color-border);
}

.product-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.product-hero__model {
  font-family: var(--font-body), monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-teal);
  font-weight: var(--weight-bold);
  margin: 0;
}

.product-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  margin: 0;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.product-hero__title-sub {
  display: block;
  font-size: 0.5em;
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
  margin-top: 0.5rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.product-hero__badge {
  margin: 0.25rem 0 0;
}

.product-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.75rem;
  margin: 1rem 0 0.5rem;
  padding: 1.5rem;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.product-hero__facts > div {
  display: flex;
  flex-direction: column;
}
.product-hero__facts dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
  font-weight: var(--weight-semibold);
  margin: 0;
}
.product-hero__facts dd {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  margin: 0.2rem 0 0;
  line-height: 1.3;
}

.product-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

@media (max-width: 760px) {
  .product-hero { padding: 3rem 0 2.5rem; }
  .product-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-hero__facts {
    padding: 1.125rem;
    gap: 0.875rem 1.25rem;
  }
}

/* Sticky sub-nav (in-page anchor bar) */
.product-subnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="dark"] .product-subnav {
  background: rgba(10, 18, 32, 0.92);
}
.product-subnav__inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-subnav ul {
  display: flex;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.product-subnav a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.product-subnav a:hover,
.product-subnav a:focus-visible {
  color: var(--color-accent-navy);
  background: var(--color-tint-navy);
}

/* Spec table card treatment on /product (and other pages that use the
   wrap inside a section--surface band — preserved by tightening
   only inside .product-page). */
.product-page #specs .spec-table-wrap,
.product-page #included .spec-table-wrap {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
  overflow: hidden;
}

/* Account for sticky sub-nav offset on anchor jumps */
.product-page [id] {
  scroll-margin-top: 4.5rem;
}
