/* UNLIMITIME™ — Apple-Grade V5 (Design System) */

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

:root {
  /* ─── Apple Color System ─── */
  --black: #1d1d1f;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #d2d2d7;
  --gray-400: #86868b;
  --gray-500: #6e6e73;
  --gray-600: #424245;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-glow: rgba(0,113,227,0.4);
  --gold: #c5b389;       /* desaturated champagne — refined Apple-grade luxury */
  --gold-light: #d6c69e; /* lighter champagne for hovers/secondary */
  --gold-dark: #7e6b3a;  /* deeper bronze, WCAG AA on white & gray-100 */

  /* Semantic tokens (theme-aware) */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --text-muted: #86868b;
  --border: #e8e8ed;
  --nav-bg: rgba(255,255,255,0.72);
  --card-bg: #ffffff;

  /* ─── Type Scale (Apple SF Pro / HIG) ─── */
  --t-mega: 80px;       /* Hero display */
  --t-display: 80px;    /* Page hero */
  --t-headline: 48px;   /* Section heading */
  --t-subhead: 40px;    /* Sub headline */
  --t-title: 32px;      /* Card title */
  --t-card: 24px;       /* Card */
  --t-body-lg: 21px;    /* Intro paragraph */
  --t-body: 17px;       /* Body */
  --t-caption: 14px;    /* Caption */
  --t-eyebrow: 12px;    /* Eyebrow / label */

  /* ─── 8px Grid Spacing ─── */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 56px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-16: 128px;

  /* ─── Easing ─── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ═══════════════════════════════════════════════════
   DARK MODE — Apple system-level (data-theme attribute)
   ═══════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #1d1d1f;
  --text: #f5f5f7;
  --text-soft: #a1a1a6;
  --text-muted: #6e6e73;
  --border: #2c2c2e;
  --nav-bg: rgba(0,0,0,0.72);
  --card-bg: #1d1d1f;
  --gray-100: #1d1d1f;
  --gray-200: #2c2c2e;
}
[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] .card { background: var(--card-bg); border-color: var(--border); }
[data-theme="dark"] .card-bordered { background: var(--card-bg); border-color: var(--border); }
[data-theme="dark"] .pricing-card { background: var(--card-bg); }
[data-theme="dark"] .stat-item { background: var(--card-bg); }
[data-theme="dark"] .nav { background: var(--nav-bg); border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .nav-logo .logo-dark { display: none; }
[data-theme="dark"] .nav-logo .logo-light { display: inline-block; }
[data-theme="dark"] .nav-links a { color: rgba(255,255,255,0.78); }
[data-theme="dark"] .nav-links a:hover { color: #fff; }
[data-theme="dark"] .nav-cta { color: #fff; background: rgba(255,255,255,0.08); }
[data-theme="dark"] .nav-cta:hover { background: #fff; color: var(--black); }
[data-theme="dark"] .bg-gray { background: var(--bg-soft); }
[data-theme="dark"] .t-display, [data-theme="dark"] .t-mega, [data-theme="dark"] .t-headline,
[data-theme="dark"] .t-subhead, [data-theme="dark"] .t-card { color: var(--text); }
[data-theme="dark"] .t-body, [data-theme="dark"] .t-intro { color: var(--text-soft); }
[data-theme="dark"] .t-caption { color: var(--text-muted); }
[data-theme="dark"] .t-faq-cat { color: var(--text); }
[data-theme="dark"] .acc-content { color: var(--text-soft); }
[data-theme="dark"] .border-t::before { background: linear-gradient(90deg, transparent, var(--border), transparent); }
[data-theme="dark"] .btn-dark { background: #fff; color: var(--black); }
[data-theme="dark"] .btn-dark:hover { background: var(--gray-200); }
[data-theme="dark"] .btn-outline { border-color: #fff; color: #fff; }
[data-theme="dark"] .btn-outline:hover { background: #fff; color: var(--black); }
[data-theme="dark"] .pull-quote { color: var(--text); }
[data-theme="dark"] .stat-inline { color: var(--text); background: linear-gradient(180deg, transparent 70%, rgba(197,179,137,0.28) 70%); }
[data-theme="dark"] .form-input, [data-theme="dark"] .form-select, [data-theme="dark"] .form-textarea {
  background: var(--card-bg); color: var(--text); border-color: var(--border);
}
[data-theme="dark"] .form-label { color: var(--text); }
[data-theme="dark"] .footer { background: #000; }
[data-theme="dark"] .cmp-table tbody tr:hover td { background: var(--bg-soft); }
[data-theme="dark"] .cmp-table td.dimension { color: var(--text); }
[data-theme="dark"] .cmp-table td { color: var(--text-soft); border-bottom-color: var(--border); }

/* Theme toggle button */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.04);
  cursor: pointer; padding: 0;
  margin-right: 12px;
  transition: background 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.theme-toggle:hover { background: rgba(0,0,0,0.08); transform: scale(1.02); }
[data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,0.16); }
.theme-toggle svg { width: 14px; height: 14px; stroke: var(--text); stroke-width: 1.6; fill: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 833px) { .theme-toggle { margin-right: 8px; } }

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  color: var(--black); background: var(--white);
  line-height: 1.47; letter-spacing: -0.022em; overflow-x: hidden;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Focus accessibility — Apple style. Universal :focus-visible covers all interactive elements. */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
.card:focus-visible,
.pricing-card:focus-visible,
.nav-links a:focus-visible,
.nav-logo:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.hero-cat-thumb:focus-visible,
.cert-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 10px;
  transition: outline-offset 0.2s var(--ease-out-expo);
}

/* Mobile touch refinements (Apple HIG) */
html {
  -webkit-tap-highlight-color: transparent;     /* removes iOS Safari blue-tint flash */
  -webkit-text-size-adjust: 100%;                /* prevents iOS auto-zoom on landscape */
}
button,
.btn,
a {
  touch-action: manipulation;                    /* removes 300ms double-tap delay on iOS */
}

/* ═══════ TYPOGRAPHY ═══════ */
.t-display {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance;
  font-feature-settings: 'ss01', 'cv11';
}

/* Smaller display variant — for hero titles with longer text */
.t-display-sm {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600; line-height: 1.07; letter-spacing: -0.03em;
  text-wrap: balance;
}

.t-headline {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.028em;
  text-wrap: balance;
  font-feature-settings: 'ss01';
}

.t-subhead {
  font-size: var(--t-subhead);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.015em;
}
@media (max-width: 833px) { .t-subhead { font-size: 32px; } }
@media (max-width: 600px) { .t-subhead { font-size: 24px; } }

.t-card {
  font-size: var(--t-card);
  font-weight: 600; line-height: 1.17; letter-spacing: -0.01em;
}
@media (max-width: 600px) { .t-card { font-size: 21px; } }

.t-intro {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400; line-height: 1.55; letter-spacing: -0.005em; color: var(--gray-500);
  font-feature-settings: 'ss01';
}

.t-body {
  font-size: var(--t-body); font-weight: 400; line-height: 1.55;
  letter-spacing: -0.014em; color: var(--gray-500);
}

.t-caption { font-size: var(--t-caption); color: var(--gray-400); letter-spacing: -0.005em; }

.t-eyebrow {
  font-size: var(--t-eyebrow); font-weight: 600; line-height: 1.33;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark);
}
.section-dark .t-eyebrow,
.roadmap-section .t-eyebrow,
.hero-centered .t-eyebrow,
.footer-dark .t-eyebrow,
.t-white + .t-eyebrow,
.t-eyebrow.t-eyebrow-light { color: var(--gold); }

.t-hero {
  font-size: var(--t-display);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.022em;
}
@media (max-width: 833px) { .t-hero { font-size: 56px; } }
@media (max-width: 600px) { .t-hero { font-size: 48px; } }

.t-white { color: #fff; }
.t-center { text-align: center; }

/* Apple text helpers */
.t-muted { color: var(--gray-400); }
.t-soft { color: var(--gray-500); }
.t-blue { color: var(--blue); }
.t-white-soft { color: rgba(255,255,255,0.7); }

/* Stat number — flat white on dark backgrounds */
.stat-num-silver { color: #fff; }

/* Hero subtitle override */
.hero-sub { color: var(--gray-400); }

/* Form full-width button */
.btn-full { width: 100%; }

/* Auto centering wrapper */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Gradient headline — Apple signature */
.t-gradient {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════ LAYOUT ═══════ */
.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(96px, 13vw, 160px) 0; }
@media (max-width: 600px) { .section { padding: 72px 0; } }
.section-sm { padding: clamp(64px, 8vw, 96px) 0; }
@media (max-width: 600px) { .section-sm { padding: 48px 0; } }

/* Gradient dividers instead of hard borders — Apple smooth */
.border-t {
  border: none;
  position: relative;
}
.border-t::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, 720px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  opacity: 0.7;
}

/* Section-dark — pure #000, no soft-fade pseudo-elements.
   The previous gradient using var(--black) (#1d1d1f) created a visible
   64px-tall band slightly lighter than #000 at section boundaries. Apple-grade
   transitions between same-bg sections are invisible — pure seams only. */
.section-dark { position: relative; }

.max-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.max-780 { max-width: 780px; margin-left: auto; margin-right: auto; }

/* Inner-page hero spacing — replaces inline style="padding-top:clamp(...)" */
.section-hero { padding-top: clamp(120px, 16vw, 180px); }

/* ─── Breadcrumb — subtle home-link + hierarchy on inner pages ─── */
.breadcrumb {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 104px) clamp(24px, 4vw, 56px) 0;
}
.breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}
.breadcrumb a:hover { color: var(--black); }
[data-theme="dark"] .breadcrumb { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .breadcrumb a { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { margin: 0 10px; opacity: 0.45; }
.breadcrumb [aria-current="page"] { color: inherit; }
/* When breadcrumb is followed by a section-hero, neutralize its top padding (breadcrumb already adds nav clearance) */
.breadcrumb + .section-hero,
.breadcrumb + .section.hero-quiet,
.breadcrumb + .section.hero-with-mockup,
.breadcrumb + section.section { padding-top: clamp(40px, 6vw, 72px); }
/* Mobile: tighter breadcrumb */
@media (max-width: 600px) {
  .breadcrumb { padding-top: 64px; padding-left: 20px; padding-right: 20px; font-size: 11px; }
  .breadcrumb-sep { margin: 0 6px; }
  .breadcrumb + .section-hero,
  .breadcrumb + .section.hero-quiet,
  .breadcrumb + .section.hero-with-mockup,
  .breadcrumb + section.section { padding-top: 32px; }
}
.section-hero-tall { padding-top: clamp(140px, 18vw, 200px); min-height: 80vh; display: flex; align-items: center; }

/* Card-as-link reset (used in 404 cards) */
.card-link { text-decoration: none; color: inherit; }

/* Form wrap left-align in centered hero */
.text-left { text-align: left; }

/* Address element reset (footer contact) */
.footer-address { font-style: normal; }

/* Spacing — strict 8px grid (Apple HIG): 8, 16, 24, 32, 48, 64, 96.
   12px allowed as 4px sub-grid for tight type pairings. */
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-96 { margin-top: 96px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ═══════ NAV — Glassmorphism ═══════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 48px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  transition: all 0.5s var(--ease-out-expo);
}
.nav.scrolled {
  box-shadow: 0 0.5px 0 rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.82);
}

.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center;
}
.nav-logo {
  font-size: 32px; font-weight: 700; letter-spacing: -0.04em; color: var(--black);
  text-decoration: none; white-space: nowrap;
  transition: opacity 0.3s;
}
.nav-logo {
  transition: opacity 0.25s var(--ease-out-expo);
}
.nav-logo:hover {
  opacity: 0.85;
  text-decoration: none;
}
.nav-logo sup { font-size: 9px; font-weight: 500; color: var(--gray-400); }
.nav-logo img { height: 24px; width: auto; display: block; }

