/* ===========================================================
   RingConn South Africa — Design System
   Matches official ringconn.com typography, color, and rhythm
   =========================================================== */

:root {
  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.75rem;
  --text-hero: clamp(2.5rem, 5.5vw, 5rem);
  --text-display: clamp(2rem, 4.2vw, 3.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Light (default) */
  --color-bg: #ffffff;
  --color-surface: #f6f6f7;
  --color-surface-2: #ececee;
  --color-surface-dark: #0e0e10;
  --color-text: #101014;
  --color-text-muted: #5c5c66;
  --color-text-faint: #8b8b95;
  --color-border: #e6e6ea;
  --color-divider: #efeff2;
  --color-accent: #b48a4a;      /* champagne/brass, matches Royal Gold */
  --color-accent-strong: #8a6532;
  --color-on-dark: #f2f2f4;
  --color-on-dark-muted: #a3a3ac;

  --shadow-card: 0 1px 2px rgba(16, 16, 20, 0.04), 0 8px 24px rgba(16, 16, 20, 0.05);
  --shadow-lift: 0 4px 12px rgba(16, 16, 20, 0.06), 0 24px 48px rgba(16, 16, 20, 0.08);

  --header-h: 68px;
}

/* Light-mode only — dark mode removed by request */

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}
.container-wide {
  max-width: 1440px;
}
.container-narrow {
  max-width: 960px;
}

.section {
  padding: var(--space-9) 0;
}
.section-lg {
  padding: var(--space-10) 0;
}
.section-tight {
  padding: var(--space-8) 0;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.nav { display: flex; align-items: center; gap: var(--space-6); flex: 1; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
}
.brand-logo { height: 22px; width: auto; display: block; }
.brand img { height: 22px; width: auto; display: block; }
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  padding-left: var(--space-2);
  white-space: nowrap;
}
.brand-tag-divider {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--color-border);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) var(--space-1);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--color-accent); }
[data-active="home"]  .nav-home,
[data-active="gen3"]  .nav-gen3,
[data-active="gen2"]  .nav-gen2,
[data-active="contact"] .nav-contact {
  color: var(--color-accent);
  font-weight: 500;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.mobile-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: none;
  align-items: center; justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.2s, background 0.2s;
}
.footer-logo { height: 28px; width: auto; }

.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .brand-tag { display: none; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    padding: 0 var(--space-5) var(--space-6);
    /* Menu sits above the header so the close button and links receive
       clicks. The logo is duplicated at the top of the menu. */
    z-index: 150;
    display: none;
    overflow-y: auto;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu-top {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: var(--space-4);
  }
  .mobile-menu-top .brand-logo { height: 24px; width: auto; }
  .mobile-menu-links a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-xl);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-divider);
    text-decoration: none;
  }
  .mobile-menu .mobile-close {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--color-text);
    background: transparent;
    border: none;
    cursor: pointer;
  }

  body.menu-open { overflow: hidden; }
  .site-header { z-index: 101; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-primary:hover { background: var(--color-accent-strong); color: #fff; }
.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--color-text); }
.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  text-align: center;
  overflow: hidden;
}
.hero-eyebrow { margin-bottom: var(--space-4); }
.hero-title {
  font-size: var(--text-hero);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  max-width: 20ch;
  margin-left: auto; margin-right: auto;
}
.hero-title em { font-style: italic; color: var(--color-accent); font-weight: 400; }
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin: 0 auto var(--space-6);
}
.hero-cta { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

.hero-media {
  margin-top: var(--space-7);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-lift);
}
.hero-media video, .hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Product-page dark hero */
.hero-dark {
  background: #05050a;
  color: #f2f2f4;
  padding: var(--space-10) 0 var(--space-8);
  border-radius: 0;
  text-align: center;
}
.hero-dark .eyebrow { color: var(--color-accent); }
.hero-dark .hero-title { color: #fff; }
.hero-dark .hero-sub { color: #b8b8c2; }
.hero-dark .hero-media {
  background: transparent;
  box-shadow: none;
}

/* ---------- Home: product picker cards ---------- */

.picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (max-width: 780px) { .picker { grid-template-columns: 1fr; } }

.picker-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
  min-height: 520px;
}
.picker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.picker-card .eyebrow { margin-bottom: 0; }
.picker-card h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.picker-card .price {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}
.picker-card .price strong { color: var(--color-text); font-weight: 500; }
.picker-card .lede { color: var(--color-text-muted); }
.picker-card .bullets {
  display: flex; flex-direction: column; gap: var(--space-2);
  color: var(--color-text-muted); font-size: var(--text-sm);
}
.picker-card .bullets li::before {
  content: "•"; color: var(--color-accent); margin-right: var(--space-2);
}
.picker-card .cta { margin-top: auto; }
.picker-card .cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-weight: 500;
  padding: var(--space-3) 0;
}
.picker-card .cta a:hover { color: var(--color-accent); }
.picker-card .cta a::after {
  content: "→";
  transition: transform 0.2s ease;
}
.picker-card .cta a:hover::after { transform: translateX(3px); }
.picker-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.picker-image img { max-height: 100%; object-fit: contain; }

