/* ============================================================
   WatchFlow Marketing — Shared Design System v2.0
   shared.css — imported by all marketing pages
   Rebuild: 2026-04-13
   ============================================================ */

/* ========== TYPOGRAPHY — Absans (site-wide single typeface) ========== */
@font-face {
  font-family: 'Absans';
  src: url('/fonts/absans/Absans-Regular.woff2') format('woff2'),
       url('/fonts/absans/Absans-Regular.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ========== 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-body);
  background: var(--bg-void);
  color: var(--white);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
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; }

/* ========== SKIP-TO-CONTENT (A11Y) ========== */
.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-base, #0d1117);
  color: var(--gold, #7d97b3);
  border: 2px solid var(--gold, #7d97b3);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
}

/* ========== CSS VARIABLES — DARK DEFAULT ========== */
/* Titanium-blue + Helvetica system. Token names retain --gold* / --font-serif
   etc. for minimal blast radius across legacy references; values are titanium. */
:root {
  /* Typography — Absans everywhere; single family, hierarchy via weight.
     Absans ships only Regular (400); browsers synthesize bold/italic via
     `font-synthesis: weight style` (set globally below). */
  --font-serif: 'Absans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:  'Absans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:  'Absans', ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Backgrounds (layered) — cool near-black, slight blue undertone */
  --bg-void: #0a0e13;
  --bg-base: #0f141b;
  --bg-raised: #161c25;
  --bg-panel: #1f2733;
  --bg-hover: #28323f;
  --bg-active: #313c4b;

  /* Borders */
  --border: #1f2733;
  --border-light: #2c3645;

  /* Titanium accent (token kept as --gold for legacy refs) */
  --gold: #7d97b3;
  --gold-bright: #a8c0d6;
  --gold-dim: color-mix(in srgb, #7d97b3 14%, transparent);

  /* Text hierarchy */
  --white: #ffffff;
  --off-white: #e0e0e0;
  --muted: #999999;
  --faint: #666666;

  /* Semantic colors */
  --green: #4caf50;
  --green-dim: rgba(76,175,80,0.12);
  --red: #ef5350;
  --red-dim: rgba(239,83,80,0.12);
  --amber: #ffb74d;
  --amber-dim: rgba(255,183,77,0.12);
  --blue: #42a5f5;
  --blue-dim: rgba(66,165,245,0.12);

  /* Spacing */
  --section-pad: 100px;
  --section-pad-tablet: 60px;
  --section-pad-mobile: 32px;

  /* Layout */
  --nav-h: 64px;
  /* P1-2: six-radius scale (matches SPA) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --container-max: 1200px;
}

/* ========== LIGHT THEME — cool gray, titanium accent ========== */
[data-theme="light"] {
  --bg-void: #f5f7fa;
  --bg-base: #ecf0f5;
  --bg-raised: #e2e8f0;
  --bg-panel: #d4dde8;
  --bg-hover: #c5d0dd;
  --bg-active: #b6c3d2;
  --border: #cfd8e3;
  --border-light: #bcc7d4;
  --gold: #4a6b8a;
  --gold-bright: #5b7a99;
  --gold-dim: color-mix(in srgb, #4a6b8a 12%, transparent);
  --white: #0f1620;
  --off-white: #2a3340;
  --muted: #5a6878;
  --faint: #8b95a3;
  --green: #2e8b57;
  --red: #d04848;
  --amber: #c08428;
  --blue: #4a6b8a;
}

/* ========== TYPOGRAPHY ========== */
.font-serif { font-family: var(--font-serif); }
.font-mono  { font-family: var(--font-mono); }

/* ========== UTILITY ========== */
.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(--gold); }
.muted-text  { color: var(--muted); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
}
.btn-ghost {
  border: 1px solid var(--border-light);
  color: var(--off-white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}
.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ========== SECTION LABELS ========== */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== NAV ========== */
/* Nav is ALWAYS dark-bg regardless of theme (same approach as .footer).
   Pin tokens to the dark variant inside .nav so the wordmark + hamburger
   resolve to the high-contrast treatment (white FLOW, titanium Watch) the
   logo looks best in — the dark header reads much cleaner than the parchment
   one even when the rest of the page is in light mode. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  --white: #ffffff;
  --gold: #7d97b3;
  --gold-bright: #a8c0d6;
}
[data-theme="light"] .nav {
  background: rgba(0,0,0,0.92);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav > .container,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* No inner gutter — the nav's own padding is the only inset, so the logo and
     hamburger sit close to the screen edges. */
  padding: 0;
}
.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}
.nav.scrolled {
  background: rgba(0,0,0,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(0,0,0,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}
/* Brand mark: the inline 1.05em base renders too small to read the GMT-bezel detail.
   Size in fixed px across all marketing pages — footer mark intentionally LARGER than
   the nav (header) mark, both legible. */
.nav-wordmark .wf-logo-mark { width: 32px; height: 32px; margin-right: 11px; vertical-align: middle; }
.footer-brand .wordmark .wf-logo-mark { width: 44px; height: 44px; margin-right: 13px; vertical-align: middle; }
.wm-watch { color: var(--gold); font-weight: 300; }
.wm-flow  { color: var(--white); font-weight: 700; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a,
.nav-links li a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
[data-theme="light"] .nav-links a,
[data-theme="light"] .nav-links li a {
  color: rgba(255,255,255,0.75);
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
}
.nav-login {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  text-decoration: none;
}
[data-theme="light"] .nav-login {
  color: rgba(255,255,255,0.75);
}
.nav-login:hover {
  color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: #0a0a0a !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  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;
}
[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.6);
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.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: 2px;
  background: var(--white);
  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); }

/* ========== MOBILE MENU (luxury two-column layout) ========== */
.mobile-menu {
  display: flex;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: rgba(0,0,0,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
[data-theme="light"] .mobile-menu {
  background: rgba(245,242,237,0.98);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

/* Inner content area — scrollable luxury stack */
.mobile-menu-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 22px 24px 24px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  gap: 26px;
  overflow-y: auto;
}

/* ---- Menu top row: "Menu" title + Log in + Start free CTA ---- */
.mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mm-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.95);
  margin: 0;
  line-height: 1;
}
[data-theme="light"] .mm-title {
  color: rgba(26,24,20,0.95);
}
.mm-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mm-top-login {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  letter-spacing: 0.2px;
  padding: 6px 4px;
  transition: color 0.2s ease;
}
[data-theme="light"] .mm-top-login {
  color: rgba(26,24,20,0.78);
}
.mm-top-login:hover { color: var(--gold); }
.mm-top-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1814 !important;
  font-family: var(--font-sans, inherit);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mm-top-cta:hover {
  background: var(--gold-bright, #d4b57a);
  transform: translateY(-1px);
}

/* ---- Section grouping ---- */
.mm-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Two-column secondary links ---- */
.mm-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
[data-theme="light"] .mm-columns {
  border-top-color: rgba(26,24,20,0.08);
}
.mm-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mm-col .mm-section-label {
  margin-top: 0;
  padding: 0 0 4px;
}
.mm-col-link {
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.2s ease;
}
[data-theme="light"] .mm-col-link {
  color: rgba(26,24,20,0.78);
}
.mm-col-link:hover { color: var(--gold); }

/* Editorial hero caption at top of menu */
.mm-hero {
  padding: 2px 2px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}
[data-theme="light"] .mm-hero {
  border-bottom-color: rgba(26,24,20,0.08);
}
.mm-hero-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.mm-hero-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.2px;
}
[data-theme="light"] .mm-hero-title {
  color: rgba(26,24,20,0.92);
}
.mm-hero-title i {
  font-style: italic;
  color: var(--gold);
}

/* Section label — small caps divider */
.mm-section-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 2px 4px;
  margin-top: 2px;
}
[data-theme="light"] .mm-section-label {
  color: rgba(26,24,20,0.45);
}

/* Simplified nav list — typographic rows with hairline dividers */
.mm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 2px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
[data-theme="light"] .mm-item {
  color: rgba(26,24,20,0.92);
}
.mm-item:hover,
.mm-item:active {
  color: var(--gold);
  padding-left: 6px;
  background: transparent;
}
.mm-item.active { color: var(--gold); }
/* Icon box and sub-label hidden — keeping the elements in markup
   so existing HTML still renders cleanly, just not visually. */
.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-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: inherit;
  line-height: 1.18;
}
.mm-item.active .mm-item-label { color: var(--gold); }
.mm-item-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  transition: transform 0.2s ease, color 0.2s ease;
}
[data-theme="light"] .mm-item-arrow {
  color: rgba(26,24,20,0.3);
}
.mm-item:hover .mm-item-arrow {
  transform: translateX(4px);
  color: var(--gold);
}
.mm-item-arrow svg { width: 16px; height: 16px; }

/* CTA block — primary gold button + paired sign-in button */
.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: 10px;
  background: var(--gold);
  color: #1a1814 !important;
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(201,169,110,0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.mm-primary-cta:hover,
.mm-primary-cta:active {
  background: var(--gold-bright, #d4b57a);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(201,169,110,0.32);
}
.mm-primary-cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}
/* Sign in — proper secondary button, same footprint as the primary */
.mm-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(201,169,110,0.38);
  background: rgba(201,169,110,0.04);
  font-family: var(--font-sans, inherit);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
[data-theme="light"] .mm-login {
  color: rgba(26,24,20,0.78);
  border-color: rgba(139,115,85,0.4);
  background: rgba(139,115,85,0.04);
}
.mm-login strong {
  color: var(--gold);
  font-weight: 600;
  margin-left: 2px;
  letter-spacing: 0.3px;
}
.mm-login:hover,
.mm-login:active {
  color: var(--gold);
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.6);
  transform: translateY(-1px);
}

/* ---- Legacy nav-list support (pages that still use .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-serif);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.5px;
  padding: 10px 0;
  transition: color 0.3s;
  text-align: left;
}
[data-theme="light"] .mobile-menu-nav a {
  color: rgba(26,24,20,0.8);
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--gold);
}

/* Legacy CTA (kept for non-updated pages) */
.mobile-menu-inner > .nav-cta {
  margin-top: 28px;
  padding: 14px 56px;
  font-family: var(--font-serif);
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  align-self: center;
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mobile-menu-inner > .nav-cta:hover {
  background: var(--gold);
  color: var(--bg-void) !important;
  border-color: var(--gold);
}

/* ---- Menu footer — minimal bottom bar ---- */
.mobile-menu-footer {
  padding: 14px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.3);
  margin-top: auto;
}
[data-theme="light"] .mobile-menu-footer {
  border-top-color: rgba(26,24,20,0.08);
  background: rgba(26,24,20,0.04);
}

/* Footer bottom bar — copyright + social + theme toggle */
.mmf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
[data-theme="light"] .mmf-bottom {
  border-top-color: rgba(26,24,20,0.06);
}
.mmf-copy {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.3px;
}
[data-theme="light"] .mmf-copy {
  color: rgba(26,24,20,0.45);
}
.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 rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  transition: color 0.3s, border-color 0.3s;
}
[data-theme="light"] .mmf-social a {
  border-color: rgba(26,24,20,0.12);
  color: rgba(26,24,20,0.45);
}
.mmf-social a:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.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 rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  transition: color 0.3s, border-color 0.3s;
  background: none;
  cursor: pointer;
  padding: 0;
}
[data-theme="light"] .mobile-menu-footer .theme-toggle {
  border-color: rgba(26,24,20,0.12);
  color: rgba(26,24,20,0.45);
}
.mobile-menu-footer .theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.mobile-menu-footer .theme-toggle svg {
  width: 12px;
  height: 12px;
}