.nav-cta {
  font-size: 12px; font-weight: 500; color: var(--black);
  text-decoration: none; white-space: nowrap;
  margin-left: 24px;
  padding: 6px 14px; border-radius: 980px;
  background: rgba(0,0,0,0.04);
  transition: background 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}
.nav-cta:hover { background: var(--black); color: #fff; text-decoration: none; }
.nav.nav-dark .nav-cta { color: #fff; background: rgba(255,255,255,0.08); }
.nav.nav-dark .nav-cta:hover { background: #fff; color: var(--black); }
@media (max-width: 833px) { .nav-cta { display: none; } }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin-left: auto; }
.nav-links .nav-sep {
  width: 1px; height: 16px; background: var(--gray-300, rgba(0,0,0,0.15));
  margin: 0 4px;
}
[data-theme="dark"] .nav-links .nav-sep,
.nav.nav-dark .nav-links .nav-sep { background: rgba(255,255,255,0.18); }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--gray-600);
  text-decoration: none; transition: color 0.3s;
  letter-spacing: 0;
}
.nav-links a:hover { color: var(--black); text-decoration: none; }
.nav-links a.active,
.nav-links a.spy-active { color: var(--black); font-weight: 500; position: relative; }
.nav-links a.spy-active::after {
  content: '';
  position: absolute; left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  animation: spyDot 0.4s var(--ease-out-expo);
}
@keyframes spyDot {
  from { transform: translateX(-50%) scale(0); opacity: 0; }
  to { transform: translateX(-50%) scale(1); opacity: 1; }
}
[data-theme="dark"] .nav-links a.active,
[data-theme="dark"] .nav-links a.spy-active { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 17px; height: 1px; background: var(--black); margin: 4px 0; transition: all 0.3s var(--ease-out-expo); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(3px,3px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(3px,-3px); }

@media (max-width: 833px) {
  .nav-links {
    display: none; position: absolute; top: 48px; left: 0; right: 0;
    background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; padding: 24px 24px 16px; gap: 20px; margin-left: 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
  }
  .nav.scrolled .nav-links { background: rgba(255,255,255,0.92); }
  [data-theme="dark"] .nav-links,
  [data-theme="dark"] .nav.scrolled .nav-links {
    background: rgba(0,0,0,0.92);
    border-bottom-color: rgba(255,255,255,0.06);
  }
  /* When the nav is over a dark section (`.nav-dark`), drop-down must match */
  .nav.nav-dark .nav-links {
    background: rgba(0,0,0,0.92);
    border-bottom-color: rgba(255,255,255,0.06);
  }
  .nav.nav-dark .nav-toggle span { background: #fff; }
  .nav-links.open { display: flex; animation: navSlideDown 0.4s var(--ease-out-expo); }
  .nav-toggle { display: block; }
  .nav-links a { font-size: 15px; }
  .nav.nav-dark .nav-links a { color: rgba(255,255,255,0.78); }
  .nav.nav-dark .nav-links a:hover { color: #fff; }
  .nav-links .nav-sep { width: 100%; height: 1px; margin: 4px 0; }
  .nav.nav-dark .nav-links .nav-sep { background: rgba(255,255,255,0.18); }

  /* Mobile drawer: show nav-cta + nav-lang inside the open menu */
  body.nav-open .nav-cta {
    display: inline-flex !important;
    position: fixed;
    left: 24px; right: 24px;
    bottom: 24px;
    height: 52px;
    z-index: 200;
    justify-content: center;
  }
  body.nav-open .nav-lang {
    display: inline-flex !important;
    position: fixed;
    left: 0; right: 0;
    bottom: 92px;
    justify-content: center;
    margin-left: 0;
    z-index: 200;
  }
  [data-theme="dark"] body.nav-open .nav-cta {
    background: #fff; color: var(--black);
  }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════ BUTTONS — Apple HIG ═══════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px;
  padding: 0 22px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.03em;
  line-height: 1;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: all 0.15s var(--ease-out-expo);
  position: relative;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }

/* Primary — filled blue */
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-hover);
}

/* Primary — filled dark */
.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}

/* Secondary — outlined Apple style */
.btn-outline {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* Gold variant */
/* .btn-gold removed — Apple-grade discipline: 2 button variants only (.btn-dark primary, .btn-outline secondary) */

/* Text link with arrow (Apple style — same height as filled btn) */
.btn-link {
  background: none;
  border: none;
  padding: 0;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.022em;
}
.btn-link::after {
  content: '\203A';
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-link:hover::after { transform: translate(4px, -1px); }
.btn-link:hover { text-decoration: none; opacity: 0.8; }

.btn-link-white { color: rgba(255,255,255,0.85); }
.btn-link-white:hover { color: #fff; opacity: 1; }

/* Sizes */
.btn-sm { height: 32px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 17px; }
.btn-link.btn-lg { padding: 0; height: 52px; font-size: 19px; }

/* Row */
.btn-row {
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-row-center {
  justify-content: center;
  display: flex;
}

/* ═══════ MEGA TITLE ═══════ */
.t-mega {
  font-size: clamp(34px, 7.6vw, 96px);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.045em;
  color: var(--black); text-align: center;
  text-wrap: balance;
  font-feature-settings: 'ss01', 'cv11';
}
.t-mega-line { display: block; }
.t-mega-line + .t-mega-line { margin-top: 0.04em; }

/* ═══════ HERO CENTERED — Cinematic, dark, restrained ═══════ */
.hero-centered {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 168px 24px 0; overflow: hidden;
  background: #000;
  position: relative;
}

/* Two-layer halo: subtle gold + cool blue rim — gives depth without gimmick.
   Positioned over the title/watch area; fades to pure #000 well before the section's
   bottom boundary so the seam with the next section-dark is invisible. */
.hero-centered::before {
  content: '';
  position: absolute; top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px; height: 800px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 28%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}

.hero-centered .t-mega {
  color: #fff;
}

.hero-centered .t-intro {
  color: var(--gray-400);
}

.hero-centered .t-eyebrow {
  color: var(--gold);
}

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05);
  font-size: 14px; font-weight: 500; color: var(--gold);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34c759;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.85); }
}

/* Counter badge in hero */
.hero-counter {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 980px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  margin-top: 28px; font-size: 14px;
}

.hero-counter-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34c759;
}

.hero-counter-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
}

.hero-counter-num {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #fff;
}

/* Watch sits in hero — Apple style, no gradient transition */
.hero-watch-flow {
  margin-top: 64px; position: relative; width: 100%;
  display: flex; justify-content: center;
  padding-bottom: 112px;
}

.hero-watch-flow img {
  max-width: 980px; width: 95%;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
  will-change: transform, opacity;
}

@media (max-width: 833px) {
  .hero-watch-flow img { max-width: 720px; }
}
@media (max-width: 600px) {
  .hero-centered { padding-top: 120px; }
  .hero-watch-flow { margin-top: 40px; padding-bottom: 64px; }
  .hero-watch-flow img { max-width: 320px; }
}

/* ═════��═ ROADMAP (Road Ahead) — Apple style ═══════ */
.roadmap-section {
  padding: 140px 0 120px;
  background: linear-gradient(180deg, #0a0a0c 0%, #111 40%, #151515 60%, #0a0a0c 100%);
  position: relative;
  overflow: hidden;
}
.roadmap-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.roadmap-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Progress bar */
.roadmap-progress {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: all 1s var(--ease-out-expo);
}
.roadmap-progress.roadmap-in {
  opacity: 1;
  transform: translateY(0);
}
.roadmap-progress-track {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  position: relative;
  overflow: visible;
}
.roadmap-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  position: relative;
  transition: width 1.2s var(--ease-out-expo);
}
.roadmap-progress-fill::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
.roadmap-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.roadmap-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.6s ease;
}
.roadmap-progress-label.active {
  color: rgba(255,255,255,0.55);
}

/* Roadmap timeline (compact horizontal) */
.rt-timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 920px; margin-left: auto; margin-right: auto;
}
.rt-timeline::before {
  content: '';
  position: absolute;
  top: 22px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,0.14);
}
.rt-node {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.rt-node::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 17px;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 4px rgba(0,0,0,1);
}
.rt-node-locked::before {
  background: rgba(255,255,255,0.2);
}
.rt-num {
  position: absolute;
  top: -4px; left: 50%; transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  font-feature-settings: "tnum";
}
.rt-node-locked .rt-num { color: rgba(255,255,255,0.25); }
.rt-title {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: #fff;
}
.rt-node-locked .rt-title { color: rgba(255,255,255,0.45); }
.rt-status {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.rt-node-locked .rt-status { color: rgba(255,255,255,0.3); }

@media (max-width: 720px) {
  .rt-timeline { grid-template-columns: 1fr; gap: 28px; max-width: 320px; }
  .rt-timeline::before {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 1px; height: auto;
  }
  .rt-node::before { margin-top: 0; }
  .rt-num { position: static; transform: none; margin-bottom: 4px; display: block; }
}

/* Cards row */
.roadmap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.roadmap-card {
  position: relative;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px 32px 72px;
  text-align: left;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(50px) scale(0.96);
  transition: opacity 0.9s var(--ease-out-expo),
              filter 1s var(--ease-out-expo),
              transform 0.15s ease,
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.roadmap-card.roadmap-in {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0) scale(1);
}
.roadmap-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: transparent;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
}

/* Animated border glow: removed (Apple-grade simplification) */

/* Glow on card — follows cursor */
.roadmap-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, transparent 70%);
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.4s ease;
  opacity: 0;
}
.roadmap-card:hover .roadmap-card-glow {
  opacity: 1;
  width: 240px; height: 240px;
}
.roadmap-glow-dim { opacity: 0 !important; }

/* Big number — counter roll */
.roadmap-big-num {
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  display: flex;
  height: 72px;
  overflow: hidden;
  gap: 0;
}
.roadmap-big-num .roll-digit {
  display: inline-block;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.4s ease;
}
.roadmap-big-num .roll-wrap {
  display: inline-flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.9s var(--ease-out-expo);
}
.roadmap-card.roadmap-in .roll-wrap {
  transform: translateY(var(--roll-to));
}
.roadmap-card:hover .roll-digit {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.roadmap-num-dim .roll-digit {
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Badge — minimal Apple style */
.roadmap-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.roadmap-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.roadmap-dot-gray {
  background: rgba(255,255,255,0.2);
  box-shadow: none;
  animation: none;
}
@keyframes roadmap-dot-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.roadmap-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Title & desc */
.roadmap-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-top: 16px;
  letter-spacing: -0.025em;
}
.roadmap-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  transition: color 0.4s ease;
}
.roadmap-card:hover .roadmap-desc {
  color: rgba(255,255,255,0.55);
}

/* Card icon (bottom right) — subtle watermark */
.roadmap-card-icon {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 36px; height: 36px;
  opacity: 0.08;
  transition: all 0.5s ease;
}
.roadmap-card-icon svg {
  width: 100%; height: 100%;
  stroke: var(--white);
}
.roadmap-card:hover .roadmap-card-icon {
  opacity: 0.2;
  transform: scale(1.06);
}