/* ---------- Feature strip ---------- */

.feature-strip {
  background: var(--color-surface);
  padding: var(--space-9) 0;
}
.feature-strip .container {
  text-align: center;
}
.feature-strip h2 {
  font-size: var(--text-display);
  max-width: 22ch;
  margin: 0 auto var(--space-8);
  line-height: 1.1;
  font-weight: 500;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-tile {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
}
.feature-tile .val {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
}
.feature-tile .val small { font-size: 1rem; color: var(--color-text-muted); font-weight: 400; margin-left: var(--space-1); }
.feature-tile .label {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}
.feature-tile p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------- Split (image + text) ---------- */

.split {
  padding: var(--space-9) 0;
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .split-inner { grid-template-columns: 1fr; gap: var(--space-5); } }
.split.reverse .split-inner > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split.reverse .split-inner > *:first-child { order: 0; }
}
.split-text .eyebrow { margin-bottom: var(--space-3); }
.split-text h2 {
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.split-text p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: 46ch;
}
.split-text .sub-list {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.split-text .sub-list h4 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.split-text .sub-list p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media img, .split-media video {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Full-bleed dark storytelling section ---------- */

.story-section {
  position: relative;
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  padding: var(--space-10) 0;
  overflow: hidden;
}
.story-section .eyebrow { color: var(--color-accent); }
.story-section h2 {
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 26ch;
}
.story-section p {
  color: var(--color-on-dark-muted);
  font-size: var(--text-lg);
  max-width: 52ch;
}
.story-media {
  margin-top: var(--space-8);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.story-media img, .story-media video { width: 100%; height: auto; display: block; }

/* Tabbed feature */
.tabs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0;
}
.tab-btn {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 500;
}
.tab-btn:hover { color: rgba(255,255,255,0.9); }
.tab-btn.active { color: #fff; border-bottom-color: var(--color-accent); }
.tab-panels { margin-top: var(--space-6); position: relative; }
.tab-panel {
  display: none;
  animation: fadeUp 0.4s ease;
}
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03);
}

/* ---------- Accuracy stats ---------- */

.stats {
  background: var(--color-surface);
  padding: var(--space-9) 0;
}
.stats h2 {
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  max-width: 22ch;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid var(--color-divider);
}
.stat-val {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.stat-val small { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 400; margin-left: 2px; }
.stat-label {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.stats .fineprint {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- Finishes: color swatches ---------- */

.finishes {
  padding: var(--space-9) 0;
  text-align: center;
}
.finishes h2 {
  font-size: var(--text-display);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.finishes .lede { color: var(--color-text-muted); max-width: 46ch; margin: 0 auto; }
.finish-viewer {
  margin: var(--space-8) auto var(--space-6);
  max-width: 720px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.finish-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease;
}
.finish-swatches {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 96px;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.active { border-color: var(--color-accent); }
.swatch-dot {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(0,0,0,0.05);
  background: var(--dot);
}
.swatch-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
}
.swatch-price {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---------- Every-scene image trio ---------- */

.scene-strip {
  padding: var(--space-9) 0;
}
.scene-strip h2 {
  font-size: var(--text-display);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.scene-strip .lede { color: var(--color-text-muted); max-width: 46ch; margin-bottom: var(--space-7); }
.scene-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 900px) { .scene-grid { grid-template-columns: 1fr 1fr; } .scene-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .scene-grid { grid-template-columns: 1fr; } }
.scene-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 5;
}
.scene-card img { width: 100%; height: 100%; object-fit: cover; }
.scene-card .cap {
  position: absolute;
  left: var(--space-5); bottom: var(--space-5);
  color: #fff;
  font-weight: 500;
  font-size: var(--text-lg);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  max-width: 20ch;
}

/* ---------- Buy block (Coming Soon retailers) ---------- */

.buy-block {
  background: var(--color-surface);
  padding: var(--space-9) 0;
  text-align: center;
}
.buy-block h2 {
  font-size: var(--text-3xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.buy-block .lede {
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0 auto var(--space-7);
}
.buy-price-row {
  display: flex; justify-content: center; gap: var(--space-4); margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.buy-price-chip {
  background: var(--color-bg);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.buy-price-chip strong { color: var(--color-accent-strong); font-weight: 500; }
.retailer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: var(--space-4);
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 480px) { .retailer-grid { grid-template-columns: 1fr; } }
.retailer-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.85;
  min-height: 120px;
  transition: border-color 0.2s;
}
.retailer-btn:hover { border-color: var(--color-border); transform: none; }
.retailer-btn .retailer-logo {
  height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text);
}
.retailer-btn .retailer-logo img { max-height: 100%; width: auto; }
.retailer-btn .retailer-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.coming-soon {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  white-space: nowrap;
}
.buy-note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* Retailer logo — light only */
.retailer-btn .retailer-logo .logo-light { display: block; }
.retailer-btn .retailer-logo .logo-dark { display: none; }

/* ---------- Spec table ---------- */

.specs {
  padding: var(--space-9) 0;
}
.specs h2 {
  font-size: var(--text-3xl);
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.spec-table {
  width: 100%;
  border-top: 1px solid var(--color-border);
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; gap: var(--space-1); } }
.spec-row .k {
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.spec-row .v { color: var(--color-text); line-height: 1.6; }

/* ---------- Contact ---------- */

.contact-hero {
  padding: var(--space-10) 0 var(--space-6);
  text-align: center;
}
.contact-hero h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.contact-hero p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 52ch;
  margin: 0 auto;
}
.contact-hero p.contact-lede {
  font-size: var(--text-xl);
  color: var(--color-text);
  max-width: 56ch;
  margin-top: var(--space-4);
}
.distributor-card {
  max-width: 560px;
  margin: var(--space-8) auto 0;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}
.distributor-card .eyebrow { margin-bottom: var(--space-3); }
.distributor-card h3 {
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.distributor-card .tag {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}
.distributor-card hr {
  border: 0; height: 1px; background: var(--color-divider);
  margin: var(--space-4) 0;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: center;
  padding: var(--space-3) 0;
}
.contact-item .label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-item a, .contact-item .value {
  color: var(--color-text);
  font-size: var(--text-base);
}
.contact-item a:hover { color: var(--color-accent); }
.distributor-card .cta-row {
  display: flex; justify-content: center; gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.footer-app .app-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
.footer-app .app-badges a {
  padding: 0;
  display: inline-block;
  transition: transform 160ms ease, opacity 160ms ease;
}
.footer-app .app-badges a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-app .app-badges img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 40ch;
  margin-top: var(--space-3);
}
.footer-col h5 {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: var(--space-1) 0;
  color: var(--color-text);
  font-size: var(--text-sm);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-base {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Utility ---------- */

.hide-mobile { }
@media (max-width: 780px) { .hide-mobile { display: none !important; } }

/* ---------- Back to top button ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-text);
  color: var(--color-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--color-accent-strong); }

/* ---------- Finishes on dark (Gen 2 Air style) ---------- */

.finishes-dark {
  background: #05050a;
  color: #f2f2f4;
}
.finishes-dark h2 { color: #fff; }
.finishes-dark .lede { color: rgba(255,255,255,0.65); }
.finishes-dark .eyebrow { color: var(--color-accent); }
.finishes-dark .finish-viewer {
  background: transparent;
}
.finishes-dark [data-selected-label] { color: #fff; }
.finishes-dark .swatch-label { color: #fff; }
.finishes-dark .swatch-price { color: rgba(255,255,255,0.55); }
.finishes-dark .swatch.active { border-color: var(--color-accent); }
.finishes-dark .swatch-dot { border-color: rgba(255,255,255,0.15); }

/* ---------- Blood Pressure card (smaller) ---------- */

.bp-card {
  max-width: 480px;
  margin: var(--space-6) auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.bp-card .bp-title {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-3);
}
.bp-card .bp-status {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin-bottom: var(--space-1);
}
.bp-card .bp-time {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-bottom: var(--space-4);
}
.bp-card .bp-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.bp-card .bp-bar {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.bp-card .bp-bar .bar {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
}
.bp-card .bp-bar.active .bar { background: #6ec6c8; }
.bp-card .bp-bar .lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}
.bp-card .bp-bar.active .lbl { color: #fff; }

/* Picker card image: contain, no forced background */
.picker-image.picker-image-cover {
  height: 220px;
}
.picker-image.picker-image-cover img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