/* ========== FOOTER ========== */
/* Footer is ALWAYS dark-bg regardless of theme. Pin tokens to a dark
   variant inside .footer so descendants tokenized via var(--white),
   var(--muted), var(--off-white) etc. resolve readable on dark — fixes
   the parchment regression where --white = #1a1814 made FLOW invisible
   on the dark footer (the "WATCH" cut-off bug). */
.footer {
  background: #06080c;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
  --white: #ffffff;
  --off-white: #cdd5df;
  --muted: #98a3b1;
  --faint: #7a8595;
  --gold: #7d97b3;
  --gold-dim: color-mix(in srgb, #7d97b3 22%, transparent);
  --border: rgba(255,255,255,0.10);
  --border-light: rgba(255,255,255,0.06);
}
[data-theme="light"] .footer {
  background: #0a0e13;
}
.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-serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}
.footer-brand .wm-watch { color: var(--gold); font-weight: 300; }
.footer-brand .wm-flow  { color: var(--white); font-weight: 700; }
.footer-brand p {
  font-size: 14px;
  color: #b8b3a8;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  color: #efe9dc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #cdd5df;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #7d97b3; }
.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-size: 13px;
  color: #9a958a;
}
.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: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: var(--muted);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ========== FORM INPUTS ========== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 44px;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-input::placeholder { color: var(--faint); }
.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='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card-body { padding: 24px; }

