/* =========================================================
   LongLinks — Global C2C FX Platform
   Stylesheet
   ========================================================= */

/* ---------- TOKENS ---------- */
:root, [data-theme="dark"] {
  /* surfaces */
  --bg:             #050816;
  --bg-2:           #080c24;
  --surface:        #0d1230;
  --surface-2:      #161c44;
  --surface-glass:  rgba(13,18,48,.4);
  --surface-info:   rgba(13,18,48,.3);
  --surface-strong: rgba(5,8,22,.85);
  --surface-form:   rgba(5,8,22,.92);
  --surface-ticker: rgba(5,8,22,.5);
  --surface-step:   rgba(13,18,48,.9);
  --surface-step-ring: #050816;
  --surface-feature-hover: rgba(13,18,48,.65);
  --surface-pillar: linear-gradient(135deg, rgba(13,18,48,.6), rgba(8,12,36,.4));
  --surface-stats:  linear-gradient(135deg, rgba(13,18,48,.5), rgba(8,12,36,.3));
  --dark-section-bg: rgba(13,18,48,.5);
  --footer-bg:      rgba(8,12,36,.6);
  --nav-bg:         rgba(5,8,22,.7);
  --field-bg:       rgba(255,255,255,.04);
  --field-focus-bg: rgba(0,212,255,.04);
  --field-focus-shadow: rgba(0,212,255,.10);
  --select-arrow:   "%23ffffff80";

  /* lines */
  --line:           rgba(255,255,255,.08);
  --line-2:         rgba(255,255,255,.14);

  /* foreground */
  --fg:             #ffffff;
  --fg-1:           rgba(255,255,255,.78);
  --fg-2:           rgba(255,255,255,.55);
  --fg-3:           rgba(255,255,255,.35);

  /* brand colours */
  --primary:        #00d4ff;
  --violet:         #7c3aed;
  --gold:           #f5c542;

  --grad:           linear-gradient(135deg, #00d4ff 0%, #7c3aed 55%, #f5c542 100%);
  --grad-soft:      linear-gradient(135deg, rgba(0,212,255,.18) 0%, rgba(124,58,237,.18) 55%, rgba(245,197,66,.18) 100%);
  --grad-border:    linear-gradient(135deg, rgba(0,212,255,.18), rgba(124,58,237,.18) 50%, rgba(245,197,66,.18));
  --grad-trust:     linear-gradient(135deg, rgba(0,212,255,.15), rgba(124,58,237,.15) 50%, rgba(245,197,66,.15));

  /* gradient text accent — pastel for dark bg */
  --grad-accent:    linear-gradient(110deg, #b6ecff 0%, #00d4ff 30%, #9b6dff 60%, #ffd478 95%);
  --grad-accent-ll: linear-gradient(110deg, #b6ecff 0%, #00d4ff 30%, #9b6dff 60%, #ffd478 95%);

  /* hero glow */
  --hero-glow-1:    rgba(0,212,255,.20);
  --hero-glow-2:    rgba(124,58,237,.18);
  --hero-glow-3:    rgba(245,197,66,.12);

  /* body bg radial paint */
  --bg-paint-1:     rgba(0,212,255,.08);
  --bg-paint-2:     rgba(124,58,237,.10);
  --bg-paint-3:     rgba(245,197,66,.05);
  --grid-line:      rgba(255,255,255,.012);

  /* primary button — light pill on dark theme */
  --btn-primary-bg:        linear-gradient(135deg, #fff 0%, #c9f0ff 100%);
  --btn-primary-bg-hover:  linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
  --btn-primary-fg:        #050816;
  --btn-primary-border:    rgba(255,255,255,.4);
  --btn-primary-shadow:    0 10px 30px -8px rgba(0,212,255,.4);
  --btn-primary-shadow-hover: 0 18px 40px -10px rgba(0,212,255,.6);
  --btn-ghost-bg:          rgba(255,255,255,.04);
  --btn-ghost-bg-hover:    rgba(255,255,255,.08);
  --btn-ghost-border-hover: rgba(255,255,255,.3);

  /* selection */
  --select-bg:      rgba(0,212,255,.3);

  /* cursor spotlight (only used in light theme) */
  --spot-1:         rgba(24,88,245,0.10);
  --spot-blend:     screen;

  /* shape & shadow */
  --radius:         18px;
  --radius-sm:      12px;
  --shadow-lg:      0 30px 80px -20px rgba(0,212,255,.25), 0 10px 40px -10px rgba(124,58,237,.20);
  --shadow-md:      0 20px 50px -15px rgba(5,8,22,.6);

  --serif:          'Playfair Display', Georgia, serif;
  --sans:           'Inter', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:           'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max:            1240px;

  color-scheme: dark;
}

/* ---------- LIGHT THEME ----------
   信任 · 安全 · 专业 · 理性 · 创新 · 未来感
   off-white surface · deep navy text · electric blue + violet · sparing amber
   ----------------------------------------------------------- */
[data-theme="light"] {
  --bg:             #f4f6fb;
  --bg-2:           #ffffff;
  --surface:        #ffffff;
  --surface-2:      #eef1f8;
  --surface-glass:  rgba(255,255,255,.72);
  --surface-info:   rgba(255,255,255,.62);
  --surface-strong: #ffffff;
  --surface-form:   #ffffff;
  --surface-ticker: rgba(255,255,255,.65);
  --surface-step:   #ffffff;
  --surface-step-ring: #f4f6fb;
  --surface-feature-hover: #ffffff;
  --surface-pillar: linear-gradient(135deg, rgba(255,255,255,.95), rgba(245,247,252,.85));
  --surface-stats:  linear-gradient(135deg, rgba(255,255,255,.95), rgba(238,241,248,.7));
  --dark-section-bg: rgba(238,241,248,.9);
  --footer-bg:      rgba(238,241,248,.7);
  --nav-bg:         rgba(255,255,255,.78);
  --field-bg:       rgba(8,17,53,.025);
  --field-focus-bg: rgba(24,88,245,.045);
  --field-focus-shadow: rgba(24,88,245,.14);
  --select-arrow:   "%230a14448a";

  --line:           rgba(8,17,53,.08);
  --line-2:         rgba(8,17,53,.14);

  --fg:             #0a1444;
  --fg-1:           rgba(10,20,68,.74);
  --fg-2:           rgba(10,20,68,.50);
  --fg-3:           rgba(10,20,68,.30);

  --primary:        #1858f5;
  --violet:         #6e3ff5;
  --gold:           #b88412;

  --grad:           linear-gradient(135deg, #00b8d9 0%, #6e3ff5 50%, #d4a017 100%);
  --grad-soft:      linear-gradient(135deg, rgba(24,88,245,.10), rgba(110,63,245,.10) 55%, rgba(212,160,23,.10));
  --grad-border:    linear-gradient(135deg, rgba(24,88,245,.30), rgba(110,63,245,.30) 50%, rgba(212,160,23,.30));
  --grad-trust:     linear-gradient(135deg, rgba(24,88,245,.18), rgba(110,63,245,.18) 50%, rgba(212,160,23,.18));

  /* gradient text accent — saturated for light bg */
  --grad-accent:    linear-gradient(110deg, #00b8d9 0%, #1858f5 30%, #6e3ff5 65%, #d4a017 95%);
  --grad-accent-ll: linear-gradient(110deg, #00b8d9 0%, #1858f5 30%, #6e3ff5 65%, #d4a017 95%);

  --hero-glow-1:    rgba(24,88,245,.10);
  --hero-glow-2:    rgba(110,63,245,.07);
  --hero-glow-3:    rgba(212,160,23,.05);

  --bg-paint-1:     rgba(24,88,245,.04);
  --bg-paint-2:     rgba(110,63,245,.03);
  --bg-paint-3:     rgba(212,160,23,.025);
  --grid-line:      rgba(8,17,53,.022);

  --btn-primary-bg:        linear-gradient(135deg, #0a1444 0%, #1858f5 100%);
  --btn-primary-bg-hover:  linear-gradient(135deg, #1858f5 0%, #6e3ff5 100%);
  --btn-primary-fg:        #ffffff;
  --btn-primary-border:    rgba(10,20,68,.10);
  --btn-primary-shadow:    0 14px 30px -10px rgba(24,88,245,.30);
  --btn-primary-shadow-hover: 0 22px 40px -12px rgba(110,63,245,.45);
  --btn-ghost-bg:          rgba(255,255,255,.7);
  --btn-ghost-bg-hover:    #ffffff;
  --btn-ghost-border-hover: rgba(10,20,68,.25);

  --select-bg:      rgba(24,88,245,.25);
  --shadow-lg:      0 28px 60px -18px rgba(24,88,245,.18), 0 8px 24px -8px rgba(110,63,245,.10);
  --shadow-md:      0 16px 40px -16px rgba(8,17,53,.10), 0 4px 16px rgba(8,17,53,.04);

  --spot-1:         rgba(24,88,245,0.12);
  --spot-blend:     multiply;

  color-scheme: light;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .5s ease, color .3s ease;
  background-image:
    radial-gradient(1200px 600px at 10% -10%, var(--bg-paint-1), transparent 60%),
    radial-gradient(1000px 500px at 100% 10%, var(--bg-paint-2), transparent 55%),
    radial-gradient(900px 500px at 50% 100%, var(--bg-paint-3), transparent 60%);
}
body::before {
  content:''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
img, svg { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--select-bg); color: var(--fg); }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

.section { padding: 140px 0; position: relative; }
.section.dark-section { background: linear-gradient(180deg, transparent, var(--dark-section-bg) 25%, var(--dark-section-bg) 75%, transparent); }
.section.dark-section::before, .section.dark-section::after {
  content:''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.section.dark-section::before { top: 0; }
.section.dark-section::after  { bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.two-col.reverse { grid-template-columns: 7fr 5fr; }
.two-col.reverse .col-narrow { order: 2; }
.two-col.reverse .col-wide   { order: 1; }
.sticky-col { position: sticky; top: 120px; }

.section-head { max-width: 880px; margin: 0 auto 80px; }
.section-head.center { text-align: center; }

/* ---------- TYPOGRAPHY ---------- */
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.display, h1, h2, h3, h4, h5 { color: var(--fg); font-weight: 600; letter-spacing: -0.02em; }
.display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  margin: 0 0 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.display.center { text-align: center; }
.display span { display: inline-block; }
.display .ital, .ital {
  font-weight: 700;
  background: var(--grad-accent);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.035em;
  animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.lede { font-size: 18px; line-height: 1.65; color: var(--fg-1); margin: 0 0 18px; max-width: 64ch; }
.lede.muted { color: var(--fg-2); }
.muted { color: var(--fg-2); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-primary {
  color: var(--btn-primary-fg);
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-border);
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-shadow-hover);
  background: var(--btn-primary-bg-hover);
}
.btn-ghost {
  color: var(--fg);
  background: var(--btn-ghost-bg);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--btn-ghost-bg-hover);
  border-color: var(--btn-ghost-border-hover);
  transform: translateY(-2px);
}
.btn .arr { transition: transform .25s ease; }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 28px;
  transition: backdrop-filter .3s, background .3s, border-color .3s, padding .3s;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px 28px;
}
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: inline-flex; }
.brand-mark img { display: block; object-fit: contain; }
.brand-name { font-weight: 700; letter-spacing: -0.005em; font-size: 26px; line-height: 1; }
.brand-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--fg-2); }

.nav-menu { display: flex; gap: 44px; }
.nav-menu a {
  color: var(--fg);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .2s, opacity .2s;
  position: relative;
  opacity: .82;
  white-space: nowrap;
}
.nav-menu a:hover { opacity: 1; }
.nav-menu a::after { height: 2px; bottom: -10px; }
.nav-menu a::after {
  content:''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-menu a:hover { color: var(--fg); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg-1);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--btn-ghost-border-hover); color: var(--fg); }
.lang-toggle .lang-on { color: var(--fg); }
.lang-toggle.zh .lang-on { color: var(--fg-2); }
.lang-toggle.zh .lang-off { color: var(--fg); }
.lang-sep { color: var(--fg-3); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 200px 28px 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
#constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .85;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 20% 30%, var(--hero-glow-1), transparent 70%),
    radial-gradient(closest-side at 80% 70%, var(--hero-glow-2), transparent 70%),
    radial-gradient(closest-side at 50% 100%, var(--hero-glow-3), transparent 70%);
  filter: blur(20px);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 36px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.4);} }
.hero-title {
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 32px;
}
.hero-title span { display: block; }
.hero-title .ital { display: block; padding: 0; }
:lang(zh) .hero-title { letter-spacing: -0.02em; }
:lang(zh) .display    { letter-spacing: -0.01em; }

.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--fg-1);
  max-width: 760px;
  margin: 0 auto 44px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 720px; margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.hero-meta strong {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* ---------- TICKER ---------- */
.ticker {
  position: relative; z-index: 2;
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--surface-ticker);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 60s linear infinite;
  padding-left: 56px;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-1);
  display: inline-flex; gap: 10px;
}
.ticker-track em { color: var(--primary); font-style: normal; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- VISION ---------- */
.vision-section { padding: 160px 0 140px; position: relative; }
.vision-section::before {
  content:''; position: absolute; left: 50%; top: 70px; transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  opacity: .55;
  animation: lineGlow 3s ease-in-out infinite;
}
@keyframes lineGlow { 0%,100%{ opacity: .25; } 50%{ opacity: 1; } }

.vision-container { max-width: 1140px; }

/* shared brand-accent (also used in About) */
.ll-accent {
  background: var(--grad-accent-ll);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 700;
  animation: shimmer 9s ease-in-out infinite;
}

/* 1. The problem block — quiet, unified setup */
.vision-problem {
  max-width: 920px;
  margin: 0;
}
.vision-problem > span { display: block; }
.vp-lead,
.vp-supp {
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.6;
  color: var(--fg-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.vp-lead { margin-bottom: 8px; }
.vp-lead > span { display: inline; }
/* override the brand-accent inside the problem hook — keep it quiet & unstyled */
.vision-problem .ll-accent {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--fg-2);
  font-weight: 400;
  animation: none;
}
.vp-supp { max-width: 760px; }
:lang(zh) .vp-lead,
:lang(zh) .vp-supp { letter-spacing: 0.005em; }

/* 2. Pivot — rule + label */
.vision-pivot {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 760px;
  margin: 80px 0 56px;
}
.vp-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.vp-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}

/* 3. The solution — the new hero of this section */
.vision-solution {
  margin: 0 0 80px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-size: clamp(34px, 5.2vw, 72px);
  max-width: 1080px;
}
.vision-solution .vs-line { display: block; }
.vision-solution .vs-line > span { display: inline; white-space: nowrap; }
.vision-solution .vs-line:first-child { margin-bottom: 12px; }
.vision-solution .vs-line-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.005em;
  line-height: 1.55;
  margin-top: 22px;
  max-width: 760px;
}
:lang(zh) .vision-solution { letter-spacing: 0.005em; line-height: 1.18; }
:lang(zh) .vision-solution .vs-line-sub { letter-spacing: 0; }

/* 4. Perks — 4 advantage cards with big italic-serif numbers */
.vision-perks {
  list-style: none; padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.vision-perks li {
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 26px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
  --hx: 50%; --hy: 50%;
  isolation: isolate;
}
.vision-perks li::after {
  content:'';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(220px circle at var(--hx) var(--hy), var(--spot-1), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.vision-perks li > * { position: relative; z-index: 1; }
.vision-perks li:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  background: var(--surface-feature-hover);
}
[data-theme="light"] .vision-perks li:hover { box-shadow: var(--shadow-md); }
[data-theme="light"] .vision-perks li:hover::after { opacity: 1; }

.vk-n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.18;
  background: var(--grad-accent);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.025em;
  display: inline-flex; align-items: baseline;
  padding-bottom: 0.08em;
}
.vk-n .vk-u {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.42em;
  margin-left: 6px;
  letter-spacing: 0.02em;
  -webkit-text-fill-color: initial;
  color: var(--fg);
  background: none;
}
.vk-l {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-1);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .vision-perks { grid-template-columns: repeat(2, 1fr); }
  .vision-pivot { margin: 56px 0 40px; }
  .vision-solution { margin-bottom: 56px; }
}
@media (max-width: 540px) {
  .vision-perks { grid-template-columns: 1fr; }
}

/* section subtitle / tagline shown below a display headline */
.section-tag {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* ---------- ABOUT ---------- */
.about-section {
  padding: 120px 0 160px;
  position: relative;
}
.about-section .container { gap: 100px; }
.about-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.about-tag {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}
.about-tag span { display: block; }
.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0 0 22px;
  text-align: justify;
  text-justify: inter-ideograph;
  hyphens: auto;
  word-break: break-word;
}
.about-body p:last-of-type { margin-bottom: 32px; }
.about-pills {
  list-style: none; padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-pills li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-info);
  transition: border-color .25s, transform .25s, background .25s, box-shadow .25s;
}
.about-pills li:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  background: var(--surface-glass);
}
[data-theme="light"] .about-pills li:hover { box-shadow: var(--shadow-md); }
.about-pills .ap-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.about-pills .ap-v {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.005em;
}