/* Conditioned phase — clearly separated */
.roadmap-conditioned {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo) 0.3s, transform 0.8s var(--ease-out-expo) 0.3s;
}
.roadmap-conditioned.roadmap-in {
  opacity: 1;
  transform: translateY(0);
}
.roadmap-card-locked {
  max-width: 360px;
  width: 100%;
  border: 1px dashed rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  padding: 32px 28px 56px;
}
.roadmap-card-locked:hover {
  border-color: rgba(255,255,255,0.12);
  border-style: dashed;
  background: rgba(255,255,255,0.03);
}
.roadmap-card-locked::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.008) 10px,
    rgba(255,255,255,0.008) 20px
  );
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .roadmap-section { padding: 80px 0; }
  .roadmap-row { grid-template-columns: 1fr; gap: 16px; }
  .roadmap-card { padding: 32px 24px 60px; border-radius: 22px; }
  .roadmap-big-num { font-size: 44px; }
  .roadmap-card-locked { max-width: 100%; }
  .roadmap-section::before { width: 400px; height: 400px; }
  .roadmap-section::after { display: none; }
  .roadmap-card:hover { transform: translateY(-4px) scale(1); }
}

/* ═══════ COUNTER ═══════ */
.counter-section {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.counter-label {
  font-size: 15px; color: var(--gray-400); margin-top: 10px; letter-spacing: -0.01em;
}

.counter-num {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  padding: 0 0.08em;
  background: linear-gradient(135deg, var(--black), var(--gray-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══════ STATS — Apple-grade typography-only (no cards, no wrapping numbers) ═══════ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(40px, 6vw, 96px);
}
/* Force 4-column single-row layout when exactly 4 stats are present (prevents orphan).
   Requires container-lg or wider for breathing room. */
@media (min-width: 900px) {
  .stats:has(.stat-item:nth-child(4)):not(:has(.stat-item:nth-child(5))) {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(32px, 4.5vw, 72px);
  }
}

.stat-item {
  text-align: center;
  padding: clamp(32px, 4vw, 48px) 16px;
  min-width: 0;
}

.stat-num {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 20px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat-item { padding: 24px 16px; min-width: 0; }
  .stat-num { font-size: clamp(48px, 14vw, 72px); letter-spacing: -0.04em; }
  .stat-label { font-size: 14px; margin-top: 14px; }
  .stat-source { font-size: 11px; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 22px; }
  .nav-logo { font-size: 28px; }
}
/* Final safety net: stop any element from forcing horizontal scroll
   on small viewports. !important to win against any later rule. */
html, body { overflow-x: hidden !important; }
@media (max-width: 600px) {
  body { width: 100% !important; max-width: 100vw !important; }
}

/* ═══════ SHOWCASE ═══════ */
.showcase { padding: var(--s-16) 0; }
@media (max-width: 833px) { .showcase { padding: var(--s-12) 0; } }
@media (max-width: 600px) { .showcase { padding: var(--s-10) 0; } }
.showcase-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.showcase-reverse .showcase-inner { direction: rtl; }
.showcase-reverse .showcase-inner > * { direction: ltr; }

.showcase-img {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); border-radius: 32px;
  padding: clamp(40px, 5vw, 64px); min-height: 400px;
  position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
}

.showcase-img:hover { transform: scale(1.02); }

/* Subtle shimmer effect on showcase */
.showcase-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0s;
}
.showcase-img.shimmer::after {
  transform: translateX(100%);
  transition: transform 1.2s var(--ease-out-expo);
}

.showcase-img img {
  max-width: 300px; width: 100%;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.08));
}

@media (max-width: 833px) {
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-reverse .showcase-inner { direction: ltr; }
  .showcase-img { min-height: 300px; }
}

/* ═══════ CARDS — 3D hover ═══════ */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 833px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--gray-100); border-radius: 22px;
  padding: clamp(32px, 3.5vw, 44px);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.5s var(--ease-out-expo);
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.06);
}

.card-bordered {
  background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: none;
}
.card-bordered:hover {
  border-color: var(--gray-300);
  box-shadow: 0 16px 48px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}

.card-num {
  font-size: 48px; font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══════ QUOTE ═══════ */
.section-quote { padding: var(--s-16) 0; background: var(--gray-100); }
@media (max-width: 833px) { .section-quote { padding: var(--s-12) 0; } }
@media (max-width: 600px) { .section-quote { padding: var(--s-10) 0; } }
.quote-mark {
  font-size: 96px; font-weight: 600; line-height: 0.5;
  color: var(--gray-300);
}
[data-theme="dark"] .quote-mark { color: rgba(255,255,255,0.18); }

/* ═══════ CAROUSEL — Apple-style crossfade ═══════ */
.carousel { position: relative; }
.carousel-track {
  position: relative;
  display: grid;
}
.carousel-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  pointer-events: none;
  will-change: opacity, transform;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0.05s;
}
.carousel-slide .carousel-img img {
  transition: transform 0.9s var(--ease-out-expo), filter 0.6s var(--ease-out-expo);
}
.carousel-slide.active .carousel-img img {
  transform: scale(1);
}
.carousel-slide:not(.active) .carousel-img img {
  transform: scale(1.06);
}

/* Slide inner layout: image + text side by side */
.carousel-slide-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 0 24px;
}
.carousel-slide-inner .carousel-img {
  display: flex; justify-content: center; align-items: center;
  background: var(--gray-100); border-radius: 28px;
  padding: 32px; min-height: 380px;
  transition: transform 0.6s var(--ease-out-expo);
}
.carousel-slide-inner .carousel-img:hover { transform: scale(1.02); }
.carousel-slide-inner .carousel-img img {
  max-width: 260px; width: 100%; height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
  transition: transform 0.6s var(--ease-out-expo);
}
.carousel-slide-inner .carousel-img:hover img { transform: scale(1.02); }
.carousel-text { text-align: left; }

/* Spec badges */
.carousel-specs { display: flex; gap: 8px; flex-wrap: wrap; }
.carousel-spec {
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 980px;
  border: 1px solid var(--gray-200); color: var(--gray-500);
  background: var(--white);
  transition: all 0.3s var(--ease-out-expo);
}
.carousel-spec:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 833px) {
  .carousel-slide-inner { grid-template-columns: 1fr; gap: 24px; }
  .carousel-text { text-align: center; }
  .carousel-specs { justify-content: center; }
  .carousel-slide-inner .carousel-img { min-height: 280px; padding: 24px; }
  .carousel-slide-inner .carousel-img img { max-width: 200px; }
}

/* ═══════ CAROUSEL TRIO — 1 ref à la fois, fade Apple-grade entre modèles ═══════ */
.carousel-trio {
  position: relative; max-width: 720px; margin: 0 auto;
  height: 480px;
}
.carousel-trio figure {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.985);
  transition: opacity 1s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  will-change: opacity, transform;
  pointer-events: none;
}
.carousel-trio figure.active {
  opacity: 1; transform: scale(1);
  transition-delay: 0.15s;
  pointer-events: auto;
}
.carousel-trio img {
  max-width: 360px; width: 100%; height: auto; max-height: 380px; object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.2));
}
.carousel-trio figcaption {
  margin-top: 20px; text-align: center;
  font-size: 14px; font-weight: 500; color: var(--black);
  letter-spacing: -0.01em; line-height: 1.4;
}
.carousel-trio figcaption span {
  display: block;
  font-size: 12px; font-weight: 400; color: var(--gray-500);
  margin-top: 3px; letter-spacing: 0.02em;
}
.trio-progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 6px; justify-content: center;
}
.trio-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,0.15);
  transition: all 0.4s var(--ease-out-expo);
}
.trio-dot.active { width: 20px; border-radius: 3px; background: var(--black); }
@media (max-width: 833px) {
  .carousel-trio { height: 400px; }
  .carousel-trio img { max-width: 280px; max-height: 300px; }
}
[data-theme="dark"] .carousel-trio figcaption { color: var(--white); }
[data-theme="dark"] .trio-dot { background: rgba(255,255,255,0.25); }
[data-theme="dark"] .trio-dot.active { background: var(--white); }

/* Legacy fallback for non-slide-inner images */
.carousel-img:not(.carousel-slide-inner .carousel-img) {
  display: flex; justify-content: center; align-items: center;
  min-height: clamp(280px, 40vw, 480px);
  max-width: 1040px;
  margin: 32px auto 0;
  background: transparent;
  border-radius: 0;
  padding: clamp(16px, 2.5vw, 32px);
  position: relative;
  overflow: visible;
}
.carousel-img:not(.carousel-slide-inner .carousel-img) img {
  width: auto; max-height: 100%; max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 24px 32px rgba(0,0,0,0.18))
    drop-shadow(0 48px 96px rgba(0,0,0,0.22));
  border-radius: 20px;
}
@media (max-width: 600px) {
  .carousel-img:not(.carousel-slide-inner .carousel-img) {
    min-height: 240px;
    padding: 8px;
    margin-top: 24px;
  }
}

/* Tighter spacing between slide text and image */
.carousel-slide .carousel-img.mt-40 { margin-top: 32px; }
@media (max-width: 600px) { .carousel-slide .carousel-img.mt-40 { margin-top: 24px; } }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.carousel-btn:hover { background: rgba(0,0,0,0.08); }
.carousel-btn:active { transform: scale(0.94); }
.carousel-btn svg { width: 16px; height: 16px; stroke: var(--black); stroke-width: 1.8; }
.carousel-dots { display: flex; gap: 4px; align-items: center; }
.carousel-dot {
  /* 44×44 touch target with 8px visible dot */
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0;
  cursor: pointer; position: relative;
}
.carousel-dot::before {
  content: ''; display: block;
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(0,0,0,0.18); transition: all 0.4s var(--ease-out-expo);
}
.carousel-dot:hover::before { background: rgba(0,0,0,0.4); }
.carousel-dot.active::before { width: 28px; background: var(--black); }

/* ═══════ ECOSYSTEM TAGS (used in index.html) ═══════ */
.eco-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.eco-tag {
  font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 980px;
  border: 1px solid var(--gray-200); color: var(--gray-500);
  transition: all 0.3s var(--ease-out-expo);
}
.eco-tag:hover { border-color: var(--blue); color: var(--blue); }

/* Block number */
.card-block-num { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); text-transform: uppercase; }

/* Align eyebrow heights inside grid cards (for-whom grid) */
.grid-4 .card .t-eyebrow,
.grid-3 .card .t-eyebrow {
  display: inline-block;
  min-height: 16px;
}