/* ========== DEMO FRAME (mock browser window) ========== */
.demo-frame {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}
.demo-frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--faint);
}
.demo-frame-dot:nth-child(1) { background: #ef5350; opacity: 0.7; }
.demo-frame-dot:nth-child(2) { background: #ffb74d; opacity: 0.7; }
.demo-frame-dot:nth-child(3) { background: #4caf50; opacity: 0.7; }
.demo-frame-url {
  flex: 1;
  margin-left: 12px;
  padding: 6px 12px;
  background: var(--bg-base);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
}

/* ========== SKELETON LOADING ========== */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
  border-radius: var(--radius);
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========== TAGS & BADGES ========== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  background: var(--gold-dim);
  color: var(--gold);
}

/* ========== FOCUS & SELECTION ========== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
::selection {
  background: var(--gold-dim);
  color: var(--gold);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate], [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ========== SCROLL REVEAL ANIMATIONS — Standard: [data-animate] + .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; }

/* ========== CONVERSION UTILITY CLASSES ========== */

/* Social proof bar — use only with real, verifiable data */
.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.social-proof-bar strong {
  color: var(--white);
  font-weight: 600;
}
.social-proof-bar .gold-text {
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Hero CTAs */
.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(--gold-dim);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

/* ========== SAFE AREA ========== */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ============================================================
   RESPONSIVE
   Breakpoints: 375px - 428px - 768px - 1024px - 1280px - 1536px
   ============================================================ */

/* --- <=1280px: Large desktop --- */
@media (max-width: 1280px) {
  .container { max-width: 1080px; }
  .container-wide { max-width: 1200px; }
}

/* --- <=1024px: Tablet landscape --- */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 20px; }
  .container-wide { padding: 0 20px; }
  .section-header { margin-bottom: 48px; }
}

/* --- <=768px: Tablet portrait / Mobile --- */
@media (max-width: 768px) {
  :root { --section-pad: 60px; --nav-h: 56px; }
  .nav { padding: 0 14px; height: 56px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  /* Logo: smaller so it doesn't visually dominate; explicit left alignment */
  .nav-wordmark { font-size: 20px; letter-spacing: 3px; margin-right: auto; }
  .nav > .container,
  .nav-inner { justify-content: flex-start; }
  .nav-right { margin-left: auto; }
  .section-header h2 { font-size: 28px; }
  .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; }
  .footer-brand p { max-width: none; }
  .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; }
  .nav .nav-cta { display: none; }
  .nav .theme-toggle { display: none; }
  .nav-right { gap: 8px; }
}

/* --- <=428px: Large phone --- */
@media (max-width: 428px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 13px; }
  .footer .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer { padding: 40px 0 28px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 11px; 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: 20px 20px 20px; gap: 22px; }
  .mobile-menu-footer { padding: 10px 20px; }
  .mm-title { font-size: 26px; }
  .mm-item-label { font-size: 28px; }
  .mm-top-cta { padding: 9px 16px; font-size: 13px; }
  .social-proof-bar { flex-direction: column; gap: 8px; text-align: center; }
  .trust-badge { font-size: 12px; padding: 6px 12px; }
}

/* --- <=400px: Small phone footer --- */
@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; }
}

/* --- <=375px: Small phone --- */
@media (max-width: 375px) {
  :root { --section-pad: 40px; }
  .section-header { margin-bottom: 32px; }
  .card-body { padding: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-social { align-self: flex-start; }
  .footer-copy { font-size: 12px; }
  .footer-social a { width: 34px; height: 34px; }
}

/* --- >=1536px: Ultra-wide --- */
@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; }
}

/* ========== ENHANCED MOBILE RESPONSIVE ========== */

/* ESC close handled in JS — CSS: smooth slide-in transform */
.mobile-menu {
  transform: translateY(-12px);
}
.mobile-menu.open {
  transform: translateY(0);
}

/* Staggered link animations (legacy + new rich list) */
.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; }
/* Footer fade-in */
.mobile-menu-footer {
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
}
/* 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);
}

/* ========== FOOTER MOBILE — 768px ========== */
@media (max-width: 768px) {
  .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-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ========== FOOTER MOBILE — 480px ========== */
@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;
  }
}

/* ========== SMALL PHONE (<=375px) ========== */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }
  .container-wide {
    padding: 0 12px;
  }
  .nav-wordmark {
    font-size: 18px;
    letter-spacing: 2.5px;
  }
  .btn {
    width: 100%;
    min-height: 48px;
  }
  .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: 22px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* ========== ULTRA-SMALL PHONE (<=320px) ========== */