/* ---------- PILLARS ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  position: relative;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-pillar);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.pillar::before {
  content:''; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.pillar:hover { transform: translateY(-6px); border-color: transparent; }
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 32px;
}
.pillar h3 { font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
.pillar p { color: var(--fg-1); margin: 0; line-height: 1.7; font-size: 15.5px; }

/* ---------- STEPS ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content:''; position: absolute; top: 36px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), var(--line-2), transparent);
}
.step {
  position: relative; padding-top: 76px;
}
.step-n {
  position: absolute; top: 0; left: 0;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-step);
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-weight: 600;
  color: var(--primary);
  box-shadow: 0 0 0 6px var(--surface-step-ring);
  transition: border-color .3s, color .3s, transform .3s, background .3s;
}
.step:hover .step-n { border-color: var(--primary); transform: scale(1.05); }
.step h4 { font-size: 19px; margin: 0 0 10px; }
.step p { color: var(--fg-1); margin: 0; font-size: 15px; line-height: 1.65; }

/* ---------- STATS ---------- */
.stats-section { padding: 100px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-stats);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.stat {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.18;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
  padding-bottom: 0.06em;
}
.stat-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-2);
}
.stat-num .stat-suffix {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.45em;
  letter-spacing: 0.03em;
  margin-left: 4px;
  vertical-align: 0.22em;
  -webkit-text-fill-color: initial;
  color: var(--fg);
  background: none;
}

