/* =====================================================================
   GEO智见Insight · Brand Visual System  v1.0
   Owner: lead. Shared by all pages. Do not fork tokens per page.
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Archivo Black'; src: url('../fonts/ArchivoBlack-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-400.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --c-ink-950: #0C0507;
  --c-ink-900: #150A0D;
  --c-ink-800: #1E0F13;
  --c-choc-900: #24100E;
  --c-choc-800: #341814;
  --c-choc-700: #4A241C;
  --c-choc-600: #5E3226;

  --c-rose: #FF2E63;
  --c-rose-deep: #E0104C;
  --c-rose-soft: #FF7BA1;
  --c-coral: #FF6B4A;
  --c-coral-deep: #EE4A28;
  --c-pink: #FFD3DF;
  --c-pink-soft: #FFE8EF;
  --c-cream: #FBF2E7;
  --c-cream-2: #F6E7D6;
  --c-mint: #7DF5C8;
  --c-mint-deep: #14E0A2;
  --c-mint-ink: #063D2D;
  --c-violet: #6C4DFF;
  --c-violet-soft: #B7A6FF;
  --c-blue: #2547FF;
  --c-blue-deep: #0A2AE0;
  --c-blue-soft: #A9C4FF;
  --c-cyan-bright: #9BE8FF;

  --c-white: #FFFFFF;
  --c-paper: #FFFDFB;

  /* Semantic (dark default) */
  --page-bg: var(--c-ink-950);
  --page-fg: #FFF7F3;
  --fg: #FFF7F3;
  --fg-muted: #E2D2CD;          /* contrast-safe muted on dark */
  --fg-dim: #C2ABA5;
  --line: rgba(255, 247, 243, 0.16);
  --line-strong: rgba(255, 247, 243, 0.32);

  /* Cards / surfaces inside dark zones */
  --surface: #211116;
  --surface-2: #2C161C;
  --surface-fg: #FFF7F3;
  --surface-muted: #DBC7C2;
  --surface-border: rgba(255, 247, 243, 0.14);

  /* Local card tokens (flipped by light zones) */
  --card-bg: #FFFFFF;
  --card-fg: #1B0D10;
  --card-muted: #5C4744;
  --card-border: rgba(27, 13, 16, 0.10);

  --accent: var(--c-rose);
  --accent-2: var(--c-coral);
  --accent-contrast: #FFFFFF;
  --label-accent: var(--c-rose);

  /* Hero canvas (theme-aware) */
  --hero-bg: radial-gradient(1200px 620px at 78% 12%, #3A161B 0%, #180C0F 52%, #0C0507 100%);
  --hero-fg: #FFF7F3;
  --hero-muted: #E2D2CD;
  --hero-shadow: 0 2px 18px rgba(0, 0, 0, .6);
  --glass-bg: rgba(255, 255, 255, .07);
  --glass-fg: #FFF7F3;
  --glass-muted: #E2D2CD;
  --glass-border: rgba(255, 255, 255, .18);

  /* Radii / shadows / motion */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
  --shadow-card: 0 18px 45px -22px rgba(12, 5, 7, 0.55);
  --shadow-lift: 0 28px 70px -28px rgba(12, 5, 7, 0.65);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --gutter: clamp(18px, 4.2vw, 44px);
  --nav-h: 72px;

  --font-display: 'Archivo Black', 'Noto Sans CJK SC', 'Noto Sans CJK JP', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Inter', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Inter', 'SFMono-Regular', ui-monospace, monospace;
}