@media (max-width: 320px) {
  .container {
    padding: 0 8px;
  }
  .container-wide {
    padding: 0 8px;
  }
  .nav {
    padding: 0 8px;
  }
  .nav-wordmark {
    font-size: 20px;
    letter-spacing: 3px;
  }
  .section-title {
    font-size: 20px;
  }
  .section-header h2 {
    font-size: 20px;
  }
  .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: 11px;
  }
  .footer-col a {
    font-size: 13px;
  }
}

/* ========== LANDSCAPE PHONE ========== */
@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;
  }
}

/* ========== TABLET LANDSCAPE (768px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* ========== TOUCH DEVICE ENHANCEMENTS ========== */
@media (hover: none) {
  .btn-gold:hover {
    transform: none;
    box-shadow: none;
  }
  .btn-ghost:hover {
    border-color: var(--border-light);
    color: var(--off-white);
    background: transparent;
  }
  .btn-outline:hover {
    background: transparent;
    color: var(--gold);
  }
  .nav-cta:hover {
    transform: none;
  }
  .card:hover {
    border-color: var(--border);
    box-shadow: none;
  }
  .btn-gold:active {
    background: var(--gold-bright);
    transform: scale(0.97);
  }
  .btn-ghost:active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
  }
  .btn-outline:active {
    background: var(--gold);
    color: #0a0a0a;
  }
  .card:active {
    border-color: rgba(201,168,76,0.25);
  }
  a, button, .btn, .nav-cta, .nav-hamburger, .footer-social a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========== REDUCED MOTION ========== */
@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;
  }
}

/* ========== PRINT STYLES ========== */
@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; }
}

/* ========== HIGH DPI / RETINA ========== */
@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;
  }
}

/* Skip-to-content (a11y) */
.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-base, #0f141b);
  color: var(--gold, #7d97b3);
  border: 2px solid var(--gold, #7d97b3);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
}

/* =====================================================================
   CONTRAST SYSTEM — start   (added 2026-04-21; mirrors app-side block)

   REVERT: delete everything between the start/end markers here AND in
   public/index.html, or run `git reset --hard pre-contrast-system`.
   ===================================================================== */

/* Light-theme token tune — darken muted/faint on the parchment variant
   so form labels, placeholders, and long-form body copy read cleanly. */
[data-theme="light"] {
  --muted: #5c564c;  /* was #7a7468 */
  --faint: #7a7468;  /* was #a09888 — now old --muted */
}

/* Form inputs across marketing (signup / contact / demo) — ensure the
   field background contrasts with its surrounding card / section. */
.form-input,
.form-select,
.form-textarea,
input.form-control,
textarea.form-control,
select.form-control {
  background: var(--bg-void) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18) !important;
  outline: none !important;
}
.form-input::placeholder,
.form-textarea::placeholder,
input.form-control::placeholder,
textarea.form-control::placeholder { color: var(--faint) !important; }

/* Labels & form hints — readable floor (--off-white), no ghost text. */
.form-label,
.form-group label,
label.form-label,
.form-hint,
.form-helper,
.field-hint {
  color: var(--off-white) !important;
}

/* Plan card per-month / feature-row sub-copy — readable floor. */
.plan-price-period,
.plan-feature-sub,
.pricing-sub {
  color: var(--off-white) !important;
}

/* =====================================================================
   CONTRAST SYSTEM — end
   ===================================================================== */


/* =====================================================================
   COLOR SYSTEM — start (2026-04-23)
   Site-wide colour pass so marketing isn't all gold-on-cream. Uses the
   app's existing semantic tokens (--green, --amber, --red, --blue +
   brand hex values for platform chips). Scoped with :where() so it never
   raises specificity against per-page overrides.
   ===================================================================== */

/* Platform brand palette shared across marketing */
:root {
  --brand-whatsapp: #25d366;
  --brand-telegram: #229ed9;
  --brand-instagram: #e4405f;
  --brand-instagram-2: #c13584;
  --brand-shopify: #7ab55c;
  --brand-stripe: #635bff;
  --brand-email: #d08b5b;
}

/* Hero-style gradient accents — usable anywhere */
:where(.color-pop-green)  { color: var(--green); }
:where(.color-pop-blue)   { color: var(--brand-telegram); }
:where(.color-pop-pink)   { color: var(--brand-instagram); }
:where(.color-pop-violet) { color: var(--brand-stripe); }

/* Pricing plan cards — inject subtle ecosystem colour so Starter / Pro /
   Team feel distinct rather than three identical cream boxes. */
:where(.plan):nth-child(1),
:where(.pricing-card):nth-child(1) {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand-telegram) 6%, var(--bg-panel)),
    var(--bg-panel)) !important;
}
:where(.plan):nth-child(1):hover,
:where(.pricing-card):nth-child(1):hover {
  border-color: color-mix(in srgb, var(--brand-telegram) 60%, var(--border));
  box-shadow: 0 24px 52px color-mix(in srgb, var(--brand-telegram) 14%, transparent);
}
:where(.plan):nth-child(3),
:where(.pricing-card):nth-child(3) {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--green) 6%, var(--bg-panel)),
    var(--bg-panel)) !important;
}
:where(.plan):nth-child(3):hover,
:where(.pricing-card):nth-child(3):hover {
  border-color: color-mix(in srgb, var(--green) 50%, var(--border));
  box-shadow: 0 24px 52px color-mix(in srgb, var(--green) 14%, transparent);
}

/* Contact / demo / signup page backgrounds — add quiet colour washes */
:where(body:has(.contact-page), body:has(.demo-page), body:has(.signup-page)) {
  background:
    radial-gradient(ellipse 800px 500px at 10% 8%,  rgba(123,164,201,0.10), transparent 70%),
    radial-gradient(ellipse 700px 420px at 92% 22%, rgba(201,168,76,0.10),  transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 92%, rgba(74,168,126,0.08),  transparent 72%),
    var(--bg-void) !important;
}