/* ---------- FEATURES ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-glass);
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--surface-feature-hover);
}
.feature-ico {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  font-size: 22px; color: var(--primary);
  margin-bottom: 22px;
  font-family: var(--mono);
}
.feature h4 { font-size: 18px; margin: 0 0 10px; }
.feature p { color: var(--fg-1); margin: 0; font-size: 14.8px; line-height: 1.65; }

/* ---------- TRUST ---------- */
.trust-card {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--grad-trust);
}
.trust-list {
  list-style: none; padding: 36px; margin: 0;
  background: var(--surface-strong);
  border-radius: calc(var(--radius) - 4px);
}
.trust-list li {
  display: flex; gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.trust-list li:last-child { border-bottom: none; padding-bottom: 0; }
.trust-list li:first-child { padding-top: 0; }
.t-ico {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  font-size: 14px; color: var(--gold);
}
.trust-list strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--fg); font-weight: 600; }
.trust-list p { margin: 0; color: var(--fg-1); font-size: 14.5px; line-height: 1.65; }

/* ---------- GLOBE / GLOBAL FOOTPRINT ---------- */
.globe-section { padding-bottom: 160px; }
.globe-wrap {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 30px;
}
.globe-stage {
  position: relative;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.globe-svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--primary) 15%, transparent));
  transform: rotateX(var(--gx, 0deg)) rotateY(var(--gy, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,1,.3,1), filter .4s ease;
  cursor: grab;
}
.globe-svg:active { cursor: grabbing; transition: transform .1s linear; }
.globe-svg:hover { filter: drop-shadow(0 30px 80px color-mix(in srgb, var(--primary) 28%, transparent)); }
.globe-svg .g-node {
  cursor: pointer;
  transition: r .3s cubic-bezier(.2,1,.3,1), filter .3s ease;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--primary) 35%, transparent));
}
.globe-svg .g-node[fill="#f5c542"] {
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--gold) 40%, transparent));
}
.globe-svg .g-node:hover {
  r: 8;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--primary) 80%, transparent));
}
.globe-svg .g-node[fill="#f5c542"]:hover {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--gold) 80%, transparent));
}
.globe-svg .g-node.active {
  r: 7;
}
.globe-svg .arcs path { transition: stroke-opacity .3s; }