/* ---------- Theme variants (hero / page canvas) ---------- */
html[data-theme="gradient"] {
  --page-bg: #3A1BD6;
  --page-fg: #170A38;
  --fg: #170A38;
  --fg-muted: #3F2A6E;
  --fg-dim: #5A4788;
  --accent: #FF2E8B;
  --accent-2: #7C4DFF;
  --accent-contrast: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.74);
  --glass-fg: #22103F;
  --glass-muted: #4A3572;
  --glass-border: rgba(255, 255, 255, 0.85);
  --hero-bg: linear-gradient(125deg, #4B2BFF 0%, #7A3CFF 38%, #C43CF0 66%, #FF3D8A 100%);
  --hero-fg: #FFFFFF;
  --hero-muted: #F4EDFF;
  --hero-shadow: 0 2px 20px rgba(30, 8, 70, 0.55);
}
html[data-theme="blue"] {
  --page-bg: #0A2AE0;
  --page-fg: #FFFFFF;
  --fg: #FFFFFF;
  --fg-muted: #C9D6FF;
  --fg-dim: #A5BAFF;
  --accent: #FFFFFF;
  --accent-2: #9BE8FF;
  --accent-contrast: #0A2AE0;
  --glass-bg: rgba(255, 255, 255, 0.13);
  --glass-fg: #FFFFFF;
  --glass-muted: #DCE6FF;
  --glass-border: rgba(255, 255, 255, 0.46);
  --hero-bg: linear-gradient(155deg, #1236FF 0%, #0A2AE0 48%, #061C9E 100%);
  --hero-fg: #FFFFFF;
  --hero-muted: #DCE6FF;
  --hero-shadow: 0 2px 18px rgba(4, 12, 80, 0.5);
}

/* Theme-aware hero canvas: gradient/blue versions only work if hero uses this */
.hero-canvas {
  background: var(--hero-bg);
  color: var(--hero-fg);
  --fg: var(--hero-fg);
  --fg-muted: var(--hero-muted);
  --fg-dim: var(--hero-muted);
  --line: rgba(255, 255, 255, .22);
  --line-strong: rgba(255, 255, 255, .4);
}
.hero-canvas h1, .hero-canvas h2, .hero-canvas h3 { color: var(--hero-fg); text-shadow: var(--hero-shadow); }
.hero-canvas .lead, .hero-canvas .body-lg, .hero-canvas p { text-shadow: var(--hero-shadow); }
.hero-canvas .brand, .hero-canvas .brand__name { color: var(--hero-fg); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--page-fg);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--c-rose); color: #fff; }
:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display { font-size: clamp(52px, 10.5vw, 128px); text-transform: none; }
.h1 { font-size: clamp(40px, 7vw, 84px); }
.h2 { font-size: clamp(32px, 5vw, 60px); }
.h3 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.1; }
.h4 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.25; }
.en-display { font-family: var(--font-display); letter-spacing: -0.03em; }
.en-upper { font-family: var(--font-mono); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }

.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.8; color: var(--fg-muted); }
.body-lg { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--fg-muted); }
.small { font-size: 14px; line-height: 1.7; color: var(--fg-dim); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.accent-text { color: var(--c-rose); }
.text-glow { text-shadow: 0 2px 14px rgba(255, 46, 99, 0.28); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 900; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--label-accent, var(--c-rose));
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }

