/* ============================================================
   WatchFlow Marketing — MERIDIAN Design System (redesign v2)
   shared.css — imported by all marketing + auth pages
   Rebuild: 2026-06-12

   Identity: "the instrument room" — precision horology software.
   Cool porcelain surfaces, hairline rules, blued-steel accent.

   Type (self-hosted, /fonts/fonts.css):
     'Clash Display'    — display / headlines / wordmark (500/600)
     'Switzer'          — all UI & body text (400/500/600/700)
     'Spline Sans Mono' — eyebrows / labels / prices / numbers

   Themes:
     :root                    = LIGHT  "Rhodium"  (default)
     html[data-theme="dark"]  = DARK   "Midnight"

   Legacy compatibility: every token name from the previous system
   (--gold, --bg-void, --white, --font-serif, …) is kept as an alias
   so existing per-page inline styles keep resolving — to Meridian
   values. Every class name from the previous sheet is kept.
   ============================================================ */

@import url('/fonts/fonts.css'); /* resilience for pages that haven't added the <link> yet */

/* ============================================================
   1. TOKENS — LIGHT "RHODIUM" (default)
   ============================================================ */
:root {
  /* -- Meridian type voices -- */
  --font-display: 'Clash Display', 'Switzer', -apple-system, sans-serif;
  --font-ui:      'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-data:    'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* -- Meridian surfaces -- */
  --bg-page:    #f3f4f7;   /* page background        */
  --bg-section: #eaecf1;   /* section band           */
  --bg-card:    #ffffff;   /* card                   */
  --bg-subtle:  #fcfcfe;   /* subtle panel           */
  --bg-well:    #eef0f5;   /* inset well / chip      */

  /* -- Hairlines -- */
  --border-hairline: #e0e3eb;
  --border-strong:   #cfd5e1;

  /* -- Ink -- */
  --ink:           #161922;
  --ink-secondary: #3d4452;
  --ink-muted:     #6b7383;
  --ink-faint:     #a8aebc;

  /* -- Blued-steel accent -- */
  --accent:       #2b50c8;
  --accent-hover: #4570e8;
  --accent-wash:  rgba(43,80,200,0.09);
  --accent-rgb:   43, 80, 200;
  /* solid button fill (white text in both themes) */
  --accent-solid:       #2b50c8;
  --accent-solid-hover: #4570e8;

  /* -- Semantic -- */
  --ok:    #1d8a58;
  --fail:  #c43d3d;
  --warn:  #a8690e;

  /* -- Motif: Geneva stripes (heroes only) -- */
  --stripes: repeating-linear-gradient(45deg, rgba(22,26,37,0.02) 0 6px, transparent 6px 12px);

  /* -- Shadows: soft + cool -- */
  --shadow-card:  0 0 0 1px rgba(22,26,37,.04), 0 1px 2px rgba(22,26,37,.05), 0 10px 28px -14px rgba(22,26,37,.14);
  --shadow-float: 0 1px 2px rgba(22,26,37,.06), 0 18px 44px -18px rgba(22,26,37,.22);
  --shadow-sm:    0 1px 2px rgba(22,26,37,.05);
  --shadow:       var(--shadow-card);

  /* ============================================
     Legacy aliases (old token names → Meridian)
     ============================================ */
  --font-serif: var(--font-display);
  --font-body:  var(--font-ui);
  --font-sans:  var(--font-ui);
  --font-mono:  var(--font-data);

  --bg-void:   var(--bg-page);
  --bg-base:   var(--bg-section);
  --bg-raised: var(--bg-card);
  --bg-panel:  var(--bg-well);
  --bg-hover:  #e4e8f0;
  --bg-active: #dbe0ea;

  --border:       var(--border-hairline);
  --border-light: var(--border-strong);

  --gold:        var(--accent);
  --gold-bright: var(--accent-hover);
  --gold-dim:    var(--accent-wash);
  --gold-rgb:    var(--accent-rgb);

  --white:      var(--ink);
  --off-white:  var(--ink-secondary);
  --muted:      var(--ink-muted);
  --faint:      var(--ink-faint);
  --text-muted: var(--ink-muted);

  --green:     var(--ok);
  --green-dim: rgba(29,138,88,0.10);
  --red:       var(--fail);
  --red-dim:   rgba(196,61,61,0.10);
  --amber:     var(--warn);
  --amber-dim: rgba(168,105,14,0.10);
  --blue:      var(--accent);
  --blue-dim:  var(--accent-wash);

  /* Spacing (8pt grid) */
  --section-pad: 96px;
  --section-pad-tablet: 64px;
  --section-pad-mobile: 40px;

  /* Layout */
  --nav-h: 64px;
  /* Radii — tight, instrument-like */
  --radius-xs:   3px;
  --radius-sm:   6px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-pill: 999px;
  --container-max: 1200px;

  /* Platform brand palette (real marks, unchanged) */
  --brand-whatsapp:    #25d366;
  --brand-telegram:    #229ed9;
  --brand-instagram:   #e4405f;
  --brand-instagram-2: #c13584;
  --brand-shopify:     #7ab55c;
  --brand-stripe:      #635bff;
  --brand-email:       #d08b5b;
}

/* ============================================================
   2. TOKENS — DARK "MIDNIGHT"
   (aliases above resolve automatically via var() indirection)
   ============================================================ */