/* ═══════ SF-Symbols style card icons ═══════ */
.card-icon {
  width: 28px; height: 28px;
  color: var(--black);
  margin-bottom: 20px;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.card:hover .card-icon,
.card-bordered:hover .card-icon { opacity: 1; transform: translateY(-2px); }
.section-dark .card-icon,
.roadmap-section .card-icon { color: var(--white); }

/* ═══════ FRAMEWORK — Three dimensions (Apple-typographic) ═══════ */
.blocks-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 4vw, 56px);
}
.blocks-group-head {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.blocks-group-icon {
  width: 40px; height: 40px;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 20px;
  display: block;
}
.blocks-group-num {
  font-size: 12px; font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.12em;
}
.blocks-group-title {
  font-size: clamp(22px, 2vw, 26px); font-weight: 600;
  color: var(--white);
  margin-top: 10px;
  letter-spacing: -0.02em;
}
.blocks-group-desc {
  font-size: 14px; color: var(--gray-400);
  margin-top: 8px; line-height: 1.55;
}
.blocks-group-list {
  margin-top: 8px;
  display: flex; flex-direction: column;
}
.block-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.block-row:last-child { border-bottom: none; }
.block-row-num {
  font-size: 11px; font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  width: 38px; flex-shrink: 0;
  padding-top: 3px;
}
.block-row-title {
  font-size: 15px; font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
}
.block-row-desc {
  font-size: 13px; color: var(--gray-400);
  margin-top: 4px; line-height: 1.55;
}
@media (max-width: 900px) {
  .blocks-groups { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══════ HIGHLIGHT CARD — Apple mono ═══════ */
.highlight-card {
  display: inline-block; padding: clamp(32px, 5vw, 56px) clamp(28px, 6vw, 72px); border-radius: 24px;
  background: var(--black);
  color: #fff;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.14);
}
.highlight-num {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.highlight-card .t-body { color: rgba(255,255,255,0.7); }

/* ═══════ STAT SOURCE ═══════ */
.stat-source { margin-top: 6px; }
.stat-source a { font-size: 11px; color: var(--gray-400); text-decoration: none; font-style: italic; }
.stat-source a:hover { color: var(--blue); text-decoration: underline; }

/* ═══════ PRICING ═══════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 833px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  position: relative;
  border-radius: 20px; padding: 40px 28px; text-align: center;
  background: var(--gray-100);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
  display: flex; flex-direction: column;
}
.pricing-card .pricing-list { flex-grow: 1; }
.pricing-card .btn { margin-top: auto; }
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06),
    0 32px 64px rgba(0,0,0,0.08);
}

.pricing-card-accent {
  background: var(--black); color: #fff; border-color: rgba(255,255,255,0.08);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.04) inset;
  z-index: 1;
}
@media (max-width: 833px) { .pricing-card-accent { transform: scale(1); } }
.pricing-card-accent .pricing-name, .pricing-card-accent .pricing-amt { color: #fff; }
.pricing-card-accent .pricing-list li { border-color: rgba(255,255,255,0.08); color: var(--gray-300); }
.pricing-card-accent .pricing-tier { color: var(--gold); }
.pricing-card-accent .btn-dark,
.pricing-card-accent .btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.pricing-card-accent .btn-dark:hover,
.pricing-card-accent .btn-outline:hover {
  background: #fff;
  color: var(--black);
  border-color: #fff;
}
.pricing-card-accent:hover {
  box-shadow:
    0 1px 2px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.18),
    0 32px 64px rgba(0,0,0,0.16);
}

.pricing-tier { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-400); }
.pricing-name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.pricing-amt { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; margin-top: 20px; }
.pricing-per { font-size: 14px; color: var(--gray-400); margin-top: 4px; }

.pricing-list { list-style: none; margin-top: 28px; text-align: left; }
.pricing-list li {
  font-size: 14px; color: var(--gray-500);
  padding: 10px 0 10px 16px; border-top: 1px solid var(--gray-200); position: relative;
}
.pricing-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%);
}

.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold); color: #fff;
  padding: 4px 14px; border-radius: 980px;
  white-space: nowrap;
  z-index: 1;
}

/* ═══════ CTA ═══════ */
.section-cta {
  padding: var(--s-16) 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
@media (max-width: 833px) { .section-cta { padding: var(--s-12) 0; } }
@media (max-width: 600px) { .section-cta { padding: var(--s-10) 0; } }
.cta-img { max-width: 834px; margin: 0 auto; }
.cta-img img { width: 100%; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.08)); }

/* ═══════ STEPS ═══════ */
.steps, .steps-animated { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--gray-200);
  counter-increment: step; align-items: start; position: relative;
}
.step-num { font-size: 40px; font-weight: 600; color: var(--gray-300); letter-spacing: -0.04em; line-height: 1; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step.anim .step-num { opacity: 0; transform: scale(0.8); transition: opacity 0.5s var(--ease-out-expo) 0.1s, transform 0.5s var(--ease-out-expo) 0.1s; }
.step.anim.in .step-num { opacity: 1; transform: scale(1); }
.step-line { position: absolute; left: 31px; top: 0; bottom: 0; width: 1px; background: var(--gray-200); transform-origin: top; transform: scaleY(0); transition: transform 0.8s var(--ease-out-expo) 0.2s; }
.step.anim.in .step-line { transform: scaleY(1); }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 12px; } .step-line { display: none; } }

/* ═══════ ACCORDION ═══════ */
.acc-item { border-top: 1px solid var(--gray-200); }
.acc-btn {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--black);
  cursor: pointer; font-family: inherit; text-align: left;
  transition: color 0.3s;
}
.acc-btn:hover { color: var(--blue); }
.acc-btn::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--gray-400); transition: transform 0.4s var(--ease-out-expo), color 0.3s; }
.acc-item.open .acc-btn::after { transform: rotate(45deg); color: var(--blue); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out-expo); }
.acc-item.open .acc-body { max-height: 800px; }
.acc-content { padding-bottom: 20px; font-size: 16px; color: var(--gray-500); line-height: 1.55; letter-spacing: -0.01em; }
.acc-content a { color: var(--blue); }
.acc-content a:hover { text-decoration: underline; }

/* FAQ category title — Apple HIG controlled subhead */
.t-faq-cat {
  font-size: 28px; font-weight: 600; line-height: 1.15;
  letter-spacing: -0.018em; color: var(--black);
}
@media (max-width: 600px) { .t-faq-cat { font-size: 22px; } }

/* Soft subhead variant — for hero secondary tagline */
.t-subhead-soft {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--gray-500);
}

