/* ==========================================================================
   OPTIMA MS (优化医疗 / 优亿化医疗) Official Multi-Page Website
   Refined Oura-Inspired Architectural Design System
   - Crisp Modern Sans-Serif Typography (Zero jagged Chinese serif / faux-italic)
   - High-Contrast Luminous Text on Dark & Warm Stone Light Sections
   - Full-Bleed Widescreen Hero Banners & Clean Studio Visual Frames
   ========================================================================== */

:root {
  /* Warm Architectural Light Palette (Oura-inspired) */
  --bg-stone: #f4f1ea;
  --bg-alabaster: #faf8f5;
  --bg-sand: #eae4d8;
  --bg-white: #ffffff;

  /* Deep Obsidian Dark Palette */
  --bg-obsidian: #0f1014;
  --bg-charcoal: #171920;
  --bg-charcoal-elev: #1f222b;

  /* High-Contrast Typography Colors */
  --ink-primary: #111317;
  --ink-secondary: #3f444d;
  --ink-muted: #6c727f;

  --ink-on-dark: #f8fafc;
  --ink-on-dark-body: rgba(241, 245, 249, 0.84);
  --ink-on-dark-muted: rgba(203, 213, 225, 0.68);

  /* Brand Accent Colors */
  --accent-copper: #d15b32;
  --accent-copper-bright: #f08256;
  --accent-gold: #d49b4b;
  --accent-emerald: #34b37e;

  /* Borders & Hairlines */
  --border-light: rgba(17, 19, 23, 0.09);
  --border-dark: rgba(255, 255, 255, 0.11);

  /* Radii & Shadows */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px rgba(15, 16, 20, 0.07);
  --shadow-hero: 0 28px 70px rgba(15, 16, 20, 0.16);

  /* Clean Modern Typography Stack (No Windows SimSun/faux-italic distortion) */
  --font-sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
               "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;

  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-stone);
  color: var(--ink-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-stone);
  color: var(--ink-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-copper);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hero-widescreen .eyebrow,
.hero-split-showcase .eyebrow,
.theme-dark .eyebrow {
  color: var(--accent-copper-bright);
}

.editorial-h1 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.editorial-h1 em,
.editorial-h2 em {
  font-style: normal;
  color: var(--accent-copper);
}

.hero-widescreen .editorial-h1 em,
.hero-split-showcase .editorial-h1 em,
.theme-dark .editorial-h1 em,
.theme-dark .editorial-h2 em {
  color: var(--accent-copper-bright);
}

.editorial-h2 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  word-break: keep-all;
}

.editorial-lead {
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.78;
  color: var(--ink-secondary);
  max-width: 600px;
}

/* Guarantee high-contrast readable body copy on all dark heroes & dark sections */
.hero-widescreen .editorial-lead,
.hero-split-showcase .editorial-lead,
.hero-editorial-frame .editorial-lead,
.theme-dark .editorial-lead {
  color: var(--ink-on-dark-body);
}

/* ==========================================================================
   Floating Top Navigation Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.28s ease;
}

.header-bar {
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 19, 23, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(15, 16, 20, 0.06);
}

.site-header.scrolled {
  padding: 8px 0;
}

.site-header.scrolled .header-bar {
  background: rgba(250, 248, 245, 0.96);
  box-shadow: 0 12px 36px rgba(15, 16, 20, 0.1);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-wordmark strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
}

.brand-wordmark span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--ink-primary);
  background: rgba(17, 19, 23, 0.05);
}

.main-nav a.active {
  background: var(--ink-primary);
  color: #ffffff;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-opt {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-opt.active {
  background: var(--bg-white);
  color: var(--ink-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.24s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink-primary);
  color: #ffffff;
}

.btn-dark:hover {
  background: #262a33;
  transform: translateY(-2px);
}

.btn-copper {
  background: var(--accent-copper);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(209, 91, 50, 0.28);
}

.btn-copper:hover {
  background: #bd4e27;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(209, 91, 50, 0.38);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink-primary);
  border-color: rgba(17, 19, 23, 0.22);
}

.btn-ghost-dark:hover {
  border-color: var(--ink-primary);
  background: rgba(17, 19, 23, 0.04);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Hero Layout 1: Full-Bleed Widescreen Hero Banner (for Home, App, Ecosystem)
   Uses hero-family-banner.jpg where left side is smooth dark backdrop and
   right side reveals the complete family + devices scene unobstructed!
   ========================================================================== */
.page-hero {
  padding: 112px 0 72px;
}

.hero-widescreen {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 580px;
  background-color: var(--bg-obsidian);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: var(--ink-on-dark);
  box-shadow: var(--shadow-hero);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-widescreen-body {
  padding: 64px 60px 44px;
  max-width: 630px;
  position: relative;
  z-index: 2;
}

.hero-bottom-Ribbon {
  position: relative;
  z-index: 2;
  background: rgba(15, 16, 20, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ribbon-badge {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-copper-bright);
  white-space: nowrap;
}

.ribbon-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
}

.ribbon-text span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   Hero Layout 2: Balanced Split Studio Showcase (for Opt-GM S1, Ring, Science)
   Clean 2-column layout with full-bleed rounded studio card on the right
   ========================================================================== */
.hero-split-showcase {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #12141a 0%, #1a1d26 100%);
  color: var(--ink-on-dark);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-hero);
}

.hero-studio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.hero-studio-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-studio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-studio-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-spec-cell span {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-on-dark-muted);
  display: block;
}