html[data-theme="dark"] {
  --bg-page:    #0b0e14;
  --bg-section: #0f131b;
  --bg-card:    #151a24;
  --bg-subtle:  #1a2130;
  --bg-well:    #1a2130;

  --border-hairline: #242c3c;
  --border-strong:   #303a50;

  --ink:           #eef1f7;
  --ink-secondary: #c6cddb;
  --ink-muted:     #8d96a8;
  --ink-faint:     #5d6679;

  --accent:       #7295f2;
  --accent-hover: #93b2ff;
  --accent-wash:  rgba(114,149,242,0.12);
  --accent-rgb:   114, 149, 242;
  --accent-solid:       #3a5fd9;
  --accent-solid-hover: #4f74e8;

  --ok:   #3dbd84;
  --fail: #e06363;
  --warn: #d99c45;

  --green-dim: rgba(61,189,132,0.14);
  --red-dim:   rgba(224,99,99,0.14);
  --amber-dim: rgba(217,156,69,0.14);

  --bg-hover:  #202938;
  --bg-active: #273245;

  --stripes: repeating-linear-gradient(45deg, rgba(238,241,247,0.018) 0 6px, transparent 6px 12px);

  --shadow-card:  0 0 0 1px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.35), 0 12px 30px -16px rgba(0,0,0,.55);
  --shadow-float: 0 1px 2px rgba(0,0,0,.4), 0 20px 48px -18px rgba(0,0,0,.6);
  --shadow-sm:    0 1px 2px rgba(0,0,0,.35);

  /* brighten brand marks a touch on midnight */
  --brand-whatsapp:  #3ddb78;
  --brand-telegram:  #33b0e6;
  --brand-instagram: #ee4d6c;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-ui);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Accent word inside headlines — Meridian replaces the old italic
   serif accent. NEVER italic; blued-steel ink instead. */
.hl { color: var(--accent); font-style: normal; }
/* Neutralize legacy <i> accent spans on pages not yet migrated */
.v3-display i, .v3-h2 i, .v3-hero h1 i,
.v5-display i, .v5-display em,
.mm-hero-title i,
.section-title i, .section-header h2 i {
  font-style: normal;
  color: var(--accent);
  font-weight: inherit;
}

/* ============================================================
   4. A11Y — SKIP LINK / FOCUS / SELECTION
   ============================================================ */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-to-content:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
  box-shadow: var(--shadow-card);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
::selection {
  background: var(--accent);
  color: #ffffff;
}
.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   5. TYPE & LAYOUT UTILITIES
   ============================================================ */
.font-serif { font-family: var(--font-display); } /* legacy name → display voice */
.font-mono  { font-family: var(--font-data); }
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: var(--section-pad) 0; }
.gold-text   { color: var(--accent); }  /* legacy name → accent */
.muted-text  { color: var(--ink-muted); }
.text-center { text-align: center; }

/* ============================================================
   6. BUTTONS
   Primary = solid blued-steel, WHITE text, radius 8.
   Ghost   = hairline border + ink.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-gold { /* legacy name → Meridian primary */
  background: var(--accent-solid);
  color: #ffffff;
}
.btn-gold:hover {
  background: var(--accent-solid-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), 0.55);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #ffffff;
}
.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
}
.btn-block {
  width: 100%;
  display: flex;
}

/* ============================================================
   7. EYEBROWS / SECTION LABELS / SECTION HEADERS
   Eyebrow voice: Spline Sans Mono 10.5–11px, uppercase, 0.12em, muted.
   ============================================================ */
.section-label {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 640px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.12;
}
.section-header p {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   8. NAV — porcelain glass bar with hairline rule
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(243,244,247,0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border-hairline);
  border-top: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
html[data-theme="dark"] .nav {
  background: rgba(11,14,20,0.82);
  border-bottom-color: var(--border-hairline);
}
.nav > .container,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}
.nav.scrolled {
  background: rgba(243,244,247,0.96);
  box-shadow: 0 1px 0 var(--border-hairline), 0 8px 24px -16px rgba(22,26,37,0.18);
}
html[data-theme="dark"] .nav.scrolled {
  background: rgba(11,14,20,0.96);
  box-shadow: 0 1px 0 var(--border-hairline), 0 8px 24px -12px rgba(0,0,0,0.6);
}

/* Wordmark — WATCH ink + FLOW accent, Clash Display 600, 0.18em */
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}
.wm-watch { color: var(--ink); }
.wm-flow  { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a,
.nav-links li a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
}
.nav-login {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-login:hover {
  color: var(--accent);
}
.nav-cta {
  background: var(--accent-solid);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 12.5px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--accent-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), 0.5);
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  flex: 0 0 36px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* ========== HAMBURGER ========== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   9. MOBILE MENU — porcelain sheet, hairline-divided list
   ============================================================ */
.mobile-menu {
  display: flex;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: rgba(243,244,247,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
html[data-theme="dark"] .mobile-menu {
  background: rgba(11,14,20,0.98);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 18px 20px 18px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  gap: 10px;
  overflow-y: auto;
}

/* Editorial caption at top of menu */
.mm-hero {
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 2px;
}
.mm-hero-label {
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.mm-hero-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mm-hero-title i {
  font-style: normal;
  color: var(--accent);
}

/* Section label — mono divider */
.mm-section-label {
  font-family: var(--font-data);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 2px 4px;
  margin-top: 2px;
}

/* Typographic rows with hairline dividers */
.mm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mm-item:last-child { border-bottom: none; }
.mm-item:hover,
.mm-item:active {
  color: var(--accent);
  padding-left: 6px;
  background: transparent;
}
.mm-item.active { color: var(--accent); }
/* Icon box and sub-label hidden — markup keeps the elements */
.mm-item-icon,
.mm-item-sub { display: none; }
.mm-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mm-item-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: inherit;
  line-height: 1.2;
}
.mm-item-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}
.mm-item:hover .mm-item-arrow {
  transform: translateX(4px);
  color: var(--accent);
}
.mm-item-arrow svg { width: 16px; height: 16px; }

/* CTA block — solid accent primary + hairline sign-in */
.mm-cta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
}
.mm-primary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  min-height: 48px;
  border-radius: var(--radius);
  background: var(--accent-solid);
  color: #ffffff !important;
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb), 0.55);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.mm-primary-cta:hover,
.mm-primary-cta:active {
  background: var(--accent-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.6);
}
.mm-primary-cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}
.mm-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.mm-login strong {
  color: var(--accent);
  font-weight: 600;
  margin-left: 2px;
}
.mm-login:hover,
.mm-login:active {
  color: var(--accent);
  background: var(--accent-wash);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ---- Legacy nav-list support (.mobile-menu-nav) ---- */
.mobile-menu-nav {
  display: grid;
  grid-template-columns: auto auto;
  gap: 16px 72px;
  justify-content: center;
}
.mobile-menu-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink-secondary);
  letter-spacing: -0.005em;
  padding: 10px 0;
  transition: color 0.3s;
  text-align: left;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--accent);
}