/* Feature tile / bento accent bars — make each card feel alive */
:where(.ft-tile):nth-child(5n+1)::before { background: var(--brand-telegram); }
:where(.ft-tile):nth-child(5n+2)::before { background: var(--gold); }
:where(.ft-tile):nth-child(5n+3)::before { background: var(--green); }
:where(.ft-tile):nth-child(5n+4)::before { background: var(--brand-instagram); }
:where(.ft-tile):nth-child(5n+5)::before { background: var(--amber); }

/* Footer divider glow */
:where(.footer) {
  border-top-color: color-mix(in srgb, var(--gold) 30%, var(--border));
}

/* Dark theme: increase colour saturation a touch so dim variants pop */
:where([data-theme="dark"]) {
  --brand-whatsapp: #3ddb78;
  --brand-telegram: #33b0e6;
  --brand-instagram: #ee4d6c;
}

/* =====================================================================
   COLOR SYSTEM — end
   ===================================================================== */

/* =====================================================================
   V3 — Apple-style mobile-first redesign (2026-04-27)
   Additive layer. Prefix: .v3-*
   ===================================================================== */

/* ---------- V3 Tokens ---------- */
:root {
  --v3-radius-sm: 10px;
  --v3-radius: 18px;
  --v3-radius-lg: 28px;
  --v3-shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.08);
  --v3-shadow-frame: 0 4px 12px rgba(0,0,0,0.10), 0 24px 60px rgba(0,0,0,0.18);
  --v3-shadow-frame-strong: 0 6px 18px rgba(0,0,0,0.16), 0 36px 90px rgba(0,0,0,0.28);
  --v3-section-pad-y: clamp(72px, 11vw, 140px);
  --v3-container: 1180px;
  --v3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="light"] {
  --v3-shadow-soft: 0 1px 2px rgba(70,55,40,0.05), 0 12px 36px rgba(70,55,40,0.10);
  --v3-shadow-frame: 0 4px 14px rgba(70,55,40,0.10), 0 28px 70px rgba(70,55,40,0.16);
  --v3-shadow-frame-strong: 0 6px 20px rgba(70,55,40,0.14), 0 40px 100px rgba(70,55,40,0.22);
}

/* ---------- V3 Reveal animation ---------- */
.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 ---------- */
.v3-section {
  position: relative;
  padding: var(--v3-section-pad-y) 24px;
  background: var(--bg-void);
  overflow: hidden;
}
.v3-section + .v3-section { padding-top: 0; }
.v3-section.alt { background: var(--bg-base); }
.v3-container { max-width: var(--v3-container); margin: 0 auto; }

/* ---------- V3 Eyebrow / headings ---------- */
.v3-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.v3-display {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  margin: 0 0 18px;
}
.v3-display i { font-style: normal; color: var(--gold); font-weight: 700; }
.v3-h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 18px;
}
.v3-h2 i { font-style: normal; color: var(--gold); font-weight: 600; }
.v3-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--off-white);
  margin: 0 0 28px;
  max-width: 640px;
}
.v3-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* ---------- V3 Buttons ---------- */
.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s var(--v3-ease), background 0.2s var(--v3-ease);
  min-height: 48px;
  cursor: pointer;
  border: none;
}
.v3-btn-primary {
  background: var(--gold);
  color: var(--bg-void);
}
.v3-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(201,168,76,0.32); }
.v3-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.v3-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.v3-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- V3 iPhone Device Frame (realistic iPhone 15 Pro) ---------- */
.v3-phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 54px;
  /* Brushed titanium frame */
  background:
    linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 22%, #0d0d0e 50%, #1c1c1e 78%, #2c2c2e 100%);
  padding: 11px;
  box-shadow:
    /* Outer drop shadow */
    var(--v3-shadow-frame),
    /* Inner specular highlight on 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: #050507;
  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 (volume + mute on left, power on right) using a single wrapper pseudo */
.v3-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  /* Volume up / volume down / mute switch on left, power button on right */
  background:
    /* Mute switch */
    linear-gradient(#3a3a3c, #1c1c1e) left 0 top 14% / 3px 26px no-repeat,
    /* Volume up */
    linear-gradient(#3a3a3c, #1c1c1e) left 0 top 22% / 3px 50px no-repeat,
    /* Volume down */
    linear-gradient(#3a3a3c, #1c1c1e) left 0 top 31% / 3px 50px no-repeat,
    /* Power button */
    linear-gradient(#3a3a3c, #1c1c1e) right 0 top 25% / 3px 78px no-repeat;
  border-radius: inherit;
  /* Pull buttons outside the frame edge */
  margin: 0 -1.5px;
}
.v3-phone-screen {
  position: relative;
  width: 100%;
  border-radius: 42px;
  overflow: hidden;
  background-color: var(--bg-void);
  background-size: cover;
  background-position: center;
  aspect-ratio: 9 / 19.5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  /* Skeleton shimmer underneath the LQIP — visible if the LQIP itself fails. */
  isolation: isolate;
}
.v3-phone-screen::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06) 0 8%, transparent 8% 100%),
    linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 70%) 0 0 / 200% 100%,
    linear-gradient(180deg, #efece6 0%, #e6e2da 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 (landing) ---------- */
.v3-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 24px 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 800px 400px at 18% 10%, rgba(123,164,201,0.10), transparent 70%),
    radial-gradient(ellipse 720px 460px at 82% 30%, rgba(201,168,76,0.10), transparent 72%),
    radial-gradient(ellipse 600px 420px at 50% 92%, rgba(196,134,138,0.07), transparent 72%),
    var(--bg-void);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.v3-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding-top: clamp(40px, 8vw, 80px);
}
.v3-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(46px, 9vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 22px;
}
.v3-hero h1 i { font-style: normal; color: var(--gold); font-weight: 700; }
.v3-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
  color: var(--off-white);
  max-width: 620px;
  margin: 0 auto 36px;
}
.v3-hero-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--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-mono);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.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: 10px 0 10px 28px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.v3-show-bullets li:last-child { border-bottom: 0; }
.v3-show-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
}