@keyframes globe-ripple {
  0%   { r: 4;  stroke-opacity: .85; }
  100% { r: 90; stroke-opacity: 0; }
}
.globe-svg .g-ripple {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.6;
  pointer-events: none;
  animation: globe-ripple 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.globe-svg .g-ripple.gold { stroke: var(--gold); }

.globe-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--line-2);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 5;
  top: 0; left: 0;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--primary) 40%, transparent);
}
.globe-tooltip.show { opacity: 1; transform: translate(-50%, -140%); }

.globe-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-3);
  opacity: .65;
  pointer-events: none;
  user-select: none;
}
@media (pointer: coarse) { .globe-hint { display: none; } }
/* SVG inside the globe respects theme */
.globe-svg .grid { stroke: var(--line) !important; }
.globe-svg .nodes circle { fill: var(--primary); }
.globe-svg .nodes circle[fill="#f5c542"] { fill: var(--gold); }
#globeGrad stop:nth-child(1) { stop-color: var(--surface); }
#globeGrad stop:nth-child(2) { stop-color: var(--surface); }
#globeGrad stop:nth-child(3) { stop-color: var(--bg); }
#arcGrad stop:nth-child(1) { stop-color: var(--primary); }
#arcGrad stop:nth-child(2) { stop-color: var(--gold); }
.region-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 24px;
}
.region-tags span {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-1);
}