/* Legacy CTA (kept for non-updated pages) */
.mobile-menu-inner > .nav-cta {
  margin-top: 28px;
  padding: 14px 56px;
  font-family: var(--font-ui);
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
  background: var(--accent-solid);
  color: #ffffff !important;
  border: 1px solid var(--accent-solid);
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mobile-menu-inner > .nav-cta:hover {
  background: var(--accent-solid-hover);
  border-color: var(--accent-solid-hover);
  color: #ffffff !important;
}

/* ---- Menu footer — minimal bottom bar ---- */
.mobile-menu-footer {
  padding: 14px 40px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-section);
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
}
.mmf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmf-copy {
  font-family: var(--font-data);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.mmf-right {
  display: none;
  align-items: center;
  gap: 8px;
}
.mmf-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mmf-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  transition: color 0.3s, border-color 0.3s;
}
.mmf-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.mmf-social a svg {
  width: 11px;
  height: 11px;
}
.mobile-menu-footer .theme-toggle {
  display: flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
  transition: color 0.3s, border-color 0.3s;
  background: none;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-footer .theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.mobile-menu-footer .theme-toggle svg {
  width: 12px;
  height: 12px;
}

/* Mobile-menu open staggers */
.mobile-menu-nav a,
.mobile-menu .mm-hero,
.mobile-menu .mm-section-label,
.mobile-menu .mm-item,
.mobile-menu .mm-cta-block {
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease, color 0.3s, background 0.25s, border-color 0.25s;
}
.mobile-menu.open .mobile-menu-nav a,
.mobile-menu.open a,
.mobile-menu.open .mm-hero,
.mobile-menu.open .mm-section-label,
.mobile-menu.open .mm-item,
.mobile-menu.open .mm-cta-block {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open .mobile-menu-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-nav a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open .mm-hero { transition-delay: 0.04s; }
.mobile-menu.open .mm-section-label:nth-of-type(1) { transition-delay: 0.08s; }
.mobile-menu.open .mm-list .mm-item:nth-child(1)   { transition-delay: 0.12s; }
.mobile-menu.open .mm-list .mm-item:nth-child(2)   { transition-delay: 0.17s; }
.mobile-menu.open .mm-list .mm-item:nth-child(3)   { transition-delay: 0.22s; }
.mobile-menu.open .mm-list .mm-item:nth-child(4)   { transition-delay: 0.27s; }
.mobile-menu.open .mm-cta-block                     { transition-delay: 0.32s; }
/* Legacy CTA fade-in */
.mobile-menu-inner .nav-cta {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s, background 0.3s, color 0.3s;
}
.mobile-menu.open .mobile-menu-inner .nav-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   10. FOOTER — pinned MIDNIGHT in both themes (instrument room
   floor). Local token pin keeps legacy var() usage readable.
   ============================================================ */
.footer {
  background: #0b0e14;
  color: #eef1f7;
  border-top: 1px solid #242c3c;
  padding: 80px 0 40px;
  /* pin tokens so any var()-driven descendant resolves on midnight */
  --ink: #eef1f7;
  --ink-secondary: #c6cddb;
  --ink-muted: #8d96a8;
  --ink-faint: #66708a;
  --accent: #7295f2;
  --accent-hover: #93b2ff;
  --accent-wash: rgba(114,149,242,0.12);
  --white: #eef1f7;
  --off-white: #c6cddb;
  --muted: #8d96a8;
  --faint: #66708a;
  --gold: #7295f2;
  --gold-bright: #93b2ff;
  --gold-dim: rgba(114,149,242,0.14);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.14);
  --border-hairline: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --bg-card: #151a24;
  --bg-raised: #151a24;
}
.footer .container {
  max-width: none;
  padding: 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}
.footer-brand .wm-watch { color: #eef1f7; }
.footer-brand .wm-flow  { color: #7295f2; }
.footer-brand p {
  font-size: 14px;
  color: #8d96a8;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-data);
  color: #c6cddb;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #c6cddb;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #93b2ff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #66708a;
}
.footer-social {
  display: none; /* hidden until social accounts are set up */
  gap: 16px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151a24;
  border: 1px solid #242c3c;
  color: #8d96a8;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: #7295f2;
  color: #93b2ff;
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   11. FORMS — porcelain fields, hairline borders, accent focus
   (!important kept: pages carry per-page styles this must win)
   ============================================================ */
.form-input,
.form-select,
.form-textarea,
input.form-control,
textarea.form-control,
select.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-page) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius) !important;
  color: var(--ink) !important;
  font-size: 14px;
  font-family: var(--font-ui);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 44px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-wash) !important;
  outline: none !important;
}
.form-input::placeholder,
.form-textarea::placeholder,
input.form-control::placeholder,
textarea.form-control::placeholder { color: var(--ink-faint) !important; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7383' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
/* Labels & hints — readable floor */
.form-label,
.form-group label,
label.form-label,
.form-hint,
.form-helper,
.field-hint {
  color: var(--ink-secondary) !important;
}
/* Plan card sub-copy — readable floor */
.plan-price-period,
.plan-feature-sub,
.pricing-sub {
  color: var(--ink-secondary) !important;
}

/* ============================================================
   12. CARDS / FRAMES / SKELETON / TAGS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.card-body { padding: 24px; }

/* Mock browser window */
.demo-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-well);
  border-bottom: 1px solid var(--border-hairline);
}
.demo-frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.demo-frame-dot:nth-child(1) { background: var(--fail); opacity: 0.7; }
.demo-frame-dot:nth-child(2) { background: var(--warn); opacity: 0.7; }
.demo-frame-dot:nth-child(3) { background: var(--ok); opacity: 0.7; }
.demo-frame-url {
  flex: 1;
  margin-left: 12px;
  padding: 6px 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--ink-muted);
}

/* Skeleton loading */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-well);
  border-radius: var(--radius);
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
html[data-theme="dark"] .skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Tags & badges */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  background: var(--accent-wash);
  color: var(--accent);
}