@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 ----------
   6 items — only clean layouts are 3×2 / 2×3 / 1×6, so we lock those in
   rather than letting auto-fit orphan 2 cards on a 4-col row. */
.v3-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 960px) {
  .v3-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .v3-pillars { grid-template-columns: 1fr; }
}
.v3-pillar {
  padding: 28px 24px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--v3-radius);
  transition: transform 0.3s var(--v3-ease), border-color 0.3s var(--v3-ease);
}
.v3-pillar:hover { transform: translateY(-3px); border-color: var(--gold); }
.v3-pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.v3-pillar-icon svg { width: 22px; height: 22px; }
.v3-pillar h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 8px;
}
.v3-pillar p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--off-white);
  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: 999px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--off-white);
}
.v3-chip svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- V3 Closing CTA ---------- */
.v3-close {
  padding: clamp(80px, 12vw, 160px) 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 800px 400px at 50% 50%, rgba(201,168,76,0.10), transparent 70%),
    var(--bg-void);
}
.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:
    radial-gradient(ellipse 700px 360px at 50% 0%, rgba(201,168,76,0.10), transparent 72%),
    var(--bg-void);
}
.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: 999px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.3px;
  color: var(--off-white);
}
.v3-truth-item svg { width: 12px; height: 12px; color: var(--gold); }

/* ---------- 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; }

  /* Smaller bezel on mobile — was way oversized */
  .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(#3a3a3c, #1c1c1e) left 0 top 14% / 2px 18px no-repeat,
      linear-gradient(#3a3a3c, #1c1c1e) left 0 top 22% / 2px 36px no-repeat,
      linear-gradient(#3a3a3c, #1c1c1e) left 0 top 31% / 2px 36px no-repeat,
      linear-gradient(#3a3a3c, #1c1c1e) 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 readability bumps (don't make text so small) ---------- */
.v3-show-bullets li { font-size: 17px; line-height: 1.55; padding-top: 12px; padding-bottom: 12px; }
.v3-pillar p { font-size: 16px; line-height: 1.6; }
.v3-hero-meta { font-size: 12.5px; }
.v5-kicker { font-size: 13px; }

/* ---------- WF Dynamic scroll animations (varied per section) ----------
   Each .v3-show-media gets a different entrance based on its index/orientation.
   Each .v3-show-copy and .v3-pillar enter from the opposite side. */
.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 — gentle, only when in view (after .visible lands) */
@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 from below with slight rotate for life */
.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, not checkmarks) ---------- */
.v3-chip-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  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(--gold); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.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; }
/* Brand colors */
.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: #000; color: #fff; }
.v3-chip-brand[data-brand="ebay"]      .v3-chip-logo { background: #fff; color: #000; border: 1px solid var(--border); }

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

/* =====================================================================
   ===== V5 MOTION + DISPLAY — start =====
   Layered on top of V3. Adds richer motion, bolder display type,
   and a contrast accent palette. All motion is scoped behind
   prefers-reduced-motion: no-preference and pointer-fine where relevant.
   ===================================================================== */

/* Legacy V5 accent tokens — originally a teal/mint accent that fought the
   titanium-blue brand on Pricing / Contact / marquee dots. Re-pointed at the
   --gold family so every page reads as the same brand. Do not reintroduce
   #4ec9b0 / #1f3b3a here — that's what made each page look like a different
   website. */
:root {
  --accent-deep: var(--gold);
  --accent-warm: var(--gold-bright);
}
[data-theme="dark"] {
  --accent-deep: var(--gold);
}

/* ---------- V5 Display Type — Helvetica, weight-driven hierarchy ---------- */
.v5-display {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(44px, 8.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}
.v5-display em,
.v5-display i {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}
.v5-display-line2 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(32px, 5.5vw, 64px);
  color: var(--muted);
  display: block;
}
.v5-subhead {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  color: var(--off-white);
  max-width: 56ch;
  line-height: 1.5;
}
/* v5-kicker — eyebrow above hero h1. Unified with .v3-eyebrow / .letter-eyebrow
   on titanium blue (--gold). Previously rendered green via --accent-deep which
   made Pricing/Contact look like a different brand than the rest of the site. */
.v5-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- 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(139,115,85,0.35);
  }
}

/* ---------- 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;
  }
}

/* ---------- V5 Marquee ---------- */
.v5-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
  -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-serif);
  font-size: clamp(20px, 3vw, 32px);
  color: var(--off-white);
  letter-spacing: 0.01em;
}
.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: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
  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 Gradient Mesh (hero only) ---------- */
.v5-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 65% 55% at 18% 22%, rgba(91,122,153,0.38), transparent 62%),
    radial-gradient(ellipse 55% 50% at 82% 78%, rgba(168,192,214,0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(74,107,138,0.22), transparent 70%);
  background-size: 180% 180%, 180% 180%, 200% 160%;
  background-position: 0% 0%, 100% 100%, 50% 100%;
  filter: blur(2px);
}
[data-theme="light"] .v5-mesh {
  opacity: 0.45;
  background:
    radial-gradient(ellipse 65% 55% at 18% 22%, rgba(74,107,138,0.22), transparent 62%),
    radial-gradient(ellipse 55% 50% at 82% 78%, rgba(91,122,153,0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(125,151,179,0.20), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .v5-mesh {
    animation: v5-mesh-shift 22s ease-in-out infinite alternate;
  }
}
@keyframes v5-mesh-shift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 100%; }
  100% { background-position: 60% 30%, 30% 60%, 50% 60%; }
}

/* Make sure hero content stacks above the mesh */
.v3-hero { position: relative; }
.v3-hero > *:not(.v5-mesh) { position: relative; z-index: 1; }

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

/* 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 MOTION + DISPLAY — end =====
   ===================================================================== */