.studio-spec-cell strong {
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
  margin-top: 2px;
  display: block;
}

/* ==========================================================================
   Stat Strip (Below Hero)
   ========================================================================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat-cell {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.stat-cell .stat-num {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent-copper);
}

.stat-cell .stat-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 8px;
}

.stat-cell .stat-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Section Containers & Themes
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.theme-stone {
  background-color: var(--bg-stone);
  color: var(--ink-primary);
}

.theme-alabaster {
  background-color: var(--bg-alabaster);
  color: var(--ink-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.theme-dark {
  background-color: var(--bg-obsidian);
  color: var(--ink-on-dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .editorial-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Bento Grids & Editorial Cards
   ========================================================================== */
.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.editorial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.editorial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.theme-dark .editorial-card {
  background: var(--bg-charcoal);
  border-color: var(--border-dark);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101216;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.editorial-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(209, 91, 50, 0.1);
  color: var(--accent-copper);
  margin-bottom: 14px;
}

.theme-dark .card-tag {
  background: rgba(240, 130, 86, 0.16);
  color: var(--accent-copper-bright);
}

.card-body h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.72;
  margin-bottom: 20px;
  flex: 1;
}

.theme-dark .card-body p {
  color: var(--ink-on-dark-body);
}

.check-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-bottom: 22px;
  display: grid;
  gap: 9px;
}

.theme-dark .check-list {
  border-top-color: var(--border-dark);
}

.check-list li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--accent-copper);
  flex-shrink: 0;
}

.theme-dark .check-list li::before {
  color: var(--accent-copper-bright);
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-copper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow:hover {
  gap: 10px;
}

/* ==========================================================================
   Split Story Rows
   ========================================================================== */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-split.reverse {
  direction: rtl;
}

.story-split.reverse > * {
  direction: ltr;
}

.story-visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.story-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Opt-GM S1 4K Studio Gallery & Cost Comparison
   ========================================================================== */
.studio-gallery {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.studio-main-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0e1015;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-main-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-stage-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 16, 20, 0.84);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}

.studio-thumb-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.studio-thumb-btn {
  border: 2px solid transparent;
  background: var(--bg-stone);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.studio-thumb-btn.active,
.studio-thumb-btn:hover {
  border-color: var(--accent-copper);
  transform: translateY(-2px);
}

.studio-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biomarker-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.biomarker-pill {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.biomarker-pill strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.biomarker-pill span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.cost-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.cost-card.featured {
  border: 2px solid var(--accent-copper);
  box-shadow: var(--shadow-card);
}

.cost-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}

.cost-head h4 {
  font-size: 16.5px;
  font-weight: 700;
}

.cost-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-copper);
  white-space: nowrap;
}

.cost-bar-bg {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand);
  overflow: hidden;
  margin-bottom: 10px;
}

.cost-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   OptHoop App Interactive Phone Simulator
   ========================================================================== */
.app-showcase-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 52px;
  align-items: center;
}

.phone-device {
  width: 330px;
  height: 660px;
  background: #0d1015;
  border-radius: 48px;
  padding: 13px;
  border: 3px solid #2c323d;
  box-shadow: 0 30px 70px rgba(15, 16, 20, 0.28);
  position: relative;
  margin: 0 auto;
}

.phone-island {
  width: 100px;
  height: 22px;
  background: #050608;
  border-radius: 999px;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.phone-viewport {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #171c26 0%, #0e1118 100%);
  border-radius: 36px;
  padding: 44px 18px 16px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.app-pane {
  display: none;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  animation: fadeIn 0.25s ease;
}

.app-pane.active {
  display: flex;
}

.oura-ring-gauge {
  background: radial-gradient(circle at 50% 30%, rgba(209, 91, 50, 0.32), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px 16px;
  text-align: center;
}

.oura-ring-gauge .gauge-kicker {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.oura-ring-gauge .gauge-score {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.05;
  margin: 6px 0;
  color: #ffffff;
}

.oura-ring-gauge .gauge-status {
  font-size: 12px;
  color: #f4a27e;
}

.phone-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-metric-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.phone-metric-tile span {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

.phone-metric-tile strong {
  font-size: 16.5px;
  color: #ffffff;
  display: block;
  margin: 2px 0;
}

.phone-metric-tile em {
  font-style: normal;
  font-size: 10.5px;
  color: #6ee7b7;
}

.phone-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-dock-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 2px;
  border-radius: 8px;
  cursor: pointer;
}

.phone-dock-btn.active {
  background: rgba(209, 91, 50, 0.25);
  color: #ffb494;
}

.app-selector-stack {
  display: grid;
  gap: 14px;
}

.app-selector-card {
  text-align: left;
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.app-selector-card.active,
.app-selector-card:hover {
  border-color: var(--accent-copper);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.app-selector-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.app-selector-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Footer & Modal
   ========================================================================== */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark-muted);
  padding: 72px 0 40px;
  border-top: 1px solid var(--border-dark);
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 20, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-alabaster);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: var(--ink-muted);
  cursor: pointer;
}

.form-field {
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(17, 19, 23, 0.18);
  background: #ffffff;
  color: var(--ink-primary);
  font-size: 14px;
  font-family: inherit;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .hero-split-showcase,
  .bento-grid-3,
  .bento-grid-2,
  .story-split,
  .app-showcase-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-bottom-Ribbon,
  .stat-strip,
  .biomarker-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-widescreen-body {
    padding: 44px 32px;
  }
  .hero-bottom-Ribbon {
    padding: 18px 32px;
  }
}