/* ============================================================
   13. SCROLL REVEAL — [data-animate] / [data-reveal] + .visible
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
[data-animate],
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-animate].visible,
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="fade"],
[data-reveal="fade"] { transform: none; }
[data-animate="slide-left"],
[data-reveal="slide-left"] { transform: translateX(-40px); }
[data-animate="slide-left"].visible,
[data-reveal="slide-left"].visible { transform: translateX(0); }
[data-animate="slide-right"],
[data-reveal="slide-right"] { transform: translateX(40px); }
[data-animate="slide-right"].visible,
[data-reveal="slide-right"].visible { transform: translateX(0); }
[data-animate="scale"],
[data-reveal="scale"] { transform: scale(0.95); }
[data-animate="scale"].visible,
[data-reveal="scale"].visible { transform: scale(1); }

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }
[data-delay="7"] { transition-delay: 0.7s; }
[data-delay="8"] { transition-delay: 0.8s; }

/* ============================================================
   14. CONVERSION UTILITIES
   ============================================================ */
.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.social-proof-bar strong {
  color: var(--ink);
  font-weight: 600;
}
.social-proof-bar .gold-text {
  color: var(--accent);
  font-family: var(--font-data);
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
  white-space: nowrap;
}
.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

/* Hero-style colour pops (legacy helpers) */
:where(.color-pop-green)  { color: var(--ok); }
:where(.color-pop-blue)   { color: var(--brand-telegram); }
:where(.color-pop-pink)   { color: var(--brand-instagram); }
:where(.color-pop-violet) { color: var(--brand-stripe); }

/* ============================================================
   15. AUTH PAGES — auth-card family (forgot/reset/verify/inbox)
   Pages may layer their own inline styles; these are the
   Meridian base so the class names always render correctly.
   ============================================================ */
.auth-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-float);
}
.auth-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink);
}
.auth-eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.auth-lede {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}
.auth-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-wash);
  border: 1px solid var(--border-hairline);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-icon svg { width: 24px; height: 24px; }
.auth-email {
  font-family: var(--font-data);
  font-size: 13.5px;
  color: var(--ink);
}
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.auth-note,
.auth-footer {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 18px;
}
.auth-login,
.auth-note a,
.auth-footer a {
  color: var(--accent);
  font-weight: 500;
}
.auth-login:hover,
.auth-note a:hover,
.auth-footer a:hover { color: var(--accent-hover); }

/* ============================================================
   16. COOKIE-CONSENT BANNER — Meridian overrides
   marketing.js injects its own <style> AFTER this sheet, so
   these selectors are specificity-bumped (html prefix) to win.
   ============================================================ */