/* =====================================================================
   ===== I18N + CURRENCY SWITCHERS — start =====
   Language + currency controls injected by /marketing/i18n.js and
   /marketing/currency.js. Placed after the CONTRAST SYSTEM block;
   these rules are structural/directional and do not override it.
   ===================================================================== */
.wf-locale-ctl {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.wf-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border, rgba(255,255,255,0.14));
  border-radius: 999px; /* pill: icon + text label */
  background: transparent;
  color: var(--text-secondary, var(--muted, inherit));
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.wf-locale-btn:hover {
  color: var(--text-primary, var(--white, inherit));
  border-color: var(--gold, #c9a96e);
}
.wf-locale-btn svg { width: 15px; height: 15px; flex: 0 0 15px; }
.wf-locale-cur,
.wf-locale-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wf-locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-card, var(--bg-panel, #14130f));
  border: 1px solid var(--border, rgba(255,255,255,0.14));
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 1100;
}
.wf-locale-ctl.open .wf-locale-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wf-locale-menu li { margin: 0; }
.wf-locale-menu a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-secondary, var(--muted, inherit));
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.wf-locale-menu a:hover {
  background: var(--bg-hover, rgba(255,255,255,0.06));
  color: var(--text-primary, var(--white, inherit));
}
.wf-locale-menu a.is-current {
  color: var(--gold, #c9a96e);
  font-weight: 600;
}
.wf-currency-ctl .wf-locale-menu { min-width: 96px; }
.wf-currency-ctl .wf-locale-menu a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }

/* footer placement: align with footer-bottom row (lang + currency side by side) */
.wf-footer-locale {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.wf-footer-locale .wf-locale-menu { top: auto; bottom: calc(100% + 8px); }

/* pricing page: inline currency control beside the billing toggle */
.wf-currency-inline { margin-left: 14px; }
.wf-currency-inline .wf-locale-menu { right: auto; left: 0; }

/* "billed in USD" reference note */
.wf-currency-note {
  margin: 14px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-secondary, var(--muted, inherit));
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .wf-locale-btn { padding: 5px 10px; }
  .wf-locale-compact .wf-locale-label { display: none; }
  .wf-currency-inline { margin-left: 8px; }
}