/* ---------- CHECKLIST ---------- */
.checklist {
  list-style: none; padding: 0;
  margin: 28px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.checklist li {
  display: flex; align-items: center; gap: 14px;
  font-size: 16.5px;
  color: var(--fg);
  font-weight: 500;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-info);
  backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.checklist li:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  background: var(--surface-glass);
  transform: translateX(4px);
}
.checklist .ck {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  color: var(--primary);
  font-size: 14px; font-weight: 700;
}

/* contact-section headline: keep each phrase on its own line — no mid-word breaks */
.contact-section .display > span { white-space: nowrap; }

/* ---------- CONTACT FORM ---------- */
.contact-section { padding-bottom: 160px; }
.contact-info {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-info li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-info);
  transition: border-color .2s, background .2s;
}
.contact-info li:hover { border-color: var(--line-2); }
.contact-info span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--fg-2);
  min-width: 120px;
}
.contact-info a { color: var(--fg); font-weight: 500; transition: color .2s; }
.contact-info a:hover { color: var(--primary); }

.contact-form {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--grad-border);
}
.contact-form > * { padding-left: 32px; padding-right: 32px; }
.contact-form > *:first-child { padding-top: 32px; }
.contact-form > *:last-child  { padding-bottom: 32px; }
.contact-form {
  position: relative;
}
.contact-form::before {
  content:''; position: absolute; inset: 8px;
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface-form);
  z-index: 0;
}
.contact-form > * { position: relative; z-index: 1; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  background-color: var(--field-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--field-focus-bg);
  box-shadow: 0 0 0 4px var(--field-focus-shadow);
}
[data-theme="dark"] .field select,
:root .field select {
  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 fill='none' stroke='%23ffffff80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
[data-theme="light"] .field select {
  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 fill='none' stroke='%230a14448a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 44px;
}
.field select option { background: var(--surface); color: var(--fg); }

.form-foot {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.form-note { margin: 0; color: var(--fg-2); font-size: 12.5px; max-width: 360px; line-height: 1.5; }
#submitBtn { position: relative; }
#submitBtn .btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid color-mix(in srgb, var(--btn-primary-fg) 30%, transparent);
  border-top-color: var(--btn-primary-fg);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.loading .btn-spinner { display: inline-block; }
#submitBtn.loading { pointer-events: none; opacity: .85; }

.form-status { margin-top: 18px; min-height: 24px; font-size: 14px; }
.form-status.ok    { color: #6ee7b7; }
.form-status.err   { color: #fca5a5; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: linear-gradient(180deg, transparent, var(--footer-bg));
}
.footer-inner { display: grid; gap: 60px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 18px;
}
.footer-cols a {
  display: block; padding: 6px 0;
  color: var(--fg-1); font-size: 14.5px;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--fg-2);
}
.footer-disclaimer { max-width: 540px; line-height: 1.55; }

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

/* line-by-line stagger reveal — applies to .display, .hero-title, .statement */
[data-reveal-stagger] > span {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px);
  transition:
    opacity 1.1s cubic-bezier(.22,.61,.36,1),
    filter 1.1s cubic-bezier(.22,.61,.36,1),
    transform 1.1s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform, filter;
}
[data-reveal-stagger].in > span { opacity: 1; filter: blur(0); transform: none; }
[data-reveal-stagger].in > span:nth-child(1) { transition-delay:    0ms; }
[data-reveal-stagger].in > span:nth-child(2) { transition-delay:  180ms; }
[data-reveal-stagger].in > span:nth-child(3) { transition-delay:  360ms; }
[data-reveal-stagger].in > span:nth-child(4) { transition-delay:  540ms; }

/* hero & statement want each line block, not inline-block */
.hero-title[data-reveal-stagger] > span,
.statement[data-reveal-stagger] > span { display: block; }

/* magnetic button — JS sets --mx/--my; layered on top of CSS hover */
[data-magnetic] {
  --mx: 0px; --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition:
    transform .35s cubic-bezier(.2,1,.3,1),
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}
[data-magnetic]:hover { transform: translate3d(var(--mx), calc(var(--my) - 2px), 0); }
[data-magnetic] > * { display: inline-block; transition: transform .4s cubic-bezier(.2,1,.3,1); }
[data-magnetic]:hover > * { transform: translate3d(calc(var(--mx) * .35), calc(var(--my) * .35), 0); }

/* card 3D tilt — JS sets --rx/--ry */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .5s cubic-bezier(.2,1,.3,1), border-color .35s, background .35s;
  transform-style: preserve-3d;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse .col-narrow { order: 1; }
  .two-col.reverse .col-wide   { order: 2; }
  .sticky-col { position: static; }

  .pillar-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd)  { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .nav-menu { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 160px 20px 80px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); padding: 22px; }
  .pillar-grid, .feature-grid, .steps, .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .nav { padding: 14px 16px; }
  .brand-sub { display: none; }
  .nav-actions .btn { display: none; }
  .pillar { padding: 30px 26px; }
  .feature { padding: 28px; }
  .trust-list { padding: 26px; }
  .contact-form > * { padding-left: 22px; padding-right: 22px; }
  .contact-form > *:first-child { padding-top: 22px; }
  .contact-form > *:last-child  { padding-bottom: 22px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { justify-content: center; }
}