html .wf-cookie-banner {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  font-family: var(--font-ui);
}
html[data-theme="light"] .wf-cookie-banner {
  background: rgba(255,255,255,0.98);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-float);
}
html[data-theme="dark"] .wf-cookie-banner {
  background: rgba(21,26,36,0.98);
  border-color: var(--border-hairline);
}
html .wfc-icon {
  color: var(--accent);
  border: 1px solid var(--border-strong);
  background: var(--accent-wash);
}
html .wfc-copy strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
}
html[data-theme="light"] .wfc-copy strong { color: var(--ink); }
html[data-theme="dark"] .wfc-copy strong  { color: var(--ink); }
html .wfc-copy span { color: var(--ink-muted); }
html[data-theme="light"] .wfc-copy span { color: var(--ink-muted); }
html .wfc-btn { border-radius: var(--radius); }
html .wfc-btn-ghost {
  color: var(--ink-secondary);
  border-color: var(--border-strong);
  background: transparent;
}
html .wfc-btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-wash);
}
html[data-theme="light"] .wfc-btn-ghost { color: var(--ink-secondary); border-color: var(--border-strong); }
html[data-theme="light"] .wfc-btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
html .wfc-btn-primary {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #ffffff;
}
html .wfc-btn-primary:hover {
  background: var(--accent-solid-hover);
  border-color: var(--accent-solid-hover);
  color: #ffffff;
}
html .wfc-panel { border-top-color: var(--border-hairline); }
html[data-theme="light"] .wfc-panel { border-top-color: var(--border-hairline); }
html .wfc-row { border-bottom-color: var(--border-hairline); }
html[data-theme="light"] .wfc-row { border-bottom-color: var(--border-hairline); }
html .wfc-row-text strong { color: var(--ink); }
html[data-theme="light"] .wfc-row-text strong { color: var(--ink); }
html .wfc-row-text span { color: var(--ink-muted); }
html[data-theme="light"] .wfc-row-text span { color: var(--ink-muted); }
html .wfc-slider {
  background: var(--bg-well);
  border-color: var(--border-strong);
}
html[data-theme="light"] .wfc-slider { background: var(--bg-well); border-color: var(--border-strong); }
html .wfc-toggle input:checked + .wfc-slider {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
}
html .wfc-toggle input:checked + .wfc-slider::before { background: #ffffff; }
html .wfc-panel-footer { border-top-color: var(--border-hairline); }
html[data-theme="light"] .wfc-panel-footer { border-top-color: var(--border-hairline); }
html .wfc-link { color: var(--ink-muted); }
html .wfc-link:hover { color: var(--accent); }
html[data-theme="light"] .wfc-link { color: var(--ink-muted); }
html[data-theme="light"] .wfc-link:hover { color: var(--accent); }

/* ============================================================
   17. TOUCH
   ============================================================ */
a, button, .btn, .nav-cta, .nav-hamburger {
  -webkit-tap-highlight-color: transparent;
}
@media (pointer: coarse) {
  a, button, .btn, .nav-cta { min-height: 44px; }
}

/* ============================================================
   18. RESPONSIVE — base system
   Breakpoints: 320 / 375 / 400 / 428 / 480 / 768 / 1024 / 1280 / 1536
   ============================================================ */
@media (max-width: 1280px) {
  .container { max-width: 1080px; }
  .container-wide { max-width: 1200px; }
}
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
  .container-wide { padding: 0 20px; }
  .section-header { margin-bottom: 48px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-h: 56px; }
  .nav { padding: 0 16px; height: 56px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .nav-wordmark { font-size: 14px; letter-spacing: 0.16em; margin-right: auto; }
  .nav > .container,
  .nav-inner { justify-content: flex-start; }
  .nav-right { margin-left: auto; gap: 8px; }
  .nav .nav-cta { display: none; }
  .nav .theme-toggle { display: none; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .section-title { font-size: clamp(24px, 5vw, 32px); }
  .section-subtitle { font-size: 16px; }
  .container { padding: 0 20px; }
  .btn { min-height: 44px; font-size: 14px; padding: 10px 24px; }
  .btn-lg { padding: 12px 28px; font-size: 15px; width: auto; max-width: 80vw; }
  .hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .hero-ctas .btn { width: auto; min-width: 200px; max-width: 80vw; }
  input, select, textarea { font-size: 16px; }
  .footer { padding: 48px 0 32px; }
  .footer .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; text-align: left; }
  .footer-brand { grid-column: 1 / -1; text-align: left; }
  .footer-brand p { max-width: none; margin: 0; }
  .footer-col { text-align: left; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-col a { padding: 4px 0; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; text-align: left; }
  .footer-social a { width: 38px; height: 38px; }
  .btn:active, .nav-cta:active { transform: scale(0.97); transition: transform 0.1s ease; }
  .social-proof-bar { gap: 16px; font-size: 13px; padding: 12px 16px; }
  .auth-card { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .footer { padding: 40px 0 28px; }
  .footer .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-brand, .footer-col { text-align: left; }
  .footer-brand p { margin: 0; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 428px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .section-header h2 { font-size: 23px; }
  .section-header p { font-size: 13px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 10.5px; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; padding: 3px 0; }
  .mobile-menu-nav a { font-size: 25px; padding: 8px 0; }
  .mobile-menu-nav { gap: 12px 56px; }
  .mobile-menu-inner { padding: 16px 18px 16px; gap: 9px; }
  .mobile-menu-footer { padding: 10px 20px; }
  .social-proof-bar { flex-direction: column; gap: 8px; text-align: center; }
  .trust-badge { font-size: 11px; padding: 6px 12px; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px 16px; }
  .mobile-menu-nav a { font-size: 24px; padding: 7px 0; }
  .mobile-menu-nav { gap: 10px 48px; }
}
@media (max-width: 375px) {
  :root { --section-pad: 40px; }
  .section-header { margin-bottom: 32px; }
  .card-body { padding: 16px; }
  .container { padding: 0 12px; }
  .container-wide { padding: 0 12px; }
  .nav-wordmark { font-size: 13px; letter-spacing: 0.14em; }
  .btn, .btn-lg { width: 100%; min-height: 48px; }
  .section-pad { padding: 24px 0; }
  .section-title { font-size: clamp(24px, 5vw, 28px); }
  .section-header h2 { font-size: 21px; }
  .hero-ctas .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-social { align-self: flex-start; }
  .footer-copy { font-size: 11px; }
  .footer-social a { width: 34px; height: 34px; }
}
@media (max-width: 320px) {
  .container { padding: 0 8px; }
  .container-wide { padding: 0 8px; }
  .nav { padding: 0 8px; }
  .nav-wordmark { font-size: 13px; letter-spacing: 0.12em; }
  .section-title { font-size: 20px; }
  .section-header h2 { font-size: 19px; }
  .section-header p { font-size: 12px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .btn-lg { padding: 10px 16px; font-size: 14px; }
  .mobile-menu-nav a { font-size: 22px; padding: 6px 0; }
  .mobile-menu-nav { gap: 8px 40px; }
  .mobile-menu-inner { padding: 14px 14px 14px; gap: 8px; }
  .mobile-menu-footer { padding: 8px 16px; }
  .social-proof-bar { font-size: 12px; padding: 8px 10px; }
  .footer-col h4 { font-size: 10.5px; }
  .footer-col a { font-size: 13px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .nav { height: 48px; }
  .mobile-menu { top: 48px; overflow-y: auto; }
  .mobile-menu-nav { gap: 6px 40px; }
  .mobile-menu-nav a { font-size: 20px; padding: 5px 0; }
  .mobile-menu-inner { padding: 20px 24px 16px; }
  .section-pad { padding: 32px 0; }
  .hero,
  [class*="hero"] {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
@media (min-width: 1536px) {
  .container { max-width: 1320px; }
  .container-wide { max-width: 1520px; }
  :root { --section-pad: 120px; }
  .nav { padding: 0 60px; }
  .footer .container { padding: 0 60px; }
}

/* ============================================================
   19. TOUCH DEVICE ENHANCEMENTS
   ============================================================ */
@media (hover: none) {
  .btn-gold:hover { transform: none; box-shadow: none; }
  .btn-ghost:hover {
    border-color: var(--border-strong);
    color: var(--ink);
    background: transparent;
  }
  .btn-outline:hover { background: transparent; color: var(--accent); }
  .nav-cta:hover { transform: none; }
  .card:hover { border-color: var(--border-hairline); box-shadow: var(--shadow-sm); }
  .btn-gold:active { background: var(--accent-solid-hover); transform: scale(0.97); }
  .btn-ghost:active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-wash);
  }
  .btn-outline:active { background: var(--accent-solid); color: #ffffff; }
  .card:active { border-color: var(--border-strong); }
  a, button, .btn, .nav-cta, .nav-hamburger, .footer-social a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================================
   20. REDUCED MOTION / PRINT / RETINA
   ============================================================ */
@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;
  }
  .mobile-menu,
  .mobile-menu-nav a,
  .mobile-menu.open,
  .mobile-menu.open .mobile-menu-nav a,
  .mobile-menu-footer,
  .mobile-menu-inner .nav-cta {
    transition: none !important;
    transform: none !important;
  }
  [data-animate], [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@media print {
  .nav, .footer, .mobile-menu, .nav-hamburger, .theme-toggle { display: none !important; }
  body { background: white; color: black; }
  .section-pad { padding: 20px 0; }
  a { color: black; }
  .btn { border: 1px solid black; background: none; color: black; }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav { border-bottom-width: 0.5px; }
  .footer { border-top-width: 0.5px; }
  .card { border-width: 0.5px; }
  .form-input { border-width: 0.5px; }
  .footer-bottom { border-top-width: 0.5px; }
  .footer-social a { border-width: 0.5px; }
}

/* =====================================================================
   V3 — landing/interior page system (Meridian restyle)
   Class names preserved; geometry tightened, palette → porcelain/steel.
   ===================================================================== */

/* ---------- V3 Tokens ---------- */
:root {
  --v3-radius-sm: 6px;
  --v3-radius: 12px;
  --v3-radius-lg: 16px;
  --v3-shadow-soft: var(--shadow-card);
  --v3-shadow-frame: 0 4px 12px rgba(22,26,37,0.10), 0 24px 60px rgba(22,26,37,0.16);
  --v3-shadow-frame-strong: 0 6px 18px rgba(22,26,37,0.14), 0 36px 90px rgba(22,26,37,0.24);
  --v3-section-pad-y: clamp(72px, 11vw, 136px);
  --v3-container: 1180px;
  --v3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html[data-theme="dark"] {
  --v3-shadow-frame: 0 4px 14px rgba(0,0,0,0.4), 0 28px 70px rgba(0,0,0,0.5);
  --v3-shadow-frame-strong: 0 6px 20px rgba(0,0,0,0.45), 0 40px 100px rgba(0,0,0,0.6);
}

/* ---------- V3 Reveal ---------- */
.v3-reveal { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.9s var(--v3-ease), transform 0.9s var(--v3-ease); }
.v3-reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .v3-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- V3 Section bands ---------- */
.v3-section {
  position: relative;
  padding: var(--v3-section-pad-y) 24px;
  background: var(--bg-page);
  overflow: hidden;
}
.v3-section + .v3-section { padding-top: 0; }
.v3-section.alt { background: var(--bg-section); }
.v3-container { max-width: var(--v3-container); margin: 0 auto; }

/* ---------- V3 Eyebrows / headings ---------- */
.v3-eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.v3-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
.v3-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
.v3-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
.v3-lead {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0 0 28px;
  max-width: 640px;
}
.v3-kicker {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- V3 Buttons — instrument geometry (radius 8) ---------- */
.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s var(--v3-ease),
              background 0.2s var(--v3-ease), border-color 0.2s var(--v3-ease),
              color 0.2s var(--v3-ease);
  min-height: 48px;
  cursor: pointer;
  border: none;
}
.v3-btn-primary {
  background: var(--accent-solid);
  color: #ffffff;
}
.v3-btn-primary:hover {
  background: var(--accent-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(var(--accent-rgb), 0.55);
}
.v3-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.v3-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}
.v3-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- V3 iPhone Device Frame (geometry preserved) ---------- */
.v3-phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 54px;
  /* Brushed titanium frame — instrument hardware */
  background:
    linear-gradient(135deg, #2c2e33 0%, #1b1d22 22%, #0c0d11 50%, #1b1d22 78%, #2c2e33 100%);
  padding: 11px;
  box-shadow:
    var(--v3-shadow-frame),
    inset 0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.55);
  isolation: isolate;
}
/* Dynamic Island */
.v3-phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #050608;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.04),
    inset 0 -1px 1px rgba(0,0,0,0.6);
  z-index: 3;
  pointer-events: none;
}
/* Side buttons */
.v3-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(#3a3c42, #1b1d22) left 0 top 14% / 3px 26px no-repeat,
    linear-gradient(#3a3c42, #1b1d22) left 0 top 22% / 3px 50px no-repeat,
    linear-gradient(#3a3c42, #1b1d22) left 0 top 31% / 3px 50px no-repeat,
    linear-gradient(#3a3c42, #1b1d22) right 0 top 25% / 3px 78px no-repeat;
  border-radius: inherit;
  margin: 0 -1.5px;
}
.v3-phone-screen {
  position: relative;
  width: 100%;
  border-radius: 42px;
  overflow: hidden;
  background-color: var(--bg-page);
  background-size: cover;
  background-position: center;
  aspect-ratio: 9 / 19.5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  isolation: isolate;
}
.v3-phone-screen::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,26,37,0.06) 0 8%, transparent 8% 100%),
    linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 70%) 0 0 / 200% 100%,
    linear-gradient(180deg, #eef0f4 0%, #e4e7ee 100%);
  animation: wfPhoneShimmer 2.4s ease-in-out infinite;
  z-index: 0;
}
@keyframes wfPhoneShimmer {
  0% { background-position: -120% 0, 0 0, 0 0; }
  100% { background-position: 220% 0, 0 0, 0 0; }
}
.v3-phone-screen picture,
.v3-phone-screen img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.v3-phone-screen img {
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 600ms ease-out;
}
.v3-phone-screen img.loaded,
.v3-phone-screen img[loading="eager"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .v3-phone-screen::before { animation: none; }
  .v3-phone-screen img { transition: none; opacity: 1; }
}
.v3-phone-large { max-width: 360px; }
.v3-phone-strong { box-shadow:
    var(--v3-shadow-frame-strong),
    inset 0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.55);
}

/* Floating phones group */
.v3-phone-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.v3-phone-stack .v3-phone { position: absolute; }
.v3-phone-stack .v3-phone.s1 { transform: translate(-58%, -10%) rotate(-7deg); max-width: 260px; opacity: 0.92; }
.v3-phone-stack .v3-phone.s2 { transform: translate(0, 0); max-width: 320px; z-index: 2; }
.v3-phone-stack .v3-phone.s3 { transform: translate(58%, 8%) rotate(7deg); max-width: 260px; opacity: 0.92; }
@media (max-width: 720px) {
  .v3-phone-stack { min-height: 520px; }
  .v3-phone-stack .v3-phone.s1 { transform: translate(-46%, -8%) rotate(-7deg); max-width: 200px; }
  .v3-phone-stack .v3-phone.s2 { max-width: 260px; }
  .v3-phone-stack .v3-phone.s3 { transform: translate(46%, 8%) rotate(7deg); max-width: 200px; }
}

/* ---------- V3 Hero — porcelain + Geneva stripes ---------- */
.v3-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 24px 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    var(--stripes),
    radial-gradient(ellipse 900px 480px at 50% -10%, var(--accent-wash), transparent 70%),
    var(--bg-page);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.v3-hero > *:not(.v5-mesh) { position: relative; z-index: 1; }
.v3-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding-top: clamp(40px, 8vw, 80px);
}
.v3-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
}
.v3-hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}
.v3-hero-meta {
  margin-top: 18px;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.v3-hero-cta-row { justify-content: center; }
.v3-hero-device {
  margin-top: clamp(56px, 9vw, 100px);
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 120px;
}

/* ---------- V3 Product showcase (alternating) ---------- */
.v3-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) 0;
}
.v3-show.reverse .v3-show-copy { order: 2; }
.v3-show.reverse .v3-show-media { order: 1; }
.v3-show-copy { padding: 0 4px; }
.v3-show-eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.v3-show-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
.v3-show-media { display: flex; justify-content: center; }
.v3-show-bullets {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.v3-show-bullets li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border-hairline);
}
.v3-show-bullets li:last-child { border-bottom: 0; }
.v3-show-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-xs);
  background: var(--accent-wash);
  border: 1px solid var(--accent);
}