/* Dark cards inside section-dark — title color */
.card-dark .t-card,
.card-dark h3,
.section-dark .t-card,
.section-dark h3.t-card { color: #fff; }

/* Reusable split-section helpers for institutional pages */
.split-center { display: flex; flex-direction: column; justify-content: center; }
.split-reverse { order: 2; }
.split-front { order: 1; }
@media (max-width: 833px) { .split-reverse, .split-front { order: 0; } }

/* ═══════════════════════════════════════════════════
   SKIP-TO-CONTENT — Accessibility (WCAG 2.4.1)
   ═══════════════════════════════════════════════════ */
.skip-link {
  position: absolute; top: 8px; left: 8px;
  padding: 12px 20px;
  background: var(--black); color: #fff;
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-radius: 12px;
  z-index: 10000;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out-expo);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.acc-btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
.theme-toggle:focus-visible,
.cookie-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════════════════
   FORM UX — Apple HIG validation states + toast
   ═══════════════════════════════════════════════════ */
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #d70015;
  box-shadow: 0 0 0 3px rgba(215,0,21,0.12);
}
.form-input.is-valid {
  border-color: #30d158;
}
.form-error {
  font-size: 12px; color: #d70015;
  margin-top: 6px; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
  height: 0; overflow: hidden;
}
.form-group.has-error .form-error {
  opacity: 1; transform: translateY(0);
  height: auto; margin-top: 6px;
}
.btn[disabled], .btn.is-loading {
  opacity: 0.6; cursor: not-allowed; pointer-events: none;
}
.btn.is-loading {
  position: relative; color: transparent !important;
}
.btn.is-loading::after {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  color: #fff;
  top: 50%; left: 50%; margin: -9px 0 0 -9px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Success toast — Apple notification banner */
.toast {
  position: fixed; top: 80px; left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 9500;
  padding: 14px 22px;
  background: rgba(29,29,31,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: #fff;
  letter-spacing: -0.01em;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  max-width: calc(100vw - 32px);
}
.toast.in {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.toast-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: #30d158;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; }

/* Hero with embedded mockup (data.html, score.html) */
.hero-with-mockup {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: 80px;
}
.mockup-wrap {
  margin-top: 64px;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Roadmap card 04 locked styling — replaces inline color overrides */
.roadmap-locked .roadmap-title { color: var(--gray-400); }
.roadmap-locked .roadmap-card-icon { opacity: 0.2; }

/* Legal pages bullet list */
.legal-list { padding-left: 24px; list-style: disc; }
.legal-list li { margin-bottom: 8px; }

/* Legal page hero & content rhythm */
.legal-section h2 { margin-bottom: 16px; }
.legal-section + .legal-section { margin-top: 48px; }

/* ═══════════════════════════════════════════════════
   COOKIE CONSENT — Apple-style discrete bar
   ═══════════════════════════════════════════════════ */
.cookie-consent {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9000;
  width: min(680px, calc(100vw - 32px));
  background: rgba(29,29,31,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.cookie-consent.in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-text {
  flex: 1;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.78);
  letter-spacing: -0.01em;
}
.cookie-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: var(--gold-light); }
.cookie-actions {
  display: flex; gap: 10px; align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  height: 36px; padding: 0 18px;
  border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all 0.3s var(--ease-out-expo);
  font-family: inherit;
}
.cookie-btn-decline {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.1);
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cookie-btn-accept { background: #fff; color: var(--black); }
.cookie-btn-accept:hover { background: var(--gray-200); }
@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column; align-items: stretch;
    padding: 18px; bottom: 16px; gap: 14px;
  }
  .cookie-actions { justify-content: flex-end; }
}

/* ═══════ TABLE ═══════ */
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
.cmp-table td { font-size: 16px; color: var(--gray-500); padding: 18px 20px; border-bottom: 1px solid var(--gray-200); transition: background 0.3s; letter-spacing: -0.01em; }
.cmp-table tr:hover td { background: var(--gray-100); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .hl { font-weight: 600; color: var(--black); }
.cmp-table .hl-gold { color: var(--gold-dark); }

/* Score-bar fill from data-attribute (replaces inline width:XX%) */
.score-bar-fill[data-fill="95"] { width: 95%; }
.score-bar-fill[data-fill="93"] { width: 93%; }
.score-bar-fill[data-fill="91"] { width: 91%; }
.score-bar-fill[data-fill="90"] { width: 90%; }
.score-bar-fill[data-fill="86"] { width: 86%; }
.score-bar-fill[data-fill="85"] { width: 85%; }
@media (max-width: 600px) {
  .cmp-table th { font-size: 11px; padding: 12px 12px; }
  .cmp-table td { font-size: 14px; padding: 14px 12px; }
}

/* ═══════ FORMS ═══════ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; font-size: 17px; font-family: inherit;
  padding: 12px 16px; border: 1px solid var(--gray-300);
  border-radius: 16px; background: #fff; color: var(--black);
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.12), inset 0 0 0 1px var(--blue);
}
.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: var(--gray-400);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2386868b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ═══════ FOOTER ═══════ */
.footer { border-top: none; padding: 80px 0 32px; font-size: 12px; color: var(--gray-400); position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 720px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  opacity: 0.7;
}
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-brand {
  padding: 0 0 56px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 56px;
}
.footer-wordmark { height: 22px; width: auto; display: block; opacity: 0.92; }
.footer-tagline {
  font-size: 14px; color: var(--gray-400);
  margin-top: 18px; max-width: 520px; line-height: 1.55;
  letter-spacing: -0.005em;
}
.footer-dark .footer-brand { border-bottom-color: rgba(255,255,255,0.08); }
.footer-dark .footer-wordmark { opacity: 0.95; }
.footer-dark .footer-tagline { color: var(--gray-400); }
.footer-grid {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-dark .footer-grid { border-bottom-color: rgba(255,255,255,0.06); }
.footer-logo { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--black); text-decoration: none; display: block; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; color: var(--black);
  margin-bottom: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-dark .footer-col h4 { color: rgba(255,255,255,0.85); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px; color: var(--gray-400); text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
  letter-spacing: -0.005em;
}
.footer-col a:hover { color: var(--black); text-decoration: none; }
.footer-dark .footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px; color: var(--gray-400); text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}
.footer-legal a:hover { color: var(--black); text-decoration: none; }
.footer-dark .footer-legal a:hover { color: #fff; }

/* ═══════ ANIMATIONS ═══════ */

/* Base — element hidden */
.anim {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo),
              transform 1s var(--ease-out-expo);
  will-change: transform, opacity;
}

/* Revealed */
.anim.in {
  opacity: 1; transform: translateY(0);
}

/* Stagger delays */
.anim-d1 { transition-delay: 0.12s; }
.anim-d2 { transition-delay: 0.24s; }
.anim-d3 { transition-delay: 0.36s; }
.anim-d4 { transition-delay: 0.48s; }

/* Scale variant — for product images */
.anim-scale {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}
.anim-scale.in { opacity: 1; transform: scale(1); }


/* ═══════ DARK VARIANTS (subpages) ═══════ */
.bg-dark { background: var(--black); }
.bg-dark .t-headline, .bg-dark .t-hero { color: #fff; }
.bg-dark .t-intro { color: var(--gray-300); }
.bg-gray { background: var(--gray-100); }

.hero {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 68px 24px 48px;
  position: relative; overflow: hidden;
}
.hero-dark { background: #000; }
.hero-dark .t-hero, .hero-dark .t-headline { color: #fff; }
.hero-dark .t-intro { color: var(--gray-300); }
.hero-fg { position: relative; z-index: 1; max-width: 820px; }

.hero-watch { position: relative; z-index: 1; margin-top: 56px; display: flex; justify-content: center; }
.hero-watch img { max-width: 780px; width: 95%; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18)); }
@media (max-width: 600px) { .hero-watch img { max-width: 380px; } }


/* ═══════ DARK SECTIONS — Apple alternation ═══════ */
.section-dark {
  padding: clamp(96px, 13vw, 160px) 0;
  background: #000;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .section-dark { padding: 72px 0; } }

.section-dark > * { position: relative; z-index: 1; }
.hero-centered > * { position: relative; z-index: 1; }

/* Dark stats — typography only on dark sections, no cards (Apple-grade consistency) */
.stat-item-dark .stat-label { color: var(--gray-400); }
.stat-item-dark .stat-source a { color: var(--gray-500); }

/* Dark cards */
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.card-dark:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.1);
}

/* ═══════ DARK FOOTER — Premium ═══════ */
.footer-dark {
  background: #000;
  border-top: none;
  color: var(--gray-500);
}
.footer-dark::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.footer-dark .footer-grid { border-bottom-color: rgba(255,255,255,0.06); }
.footer-dark .footer-logo { color: #fff; }
.footer-dark .footer-col h4 { color: var(--gray-300); }
.footer-dark .footer-col a { color: var(--gray-500); }
.footer-dark .footer-col a:hover { color: #fff; }
.footer-dark .footer-bottom p { color: var(--gray-500); }
.footer-dark .footer-legal a { color: var(--gray-500); }
.footer-dark .footer-legal a:hover { color: #fff; }
.footer-dark .t-caption { color: var(--gray-500); }

/* ═══════ NAV DARK MODE ═══════ */
.nav.nav-dark {
  background: rgba(0,0,0,0.72);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav.nav-dark.scrolled {
  background: rgba(0,0,0,0.82);
  box-shadow: 0 0.5px 0 rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.2);
}
.nav.nav-dark .nav-logo { color: #fff; }
.nav-logo .logo-light { display: none; }
.nav.nav-dark .nav-logo .logo-dark { display: none; }
.nav.nav-dark .nav-logo .logo-light { display: block; }
.nav.nav-dark .nav-links a { color: rgba(255,255,255,0.88); }
.nav.nav-dark .nav-links a:hover { color: #fff; }
.nav.nav-dark .nav-links a.active { color: #fff; }
.nav.nav-dark .nav-toggle span { background: #fff; }

/* ═══════ PREFERS REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim, .anim-scale { opacity: 1; transform: none; filter: none; }
  .hero-watch-flow img { transform: none !important; }
}

/* ═══════ SELECTION ═══════ */
::selection { background: rgba(0,113,227,0.15); color: var(--black); }

/* ═══════ REDUCED MOTION — accessibility (Apple HIG) ═══════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .anim, .anim-scale { opacity: 1 !important; transform: none !important; }
}

/* ═══════ CRISP IMAGES ═══════ */
img { image-rendering: -webkit-optimize-contrast; }

/* ═══════════════════════════════════════════════════
   HERO WORD-BY-WORD REVEAL — disabled.
   The per-word translateY reveal interferes with text wrapping
   on narrow widths (clipping inside overflow:hidden boxes) and
   with the GSAP entrance timeline. The hero already animates via
   gsap.to(titleLines, ...) in script.js — that's enough.
   Wrappers stay in the DOM but render as plain inline text.
   ═══════════════════════════════════════════════════ */
.reveal-word        { display: inline; overflow: visible; padding: 0; }
.reveal-word-inner  { display: inline; transform: none; opacity: 1; transition: none; }

/* Magnetic card transition reset */
.card, .card-bordered, .pricing-card {
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo), border-color 0.4s ease;
}

/* ═══════════════════════════════════════════════════
   PULL-QUOTE — Apple editorial signature
   ═══════════════════════════════════════════════════ */
.pull-quote {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.18; letter-spacing: -0.022em;
  color: var(--black);
  text-align: center;
  max-width: 18ch;
  margin: 64px auto;
  position: relative;
  text-wrap: balance;
}
.pull-quote::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold-dark);
  margin: 0 auto 28px;
}
.section-dark .pull-quote,
.roadmap-section .pull-quote { color: #fff; }
.section-dark .pull-quote::before,
.roadmap-section .pull-quote::before { background: var(--gold); }
@media (max-width: 600px) { .pull-quote { margin: 48px auto; } }

/* ═══════════════════════════════════════════════════
   STAT-INLINE — Number callout inside paragraph
   ═══════════════════════════════════════════════════ */
.stat-inline {
  display: inline-block;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  position: relative;
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 70%, rgba(197,179,137,0.12) 70%);
  padding: 0 2px;
}
.section-dark .stat-inline,
.roadmap-section .stat-inline { color: #fff; background: linear-gradient(180deg, transparent 70%, rgba(197,179,137,0.18) 70%); }

/* ═══════════════════════════════════════════════════
   READING WIDTH — Apple 60ch optimum
   ═══════════════════════════════════════════════════ */
.read-flow { max-width: 62ch; margin-left: auto; margin-right: auto; }
/* Auto-tighten t-intro paragraphs (Apple optimum 55-65 chars/line) */
.t-center .t-intro { max-width: min(100%, 62ch); margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════
   SCORE CARD — Visual mockup (Apple HealthKit style)
   ═══════════════════════════════════════════════════ */
.score-card {
  max-width: 440px; margin: 0 auto;
  background: linear-gradient(180deg, #18181a 0%, #0a0a0c 100%);
  border-radius: 32px; padding: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 40px 80px rgba(0,0,0,0.4);
  position: relative; overflow: hidden;
}
.score-card::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
}
.score-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.score-card-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.score-card-pill {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-400);
  padding: 4px 10px; border-radius: 980px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; gap: 6px;
}
.score-card-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #34c759;
}
.score-card-total {
  text-align: center; margin: 0 0 32px;
  padding: 16px 0 8px; position: relative; z-index: 1;
  overflow: visible;
}
.score-num-wrap {
  display: inline-flex; align-items: baseline; justify-content: center;
  line-height: 1; padding: 0.12em 0;
}
.score-num-mega {
  font-size: 88px; font-weight: 600; line-height: 1;
  letter-spacing: -0.04em;
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, var(--gray-300) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.08em 0.04em;
  text-rendering: geometricPrecision;
}
.score-num-suffix {
  font-size: 24px; font-weight: 500; color: var(--gray-500);
  letter-spacing: -0.02em; margin-left: 4px;
}
.score-card-meta {
  font-size: 13px; color: var(--gray-400); margin-top: 6px;
  letter-spacing: -0.01em;
}
.score-card-meta strong { color: #fff; font-weight: 500; }
.score-bars { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.score-bar-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--gray-300);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.score-bar-name { font-weight: 500; }
.score-bar-val { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.score-bar-val .score-bar-suffix { color: var(--gray-500); font-weight: 400; font-size: 11px; }
.score-bar-track {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 3px;
  background: var(--gold);
  transition: width 1.2s var(--ease-out-expo);
}
@media (max-width: 600px) {
  .score-card { padding: 28px 22px; border-radius: 24px; }
  .score-num-mega { font-size: 72px; }
  .score-num-suffix { font-size: 18px; }
  .score-card-eyebrow { font-size: 10px; }
  .score-card-meta { font-size: 12px; }
  .score-bar-head { font-size: 12px; }
  .score-bars { gap: 14px; }
}

/* ═══════════════════════════════════════════════════
   SCANSPIDER — Live data dashboard mockup
   ═══════════════════════════════════════════════════ */
.spider-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, #0d0d10 0%, #060608 100%);
  border-radius: 24px; padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.spider-card::before {
  content: ''; position: absolute; top: -100px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,113,227,0.1), transparent 70%);
  pointer-events: none;
}
.spider-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1;
}
.spider-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.62);
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
}
.spider-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--gray-400);
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  letter-spacing: 0.04em;
}
.spider-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 8px rgba(52,199,89,0.6);
  animation: pulse 2s ease-in-out infinite;
}
.spider-rows {
  display: flex; flex-direction: column;
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  position: relative; z-index: 1;
}
.spider-row {
  display: grid; grid-template-columns: 56px 1fr 90px 64px;
  gap: 12px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
  font-size: 12px;
}
.spider-row:last-child { border-bottom: none; }
.spider-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(0,113,227,0.15); color: var(--blue);
  text-align: center;
}
.spider-tag-grey { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.78); }
.spider-tag-prim { background: rgba(255,255,255,0.06); color: var(--gray-300); }
.spider-ref {
  color: var(--gray-200); letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.spider-price { color: #fff; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.spider-delta { font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spider-delta.pos { color: #30d158; }
.spider-delta.neg { color: #ff453a; }

/* Mobile: stack spider feed in 2 rows per item — tag+ref on top, price+delta below */
@media (max-width: 600px) {
  .spider-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "tag ref price"
      "tag ref delta";
    row-gap: 2px;
    padding: 12px 0;
    font-size: 13px;
  }
  .spider-tag { grid-area: tag; align-self: center; }
  .spider-ref { grid-area: ref; font-size: 12px; }
  .spider-price { grid-area: price; font-size: 13px; }
  .spider-delta { grid-area: delta; font-size: 11px; align-self: end; }
  .spider-card { padding: 20px 18px; }
  .spider-head { flex-wrap: wrap; gap: 8px; }
}

/* Live update flash — brief glow when row data refreshes */
.spider-row {
  transition: background 0.5s var(--ease-out-expo);
}
.spider-row-flash-pos {
  background: linear-gradient(90deg, transparent 0%, rgba(48,209,88,0.10) 50%, transparent 100%);
}
.spider-row-flash-neg {
  background: linear-gradient(90deg, transparent 0%, rgba(255,69,58,0.10) 50%, transparent 100%);
}
.spider-row .spider-price,
.spider-row .spider-delta {
  transition: color 0.4s var(--ease-out-expo), font-weight 0.4s var(--ease-out-expo);
}
.spider-row-flash-pos .spider-price,
.spider-row-flash-pos .spider-delta { font-weight: 600; }
.spider-row-flash-neg .spider-price,
.spider-row-flash-neg .spider-delta { font-weight: 600; }

/* Rare alert badge — appears occasionally on a row */
.spider-tag-rare {
  background: rgba(197,179,137,0.20) !important;
  color: var(--gold) !important;
  position: relative;
  overflow: visible;
}
.spider-tag-rare::after {
  content: ''; position: absolute; inset: -2px; border-radius: 6px;
  border: 1px solid rgba(197,179,137,0.55);
  opacity: 0.75;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .spider-row, .spider-row-flash-pos, .spider-row-flash-neg,
  .spider-tag-rare::after { transition: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════
   SCANSPIDER — Network graph (Architecture section background)
   ═══════════════════════════════════════════════════ */
.scan-network {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}
.scan-network svg {
  width: 100%; height: 100%;
  display: block;
}
.scan-network line {
  stroke: rgba(255,255,255,0.45);
  stroke-width: 0.6;
  stroke-dasharray: 3 14;
}
.scan-network circle {
  fill: rgba(255,255,255,0.55);
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}
.scan-network circle.scan-network-hub {
  fill: var(--gold);
  filter: drop-shadow(0 0 14px rgba(197,179,137,0.7));
}
/* Section needs to clip the SVG inside it */
.section-dark#architecture { position: relative; overflow: hidden; }
.section-dark#architecture > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .scan-network line,
  .scan-network circle.scan-network-hub { animation: none !important; }
}

/* ═══════════════════════════════════════════════════
   STAT — micro-visuals (sparkline, channels, pulse, orbital)
   ═══════════════════════════════════════════════════ */
.stat-sparkline,
.stat-pulse {
  display: block;
  width: 100%;
  max-width: 140px;
  height: 32px;
  margin: 12px auto 0;
  opacity: 0.85;
}
/* Animate the sparkline drawing */
.stat-sparkline-line,
.stat-pulse-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: stat-draw 1.6s var(--ease-out-expo) 0.3s forwards;
}
.stat-sparkline-fill {
  opacity: 0;
  animation: stat-fade 1.2s var(--ease-out-expo) 0.6s forwards;
}
@keyframes stat-draw  { to { stroke-dashoffset: 0; } }
@keyframes stat-fade  { to { opacity: 1; } }

/* 3 channel bars */
.stat-channels {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 6px;
  height: 32px;
  margin: 12px auto 0;
  width: 80px;
}
.stat-channel {
  width: 14px;
  background: linear-gradient(180deg, var(--black) 0%, var(--gray-500) 100%);
  border-radius: 4px 4px 0 0;
  height: 0;
  animation: stat-bar-rise 1.2s var(--ease-out-expo) forwards;
}
[data-theme="dark"] .stat-channel { background: linear-gradient(180deg, #fff 0%, var(--gray-400) 100%); }
.stat-channel:nth-child(1) { animation-delay: 0.3s; --target-h: var(--h); }
.stat-channel:nth-child(2) { animation-delay: 0.45s; }
.stat-channel:nth-child(3) { animation-delay: 0.6s; }
@keyframes stat-bar-rise { to { height: var(--h, 80%); } }

/* One-shot pulse line draw — no continuous glow loop */
.stat-pulse-line { animation: stat-draw 1.6s var(--ease-out-expo) 0.3s forwards; }
[data-theme="dark"] .stat-pulse-line { stroke: #fff; }

/* Orbital — single source of truth dot */
.stat-orbital {
  position: relative;
  width: 36px; height: 36px;
  margin: 12px auto 0;
}
.stat-orbital::before,
.stat-orbital::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
[data-theme="dark"] .stat-orbital::before,
[data-theme="dark"] .stat-orbital::after { border-color: rgba(255,255,255,0.18); }
.stat-orbital::after {
  inset: 4px;
  border-color: var(--gray-200);
}
[data-theme="dark"] .stat-orbital::after { border-color: rgba(255,255,255,0.10); }
.stat-orbital-dot {
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(197,179,137,0.7);
}

/* Dark theme variants for stat micro-visuals — neutral white stroke */
[data-theme="dark"] .stat-sparkline,
[data-theme="dark"] .stat-pulse { opacity: 1; }
[data-theme="dark"] .stat-sparkline-line,
[data-theme="dark"] .stat-pulse-line { stroke: #fff; }
[data-theme="dark"] .stat-sparkline-fill { fill: rgba(255,255,255,0.18); }
/* dark-theme variant moved next to base rule above */

@media (prefers-reduced-motion: reduce) {
  .stat-sparkline-line,
  .stat-pulse-line,
  .stat-sparkline-fill,
  .stat-channel,
  .stat-orbital::after,
  .stat-orbital-dot { animation: none !important; }
  .stat-sparkline-line,
  .stat-pulse-line { stroke-dashoffset: 0 !important; }
  .stat-sparkline-fill { opacity: 1 !important; }
  .stat-channel { height: var(--h, 80%) !important; }
}

/* ═══════════════════════════════════════════════════
   SCORE — Apple-grade gauge dial widget (used on data + score pages)
   Class is .score-dial-card to avoid collision with the legacy .score-card
   used by score.html for its bars-mockup.
   ═══════════════════════════════════════════════════ */
.score-dial-card {
  max-width: 720px; margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 64px rgba(0,0,0,0.06);
}
[data-theme="dark"] .score-dial-card {
  background: var(--bg-soft);
  border-color: rgba(255,255,255,0.08);
}

.score-gauge {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  padding-bottom: 12px;
}
.score-gauge svg { width: 100%; height: auto; display: block; }
.score-gauge-bg { stroke: var(--gray-200); }
[data-theme="dark"] .score-gauge-bg { stroke: rgba(255,255,255,0.08); }
.score-gauge-fg {
  stroke: var(--gold);
  stroke-dasharray: 251.3;
  stroke-dashoffset: 251.3;
  transition: stroke-dashoffset 0.6s var(--ease-out-expo);
}
.score-gauge-ticks line {
  stroke: var(--gray-300);
  stroke-width: 1;
  stroke-linecap: round;
}
[data-theme="dark"] .score-gauge-ticks line { stroke: rgba(255,255,255,0.18); }
.score-gauge-center {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  width: 100%;
}
.score-num {
  display: block;
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .score-num { color: var(--white); }
.score-max {
  font-size: 13px; color: var(--gray-500);
  letter-spacing: 0.04em;
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  margin-top: 2px;
  display: inline-block;
}
.score-label {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.score-meters {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex; flex-direction: column;
  gap: 14px;
}
.score-meter {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  align-items: center;
  gap: 16px;
}
.score-meter-label {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 11px; font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.score-meter-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .score-meter-bar { background: rgba(255,255,255,0.08); }
.score-meter-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gray-500), var(--black));
  border-radius: 2px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .score-meter-bar span {
  background: linear-gradient(90deg, var(--gray-400), #fff);
}
.score-meter.in .score-meter-bar span {
  width: var(--pct, 0%);
}
.score-meter-val {
  font-size: 14px; font-weight: 600;
  color: var(--black);
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .score-meter-val { color: var(--white); }

@media (max-width: 600px) {
  .score-meter {
    grid-template-columns: 90px 1fr 32px;
    gap: 12px;
  }
  .score-meter-label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .score-gauge-fg { transition: none !important; stroke-dashoffset: calc(251.3 * (1 - 0.93)) !important; }
  .score-meter-bar span { transition: none !important; width: var(--pct, 0%) !important; }
}

/* ═══════════════════════════════════════════════════
   TIER SCALE — horizontal continuum 0-100 with 4 bands and a SCORE marker
   Used on score.html under "Scoring tiers" / "Paliers de notation"
   ═══════════════════════════════════════════════════ */
.tier-scale-wrap {
  position: relative;
  max-width: 980px;
  /* Built-in top breathing room so descenders (g, p, y) of the section title above never get clipped */
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-bottom: 36px;
}
.tier-scale {
  display: flex;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
[data-theme="dark"] .tier-scale { border-color: rgba(255,255,255,0.08); }

.tier-scale-band {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  position: relative;
  padding: 0 8px;
  text-align: center;
}
.tier-band-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.tier-band-range {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  line-height: 1;
}

/* 4 bands — light → mid → dark → champagne accent (Apple-grade restraint) */
.tier-band-entry       { background: var(--gray-100); color: var(--gray-500); }
.tier-band-standard    { background: var(--gray-200); color: var(--gray-600); }
.tier-band-premium     { background: var(--black); color: rgba(255,255,255,0.85); }
.tier-band-exceptional {
  background: linear-gradient(90deg, var(--black) 0%, var(--gold-dark) 100%);
  color: #fff;
}
[data-theme="dark"] .tier-band-entry    { background: rgba(255,255,255,0.04); color: var(--gray-400); }
[data-theme="dark"] .tier-band-standard { background: rgba(255,255,255,0.08); color: var(--gray-300); }
[data-theme="dark"] .tier-band-premium  { background: rgba(255,255,255,0.16); color: #fff; }

/* SCORE marker — pin showing where the live score lands on the scale */
.tier-scale-marker {
  position: absolute;
  top: -10px; left: var(--pos, 0%);
  transform: translateX(-50%);
  pointer-events: none;
  animation: tier-marker-enter 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}
@keyframes tier-marker-enter {
  from { left: 0%; opacity: 0; }
  to   { left: var(--pos, 0%); opacity: 1; }
}
.tier-scale-marker-line {
  position: absolute;
  top: 18px; left: 50%;
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  transform: translateX(-50%);
}
.tier-scale-marker-pin {
  display: inline-block;
  background: var(--gold);
  color: #1d1d1f;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(126, 107, 58, 0.35);
  position: relative;
  z-index: 1;
}

/* Tick marks under the scale */
.tier-scale-ticks {
  position: relative;
  height: 28px;
  margin-top: 8px;
}
.tier-scale-ticks span {
  position: absolute;
  top: 0;
  left: var(--pos, 0%);
  transform: translateX(-50%);
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}
.tier-scale-ticks span::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 6px;
  background: var(--gray-300);
}
[data-theme="dark"] .tier-scale-ticks span::before { background: rgba(255,255,255,0.18); }

@media (max-width: 640px) {
  .tier-scale { height: 48px; }
  .tier-band-label { font-size: 9px; }
  .tier-band-range { font-size: 9px; }
  .tier-scale-marker-pin { font-size: 11px; padding: 4px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .tier-scale-marker { animation: none !important; left: var(--pos, 0%) !important; opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════════
   CERT CARD — Apple-grade product card (registry.html hero)
   Watch as hero image, refined typography, single champagne accent on the score ring
   ═══════════════════════════════════════════════════ */
.cert-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 56px rgba(0,0,0,0.06),
    0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}
[data-theme="dark"] .cert-card {
  background: var(--bg-soft);
  border-color: rgba(255,255,255,0.08);
}

.cert-verified {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  z-index: 2;
}
.cert-verified svg { width: 14px; height: 14px; flex-shrink: 0; }
[data-theme="dark"] .cert-verified {
  color: rgba(255,255,255,0.85);
  background: rgba(40,40,42,0.7);
  border-color: rgba(255,255,255,0.10);
}

/* Watch as hero — soft ambient gradient behind */
.cert-hero {
  position: relative;
  margin: 0;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(70,120,175,0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}
.cert-hero::after {
  content: '';
  position: absolute;
  bottom: 8%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.16) 0%, transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}
.cert-hero img {
  position: relative; z-index: 1;
  max-width: 78%; max-height: 240px;
  width: auto; height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 32px rgba(0,0,0,0.14))
    drop-shadow(0 36px 64px rgba(0,0,0,0.08));
}
[data-theme="dark"] .cert-hero {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(70,120,175,0.16) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* Body — typography hierarchy: brand → model → ref */
.cert-body {
  padding: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 32px) clamp(28px, 4vw, 36px);
}
.cert-brand {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.cert-model {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--black);
}
[data-theme="dark"] .cert-model { color: #fff; }
.cert-ref-line {
  margin-top: 6px;
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: -0.005em;
}

/* Meta row — score ring + tier + supporting info */
.cert-meta-row {
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 3vw, 24px);
  border-top: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}
[data-theme="dark"] .cert-meta-row { border-top-color: rgba(255,255,255,0.08); }

/* Mini score ring */
.cert-ring {
  position: relative;
  width: 64px; height: 64px;
}
.cert-ring svg { width: 100%; height: 100%; display: block; }
.cert-ring-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .cert-ring-num { color: #fff; }

/* Meta text column */
.cert-meta-text {
  display: flex; flex-direction: column;
  gap: 4px;
}
.cert-tier-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.cert-tier-badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(197,179,137,0.14);
  border: 1px solid rgba(197,179,137,0.30);
  border-radius: 999px;
  line-height: 1.3;
}
[data-theme="dark"] .cert-tier-badge {
  color: var(--gold);
  background: rgba(197,179,137,0.16);
  border-color: rgba(197,179,137,0.32);
}
.cert-meta-sub {
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: -0.005em;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .cert-hero { padding: 36px 20px; }
  .cert-hero img { max-height: 200px; }
  .cert-body { padding: 24px 20px 28px; }
  .cert-model { font-size: 26px; }
  .cert-meta-row { grid-template-columns: 56px 1fr; gap: 14px; }
  .cert-ring { width: 56px; height: 56px; }
  .cert-ring-num { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════
   FORWARD HERO — typography-only, Apple-grade quiet luxury
   No mockup, no fake card. Like Apple Vision Pro Support / Apple Trade In hero.
   ═══════════════════════════════════════════════════ */
.hero-quiet {
  padding: clamp(120px, 16vw, 200px) 24px clamp(96px, 14vw, 160px);
  position: relative;
  overflow: hidden;
}
.hero-quiet::before {
  /* Subtle ambient bloom — barely there */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0,0,0,0.03) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .hero-quiet::before {
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.hero-quiet > * { position: relative; z-index: 1; }

/* Use the standard .t-display size (matches every other hero on the site).
   Just add a small top margin to lift it from the eyebrow. */
.hero-quiet-title { margin-top: 16px; }
.hero-quiet-sub {
  max-width: 680px;
  margin: 20px auto 0;
  text-wrap: balance;
}

/* XL hero variant — for THE flagship pages (e.g., /standard).
   More dramatic typography weight to communicate authority. */
.hero-quiet-title-xl {
  font-size: clamp(56px, 8vw, 104px) !important;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

/* ═══════════════════════════════════════════════════
   COMPARE GRID — Apple Compare iPhone style: 2 cards side-by-side
   Replaces austere HTML table with editorial product comparison.
   ═══════════════════════════════════════════════════ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  max-width: 980px;
  margin: 0 auto;
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 40px);
  position: relative;
}
[data-theme="dark"] .compare-card {
  background: var(--bg-soft);
  border-color: rgba(255,255,255,0.08);
}
.compare-card-accent {
  border-color: rgba(197,179,137,0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 16px 40px rgba(126,107,58,0.10);
}
[data-theme="dark"] .compare-card-accent {
  border-color: rgba(197,179,137,0.40);
}

.compare-head {
  margin-bottom: clamp(20px, 2.5vw, 28px);
  padding-bottom: clamp(16px, 2vw, 20px);
  border-bottom: 1px solid var(--gray-200);
}
[data-theme="dark"] .compare-head { border-bottom-color: rgba(255,255,255,0.08); }
.compare-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.compare-card-accent .compare-eyebrow {
  color: var(--gold-dark);
}
[data-theme="dark"] .compare-card-accent .compare-eyebrow { color: var(--gold); }
.compare-name {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
}
[data-theme="dark"] .compare-name { color: #fff; }

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.compare-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}
.compare-icon-x {
  background: rgba(0,0,0,0.05);
  color: var(--gray-500);
}
[data-theme="dark"] .compare-icon-x {
  background: rgba(255,255,255,0.05);
  color: var(--gray-400);
}
.compare-icon-check {
  background: rgba(48,209,88,0.14);
  color: #2aa148;
}
[data-theme="dark"] .compare-icon-check {
  background: rgba(48,209,88,0.18);
  color: #34c759;
}

.compare-content { padding-top: 4px; }
.compare-dim {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.compare-val {
  font-size: 15px;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
[data-theme="dark"] .compare-val { color: #fff; }
.compare-card-accent .compare-val { font-weight: 500; }

@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .compare-card { padding: 24px 20px; }
  .compare-name { font-size: 22px; }
  .compare-val { font-size: 14px; }
}

/* DPP mark — data constellation: 1 central record + 5 traceable fields.
   Symbolises the structured digital product passport (compliance.html). */
.hero-quiet-with-mark { padding-top: clamp(96px, 12vw, 160px); }
.dpp-mark {
  width: clamp(120px, 14vw, 160px);
  margin: 0 auto clamp(28px, 4vw, 44px);
  filter: drop-shadow(0 6px 18px rgba(126,107,58,0.18));
}
.dpp-mark svg { width: 100%; height: auto; display: block; }

.spider-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; color: var(--gray-500);
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.spider-count { color: #fff; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
@media (max-width: 600px) {
  .spider-card { padding: 20px 16px; border-radius: 18px; }
  .spider-title { font-size: 11px; }
  .spider-status { font-size: 10px; }
  .spider-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 10px; font-size: 11px;
    padding: 9px 0;
  }
  .spider-tag { grid-column: 1 / 2; grid-row: 1 / 2; align-self: center; font-size: 9px; padding: 2px 6px; }
  .spider-ref { grid-column: 2 / 3; grid-row: 1 / 2; align-self: center; }
  .spider-price { grid-column: 3 / 4; grid-row: 1 / 2; align-self: center; font-size: 12px; font-weight: 600; }
  .spider-delta { grid-column: 2 / 4; grid-row: 2 / 3; text-align: right; font-size: 10px; padding-left: 4px; }
  .spider-foot { font-size: 10px; flex-wrap: wrap; gap: 6px; padding-top: 12px; margin-top: 16px; }
  .spider-count { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════
   SOON PAGE — Apple-grade restraint
   One focal point: the headline.
   ═══════════════════════════════════════════════════ */
.soon-hero {
  position: relative;
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 120px;
  background: #000;
  color: #f5f5f7;
  overflow: hidden;
  isolation: isolate;
}
.soon-hero > * { position: relative; z-index: 1; }

/* One single, very subtle gold halo. No animation. */
.soon-halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 30%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.soon-eyebrow {
  color: var(--gold);
  margin-bottom: 40px;
  letter-spacing: 0.18em;
}

.soon-title {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  font-feature-settings: 'ss01', 'cv11';
  text-wrap: balance;
  max-width: 100%;
  padding: 0 16px;
}

.soon-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(245,245,247,0.62);
  max-width: 560px;
  margin: 40px auto 0;
  letter-spacing: -0.005em;
  font-feature-settings: 'ss01';
  text-wrap: pretty;
}

/* Reduced motion: only entrance reveal animations remain (handled by .anim) */
@media (prefers-reduced-motion: reduce) {
  .soon-halo { display: none; }
}

@media (max-width: 600px) {
  .soon-hero { padding: 120px 24px 80px; }
  .soon-eyebrow { margin-bottom: 28px; }
  .soon-sub { margin-top: 28px; }
}

/* ═══════════════════════════════════════════════════
   LANGUAGE SWITCHER — Apple-grade restraint
   ═══════════════════════════════════════════════════ */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-lang-current {
  color: var(--gray-600);
}
.nav-lang-alt {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}
.nav-lang-alt:hover { color: var(--black); text-decoration: none; }
.nav-lang-sep {
  color: var(--gray-300);
  user-select: none;
}
[data-theme="dark"] .nav-lang-current { color: rgba(255,255,255,0.85); }
[data-theme="dark"] .nav-lang-alt { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .nav-lang-alt:hover { color: #fff; }
[data-theme="dark"] .nav-lang-sep { color: rgba(255,255,255,0.25); }

@media (max-width: 833px) {
  .nav-lang { display: none; }
}

/* ═══════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════
   HERO — fallback visible when JS is not available
   - Without !important so inline styles from GSAP can override (animate)
   - Higher specificity than .anim so CSS wins when no JS
   ═══════════════════════════════════════════════════ */
.hero-centered .anim,
.hero-centered .anim-scale,
.hero-centered .t-eyebrow,
.hero-centered .t-mega,
.hero-centered .t-intro,
.hero-centered .btn-row,
.hero-centered .hero-watch-flow {
  opacity: 1;
  transform: none;
}
/* Hero animation: CSS-only fade-up reveal — guaranteed to play, no JS dependency.
   Only the TEXT animates. The watch is static. */
.hero-centered .t-mega-line { display: block; }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pre-hide + animate, gated by .js-ready so it only kicks in when scripts can run.
   If JS is fully disabled, pre-hide doesn't apply → fallback CSS opacity:1 shows text. */
html.js-ready .hero-centered .t-eyebrow,
html.js-ready .hero-centered .t-mega-line,
html.js-ready .hero-centered .hero-sub,
html.js-ready .hero-centered .btn-row .btn {
  opacity: 0;
  animation: hero-fade-up 1.2s var(--ease-out-expo) forwards;
  will-change: transform, opacity;
}

/* Sequenced delays for the Apple-grade staggered reveal */
html.js-ready .hero-centered .t-eyebrow              { animation-delay: 0.15s; animation-duration: 0.9s; }
html.js-ready .hero-centered .t-mega-line:nth-child(1) { animation-delay: 0.50s; }
html.js-ready .hero-centered .t-mega-line:nth-child(2) { animation-delay: 0.64s; }
html.js-ready .hero-centered .hero-sub               { animation-delay: 1.40s; animation-duration: 1.0s; }
html.js-ready .hero-centered .btn-row .btn           { animation-delay: 1.85s; animation-duration: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  html.js-ready .hero-centered .t-eyebrow,
  html.js-ready .hero-centered .t-mega-line,
  html.js-ready .hero-centered .hero-sub,
  html.js-ready .hero-centered .btn-row .btn {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE — V6.8 spec (stealth mode)
   ═══════════════════════════════════════════════════ */
.about-hero,
.about-closing {
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: clamp(128px, 16vw, 192px) 24px;
}
.about-hero .t-eyebrow,
.about-closing .t-eyebrow,
.about-hero .about-heritage-eyebrow {
  color: #c9a227;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.about-slogan {
  font-size: clamp(72px, 12vw, 152px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 32px 0 0;
  font-feature-settings: 'ss01', 'cv11';
  text-wrap: balance;
}

.about-section {
  padding: clamp(96px, 13vw, 128px) 24px;
  text-align: center;
}
.about-section.bg-soft {
  background: #f5f5f7;
}
.about-section .about-heritage-eyebrow {
  color: #c9a227;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 24px;
}
.about-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--black);
  text-wrap: balance;
}
.about-section .about-body {
  max-width: 640px;
  margin: 32px auto 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--gray-500);
  text-wrap: pretty;
}
.about-section .about-body p + p { margin-top: 16px; }
.about-section .about-subtitle {
  margin-top: 16px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--gray-500);
  letter-spacing: -0.005em;
}

/* Cards grid */
.about-grid {
  display: grid;
  gap: 24px;
  margin: 64px auto 0;
}
.about-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}
.about-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
@media (max-width: 833px) {
  .about-grid-3, .about-grid-2 { grid-template-columns: 1fr; }
}
.about-card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 22px;
  padding: 36px;
  text-align: left;
}
.bg-soft .about-card { background: #fff; }
.about-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 14px;
}
.about-card-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-500);
  letter-spacing: -0.005em;
}

.about-teaser {
  margin: 40px auto 0;
  font-size: 14px;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}

/* Closing gold line */
.about-gold-line {
  width: 48px;
  height: 1px;
  background: #c9a227;
  margin: 0 auto 40px;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .about-hero .anim,
  .about-closing .anim,
  .about-section .anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   TRUST SIGNALS — partners/press placeholder bar
   ═══════════════════════════════════════════════════ */
.trust-signals {
  padding: 56px 24px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
  text-align: center;
}
.trust-signals-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
  display: block;
}
.trust-signals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.trust-logo-placeholder {
  height: 32px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 833px) {
  .trust-signals-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .trust-signals-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════
   STICKY CTA MOBILE — appears after hero scroll
   ═══════════════════════════════════════════════════ */
.sticky-cta {
  display: none;
}
@media (max-width: 833px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 100;
    height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: #fff;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
    pointer-events: none;
  }
  .sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Hide when mobile nav drawer open or after passing form */
  body.nav-open .sticky-cta { opacity: 0; pointer-events: none; }
  [data-theme="dark"] .sticky-cta {
    background: #fff;
    color: var(--black);
  }
}

/* About closing logo — same visual weight as slogan */
.about-closing-logo {
  display: block;
  height: clamp(56px, 9vw, 110px);
  width: auto;
  max-width: 90vw;
  margin: 0 auto;
}

/* Hide About nav link on production unlimitime.com; revealed when html.is-non-prod is set by inline script */
.nav-about-only { display: none; }
html.is-non-prod .nav-about-only { display: list-item; }

/* ── Scroll indicator (hero) ───────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--gray-500);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-indicator:hover { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.scroll-indicator svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Nav surface shift after scroll ────────────────────────── */
.nav.is-scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* ── Concept upgrades — premium polish (light theme) ───────── */

/* Cards: hover lift + soft shadow + gold border on hover */
.card-bordered {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  will-change: transform;
}
.card-bordered:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(197, 179, 137, 0.35);
}

/* ═══════════════════════════════════════════════════
   CATEGORIES — Apple-grade hero per section
   - Sections at 100vh, magazine-grade typography
   - One iconic hero watch per category (the rest mentioned in text)
   - Scroll-driven scale + parallax via GSAP
   ═══════════════════════════════════════════════════ */
.cat-stack { padding: 0; border-top: 1px solid var(--gray-200); }

/* Section intro */
.cat-intro {
  text-align: center;
  padding: clamp(120px, 14vw, 200px) 24px clamp(40px, 5vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
}
.cat-intro-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--black); text-transform: uppercase;
  margin-bottom: 18px;
}
.cat-intro-title {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 0.96;
  color: var(--black);
  text-wrap: balance;
}

/* Line-by-line reveal — generic .cat-line block.
   Same mechanic as unlimitime.com hero (.t-mega-line) — fades up from 24px below.
   Pre-hide ONLY when JS-ready (set synchronously by inline <head> script);
   if JS fails entirely, lines stay visible (graceful degradation). */
.cat-line {
  display: block;
  line-height: inherit;
  will-change: transform, opacity;
}
.js-ready .cat-line {
  opacity: 0;
  transform: translateY(36px);
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .cat-line { opacity: 1 !important; transform: none !important; }
}
.cat-intro-sub {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--gray-500);
  margin: 32px auto 0; line-height: 1.5;
  max-width: 640px;
}
.cat-intro-sub strong {
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.005em;
}
[data-theme="dark"] .cat-intro-sub strong { color: var(--white); }
[data-theme="dark"] .cat-intro-eyebrow,
[data-theme="dark"] .cat-intro-title { color: var(--white); }
[data-theme="dark"] .cat-intro-sub { color: rgba(255,255,255,0.62); }

/* Hero category section — each carries an ambient halo color */
.hero-cat {
  min-height: 100vh;
  padding: clamp(60px, 10vw, 140px) 0;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  /* Default halo (overridden by category modifier below) */
  --halo: 0, 0, 0;
  background:
    radial-gradient(85% 65% at 50% 50%, rgba(var(--halo), 0.045) 0%, transparent 70%);
}
/* Per-category accent — used for both ambient bg and halo behind watch */
.hero-cat-steel        { --halo: 70, 120, 175; }   /* cool steel/Tiffany blue */
.hero-cat-complication { --halo: 195, 158, 78; }   /* warm gold (Patek complication) */
.hero-cat-vintage      { --halo: 165, 95, 55; }    /* warm sepia (Daytona dial) */

[data-theme="dark"] .hero-cat {
  background: radial-gradient(85% 65% at 50% 50%, rgba(var(--halo), 0.10) 0%, transparent 70%);
}
.hero-cat-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  grid-template-areas: 'text visual';
}
.hero-cat-text   { grid-area: text; max-width: 560px; }
.hero-cat-visual { grid-area: visual; position: relative; }
.hero-cat-reverse .hero-cat-grid { grid-template-areas: 'visual text'; }

/* Text column */
.hero-cat-num {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 13px; font-weight: 600;
  color: var(--gray-500); letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.hero-cat-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold-dark); text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-cat-title {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 600; letter-spacing: -0.035em;
  line-height: 0.98; color: var(--black);
  text-wrap: balance;
  margin-bottom: 32px;
}
.hero-cat-desc {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55; color: var(--gray-500);
  max-width: 480px; margin-bottom: 28px;
}
.hero-cat-spec {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 13px; color: var(--gray-500);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.hero-cat-spec span:not(:last-child)::after {
  content: '·'; margin-left: 16px;
  color: rgba(0,0,0,0.18);
}
.hero-cat-also {
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 12px; color: var(--gray-500);
  letter-spacing: -0.005em;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.10);
  line-height: 1.5;
}
.hero-cat-also-label {
  display: block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 8px;
}
.hero-cat-also-sep { margin: 0 8px; color: rgba(0,0,0,0.25); }
[data-theme="dark"] .hero-cat-num,
[data-theme="dark"] .hero-cat-desc,
[data-theme="dark"] .hero-cat-spec,
[data-theme="dark"] .hero-cat-also { color: rgba(255,255,255,0.62); }
[data-theme="dark"] .hero-cat-title { color: var(--white); }
[data-theme="dark"] .hero-cat-spec span:not(:last-child)::after,
[data-theme="dark"] .hero-cat-also-sep { color: rgba(255,255,255,0.22); }
[data-theme="dark"] .hero-cat-also-label { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .hero-cat-also { border-color: rgba(255,255,255,0.10); }

/* Visual column — hero watch stack with cinematic shadow + thumbnail switcher */
.hero-cat-watch {
  position: relative;
  display: block;
  min-height: clamp(420px, 60vh, 680px);
  width: 100%;
}
.hero-cat-watch::before {
  /* Ambient color halo behind the watch — picks up category accent */
  content: '';
  position: absolute;
  inset: 5% 8% 12% 8%;
  background: radial-gradient(ellipse at center, rgba(var(--halo, 0,0,0), 0.32) 0%, rgba(var(--halo, 0,0,0), 0.06) 40%, transparent 72%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
[data-theme="dark"] .hero-cat-watch::before { opacity: 1; background: radial-gradient(ellipse at center, rgba(var(--halo, 255,255,255), 0.45) 0%, rgba(var(--halo, 255,255,255), 0.08) 40%, transparent 72%); }
.hero-cat-watch::after {
  /* Floor shadow */
  content: '';
  position: absolute;
  bottom: 6%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 50px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.20) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.hero-cat-frame {
  position: absolute; inset: 0;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.985);
  /* Smooth crossfade: longer durations for fluid pacing between watches */
  transition:
    opacity 1.4s var(--ease-out-expo),
    transform 1.8s var(--ease-out-expo);
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-cat-frame.is-active {
  opacity: 1; transform: scale(1);
  pointer-events: auto;
  transition-delay: 0.05s;
}
.hero-cat-frame img {
  position: relative; z-index: 1;
  max-width: 100%;
  max-height: clamp(380px, 56vh, 620px);
  width: auto; height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 32px 56px rgba(0,0,0,0.18))
    drop-shadow(0 64px 128px rgba(0,0,0,0.10));
}

/* Meta caption — auto-updated by JS when active frame changes */
.hero-cat-meta {
  margin-top: 28px;
  text-align: center;
  font-family: 'SF Mono', 'Menlo', ui-monospace, monospace;
  font-size: 12px; color: var(--gray-500);
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: opacity 0.4s var(--ease-out-expo);
}
.hero-cat-meta strong {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--black); letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-transform: none;
}
.hero-cat-meta span { display: inline-block; }
[data-theme="dark"] .hero-cat-meta { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .hero-cat-meta strong { color: var(--white); }

/* Thumbnail switcher — Apple-style configurator */
.hero-cat-thumbs {
  display: flex; gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.hero-cat-thumb {
  position: relative;
  width: 56px; height: 56px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  transition:
    background 0.4s var(--ease-out-expo),
    border-color 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
}
.hero-cat-thumb img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease-out-expo);
}
.hero-cat-thumb:hover {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}
.hero-cat-thumb:hover img { opacity: 0.85; }
.hero-cat-thumb.is-active {
  background: var(--white);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.hero-cat-thumb.is-active img { opacity: 1; }
.hero-cat-thumb.is-active::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--gold-dark);
  border-radius: 1px;
}
.hero-cat-thumb:active { transform: scale(0.96); }
[data-theme="dark"] .hero-cat-thumb {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .hero-cat-thumb:hover { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .hero-cat-thumb.is-active {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile: stack visual above text, drop the 100vh */
@media (max-width: 833px) {
  .hero-cat {
    min-height: 0;
    padding: clamp(56px, 12vw, 96px) 0;
  }
  .hero-cat-grid,
  .hero-cat-reverse .hero-cat-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 'visual' 'text';
    gap: 40px;
  }
  .hero-cat-text { max-width: 100%; }
  .hero-cat-watch { min-height: 320px; }
  .hero-cat-watch img { max-height: 320px; }
  .hero-cat-title { font-size: clamp(36px, 9vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cat-watch img { transition: none !important; }
}

/* Stat numbers: gold variant for the "Problem" section */
.stat-num-gold {
  color: var(--gold);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* Eco tags as soft gold pills */
.eco-tag {
  background: rgba(197, 179, 137, 0.08);
  border: 1px solid rgba(197, 179, 137, 0.25);
  color: var(--gold-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.eco-tag:hover {
  background: rgba(197, 179, 137, 0.14);
  border-color: rgba(197, 179, 137, 0.5);
}

/* Slide-in reveal classes for sectioned content */
.anim-x-left, .anim-x-right {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.anim-x-left  { transform: translateX(-32px); }
.anim-x-right { transform: translateX(32px); }
.anim-x-left.in, .anim-x-right.in {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .anim-x-left, .anim-x-right { opacity: 1; transform: none; }
}