/* ---------- LIGHT-THEME EXCLUSIVE FLOURISHES ----------
   1. Cursor spotlight that follows the pointer like a soft flashlight
   2. Liquid card hover — a radial highlight tracking the cursor inside cards
   3. Subtle shadow lift on hover for cards & list items (premium feel) */

.cursor-spot {
  position: fixed;
  top: 0; left: 0;
  width: 540px; height: 540px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--spot-1), transparent 72%);
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity .4s ease;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: var(--spot-blend);
  filter: blur(2px);
  will-change: transform;
}
[data-theme="light"] .cursor-spot { opacity: 1; }
@media (pointer: coarse) { .cursor-spot { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-spot { display: none; } }

/* liquid hover — radial spotlight inside each card following the cursor */
.pillar, .feature { --hx: 50%; --hy: 50%; }
.pillar::after, .feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(260px circle at var(--hx) var(--hy),
    var(--spot-1), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.pillar > *, .feature > * { position: relative; z-index: 2; }
[data-theme="light"] .pillar:hover::after,
[data-theme="light"] .feature:hover::after { opacity: 1; }

/* shadow lift on light theme card hovers */
[data-theme="light"] .pillar:hover,
[data-theme="light"] .feature:hover,
[data-theme="light"] .checklist li:hover,
[data-theme="light"] .contact-info li:hover {
  box-shadow: var(--shadow-md);
}

/* light-theme: contact-form inner card gets a subtle shadow */
[data-theme="light"] .contact-form { box-shadow: var(--shadow-md); }

/* light-theme: trust card gets a subtle shadow */
[data-theme="light"] .trust-card { box-shadow: var(--shadow-md); }

/* light-theme: brighten ticker/marquee text contrast */
[data-theme="light"] .ticker-track span { color: var(--fg-1); }

/* light-theme: feature-ico keeps colorful but on light bg looks better with stronger contrast */
[data-theme="light"] .feature-ico {
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* light-theme: hero canvas constellation needs different blend mode for visibility */
[data-theme="light"] #constellation { opacity: .65; mix-blend-mode: multiply; }

/* hero glow strength — softer in light theme */
[data-theme="light"] .hero-glow { filter: blur(40px); opacity: .9; }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--btn-ghost-bg);
  color: var(--fg);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .35s ease;
}
.theme-toggle:hover { border-color: var(--btn-ghost-border-hover); background: var(--btn-ghost-bg-hover); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; transition: transform .5s cubic-bezier(.2,1,.3,1), opacity .25s ease; }
.theme-toggle .icon-sun  { position: absolute; opacity: 0; transform: rotate(-60deg) scale(.6); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(60deg) scale(.6); }

/* ---------- APPLY FLOW ---------- */
.apply-flow {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(148,163,184,.15);
}
.apply-flow li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(148,163,184,.15);
}
.af-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-cyan);
  opacity: .75;
  flex-shrink: 0;
  width: 22px;
}
.af-l {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ---------- TEXT JUSTIFY ---------- */
.pillar p,
.feature p,
.step p,
.trust-list p,
.vp-supp,
.lede,
.lede.muted {
  text-align: justify;
  text-justify: inter-ideograph;
  hyphens: auto;
  word-break: break-word;
}

/* ---------- TRUST SECTION HEADING ---------- */
#trust .display {
  font-size: clamp(26px, 3.2vw, 46px);
}
#trust .display > span { white-space: nowrap; }

/* ---------- MOTION REDUCE ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