@media (max-width: 860px) {
  .v3-show { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; text-align: left; }
  .v3-show.reverse .v3-show-copy,
  .v3-show.reverse .v3-show-media { order: initial; }
  .v3-show-media { order: -1; }
}

/* ---------- V3 Pillars grid — white instrument cards ---------- */
.v3-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.v3-pillar {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--v3-radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform 0.3s var(--v3-ease), border-color 0.3s var(--v3-ease), box-shadow 0.3s var(--v3-ease);
}
.v3-pillar:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.v3-pillar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--accent-wash);
  border: 1px solid var(--border-hairline);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.v3-pillar-icon svg { width: 22px; height: 22px; }
.v3-pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 8px;
}
.v3-pillar p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* ---------- V3 Channel chips ---------- */
.v3-channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.v3-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.v3-chip svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- V3 Closing CTA — striped band ---------- */
.v3-close {
  padding: clamp(80px, 12vw, 152px) 24px;
  text-align: center;
  border-top: 1px solid var(--border-hairline);
  background:
    var(--stripes),
    radial-gradient(ellipse 800px 420px at 50% 110%, var(--accent-wash), transparent 70%),
    var(--bg-section);
}
.v3-close-inner { max-width: 700px; margin: 0 auto; }

/* ---------- V3 Page hero (interior pages) ---------- */
.v3-pagehero {
  padding: calc(var(--nav-h) + 70px) 24px 60px;
  text-align: center;
  background:
    var(--stripes),
    radial-gradient(ellipse 700px 360px at 50% 0%, var(--accent-wash), transparent 72%),
    var(--bg-page);
}
.v3-pagehero-inner { max-width: 800px; margin: 0 auto; }