.grad-text-rose {
  background: linear-gradient(96deg, var(--c-coral) 0%, var(--c-rose) 48%, var(--c-violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad-text-mint {
  background: linear-gradient(96deg, var(--c-mint) 0%, #9BE8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.nb { white-space: nowrap; }
.hl-rose { background: linear-gradient(transparent 58%, rgba(255,46,99,.42) 58%); padding: 0 .1em; }
.hl-mint { background: linear-gradient(transparent 58%, rgba(125,245,200,.55) 58%); padding: 0 .1em; }

/* ---------- Layout ---------- */
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - (var(--gutter) * 2), var(--container-narrow)); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 9vw, 130px) 0; overflow: clip; }
.section--tight { padding: clamp(44px, 6vw, 80px) 0; }
.page-root { position: relative; }
.stack-6 > * + * { margin-top: 6px; }
.stack-10 > * + * { margin-top: 10px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: clamp(32px, 5vw, 48px); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .split-wide { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
  .sticky-col { position: sticky; top: calc(var(--nav-h) + 28px); }
}
.max-w-62 { max-width: 62ch; }
.max-w-46 { max-width: 46ch; }
.mx-auto { margin-inline: auto; }
.center { text-align: center; }

/* ---------- Section colour zones (strong partition contrast) ---------- */
.zone-cream, .zone-pink, .zone-mint, .zone-paper, .zone-pink-soft {
  --label-accent: #B70C3F;
  --fg: #1B0D10;
  --fg-muted: #5C4744;
  --fg-dim: #7A625E;
  --line: rgba(27, 13, 16, 0.14);
  --surface: #FFFFFF;
  --surface-2: #F4E9E4;
  --surface-fg: #1B0D10;
  --surface-muted: #5C4744;
  --surface-border: rgba(27, 13, 16, 0.10);
  --card-bg: #FFFFFF;
  --card-fg: #1B0D10;
  --card-muted: #5C4744;
  --card-border: rgba(27, 13, 16, 0.10);
  color: var(--fg);
}
.zone-cream { background: var(--c-cream); }
.zone-pink { background: var(--c-pink); }
.zone-pink-soft { background: var(--c-pink-soft); }
.zone-mint { background: var(--c-mint); --card-border: rgba(6, 61, 45, .14); }
.zone-paper { background: var(--c-paper); }
.zone-dark { background: var(--c-ink-900); color: #FFF7F3; }
.zone-choc { background: linear-gradient(135deg, var(--c-choc-800), var(--c-ink-900) 70%); color: #FFF7F3; }
.zone-rose { background: linear-gradient(120deg, var(--c-coral), var(--c-rose) 55%, #C81E77); color: #FFFFFF; --fg: #FFFFFF; --fg-muted: rgba(255,255,255,.9); }
.zone-rose h2, .zone-rose h3 { color: #FFFFFF; }
.zone-accent-line { border-top: 1px solid var(--line); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-sans); }
.brand__mark { position: relative; width: 30px; height: 30px; flex: 0 0 auto; display: inline-block; }
.brand__mark i { position: absolute; display: block; }
.brand__mark i:nth-child(1) { width: 22px; height: 22px; left: 0; top: 4px; background: var(--c-rose); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.brand__mark i:nth-child(2) { width: 9px; height: 9px; right: 0; top: 0; border-radius: 50%; background: var(--c-mint); }
.brand__mark i:nth-child(3) { width: 8px; height: 8px; right: 1px; bottom: 1px; background: var(--c-coral); transform: rotate(45deg); }
.brand__name { font-weight: 900; font-size: 19px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand__en { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--c-rose-soft); margin-top: 4px; font-weight: 900; }
.brand--lg .brand__mark { width: 42px; height: 42px; }
.brand--lg .brand__mark i:nth-child(1) { width: 31px; height: 31px; top: 5px; }
.brand--lg .brand__name { font-size: 25px; }
.brand--lg .brand__en { font-size: 10px; }


/* ---------- Label & tag contrast guards ---------- */
/* light zones: darker variants of coloured tags for AA legibility */
:is(.zone-cream, .zone-paper, .zone-pink, .zone-pink-soft, .zone-mint) .tag--coral { color: #B3361A; border-color: rgba(179, 54, 26, .32); }
:is(.zone-cream, .zone-paper, .zone-pink, .zone-pink-soft, .zone-mint) .tag--mint { color: #056146; border-color: rgba(5, 97, 70, .32); }
:is(.zone-cream, .zone-paper, .zone-pink, .zone-pink-soft, .zone-mint) .tag--violet { color: #3D22B8; }
/* dark zones: light variants so small labels stay readable on near-black */
:is(.zone-dark, .zone-choc) .tag { background: rgba(255, 255, 255, .12); color: #FFF7F3; border-color: rgba(255, 255, 255, .34); }
:is(.zone-dark, .zone-choc) .tag--violet { background: rgba(108, 77, 255, .30); color: #DED5FF; border-color: rgba(170, 150, 255, .55); }
:is(.zone-dark, .zone-choc) .tag--mint { background: rgba(20, 224, 162, .16); color: #8CF7CD; border-color: rgba(125, 245, 200, .45); }
:is(.zone-dark, .zone-choc) .tag--coral { background: rgba(255, 107, 74, .20); color: #FFC2AF; border-color: rgba(255, 150, 120, .48); }
:is(.zone-dark, .zone-choc) .eyebrow { color: var(--c-rose-soft); }
/* brand tagline on dark canvases */
.site-nav .brand__en, .site-footer .brand__en, :is(.zone-dark, .zone-choc, .hero-canvas) .brand__en { color: var(--c-rose-soft); }
:is(.zone-cream, .zone-paper, .zone-pink, .zone-pink-soft, .zone-mint) .brand__en { color: #B70C3F; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: .01em;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background-color .2s, color .2s;
  will-change: transform; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--primary {
  background: linear-gradient(100deg, var(--c-coral), var(--c-rose) 70%);
  color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 46, 99, .55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(255, 46, 99, .75), 0 0 0 5px rgba(255, 46, 99, .14); }
.btn--mint { background: var(--c-mint); color: var(--c-mint-ink); box-shadow: 0 12px 28px -12px rgba(20, 224, 162, .6); }
.btn--mint:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(20, 224, 162, .8); }
.btn--white { background: #fff; color: #1B0D10; }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -14px rgba(0,0,0,.4); }
.btn--ghost { border-color: var(--line-strong); color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn--dark { background: var(--c-ink-950); color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 19px 36px; font-size: 18px; }
.btn:active { transform: translateY(0); }

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-weight: 900; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255, 46, 99, .14); color: var(--label-accent, var(--c-rose));
  border: 1px solid rgba(255, 46, 99, .28);
}
.tag--coral { background: rgba(255, 107, 74, .16); color: var(--c-coral-deep); border-color: rgba(255, 107, 74, .35); }
.tag--mint { background: rgba(20, 224, 162, .16); color: #06805D; border-color: rgba(20, 224, 162, .38); }
.tag--violet { background: rgba(108, 77, 255, .14); color: #4B2ED6; border-color: rgba(108, 77, 255, .3); }
.tag--ink { background: var(--c-ink-950); color: #fff; border-color: transparent; }
.tag--white { background: #fff; color: #1B0D10; border-color: transparent; }
.zone-rose .tag { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
}
.card--pad-lg { padding: clamp(28px, 4vw, 52px); }
.card--lift { box-shadow: var(--shadow-card); }
.card--outline { background: transparent; border: 1.5px dashed var(--card-border); }
.card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 46, 99, .12); color: var(--c-rose); margin-bottom: 18px; font-size: 22px; }
.card h3 + p { margin-top: 10px; }
.card p { color: var(--card-muted); }

.glass {
  background: var(--glass-bg, rgba(255, 255, 255, .1));
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, .28));
  color: var(--glass-fg, #fff);
  box-shadow: 0 24px 60px -30px rgba(8, 4, 20, .55);
}
.glass p, .glass .muted { color: var(--glass-muted, rgba(255,255,255,.82)); }

/* Number / metric blocks */
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric__value { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 68px); line-height: .95; letter-spacing: -.03em; }
.metric__value small { font-size: .42em; letter-spacing: 0; }
.metric__label { font-size: 14px; color: var(--fg-muted); }
.metric--glow .metric__value { text-shadow: 0 0 26px rgba(255, 46, 99, .35); }

/* ---------- Comparison table ---------- */
.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card-bg); color: var(--card-fg);
}
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--card-border); font-size: 15.5px; }
.cmp thead th { font-family: var(--font-mono); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(27, 13, 16, .05); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 800; white-space: nowrap; color: var(--card-fg); }
.cmp .yes { color: #06805D; font-weight: 800; }
.cmp .no { color: #B33B57; font-weight: 700; }
.cmp .col-geo { background: rgba(255, 46, 99, .07); }
.cmp caption { text-align: left; padding-bottom: 12px; font-weight: 800; }
@media (max-width: 680px) {
  .cmp th, .cmp td { padding: 12px 12px; font-size: 14px; }
}

/* ---------- Lists / steps ---------- */
.checklist { counter-reset: chk; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 38px; color: var(--fg-muted); line-height: 1.65; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-mint); box-shadow: inset 0 0 0 6px rgba(255,255,255,.0);
}
.checklist li::after { content: ''; position: absolute; left: 7px; top: 9px; width: 8px; height: 4px; border-left: 2.5px solid var(--c-mint-ink); border-bottom: 2.5px solid var(--c-mint-ink); transform: rotate(-45deg); }

.num-list { counter-reset: nl; display: grid; gap: 14px; }
.num-list > li { position: relative; padding-left: 56px; min-height: 40px; }
.num-list > li::before {
  counter-increment: nl; content: counter(nl, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 900; font-size: 15px;
  color: var(--c-rose); padding: 4px 8px; border: 1.5px solid rgba(255, 46, 99, .35); border-radius: 8px;
}

/* ---------- Divider / rule ---------- */
.rule { height: 1px; background: var(--line); border: 0; }
.dash-rule { height: 2px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); background-size: 16px 2px; border: 0; }

/* ---------- Decorative primitives ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.orb--rose { background: radial-gradient(circle, rgba(255,46,99,.85), transparent 70%); }
.orb--mint { background: radial-gradient(circle, rgba(20,224,162,.7), transparent 70%); }
.orb--violet { background: radial-gradient(circle, rgba(108,77,255,.75), transparent 70%); }
.band {
  position: absolute; pointer-events: none; border-radius: 18px; transform: rotate(-18deg);
  background: linear-gradient(90deg, var(--c-coral), var(--c-rose));
}
.band--mint { background: linear-gradient(90deg, var(--c-mint), #9BE8FF); }
.band--violet { background: linear-gradient(90deg, var(--c-violet), var(--c-rose-soft)); }
.scanlines { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 2px, transparent 2px 6px); }
.noise { position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hex {
  width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--c-rose); color: var(--c-ink-950); font-family: var(--font-mono); font-weight: 900;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex--mint { background: var(--c-mint); color: var(--c-mint-ink); }
.hex--coral { background: var(--c-coral); }
.hex--violet { background: var(--c-violet); color: #fff; }
.quote-mark { font-family: 'Archivo Black', serif; font-size: 84px; line-height: .6; color: var(--c-rose); opacity: .85; }
.node-line { display: flex; align-items: center; gap: 0; }
.node-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-rose); box-shadow: 0 0 0 4px rgba(255,46,99,.18); flex: 0 0 auto; }
.node-dot--mint { background: var(--c-mint-deep); box-shadow: 0 0 0 4px rgba(20,224,162,.18); }
.node-bar { height: 2px; flex: 1; background: var(--line-strong); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-left.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-scale.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float, .drift, .pulse, .marquee__track, .scan-sweep::after { animation: none !important; }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(10px, -16px) rotate(3deg); } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.05); } }
.float { animation: float 7s ease-in-out infinite; }
.drift { animation: drift 11s ease-in-out infinite; }
.pulse { animation: pulse 5.5s ease-in-out infinite; }

/* particle dots */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particles span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--c-mint); opacity: .5; animation: float 8s ease-in-out infinite; }
.particles span:nth-child(3n) { background: var(--c-rose); width: 4px; height: 4px; }
.particles span:nth-child(4n) { background: #fff; opacity: .25; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; gap: 0; white-space: nowrap; animation: marquee 32s linear infinite; flex: 0 0 auto; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Site navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  display: flex; align-items: center; transition: background .35s, backdrop-filter .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled { background: rgba(12, 5, 7, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: rgba(255,255,255,.1); }
html[data-theme="gradient"] .site-nav.is-scrolled { background: rgba(58, 27, 214, .72); }
html[data-theme="blue"] .site-nav.is-scrolled { background: rgba(10, 42, 224, .78); }
.site-nav__inner { width: min(100% - (var(--gutter) * 2), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.site-nav .brand { color: #fff; }
.site-nav .brand__name { color: #fff; }
.site-nav__links { display: flex; align-items: center; gap: 6px; }
.site-nav__links a {
  padding: 9px 16px; border-radius: var(--r-pill); font-weight: 800; font-size: 14.5px;
  color: rgba(255,255,255,.82); transition: background .2s, color .2s;
}
.site-nav__links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav__links a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.theme-switch { display: inline-flex; gap: 3px; padding: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); }
.theme-switch button {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; padding: 0;
  transition: transform .2s, border-color .2s;
}
.theme-switch button:hover { transform: scale(1.12); }
.theme-switch button[aria-pressed="true"] { border-color: #fff; }
.theme-switch [data-theme-set="dark"] { background: linear-gradient(135deg, #24100E, #0C0507 70%); }
.theme-switch [data-theme-set="gradient"] { background: linear-gradient(135deg, #4B2BFF, #8A3CFF 45%, #FF3D8A); }
.theme-switch [data-theme-set="blue"] { background: #0A2AE0; }
.site-nav__burger { display: none; background: transparent; border: 0; width: 44px; height: 44px; position: relative; }
.site-nav__burger span, .site-nav__burger::before, .site-nav__burger::after { content: ''; position: absolute; left: 10px; right: 10px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s; }
.site-nav__burger::before { top: 15px; } .site-nav__burger span { top: 21px; } .site-nav__burger::after { top: 27px; }
body.nav-open .site-nav__burger::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .site-nav__burger span { opacity: 0; }
body.nav-open .site-nav__burger::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .site-nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(12, 5, 7, .97); padding: 18px var(--gutter) 26px; gap: 6px;
    transform: translateY(-140%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .4s var(--ease-out), opacity .25s var(--ease-out), visibility .4s;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  body.nav-open .site-nav__links { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav__links a { padding: 14px 16px; font-size: 17px; }
  .site-nav__burger { display: block; z-index: 2; }
  .site-nav__actions .btn { display: none; }
}

/* inner pages: offset for fixed nav */
.page-root { padding-top: 0; }
.page-root > .page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink-950); color: #FFF7F3; padding: clamp(48px, 6vw, 80px) 0 34px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer__head { font-family: var(--font-mono); font-weight: 900; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-rose-soft); margin-bottom: 14px; }
.site-footer__links a { display: block; padding: 5px 0; color: #D9C7C2; font-size: 15px; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #B8A29D; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Copy-to-clipboard components ---------- */
.copy-block { position: relative; }
.copy-btn {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: #1B0D10; border: 1px solid rgba(27,13,16,.12);
  font-size: 12.5px; font-weight: 800; transition: transform .2s, background .2s;
}
.copy-btn:hover { transform: translateY(-1px); background: #fff; }
.copy-btn.is-copied { background: var(--c-mint); border-color: transparent; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }
.relative { position: relative; }
.z-1 { position: relative; z-index: 1; }
.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.uppercase { text-transform: uppercase; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