/* ---------- RTL sanity (Arabic) ---------- */
[dir="rtl"] .wf-locale-menu { right: auto; left: 0; }
[dir="rtl"] .wf-currency-inline { margin-left: 0; margin-right: 14px; }
[dir="rtl"] .wf-currency-inline .wf-locale-menu { left: auto; right: 0; }
[dir="rtl"] .comparison-table th:first-child,
[dir="rtl"] .comparison-table td:first-child { text-align: right; }
[dir="rtl"] .footer-bottom,
[dir="rtl"] .nav-links,
[dir="rtl"] .footer-grid { text-align: right; }
[dir="rtl"] .plan-features li svg { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .feature-tooltip .tooltip-text { text-align: right; }
/* =====================================================================
   ===== I18N + CURRENCY SWITCHERS — end =====
   ===== REFERRAL / AFFILIATE UI — start =====
   Banner (pricing top), per-plan discounted price chip, manual entry,
   signup pre-fill badge + live validation status. Uses existing tokens.
   ===================================================================== */

/* Top-of-page sticky banner under the fixed nav */
.wf-ref-banner {
  position: sticky;
  top: var(--nav-h, 64px);
  z-index: 50;
  background: var(--gold-dim, rgba(201,169,110,0.18));
  border-bottom: 1px solid rgba(201,169,110,0.32);
  color: var(--off-white, #e8e2d4);
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 13.5px;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="light"] .wf-ref-banner {
  background: rgba(139, 115, 85, 0.10);
  border-bottom-color: rgba(139, 115, 85, 0.28);
  color: #2a2520;
}
.wf-ref-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wf-ref-banner-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--gold, #c9a96e);
}
.wf-ref-banner-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.wf-ref-banner-text strong {
  color: var(--gold, #c9a96e);
  font-weight: 600;
  margin-right: 6px;
}
[data-theme="light"] .wf-ref-banner-text strong { color: #8b7355; }
#wf-ref-banner-code {
  font-family: var(--font-mono, "DM Mono", monospace);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wf-ref-banner-dismiss {
  width: 28px; height: 28px;
  min-width: 28px; min-height: 28px;
  max-width: 28px; max-height: 28px;
  flex: 0 0 28px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.35);
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.wf-ref-banner-dismiss:hover {
  background: rgba(201,169,110,0.18);
  border-color: var(--gold, #c9a96e);
}
@media (max-width: 600px) {
  .wf-ref-banner-inner { padding: 9px 14px; gap: 10px; font-size: 12.5px; }
  .wf-ref-banner-text strong { display: block; margin: 0 0 1px; }
}

/* Per-plan discounted price chip (struck-through original + new price) */
.wf-ref-price {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono, "DM Mono", monospace);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--off-white, #e8e2d4);
}
.wf-ref-price-strike {
  text-decoration: line-through;
  color: var(--faint, rgba(255,255,255,0.45));
  margin-right: 6px;
}
.wf-ref-price-now {
  color: var(--green, #6ab98a);
  font-weight: 600;
}
[data-theme="light"] .wf-ref-price-now { color: #2f7d4f; }

/* Manual referral code entry block (bottom of pricing grid section) */
.wf-ref-manual {
  max-width: 520px;
  margin: 28px auto 0;
  text-align: center;
}
.wf-ref-manual-toggle {
  background: transparent;
  border: 0;
  color: var(--gold, #c9a96e);
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 6px 8px;
}
.wf-ref-manual-toggle:hover { color: var(--gold-bright, #d4b57a); }
.wf-ref-manual-form {
  margin-top: 12px;
  text-align: left;
  background: var(--bg-panel, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 10px;
  padding: 14px;
}
.wf-ref-manual-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white, #e8e2d4);
  margin-bottom: 8px;
}
.wf-ref-manual-row {
  display: flex;
  gap: 8px;
}
.wf-ref-manual-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  background: var(--bg-void, #0b0a0c);
  border: 1.5px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 8px;
  color: var(--white, #f5f2ed);
  font-family: var(--font-mono, "DM Mono", monospace);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.wf-ref-manual-input:focus {
  outline: none;
  border-color: var(--gold, #c9a96e);
  box-shadow: 0 0 0 3px rgba(139,115,85,0.12);
}
.wf-ref-manual-apply {
  height: 40px;
  padding: 0 18px;
  background: var(--gold, #c9a96e);
  color: #1a1814;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease;
}
.wf-ref-manual-apply:hover { background: var(--gold-bright, #d4b57a); }
.wf-ref-manual-apply:disabled { opacity: 0.6; cursor: wait; }
.wf-ref-manual-status {
  margin-top: 8px;
  font-size: 12.5px;
  min-height: 1.2em;
  color: var(--off-white, #e8e2d4);
}
.wf-ref-manual-status.ok { color: var(--green, #6ab98a); }
[data-theme="light"] .wf-ref-manual-status.ok { color: #2f7d4f; }
.wf-ref-manual-status.err { color: var(--red, #d97777); }
.wf-ref-manual-status.busy { color: var(--off-white, #e8e2d4); opacity: 0.85; }

/* Signup page: pre-fill badge above the form + live validation status */
/* Author rule below sets display:flex, which would override the UA
   [hidden]{display:none}. Keep the hidden attribute authoritative so the
   badge only renders after JS confirms a real referral code. */
.wf-ref-signup-badge[hidden] { display: none !important; }
.wf-ref-signup-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--gold-dim, rgba(201,169,110,0.16));
  border: 1px solid rgba(201,169,110,0.32);
  border-radius: 10px;
  color: var(--off-white, #e8e2d4);
  font-size: 12.5px;
  line-height: 1.4;
}
[data-theme="light"] .wf-ref-signup-badge {
  background: rgba(139,115,85,0.10);
  border-color: rgba(139,115,85,0.28);
  color: #2a2520;
}
.wf-ref-signup-badge-icon {
  width: 16px; height: 16px;
  flex: 0 0 16px;
  color: var(--gold, #c9a96e);
}
.wf-ref-signup-badge-text { flex: 1; min-width: 0; }
.wf-ref-signup-badge-text strong {
  color: var(--gold, #c9a96e);
  font-weight: 600;
  font-family: var(--font-mono, "DM Mono", monospace);
  letter-spacing: 0.06em;
}
[data-theme="light"] .wf-ref-signup-badge-text strong { color: #8b7355; }
.wf-ref-signup-badge-change {
  background: transparent;
  border: 1px solid rgba(201,169,110,0.35);
  color: inherit;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  cursor: pointer;
  white-space: nowrap;
}
.wf-ref-signup-badge-change:hover { border-color: var(--gold, #c9a96e); color: var(--gold, #c9a96e); }

.wf-ref-input-status {
  margin-top: 6px;
  font-size: 12px;
  min-height: 1.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--off-white, #e8e2d4);
}
.wf-ref-input-status.ok { color: var(--green, #6ab98a); }
[data-theme="light"] .wf-ref-input-status.ok { color: #2f7d4f; }
.wf-ref-input-status.err { color: var(--red, #d97777); }
.wf-ref-input-status .wf-ref-spinner {
  width: 12px; height: 12px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: wfRefSpin 0.7s linear infinite;
}
@keyframes wfRefSpin { to { transform: rotate(360deg); } }

/* =====================================================================
   ===== REFERRAL / AFFILIATE UI — end =====
   ===================================================================== */

/* =====================================================================
   ===== HIDE SOCIAL ICONS (site-wide) — start =====
   Socials aren't actively maintained — hide footer + any other social
   icon rows everywhere. Single-rule kill-switch; remove this block to
   bring them back.
   ===================================================================== */
.footer-social,
.footer__social,
.footer-socials,
.social-links,
.social-icons,
.footer .socials {
  display: none !important;
}
/* =====================================================================
   ===== HIDE SOCIAL ICONS (site-wide) — end =====
   ===================================================================== */


/* =====================================================================
   ===== TYPOGRAPHY — ABSANS (site-wide single typeface) =====
   The whole marketing site renders in Absans (Collletttivo, OFL).
   Single weight file (Regular/400); browsers synthesize bold + italic
   via `font-synthesis`. To replace the typeface site-wide: swap the
   @font-face src + the three :root --font-* tokens above. The override
   block below forces every hardcoded font literal (Cormorant, DM Sans,
   DM Mono, -apple-system, …) onto the chosen family.
   ===================================================================== */
@font-face {
  font-family: 'Absans';
  src: url('/marketing/fonts/absans/Absans-Regular.woff2') format('woff2'),
       url('/marketing/fonts/absans/Absans-Regular.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Allow synthesized bold + italic from the single Absans face */
:root,
html,
body {
  font-synthesis: weight style small-caps;
  -webkit-font-synthesis: weight style small-caps;
}

/* Global override — beat every hardcoded font literal across landing.css,
   remodel-2/*.css, and the inline blocks in each page. */
html body,
html body *:not(code):not(pre):not(kbd):not(samp):not([class*="-mono"]):not([class*="kpi-value"]):not([class*="kpi-delta"]) {
  font-family: var(--font-body) !important;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .v5-display,
html body .v5-display-line2,
html body .v5-display em,
html body .v5-display i,
html body .font-serif,
html body [class*="hero-title"],
html body [class*="section-title"],
html body [class*="display"] {
  font-family: var(--font-serif) !important;
}
html body code,
html body pre,
html body kbd,
html body samp,
html body .font-mono,
html body [class*="-mono"],
html body [class*="kpi-value"],
html body [class*="kpi-delta"] {
  font-family: var(--font-mono) !important;
}
/* =====================================================================
   ===== TYPOGRAPHY — ABSANS — end =====
   ===================================================================== */