/* ---------- V3 Truth strip (small badges) ---------- */
.v3-truth {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.v3-truth-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.v3-truth-item svg { width: 12px; height: 12px; color: var(--accent); }

/* ---------- V3 Mobile tweaks ---------- */
@media (max-width: 640px) {
  .v3-section { padding: 64px 18px; }
  .v3-hero { padding: calc(var(--nav-h) + 36px) 20px 0; }
  .v3-hero-inner { padding-top: 24px; }
  .v3-hero-device { margin-top: 40px; padding-bottom: 64px; }
  .v3-pagehero { padding: calc(var(--nav-h) + 48px) 20px 40px; }
  .v3-show { padding: 48px 0; gap: 32px; }
  .v3-cta-row { flex-direction: column; align-items: stretch; }
  .v3-cta-row .v3-btn { width: 100%; }
  .v3-pillars { gap: 14px; }

  .v3-phone { max-width: 230px; padding: 8px; border-radius: 42px; }
  .v3-phone::before { width: 78px; height: 22px; top: 14px; }
  .v3-phone-screen { border-radius: 34px; }
  .v3-phone-large { max-width: 250px; }
  .v3-phone::after {
    background:
      linear-gradient(#3a3c42, #1b1d22) left 0 top 14% / 2px 18px no-repeat,
      linear-gradient(#3a3c42, #1b1d22) left 0 top 22% / 2px 36px no-repeat,
      linear-gradient(#3a3c42, #1b1d22) left 0 top 31% / 2px 36px no-repeat,
      linear-gradient(#3a3c42, #1b1d22) right 0 top 25% / 2px 56px no-repeat;
  }
}

/* ---------- WF text-stagger (per-child cascading reveal) ---------- */
.wf-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(.2,.8,.2,1),
    transform 700ms cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.wf-stagger.visible > *,
.v3-reveal.visible .wf-stagger > * {
  opacity: 1;
  transform: translateY(0);
}
.wf-stagger > *:nth-child(1) { --i: 0; }
.wf-stagger > *:nth-child(2) { --i: 1; }
.wf-stagger > *:nth-child(3) { --i: 2; }
.wf-stagger > *:nth-child(4) { --i: 3; }
.wf-stagger > *:nth-child(5) { --i: 4; }
.wf-stagger > *:nth-child(6) { --i: 5; }
.wf-stagger > *:nth-child(7) { --i: 6; }
@media (prefers-reduced-motion: reduce) {
  .wf-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- WF dynamic scroll animations ---------- */
.v3-show-media { opacity: 0; transform: translateX(60px) scale(0.94); transition: opacity 900ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
.v3-show.reverse .v3-show-media { transform: translateX(-60px) scale(0.94); }
.v3-show-media.visible,
.v3-show .v3-show-media.v3-reveal.visible { opacity: 1; transform: translateX(0) scale(1); }

.v3-show-copy { transition: opacity 900ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1); }
.v3-show:not(.reverse) .v3-show-copy.v3-reveal { transform: translateX(-40px); }
.v3-show.reverse .v3-show-copy.v3-reveal { transform: translateX(40px); }
.v3-show .v3-show-copy.v3-reveal.visible { transform: translateX(0); }

/* Phone idle float */
@keyframes wfPhoneFloat {
  0%, 100% { transform: translateY(0) rotate(-0.3deg); }
  50%      { transform: translateY(-8px) rotate(0.3deg); }
}
.v3-show-media.visible .v3-phone { animation: wfPhoneFloat 6.5s ease-in-out 0.6s infinite; }

/* Pillar cards stagger in */
.v3-pillar.v3-reveal { opacity: 0; transform: translateY(36px) rotate(-1deg); transition: opacity 800ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1); }
.v3-pillar.v3-reveal:nth-child(even) { transform: translateY(36px) rotate(1deg); }
.v3-pillars .v3-pillar.v3-reveal:nth-child(1) { transition-delay: 0ms; }
.v3-pillars .v3-pillar.v3-reveal:nth-child(2) { transition-delay: 80ms; }
.v3-pillars .v3-pillar.v3-reveal:nth-child(3) { transition-delay: 160ms; }
.v3-pillars .v3-pillar.v3-reveal:nth-child(4) { transition-delay: 240ms; }
.v3-pillars .v3-pillar.v3-reveal:nth-child(5) { transition-delay: 320ms; }
.v3-pillars .v3-pillar.v3-reveal:nth-child(6) { transition-delay: 400ms; }
.v3-pillar.v3-reveal.visible { opacity: 1; transform: translateY(0) rotate(0); }

@media (prefers-reduced-motion: reduce) {
  .v3-show-media,
  .v3-show-copy,
  .v3-pillar.v3-reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .v3-show-media.visible .v3-phone { animation: none !important; }
}

/* ---------- WF brand-logo chips (real platform marks) ---------- */
.v3-chip-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms;
}
.v3-chip-brand:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.v3-chip-brand .v3-chip-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  overflow: hidden;
}
.v3-chip-brand .v3-chip-logo svg { width: 100%; height: 100%; display: block; }
.v3-chip-brand[data-brand="whatsapp"]  .v3-chip-logo { background: #25d366; color: #fff; }
.v3-chip-brand[data-brand="telegram"]  .v3-chip-logo { background: #229ED9; color: #fff; }
.v3-chip-brand[data-brand="instagram"] .v3-chip-logo { background: linear-gradient(135deg,#feda75 0%,#fa7e1e 25%,#d62976 50%,#962fbf 75%,#4f5bd5 100%); color:#fff; }
.v3-chip-brand[data-brand="facebook"]  .v3-chip-logo { background: #1877F2; color: #fff; }
.v3-chip-brand[data-brand="shopify"]   .v3-chip-logo { background: #95BF47; color: #fff; }
.v3-chip-brand[data-brand="x"]         .v3-chip-logo { background: #16181d; color: #fff; }
.v3-chip-brand[data-brand="ebay"]      .v3-chip-logo { background: #fff; color: #16181d; border: 1px solid var(--border-hairline); }

/* =====================================================================
   V3 — end
   ===================================================================== */

/* =====================================================================
   ===== V5 MOTION + DISPLAY — Meridian =====
   Layered on top of V3. Motion preserved; palette → blued steel.
   ===================================================================== */

:root {
  --accent-deep: var(--accent);
  --accent-warm: var(--accent); /* terracotta retired — steel only */
}

/* ---------- V5 Display Type ---------- */
.v5-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.v5-display em,
.v5-display i {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.v5-display-line2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(32px, 5.4vw, 56px);
  color: var(--ink);
  display: block;
}
.v5-subhead {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: var(--ink-secondary);
  max-width: 56ch;
  line-height: 1.55;
}
.v5-kicker {
  font-family: var(--font-data);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ---------- V5 Reveal / Stagger / Section Fade ---------- */
.v5-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  will-change: opacity, transform;
}
.v5-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.v5-section-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}
.v5-section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- V5 Parallax (hero device) ---------- */
@media (prefers-reduced-motion: no-preference) and (pointer: fine) {
  .v5-parallax {
    transform: translate3d(0, calc(var(--scroll, 0) * -0.12px), 0);
    will-change: transform;
  }
}

/* ---------- V5 Image / Frame Lift ---------- */
@media (prefers-reduced-motion: no-preference) and (pointer: fine) {
  .v5-lift {
    transition: transform 380ms cubic-bezier(.2,.8,.2,1), box-shadow 380ms cubic-bezier(.2,.8,.2,1);
    will-change: transform, box-shadow;
  }
  .v5-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -16px rgba(22,26,37,0.30);
  }
}

/* ---------- V5 Marquee — mono instrument ticker ---------- */
.v5-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-section);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.v5-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-data);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.v5-marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.v5-marquee-track > span::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 48px;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .v5-marquee-track {
    animation: v5-marquee 40s infinite linear;
  }
}
@keyframes v5-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- V5 Animated Mesh (hero only) — cool steel wash ---------- */
.v5-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(43,80,200,0.45), transparent 60%),
    radial-gradient(ellipse 55% 50% at 80% 80%, rgba(22,26,37,0.30), transparent 60%);
  background-size: 180% 180%, 180% 180%;
  background-position: 0% 0%, 100% 100%;
}
html[data-theme="dark"] .v5-mesh {
  opacity: 0.22;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(114,149,242,0.4), transparent 60%),
    radial-gradient(ellipse 55% 50% at 80% 80%, rgba(238,241,247,0.08), transparent 60%);
  background-size: 180% 180%, 180% 180%;
  background-position: 0% 0%, 100% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .v5-mesh {
    animation: v5-mesh-shift 18s ease-in-out infinite alternate;
  }
}
@keyframes v5-mesh-shift {
  0%   { background-position: 0% 0%, 100% 100%; }
  100% { background-position: 60% 30%, 30% 60%; }
}

/* ---------- V5 Accent dot helper ---------- */
.v5-accent-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- V5 Magnetic CTA ---------- */
@media (prefers-reduced-motion: no-preference) and (pointer: fine) {
  .v5-magnetic {
    transition: transform 200ms cubic-bezier(.2,.8,.2,1);
    will-change: transform;
  }
}

/* Reduced motion safety: collapse all V5 motion */
@media (prefers-reduced-motion: reduce) {
  .v5-stagger > *,
  .v5-section-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .v5-marquee-track { animation: none !important; }
  .v5-mesh { animation: none !important; }
}

/* =====================================================================
   ===== V5 — end =====
   ===================================================================== */
