/* ============================================================
   All Yours Hub — Global Enhancement Layer v3
   引擎样式层：流体排版 / 光影微交互 / 数据可视化 / 无障碍
   ============================================================ */

/* ============================================================
   A. 国际化流体排版系统（clamp 字阶 · 中西文混排优化）
   ============================================================ */
:root {
  /* 字阶：1.25 比例，流体缩放 */
  --ayh-fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5rem);      /* 80→44px */
  --ayh-fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);        /* 60→36px */
  --ayh-fs-h2: clamp(1.875rem, 1.35rem + 2.4vw, 2.75rem);      /* 44→30px */
  --ayh-fs-h3: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);       /* 28→22px */
  --ayh-fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);   /* 20→17px */
  --ayh-fs-body: 1.0625rem;                                    /* 17px */
  --ayh-fs-small: 0.8125rem;                                   /* 13px */
  --ayh-fs-micro: 0.75rem;                                     /* 12px — 最小可读基线 */

  /* 字距：西文紧凑 / 大标题收紧 */
  --ayh-ls-display: -0.035em;
  --ayh-ls-h1: -0.028em;
  --ayh-ls-h2: -0.02em;
  --ayh-ls-eyebrow: 0.32em;

  /* 行高 */
  --ayh-lh-display: 1.04;
  --ayh-lh-head: 1.12;
  --ayh-lh-body: 1.72;

  /* 动效令牌 */
  --ayh-ease-out: cubic-bezier(.22, 1, .36, 1);
  --ayh-ease-io: cubic-bezier(.76, 0, .24, 1);
  --ayh-dur-s: .35s;
  --ayh-dur-m: .7s;
  --ayh-dur-l: 1.1s;
}

/* 显示级标题 */
.ayh-display {
  font-size: var(--ayh-fs-display);
  line-height: var(--ayh-lh-display);
  letter-spacing: var(--ayh-ls-display);
  font-weight: 700;
  text-wrap: balance;
}
.ayh-h1 {
  font-size: var(--ayh-fs-h1);
  line-height: var(--ayh-lh-head);
  letter-spacing: var(--ayh-ls-h1);
  font-weight: 700;
  text-wrap: balance;
}
.ayh-h2 {
  font-size: var(--ayh-fs-h2);
  line-height: 1.16;
  letter-spacing: var(--ayh-ls-h2);
  font-weight: 650;
  text-wrap: balance;
}
.ayh-lead {
  font-size: var(--ayh-fs-lead);
  line-height: 1.6;
  font-weight: 400;
  text-wrap: pretty;
}
.ayh-eyebrow {
  font-size: var(--ayh-fs-micro);
  letter-spacing: var(--ayh-ls-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
}

/* 中西文混排：CJK 语境自动放松字距 */
[data-lang="zh"] .ayh-display,
[data-lang="zh"] .ayh-h1,
[data-lang="zh"] .ayh-h2,
[data-lang="ja"] .ayh-display,
[data-lang="ja"] .ayh-h1,
[data-lang="ja"] .ayh-h2 {
  letter-spacing: 0.01em;
  line-height: 1.22;
}
[data-lang="zh"] .ayh-lead,
[data-lang="ja"] .ayh-lead {
  letter-spacing: 0.015em;
  line-height: 1.85;
}

/* ============================================================
   B. Lenis 平滑滚动兼容
   ============================================================ */
html.ayh-lenis, html.ayh-lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html:not(.ayh-lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html:not(.ayh-lenis) { scroll-behavior: auto; }
}

/* ============================================================
   C. 无障碍：焦点管理 / 跳转链接 / 屏幕阅读器
   ============================================================ */
.ayh-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.ayh-skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 100002;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand-500, #007aff);
  color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: top .25s var(--ayh-ease-out);
}
.ayh-skip-link:focus-visible { top: 12px; }

/* 全局焦点可见性（不打断鼠标用户） */
:focus-visible {
  outline: 2px solid var(--brand-400, #2e8dff);
  outline-offset: 3px;
  border-radius: 4px;
}
nav a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--brand-400, #2e8dff);
  outline-offset: 2px;
}

/* ============================================================
   D. 自定义光标 (dot + 拖尾光环)
   ============================================================ */
.ayh-cursor-dot,
.ayh-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
  opacity: 1;
  transition: opacity .3s ease;
}
.ayh-cursor-dot {
  width: 8px; height: 8px;
  background: #0a84ff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(6, 9, 19, .48), 0 0 12px rgba(10, 132, 255, .7);
}
.ayh-cursor-ring {
  width: 40px; height: 40px;
  border: 2px solid rgba(10, 132, 255, .94);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .74), 0 0 18px rgba(10, 132, 255, .26);
  transition: width .3s var(--ayh-ease-out), height .3s var(--ayh-ease-out),
              border-color .3s ease, background .3s ease, opacity .3s ease;
}
.ayh-cursor-ring.is-hover {
  width: 62px; height: 62px;
  border-color: transparent;
  background: rgba(10, 132, 255, .2);
}
.ayh-cursor-ring.is-pressed {
  width: 26px; height: 26px;
  border-color: #fff;
}
.ayh-has-cursor, .ayh-has-cursor a, .ayh-has-cursor button,
.ayh-has-cursor [role="button"], .ayh-has-cursor .ayh-lang-btn {
  cursor: none !important;
}

/* ============================================================
   E. 顶部滚动进度条
   ============================================================ */
.ayh-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px; width: 100%;
  z-index: 100001;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-600, #0064d6), var(--brand-400, #2e8dff), #7dd3fc, var(--brand-400, #2e8dff));
  background-size: 200% 100%;
  animation: ayh-progress-flow 3s linear infinite;
  box-shadow: 0 0 10px color-mix(in srgb, var(--brand-500, #007aff) 60%, transparent);
  will-change: transform;
}
@keyframes ayh-progress-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   F. 导航：滚动收缩 + 链接下划线
   ============================================================ */
nav.ayh-nav-scrolled {
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .45);
}
nav .ayh-navlink { position: relative; }
nav .ayh-navlink::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--brand-400, #2e8dff);
  transform: translateX(-50%);
  transition: width .35s var(--ayh-ease-out);
}
nav .ayh-navlink:hover::after,
nav .ayh-navlink:focus-visible::after { width: 55%; }

/* ============================================================
   G. 滚动显现系统（模糊 + 位移 + 缩放编排）
   ============================================================ */
.ayh-reveal {
  opacity: 0;
  transform: translateY(14px) scale(.996);
  filter: blur(1px);
  transition:
    opacity .42s var(--ayh-ease-out),
    transform .42s var(--ayh-ease-out),
    filter .32s var(--ayh-ease-out);
  transition-delay: var(--ayh-delay, 0ms);
  will-change: opacity, transform, filter;
}
.ayh-reveal.ayh-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ============================================================
   H. 3D 倾斜卡片 + 聚光灯 + 眩光
   ============================================================ */
.ayh-tilt {
  transform-style: preserve-3d;
  transition: transform .45s var(--ayh-ease-out), box-shadow .45s ease;
  will-change: transform;
}
.ayh-spotlight { position: relative; overflow: hidden; }
.ayh-spotlight::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(
    320px circle at var(--ayh-mx, 50%) var(--ayh-my, 50%),
    color-mix(in srgb, var(--brand-400, #2e8dff) 16%, transparent),
    transparent 65%
  );
  z-index: 1;
}
.ayh-spotlight:hover::after { opacity: 1; }
.ayh-spotlight::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    260px circle at var(--ayh-mx, 50%) var(--ayh-my, 50%),
    color-mix(in srgb, var(--brand-400, #2e8dff) 65%, transparent),
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2;
}
.ayh-spotlight:hover::before { opacity: 1; }

.ayh-glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, .14), transparent 45%);
  opacity: 0;
  transition: opacity .45s ease;
}
.ayh-glare-host:hover .ayh-glare { opacity: 1; }

/* ============================================================
   I. 磁吸 + 涟漪（手势反馈）
   ============================================================ */
.ayh-magnetic {
  transition: transform .35s var(--ayh-ease-out), filter .2s ease;
  will-change: transform;
}
.ayh-ripple-host { position: relative; overflow: hidden; }
.ayh-ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: .28;
  transform: scale(0);
  animation: ayh-ripple .65s var(--ayh-ease-out) forwards;
  pointer-events: none;
}
@keyframes ayh-ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   J. 流体页面转场帷幕
   ============================================================ */
.ayh-transition {
  position: fixed; inset: 0;
  z-index: 100000;
  background: linear-gradient(135deg, #05070d 0%, #0a1120 55%, #071422 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  pointer-events: none;
}
.ayh-transition::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% 60%, color-mix(in srgb, var(--brand-500, #007aff) 18%, transparent), transparent 70%);
}
.ayh-transition-mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-400, #2e8dff);
  box-shadow: 0 0 24px 6px color-mix(in srgb, var(--brand-400, #2e8dff) 55%, transparent);
  animation: ayh-mark-pulse 1s ease-in-out infinite;
}
@keyframes ayh-mark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: .5; }
}

/* ============================================================
   K. 返回顶部（环形进度）
   ============================================================ */
.ayh-backtop {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--background-800, #1c1c1e) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--text-50, #f5f5f7) 12%, transparent);
  color: var(--text-50, #f5f5f7);
  opacity: 0;
  transform: translateY(18px) scale(.9);
  pointer-events: none;
  transition: opacity .4s ease, transform .45s var(--ayh-ease-out);
  cursor: pointer;
}
.ayh-backtop.ayh-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ayh-backtop:hover { transform: translateY(-3px) scale(1.05); }
.ayh-backtop svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ayh-backtop svg.ring circle { fill: none; stroke-width: 2; }
.ayh-backtop .ring-bg { stroke: color-mix(in srgb, var(--text-50, #f5f5f7) 14%, transparent); }
.ayh-backtop .ring-fg {
  stroke: var(--brand-400, #2e8dff);
  stroke-linecap: round;
  transition: stroke-dashoffset .1s linear;
}

/* ============================================================
   L. 星座画布
   ============================================================ */
.ayh-constellation {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   M. 文字分割入场
   ============================================================ */
.ayh-split .ayh-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
  line-height: inherit;
}
.ayh-split .ayh-word > span {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  opacity: 0;
  line-height: inherit;
  vertical-align: baseline;
  transition: transform .68s var(--ayh-ease-out), opacity .42s ease;
  transition-delay: var(--ayh-wd, 0ms);
  will-change: transform, opacity;
}
.ayh-split.ayh-in .ayh-word > span {
  transform: translateY(0) rotate(0);
  opacity: 1;
}
@keyframes ayh-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.ayh-grad-word {
  background: linear-gradient(135deg, var(--brand-300, #66abff), var(--brand-500, #007aff), var(--brand-400, #2e8dff), var(--brand-300, #66abff));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ayh-shimmer 3s linear infinite;
}

/* ============================================================
   N. 跑马灯
   ============================================================ */
.ayh-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ayh-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ayh-marquee 32s linear infinite;
}
.ayh-marquee:hover .ayh-marquee-track { animation-play-state: paused; }
@keyframes ayh-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   O. 浮动光斑 + 鼠标视差层
   ============================================================ */
.ayh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  animation: ayh-orb-drift var(--ayh-orb-dur, 14s) ease-in-out infinite alternate;
  animation-delay: var(--ayh-orb-delay, 0s);
  will-change: transform;
}
@keyframes ayh-orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(var(--ayh-orb-x, 60px), var(--ayh-orb-y, -50px)) scale(1.15); }
  100% { transform: translate(calc(var(--ayh-orb-x, 60px) * -.6), calc(var(--ayh-orb-y, -50px) * .7)) scale(.92); }
}
.ayh-parallax-layer {
  will-change: transform;
}

/* ============================================================
   P. 数据可视化：进度环 / 柱状条
   ============================================================ */
.ayh-viz-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ayh-viz-ring svg { display: block; }
.ayh-viz-ring-bg {
  fill: none;
  stroke: color-mix(in srgb, currentColor 12%, transparent);
}
.ayh-viz-ring-fg {
  fill: none;
  stroke-linecap: round;
}
.ayh-viz-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.ayh-viz-bar {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.ayh-viz-bar > i {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500, #007aff), var(--brand-400, #2e8dff), #7dd3fc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ============================================================
   Q. 滚动叙事：章节节奏 + 锚点记忆点
   ============================================================ */
.ayh-chapter {
  position: relative;
  scroll-margin-top: 56px;
}
.ayh-glowline { position: relative; }
.ayh-glowline::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-500, #007aff), transparent);
  background-size: 200% 100%;
  animation: ayh-progress-flow 2.6s linear infinite;
}

/* 时间轴节点辉光（滚动叙事） */
.ayh-timeline-node {
  position: relative;
}
.ayh-timeline-node::before {
  content: '';
  position: absolute;
  left: -5px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  transform: translateY(-50%) scale(.6);
  background: var(--brand-400, #2e8dff);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-400, #2e8dff) 40%, transparent);
  opacity: .35;
  transition: opacity .5s ease, transform .5s var(--ayh-ease-out), box-shadow .5s ease;
}
.ayh-timeline-node.ayh-in::before,
.ayh-timeline-node:focus-within::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 16px 3px color-mix(in srgb, var(--brand-400, #2e8dff) 45%, transparent);
}

/* ============================================================
   R. 品牌预加载幕布
   ============================================================ */
.ayh-preloader {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  background: #05070d;
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), visibility .7s;
}
.ayh-preloader.ayh-preloader-done { opacity: 0; visibility: hidden; pointer-events: none; }
.ayh-preloader-mark {
  width: 72px; height: 72px;
  border-radius: 20px;
  position: relative;
  background: conic-gradient(from 180deg, #007aff, #5e5ce6, #bf5af2, #007aff);
  animation: ayh-preloader-spin 2.4s linear infinite, ayh-preloader-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(0, 122, 255, .45), 0 0 120px rgba(94, 92, 230, .25);
}
.ayh-preloader-mark::after {
  content: ''; position: absolute; inset: 3px; border-radius: 17px; background: #05070d;
}
.ayh-preloader-mark::before {
  content: ''; position: absolute; inset: 22px; border-radius: 9px; z-index: 1;
  background: linear-gradient(135deg, #007aff, #bf5af2);
  animation: ayh-preloader-pulse 1.6s ease-in-out infinite reverse;
}
@keyframes ayh-preloader-spin { to { transform: rotate(360deg); } }
@keyframes ayh-preloader-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.5); } }
.ayh-preloader-bar {
  width: 180px; height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}
.ayh-preloader-bar > i {
  display: block; height: 100%; width: 40%;
  border-radius: 3px;
  background: linear-gradient(90deg, #007aff, #bf5af2);
  animation: ayh-preloader-slide 1.1s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes ayh-preloader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
.ayh-preloader-word {
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  padding-left: .42em;
}

/* ============================================================
   S. 极光背景流光
   ============================================================ */
.ayh-aurora {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ayh-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  will-change: transform;
}
.ayh-aurora span:nth-child(1) {
  width: 46vw; height: 46vw; left: -12vw; top: -14vw;
  background: radial-gradient(circle, #007aff, transparent 65%);
  animation: ayh-aurora-a 26s ease-in-out infinite alternate;
}
.ayh-aurora span:nth-child(2) {
  width: 40vw; height: 40vw; right: -10vw; top: 22vh;
  background: radial-gradient(circle, #5e5ce6, transparent 65%);
  animation: ayh-aurora-b 32s ease-in-out infinite alternate;
}
.ayh-aurora span:nth-child(3) {
  width: 34vw; height: 34vw; left: 28vw; bottom: -16vw;
  background: radial-gradient(circle, #bf5af2, transparent 65%);
  animation: ayh-aurora-c 38s ease-in-out infinite alternate;
}
@keyframes ayh-aurora-a { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes ayh-aurora-b { to { transform: translate(-8vw, 10vh) scale(.9); } }
@keyframes ayh-aurora-c { to { transform: translate(6vw, -9vh) scale(1.2); } }

/* ============================================================
   S2. 全局可读性基线（$60M 标准：内容文本 ≥13px）
   ============================================================ */
/* Tailwind text-xs(12px) 全站提升为 13px —— 正文与辅助文本的最低保障 */
body .text-xs {
  font-size: 13px !important;
  line-height: 1.55 !important;
}
/* 极小 inline 字号内容类文本兜底（装饰符号不受影响：徽章/图形保持原样） */
.ayh-kicker { font-size: var(--ayh-fs-micro); }

/* 视觉层级：次级说明文字对比度保障（浅色背景上不低于 text-500 深度） */
.ayh-site-footer .text-xs { line-height: 1.6 !important; }

/* ============================================================
   T. 响应式适配（触控 / 小屏降级）
   ============================================================ */
@media (hover: none), (pointer: coarse) {
  .ayh-cursor-dot, .ayh-cursor-ring { display: none !important; }
  .ayh-has-cursor, .ayh-has-cursor a, .ayh-has-cursor button { cursor: auto !important; }
  .ayh-aurora span { opacity: .1; }
  .ayh-spotlight::before, .ayh-spotlight::after { display: none; }
  .ayh-glare { display: none; }
  /* 触控更大的回顶按钮 */
  .ayh-backtop { width: 52px; height: 52px; right: 20px; bottom: 20px; }
}
@media (max-width: 768px) {
  :root {
    --ayh-ls-eyebrow: 0.22em;
  }
  .ayh-reveal {
    transform: translateY(12px);
    filter: none;
    transition-duration: .34s;
  }
}

/* Mobile blog/article titles must remain readable over the bright hero wash. */
@media (max-width: 640px) {
  .ayh-page-hero .gradient-text,
  .ayh-blog-hero .gradient-text,
  article .gradient-text {
    background: none !important;
    -webkit-text-fill-color: var(--text-50) !important;
    color: var(--text-50) !important;
    animation: none !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .38);
  }
  .ayh-article-toc {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding-bottom: 6px;
  }
  .ayh-article-toc a {
    scroll-snap-align: start;
    min-height: 36px;
  }
}

/* ============================================================
   U2. 主题切换按钮与过渡（dark/light）
   ============================================================ */
.ayh-theme-btn {
  position: relative;
  width: 30px; height: 30px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-300, #999);
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, background-color .2s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
.ayh-theme-btn:hover {
  color: var(--text-50, #fff);
  background-color: color-mix(in srgb, currentColor 10%, transparent);
}
.ayh-theme-btn:active { transform: scale(.86); }
.ayh-theme-btn:focus-visible { outline: 2px solid var(--brand-400, #5e5ce6); outline-offset: 2px; }
.ayh-theme-ic {
  position: absolute;
  width: 17px; height: 17px;
  transition: opacity .35s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.ayh-theme-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.ayh-theme-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.ayh-theme-dark .ayh-theme-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.ayh-theme-dark .ayh-theme-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
/* 切换瞬间的全局颜色平滑过渡 */
html.ayh-theme-anim,
html.ayh-theme-anim body,
html.ayh-theme-anim main,
html.ayh-theme-anim section,
html.ayh-theme-anim header,
html.ayh-theme-anim footer,
html.ayh-theme-anim nav,
html.ayh-theme-anim div,
html.ayh-theme-anim p,
html.ayh-theme-anim h1, html.ayh-theme-anim h2, html.ayh-theme-anim h3,
html.ayh-theme-anim h4, html.ayh-theme-anim h5, html.ayh-theme-anim h6,
html.ayh-theme-anim a, html.ayh-theme-anim span, html.ayh-theme-anim li {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .ayh-theme-ic { transition: none !important; }
}

/* ============================================================
   U. 降级：prefers-reduced-motion 全量回退
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ayh-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .ayh-split .ayh-word > span { transform: none !important; opacity: 1 !important; transition: none !important; }
  .ayh-marquee-track, .ayh-orb, .ayh-transition-mark,
  .ayh-progress, .ayh-aurora span { animation: none !important; }
  .ayh-cursor-dot, .ayh-cursor-ring { display: none !important; }
  .ayh-has-cursor, .ayh-has-cursor a, .ayh-has-cursor button { cursor: auto !important; }
  .ayh-tilt { transition: none !important; transform: none !important; }
  .ayh-preloader { display: none !important; }
  .ayh-parallax-layer { transform: none !important; }
  .ayh-viz-ring-fg, .ayh-viz-bar > i { transition: none !important; }
}

/* ============================================================
   V. Global product entry + responsive navigation
   ============================================================ */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
main,
main section {
  max-width: 100%;
}
main section {
  overflow-x: clip;
}
.ayh-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ayh-site-nav {
  isolation: isolate;
  min-height: 58px;
  height: auto !important;
  border-bottom-color: color-mix(in srgb, var(--text-50) 9%, transparent) !important;
  background: color-mix(in srgb, var(--background-900) 86%, transparent) !important;
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}
.ayh-site-nav-inner {
  gap: 16px;
  width: 100%;
  max-width: 1440px !important;
  min-height: 58px;
}
.ayh-site-nav-inner > a:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}
.ayh-site-nav-inner > a:first-child span {
  white-space: nowrap;
}
.ayh-primary-nav {
  min-width: 0;
  flex: 0 0 auto;
  gap: clamp(12px, 1.05vw, 18px) !important;
}
.ayh-primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--text-50) 76%, transparent);
  font-size: 13px;
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
.ayh-primary-link:hover {
  color: var(--text-50);
}
.ayh-primary-link[aria-current="page"] {
  color: var(--brand-400);
  font-weight: 650;
}
.ayh-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: 0 0 auto;
}
.ayh-lang-switch {
  flex: 0 0 auto;
  min-width: max-content;
}
.ayh-lang-btn {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.ayh-lang-current {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}
.ayh-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}
.ayh-auth-login {
  color: color-mix(in srgb, var(--text-50) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-50) 13%, transparent);
  background: color-mix(in srgb, var(--text-50) 3%, transparent);
}
.ayh-auth-login:hover {
  color: var(--text-50);
  border-color: color-mix(in srgb, var(--text-50) 28%, transparent);
  background: color-mix(in srgb, var(--text-50) 8%, transparent);
}
.ayh-auth-register {
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-400) 62%, transparent);
  background: var(--brand-500);
  box-shadow: 0 7px 22px color-mix(in srgb, var(--brand-500) 23%, transparent);
}
.ayh-auth-register:hover {
  background: color-mix(in srgb, var(--brand-500) 88%, white);
}
.ayh-menu-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text-50) 12%, transparent);
  border-radius: 999px;
  color: var(--text-50);
  background: color-mix(in srgb, var(--text-50) 4%, transparent);
  cursor: pointer;
  z-index: 10002;
}
.ayh-menu-lines {
  position: relative;
  width: 16px;
  height: 12px;
}
.ayh-menu-lines i {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: top .28s cubic-bezier(.22,1,.36,1), transform .28s cubic-bezier(.22,1,.36,1);
}
.ayh-menu-lines i:first-child { top: 2px; }
.ayh-menu-lines i:last-child { top: 8px; }
.ayh-menu-btn[aria-expanded="true"] .ayh-menu-lines i:first-child { top: 5px; transform: rotate(45deg); }
.ayh-menu-btn[aria-expanded="true"] .ayh-menu-lines i:last-child { top: 5px; transform: rotate(-45deg); }
.ayh-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}
.ayh-mobile-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(3, 8, 20, .66);
  opacity: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .36s ease;
}
.ayh-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 92vw);
  height: 100%;
  padding: 88px 30px 28px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 8%, rgba(0,122,255,.17), transparent 33%),
    var(--background-900);
  border-left: 1px solid color-mix(in srgb, var(--text-50) 8%, transparent);
  box-shadow: -28px 0 80px rgba(0,0,0,.35);
  transform: translateX(104%);
  transition: transform .48s cubic-bezier(.76,0,.24,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ayh-mobile-open {
  visibility: visible;
  pointer-events: auto;
}
.ayh-mobile-open .ayh-mobile-backdrop { opacity: 1; }
.ayh-mobile-open .ayh-mobile-panel { transform: translateX(0); }
html.ayh-menu-open { overflow: hidden; }
html.ayh-menu-open .ayh-site-nav {
  z-index: 10001 !important;
}
.ayh-mobile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--text-50) 9%, transparent);
}
.ayh-mobile-head p {
  color: var(--text-50);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.ayh-mobile-head > span {
  color: var(--text-400);
  font-size: 9px;
  letter-spacing: .16em;
}
.ayh-mobile-links {
  display: grid;
  padding: 13px 0 18px;
}
.ayh-mobile-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  min-height: 55px;
  border-bottom: 1px solid color-mix(in srgb, var(--text-50) 7%, transparent);
  color: color-mix(in srgb, var(--text-50) 86%, transparent);
  text-decoration: none;
  transition: color .18s ease, padding-left .22s ease;
}
.ayh-mobile-link:hover,
.ayh-mobile-link[aria-current="page"] {
  color: var(--brand-300);
  padding-left: 4px;
}
.ayh-mobile-index {
  color: var(--text-400);
  font-size: 10px;
  letter-spacing: .08em;
}
.ayh-mobile-label {
  min-width: 0;
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.ayh-mobile-arrow {
  color: var(--text-400);
  font-size: 13px;
  text-align: right;
}
.ayh-mobile-product {
  margin-top: auto;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--brand-400) 24%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--brand-500) 7%, transparent);
}
.ayh-mobile-product-kicker {
  margin-bottom: 13px;
  color: var(--text-300);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ayh-mobile-enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-500);
  font-size: 13px;
  font-weight: 600;
}
.ayh-mobile-login {
  display: inline-block;
  margin: 12px 5px 0;
  color: var(--text-300);
  font-size: 12px;
}
@media (max-width: 1399px) {
  .ayh-primary-nav { display: none !important; }
  .ayh-menu-btn { display: inline-flex; }
  .ayh-site-nav-inner { max-width: none !important; }
}
@media (max-width: 640px) {
  .ayh-site-nav {
    min-height: 56px;
  }
  .ayh-site-nav-inner {
    min-height: 56px;
    padding-left: 16px !important;
    padding-right: 10px !important;
    gap: 8px;
  }
  [data-dom-id="page-hero"] h1 {
    max-width: 100%;
    font-size: clamp(30px, 9.2vw, 36px) !important;
    line-height: 1.16 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
  html[data-lang="zh"] [data-dom-id="page-hero"] h1 .ayh-word,
  html[data-lang="ja"] [data-dom-id="page-hero"] h1 .ayh-word,
  html[data-lang="zh"] [data-dom-id="page-hero"] h1 .ayh-word > span,
  html[data-lang="ja"] [data-dom-id="page-hero"] h1 .ayh-word > span {
    display: inline !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .ayh-auth-register { display: none; }
  .ayh-auth-login {
    min-height: 34px;
    padding: 0 10px;
    border-color: transparent;
    background: transparent;
  }
  .ayh-theme-btn {
    margin-right: 0;
    width: 34px;
    height: 34px;
  }
  .lang-toggle,
  [data-dom-id="lang-toggle"] {
    margin-left: 0 !important;
  }
  .ayh-auth-actions {
    gap: 3px;
  }
  .ayh-lang-btn {
    min-width: 46px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 5px !important;
  }
  .ayh-lang-current {
    display: none;
  }
  .ayh-mobile-panel {
    width: 100%;
    padding: 76px 22px 22px;
    border-left: 0;
  }
}

/* Homepage: keep the first mobile viewport focused on the promise and action. */
@media (max-width: 640px) {
  main > section:first-of-type .ayh-hero-detail {
    display: none !important;
  }
  main > section:first-of-type .delay-300.mb-4 {
    margin-bottom: 26px !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
  main > section:first-of-type .delay-400 {
    gap: 12px !important;
  }
  main > section:first-of-type .delay-400 > a:not([data-product-entry]) {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid color-mix(in srgb, var(--text-50) 18%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--text-50) 88%, transparent) !important;
    background: color-mix(in srgb, var(--background-900) 42%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* Clear, repeatable next-step treatment for editorial product heroes. */
.ayh-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.ayh-page-hero-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, var(--brand-400) 72%, transparent);
  border-radius: 999px;
  color: #fff;
  background: var(--brand-500);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-500) 24%, transparent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.012em;
  text-decoration: none;
  transition: transform .22s var(--ayh-ease-out), filter .18s ease, box-shadow .22s ease;
}
.ayh-page-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--brand-500) 30%, transparent);
}
.ayh-page-hero-primary svg {
  width: 16px;
  height: 16px;
}

/* Perspectives: stronger hero contrast and an editorial, readable map. */
.ayh-page-hero .gradient-text {
  background: linear-gradient(105deg, #f5f9ff 7%, #8fc4ff 52%, #b3b1ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .34));
}

@media (max-width: 640px) {
  .ayh-page-hero .gradient-text,
  .ayh-blog-hero .gradient-text,
  article .gradient-text {
    background: none !important;
    -webkit-text-fill-color: var(--text-50) !important;
    color: var(--text-50) !important;
    filter: none !important;
    animation: none !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
  }

  .ayh-page-hero .ayh-grad-word,
  .ayh-blog-hero .ayh-grad-word,
  article .ayh-grad-word {
    background: none !important;
    -webkit-text-fill-color: var(--text-50) !important;
    color: var(--text-50) !important;
  }
}
.ayh-perspective-map {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.ayh-perspective-map > a {
  grid-column: span 4;
  min-height: 290px;
}
.ayh-perspective-map > a:nth-child(-n + 2) {
  grid-column: span 6;
  min-height: 255px;
}
.ayh-perspective-map > a h3 {
  max-width: 28ch;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.35;
}
.ayh-perspective-map > a p {
  max-width: 46ch;
}
@media (max-width: 900px) {
  .ayh-perspective-map > a,
  .ayh-perspective-map > a:nth-child(-n + 2) {
    grid-column: span 6;
    min-height: 0;
  }
  .ayh-perspective-map > a:last-child {
    grid-column: span 12;
  }
}
@media (max-width: 640px) {
  .ayh-perspective-map {
    grid-template-columns: 1fr !important;
  }
  .ayh-perspective-map > a,
  .ayh-perspective-map > a:nth-child(-n + 2),
  .ayh-perspective-map > a:last-child {
    grid-column: auto;
    min-height: 0;
  }
  .ayh-page-hero-actions {
    margin-top: 24px;
  }
  .ayh-page-hero-primary {
    width: 100%;
    max-width: 320px;
  }
}

/* The current authored psychology showcase is bilingual. Keep English visible
   as the explicit fallback for languages whose editorial translation is pending. */
html[data-lang="ja"] body [lang-en].ayh-fallback-en,
html[data-lang="fr"] body [lang-en].ayh-fallback-en,
html[data-lang="es"] body [lang-en].ayh-fallback-en {
  display: inline !important;
}

/* ============================================================
   W. Mind Atlas — real product interface showcase
   ============================================================ */
.ayh-product-showcase {
  position: relative;
  background: var(--background-900);
  color: var(--text-50);
}
.ayh-showcase-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
}
.ayh-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}
.ayh-showcase-head h2 {
  max-width: 760px;
  color: var(--text-50);
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ayh-showcase-head p {
  color: var(--text-300);
  font-size: 14px;
  line-height: 1.75;
}
.ayh-showcase-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--text-400);
  font-size: 11px;
}
.ayh-showcase-note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 5px rgba(52,199,89,.08);
}
.ayh-product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.ayh-ui-window {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text-50) 10%, transparent);
  border-radius: 22px;
  background: #f6f7fb;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}
.ayh-ui-window--galaxy {
  grid-column: span 7;
  min-height: 520px;
  color: #fff;
  background: #070b19;
}
.ayh-ui-window--river {
  grid-column: span 5;
  min-height: 520px;
}
.ayh-ui-window--history,
.ayh-ui-window--behavior {
  grid-column: span 6;
  min-height: 430px;
}
.ayh-ui-chrome {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(13,22,48,.08);
  color: #15203a;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.ayh-ui-window--galaxy .ayh-ui-chrome {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.08);
  background: rgba(7,11,25,.72);
}
.ayh-ui-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}
.ayh-ui-title::before {
  content: 'AH';
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #e8c87e;
  background: #11182b;
  font-size: 8px;
  letter-spacing: .04em;
}
.ayh-ui-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(22,32,59,.08);
  font-size: 10px;
}
.ayh-ui-window--galaxy .ayh-ui-tabs { background: rgba(255,255,255,.08); }
.ayh-ui-tabs span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #6d7690;
}
.ayh-ui-window--galaxy .ayh-ui-tabs span { color: rgba(255,255,255,.5); }
.ayh-ui-tabs .is-active {
  color: #fff;
  background: #11182b;
}
.ayh-galaxy-stage {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 48%, rgba(69,87,179,.42), transparent 15%),
    radial-gradient(ellipse at 48% 50%, rgba(62,111,220,.16), transparent 43%),
    radial-gradient(circle at 25% 15%, rgba(88,86,214,.14), transparent 28%),
    #070b19;
}
.ayh-galaxy-stage::before,
.ayh-galaxy-stage::after {
  content: '';
  position: absolute;
  inset: 10% 6%;
  border: 1px solid rgba(139,177,255,.11);
  border-radius: 50%;
  transform: rotate(-14deg);
}
.ayh-galaxy-stage::after {
  inset: 24% 18%;
  transform: rotate(21deg);
}
.ayh-galaxy-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--s, 7px);
  height: var(--s, 7px);
  border-radius: 50%;
  background: var(--c, #77a7ff);
  box-shadow: 0 0 7px 2px color-mix(in srgb, var(--c, #77a7ff) 55%, transparent),
              0 0 22px 5px color-mix(in srgb, var(--c, #77a7ff) 18%, transparent);
}
.ayh-galaxy-star b {
  position: absolute;
  left: 12px;
  top: -5px;
  width: max-content;
  max-width: 100px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 500;
}
.ayh-galaxy-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  width: min(230px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(13,20,42,.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.ayh-galaxy-card small {
  color: #e8c87e;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ayh-galaxy-card h3 {
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
}
.ayh-galaxy-card p {
  margin-top: 5px;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  line-height: 1.55;
}
.ayh-ui-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  color: rgba(255,255,255,.34);
  font-size: 8px;
  letter-spacing: .04em;
}
.ayh-ui-window:not(.ayh-ui-window--galaxy) .ayh-ui-caption {
  color: #9299aa;
}
.ayh-river-body,
.ayh-history-body,
.ayh-behavior-body {
  padding: 20px;
  color: #15203a;
}
.ayh-river-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
  padding: 17px;
  border-radius: 16px;
  color: #fff;
  background: #11182b;
}
.ayh-river-summary small { color: rgba(255,255,255,.48); font-size: 9px; }
.ayh-river-summary strong { display: block; margin-top: 4px; font-size: 19px; letter-spacing: -.03em; }
.ayh-river-summary span { color: #e8c87e; font-size: 11px; }
.ayh-river-line {
  position: relative;
  display: grid;
  grid-template-columns: 54px 15px minmax(0, 1fr);
  gap: 11px;
  min-height: 74px;
}
.ayh-river-line:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 61px;
  top: 26px;
  bottom: -7px;
  width: 1px;
  background: #dce1ec;
}
.ayh-river-date { color: #9299aa; font-size: 9px; padding-top: 5px; }
.ayh-river-dot {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border: 3px solid #f6f7fb;
  border-radius: 50%;
  background: var(--dot, #5e5ce6);
  box-shadow: 0 0 0 1px var(--dot, #5e5ce6);
}
.ayh-river-event strong { display: block; color: #1c2743; font-size: 11px; }
.ayh-river-event p { margin-top: 3px; color: #788198; font-size: 9px; line-height: 1.45; }
.ayh-profile-hero {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  margin-bottom: 18px;
  padding: 17px;
  border: 1px solid #e5e8ef;
  border-radius: 17px;
  background: #fff;
}
.ayh-profile-radar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(30deg, transparent 49.5%, #e1e5ed 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, #e1e5ed 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, #e1e5ed 50%, transparent 50.5%);
}
.ayh-profile-radar::after {
  content: '';
  position: absolute;
  inset: 13px 10px 11px 15px;
  background: rgba(94,92,230,.25);
  border: 1px solid rgba(94,92,230,.62);
  clip-path: polygon(50% 0, 92% 28%, 82% 82%, 42% 100%, 7% 61%, 18% 18%);
}
.ayh-profile-hero small { color: #9299aa; font-size: 9px; }
.ayh-profile-hero h3 { margin-top: 4px; color: #17213a; font-size: 15px; }
.ayh-profile-hero p { margin-top: 4px; color: #788198; font-size: 9px; line-height: 1.5; }
.ayh-history-list {
  display: grid;
  gap: 9px;
}
.ayh-history-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  background: #fff;
}
.ayh-history-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #5e5ce6;
  background: #f1f0ff;
  font-size: 12px;
}
.ayh-history-item strong { display: block; color: #1b2743; font-size: 10px; }
.ayh-history-item small { color: #969dae; font-size: 8px; }
.ayh-history-item > span:last-child { color: #6f7890; font-size: 9px; }
.ayh-behavior-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .62fr);
  gap: 24px;
  align-items: center;
  min-height: 345px;
  background: #f8f9fc;
}
.ayh-balloon-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 278px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 58%, rgba(0,122,255,.09), transparent 36%),
    #eef3fb;
}
.ayh-balloon {
  position: relative;
  width: 116px;
  height: 144px;
  border-radius: 52% 48% 46% 54% / 56% 56% 44% 44%;
  background: #ef596f;
  box-shadow: inset -18px -20px 32px rgba(137,18,53,.18), 0 22px 34px rgba(239,89,111,.22);
}
.ayh-balloon::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 22px;
  width: 25px;
  height: 39px;
  border-radius: 50%;
  background: rgba(255,255,255,.33);
  transform: rotate(18deg);
}
.ayh-balloon::after {
  content: '';
  position: absolute;
  left: 51px;
  bottom: -47px;
  width: 1px;
  height: 48px;
  background: #8e97a9;
}
.ayh-task-side small { color: #8d95a7; font-size: 9px; }
.ayh-task-side h3 { margin: 5px 0 9px; color: #18223d; font-size: 17px; letter-spacing: -.02em; }
.ayh-task-side p { color: #737d94; font-size: 10px; line-height: 1.55; }
.ayh-task-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 15px 0;
}
.ayh-task-stat div {
  padding: 10px;
  border: 1px solid #e2e6ee;
  border-radius: 12px;
  background: #fff;
}
.ayh-task-stat b { display: block; color: #1c2743; font-size: 15px; }
.ayh-task-stat span { color: #969dae; font-size: 8px; }
.ayh-task-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ayh-task-actions span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  color: #1c2743;
  border: 1px solid #d9dee8;
  background: #fff;
  font-size: 9px;
  font-weight: 600;
}
.ayh-task-actions span:last-child {
  color: #fff;
  border-color: #11182b;
  background: #11182b;
}
.ayh-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, var(--brand-400) 48%, transparent);
  border-radius: 999px;
  color: #fff;
  background: var(--brand-500);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   X. Mind Atlas methodology — editorial layout
   ============================================================ */
.ayh-methodology {
  background: var(--background-50);
}
.ayh-methodology-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.ayh-methodology-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}
.ayh-methodology-aside {
  position: sticky;
  top: 84px;
  padding: 18px 0;
  border-top: 1px solid color-mix(in srgb, var(--background-300) 28%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--background-300) 28%, transparent);
}
.ayh-methodology-aside > p {
  margin-bottom: 15px;
  color: var(--text-400);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ayh-methodology-aside a {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  color: var(--text-500);
  font-size: 12px;
  line-height: 1.45;
}
.ayh-methodology-aside a span:first-child {
  color: var(--brand-500);
  font-size: 9px;
  letter-spacing: .08em;
}
.ayh-methodology-main {
  min-width: 0;
  max-width: 760px;
}
.ayh-methodology-main > header {
  margin-bottom: 50px;
}
.ayh-methodology-main h2 {
  margin-bottom: 22px;
  color: var(--text-800);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ayh-methodology-lede {
  color: var(--text-500);
  font-size: 17px;
  line-height: 1.82;
}
.ayh-method-block {
  padding: 44px 0;
  border-top: 1px solid color-mix(in srgb, var(--background-300) 24%, transparent);
}
.ayh-method-block h3 {
  margin-bottom: 17px;
  color: var(--text-800);
  font-size: clamp(21px, 2.8vw, 29px);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.ayh-method-block > p {
  margin-bottom: 17px;
  color: var(--text-500);
  font-size: 15px;
  line-height: 1.85;
}
.ayh-method-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 27px;
}
.ayh-method-card {
  min-height: 168px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--background-300) 23%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--background-100) 48%, transparent);
}
.ayh-method-card small {
  color: var(--brand-500);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.ayh-method-card h4 {
  margin: 10px 0 7px;
  color: var(--text-800);
  font-size: 14px;
}
.ayh-method-card p {
  color: var(--text-500);
  font-size: 11px;
  line-height: 1.68;
}
.ayh-method-quote {
  margin: 30px 0 4px;
  padding: 26px 28px;
  border-left: 3px solid var(--brand-500);
  color: var(--text-800);
  background: color-mix(in srgb, var(--brand-500) 5%, transparent);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
  letter-spacing: -.015em;
}
.ayh-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.ayh-boundary-grid div {
  padding: 17px;
  border-radius: 15px;
  color: #dfe7ff;
  background: #11182b;
}
.ayh-boundary-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 12px;
}
.ayh-boundary-grid p {
  color: #929db9;
  font-size: 10px;
  line-height: 1.6;
}
.ayh-science-note {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--background-300) 24%, transparent);
  color: var(--text-400);
  font-size: 10px;
  line-height: 1.72;
}
.ayh-science-note p + p { margin-top: 5px; }
.ayh-science-note strong { color: var(--text-600); font-weight: 600; }
.ayh-science-note a {
  color: var(--brand-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Y. Blog newsroom, discovery and article reading experience
   ============================================================ */
[data-blog-entry][hidden] { display: none !important; }
.ayh-blog-newsroom {
  border-top: 1px solid color-mix(in srgb, var(--text-50) 7%, transparent);
  background: var(--background-900);
}
.ayh-blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 34px;
  align-items: end;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--text-50) 10%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--text-50) 3%, transparent);
}
.ayh-blog-toolbar h2 {
  color: var(--text-50);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.ayh-blog-toolbar p {
  margin-top: 9px;
  max-width: 560px;
  color: var(--text-300);
  font-size: 13px;
  line-height: 1.7;
}
.ayh-blog-search-wrap {
  position: relative;
}
.ayh-blog-search-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--text-400);
  transform: translateY(-50%);
  pointer-events: none;
}
.ayh-blog-search {
  width: 100%;
  min-height: 48px;
  padding: 0 15px 0 43px;
  border: 1px solid color-mix(in srgb, var(--text-50) 12%, transparent);
  border-radius: 999px;
  outline: 0;
  color: var(--text-50);
  background: color-mix(in srgb, var(--text-50) 5%, transparent);
  font-size: 13px;
}
.ayh-blog-search::placeholder { color: var(--text-400); }
.ayh-blog-search:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 13%, transparent);
}
.ayh-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.ayh-blog-filter {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--text-50) 11%, transparent);
  border-radius: 999px;
  color: var(--text-300);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.ayh-blog-filter[aria-pressed="true"] {
  color: #fff;
  border-color: var(--brand-500);
  background: var(--brand-500);
}
.ayh-blog-count {
  display: block;
  margin-top: 12px;
  color: var(--text-400);
  font-size: 10px;
}
.ayh-blog-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ayh-blog-entry {
  min-height: 245px;
  padding: 23px;
  border: 1px solid color-mix(in srgb, var(--background-300) 20%, transparent);
  border-radius: 18px;
  background: var(--background-50);
}
.ayh-blog-entry a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ayh-blog-entry-kicker {
  color: var(--brand-500);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ayh-blog-entry h3 {
  margin: 14px 0 9px;
  color: var(--text-800);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.ayh-blog-entry p {
  color: var(--text-500);
  font-size: 12px;
  line-height: 1.65;
}
.ayh-blog-entry footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--text-400);
  font-size: 10px;
}
.ayh-blog-entry--soon { opacity: .64; }
.ayh-article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.ayh-article-toc {
  position: sticky;
  top: 82px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--background-300) 24%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--background-300) 24%, transparent);
}
.ayh-article-toc p {
  margin-bottom: 11px;
  color: var(--text-400);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ayh-article-toc a {
  display: block;
  padding: 7px 0;
  color: var(--text-500);
  font-size: 11px;
  line-height: 1.45;
}
.ayh-article-body {
  min-width: 0;
  max-width: 710px;
}
.ayh-article-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  margin-bottom: 36px;
  padding: 0 0 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--background-300) 20%, transparent);
  color: var(--text-400);
  font-size: 10px;
  line-height: 1.5;
}
.ayh-article-meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-700);
  font-size: 10px;
  font-weight: 600;
}
.ayh-review-status {
  margin-top: 38px;
  padding: 19px;
  border: 1px solid color-mix(in srgb, var(--brand-500) 20%, transparent);
  border-radius: 16px;
  color: var(--text-500);
  background: color-mix(in srgb, var(--brand-500) 4%, transparent);
  font-size: 10px;
  line-height: 1.68;
}
@media (max-width: 900px) {
  .ayh-showcase-head,
  .ayh-blog-toolbar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ayh-ui-window--galaxy,
  .ayh-ui-window--river,
  .ayh-ui-window--history,
  .ayh-ui-window--behavior {
    grid-column: span 12;
  }
  .ayh-methodology-grid,
  .ayh-article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ayh-methodology-aside,
  .ayh-article-toc {
    position: static;
    display: flex;
    gap: 9px;
    padding: 0 0 14px;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: none;
  }
  .ayh-methodology-aside::-webkit-scrollbar,
  .ayh-article-toc::-webkit-scrollbar { display: none; }
  .ayh-methodology-aside > p,
  .ayh-article-toc > p { display: none; }
  .ayh-methodology-aside a,
  .ayh-article-toc a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid color-mix(in srgb, var(--background-300) 24%, transparent);
    border-radius: 999px;
  }
  .ayh-blog-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ayh-showcase-head { margin-bottom: 28px; }
  .ayh-product-grid { gap: 13px; }
  .ayh-ui-window {
    border-radius: 17px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }
  .ayh-ui-window--galaxy,
  .ayh-ui-window--river { min-height: 470px; }
  .ayh-ui-window--history,
  .ayh-ui-window--behavior { min-height: 390px; }
  .ayh-behavior-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .ayh-balloon-stage { min-height: 170px; }
  .ayh-balloon { width: 76px; height: 94px; }
  .ayh-balloon::after { left: 36px; bottom: -28px; height: 29px; }
  .ayh-method-stack,
  .ayh-boundary-grid,
  .ayh-article-meta,
  .ayh-blog-entry-grid {
    grid-template-columns: 1fr;
  }
  .ayh-method-card { min-height: 0; }
  .ayh-science-note {
    width: calc(100% - 32px);
    margin-bottom: 28px;
  }
  .ayh-blog-toolbar { padding: 20px; border-radius: 18px; }
  .ayh-blog-entry { min-height: 0; }
}

/* Mind Atlas closing and evidence architecture */
.ayh-mind-closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(88px, 11vw, 150px) 24px;
  color: var(--text-50);
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--brand-500) 30%, transparent), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(87, 82, 214, .18), transparent 33%),
    var(--background-900);
}
.ayh-mind-closing__glow {
  position: absolute;
  z-index: -1;
  width: min(680px, 74vw);
  aspect-ratio: 1;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-500) 11%, transparent);
  filter: blur(90px);
  pointer-events: none;
}
.ayh-mind-closing__inner {
  width: min(100%, 920px);
  margin-inline: auto;
  text-align: center;
}
.ayh-mind-closing__kicker {
  margin-bottom: 22px;
  color: var(--brand-300);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ayh-mind-closing h2 {
  max-width: 860px;
  margin-inline: auto;
  color: var(--text-50);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.ayh-mind-closing__inner > p:not(.ayh-mind-closing__kicker) {
  max-width: 680px;
  margin: 25px auto 0;
  color: var(--text-300);
  font-size: 16px;
  line-height: 1.82;
}
.ayh-mind-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
}
.ayh-mind-closing__primary,
.ayh-mind-closing__secondary {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 680;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ayh-mind-closing__primary {
  color: white;
  background: var(--brand-500);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--brand-500) 28%, transparent);
}
.ayh-mind-closing__secondary {
  color: var(--text-100);
  border: 1px solid color-mix(in srgb, var(--text-50) 20%, transparent);
  background: color-mix(in srgb, var(--text-50) 4%, transparent);
}
.ayh-mind-closing__primary:hover,
.ayh-mind-closing__secondary:hover { transform: translateY(-2px); }
.ayh-mind-closing__primary i { width: 16px; height: 16px; }
.ayh-mind-closing__primary:focus-visible,
.ayh-mind-closing__secondary:focus-visible,
.ayh-credential-card a:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 4px;
}

.ayh-credentials {
  position: relative;
  padding: clamp(72px, 8vw, 108px) 24px;
  border-top: 1px solid color-mix(in srgb, var(--background-300) 14%, transparent);
  color: var(--text-100);
  background: color-mix(in srgb, var(--background-900) 97%, #08121f);
}
.ayh-credentials__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
}
.ayh-credentials__header {
  max-width: 850px;
  margin-bottom: 42px;
}
.ayh-credentials__header > p {
  margin-bottom: 16px;
  color: var(--brand-300);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ayh-credentials__header h2 {
  color: var(--text-50);
  font-size: clamp(27px, 3.4vw, 44px);
  font-weight: 640;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ayh-credentials__grid {
  display: grid;
  grid-template-columns: .92fr 1.14fr 1.14fr;
  gap: 14px;
}
.ayh-credential-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--text-50) 11%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--text-50) 4%, transparent);
}
.ayh-credential-card--boundary {
  border-color: color-mix(in srgb, var(--brand-400) 20%, transparent);
  background: color-mix(in srgb, var(--brand-500) 7%, transparent);
}
.ayh-credential-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 14px;
  color: var(--brand-300);
  background: color-mix(in srgb, var(--brand-500) 13%, transparent);
}
.ayh-credential-card__icon i { width: 20px; height: 20px; }
.ayh-credential-card h3 {
  color: var(--text-50);
  font-size: 16px;
  font-weight: 700;
}
.ayh-credential-card p,
.ayh-credential-card__note {
  margin-top: 11px;
  color: var(--text-300);
  font-size: 12px;
  line-height: 1.74;
}
.ayh-credential-sources {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding: 0;
  list-style: none;
}
.ayh-credential-sources a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 9px;
  align-items: start;
  color: var(--brand-300);
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
}
.ayh-credential-sources a:hover { color: var(--brand-200); }
.ayh-credential-sources i { width: 13px; height: 13px; margin-top: 2px; }
.ayh-credential-card--boundary > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--brand-300);
  font-size: 11px;
  font-weight: 680;
}
.ayh-credential-card--boundary > a i { width: 14px; height: 14px; }

/* Connected wellness belongs to the AI-native app architecture */
.hub-wellness-team {
  color: var(--text-50);
  background:
    radial-gradient(circle at 11% 12%, color-mix(in srgb, var(--brand-500) 24%, transparent), transparent 33%),
    radial-gradient(circle at 90% 82%, rgba(75, 72, 198, .17), transparent 31%),
    color-mix(in srgb, var(--background-900) 98%, #071524);
}
.hub-wellness-shell { position: relative; z-index: 1; }
.hub-wellness-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  gap: 74px;
  align-items: end;
  margin-bottom: 48px;
}
.hub-wellness-team .hub-heading { max-width: 790px; margin-bottom: 0; }
.hub-wellness-team .hub-kicker { color: var(--brand-300); }
.hub-wellness-team .hub-heading h2 { color: var(--text-50); }
.hub-wellness-team .hub-heading p { color: var(--text-300); }
.hub-wellness-consent {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--brand-400) 22%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--brand-500) 7%, transparent);
}
.hub-wellness-consent__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-300);
  background: color-mix(in srgb, var(--brand-500) 14%, transparent);
}
.hub-wellness-consent__icon i { width: 21px; height: 21px; }
.hub-wellness-consent strong {
  display: block;
  color: var(--text-100);
  font-size: 13px;
  line-height: 1.55;
}
.hub-wellness-consent p {
  margin-top: 6px;
  color: var(--text-400);
  font-size: 12px;
  line-height: 1.68;
}
.hub-wellness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hub-wellness-card {
  position: relative;
  min-height: 316px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text-50) 11%, transparent);
  border-radius: 23px;
  color: inherit;
  background: color-mix(in srgb, var(--text-50) 4%, transparent);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.hub-wellness-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand-400) 38%, transparent);
  background: color-mix(in srgb, var(--brand-500) 8%, transparent);
}
.hub-wellness-card:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 4px;
}
.hub-wellness-card__index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: color-mix(in srgb, var(--text-50) 30%, transparent);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .12em;
}
.hub-wellness-card__icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border-radius: 15px;
  color: var(--brand-300);
  background: color-mix(in srgb, var(--brand-500) 14%, transparent);
}
.hub-wellness-card__icon i { width: 22px; height: 22px; }
.hub-wellness-card h3 {
  color: var(--text-50);
  font-size: 17px;
  font-weight: 700;
}
.hub-wellness-card > p {
  margin-top: 11px;
  color: var(--text-300);
  font-size: 12px;
  line-height: 1.72;
}
.hub-wellness-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-300);
  font-size: 11px;
  font-weight: 680;
}
.hub-wellness-card__link i { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .ayh-credentials__grid { grid-template-columns: 1fr 1fr; }
  .ayh-credential-card--boundary { grid-column: 1 / -1; }
  .hub-wellness-intro { grid-template-columns: 1fr; gap: 30px; }
  .hub-wellness-consent { max-width: 680px; }
  .hub-wellness-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ayh-mind-closing { padding-inline: 18px; }
  .ayh-mind-closing h2 { font-size: clamp(32px, 10.5vw, 46px); }
  .ayh-mind-closing__inner > p:not(.ayh-mind-closing__kicker) { font-size: 15px; }
  .ayh-mind-closing__actions { align-items: stretch; }
  .ayh-mind-closing__primary,
  .ayh-mind-closing__secondary { width: 100%; }
  .ayh-credentials { padding-inline: 18px; }
  .ayh-credentials__header { margin-bottom: 30px; }
  .ayh-credentials__grid { grid-template-columns: 1fr; }
  .ayh-credential-card--boundary { grid-column: auto; }
  .ayh-credential-card { padding: 22px; border-radius: 19px; }
  .hub-wellness-grid { grid-template-columns: 1fr; }
  .hub-wellness-card { min-height: 276px; }
}
@media (prefers-reduced-motion: reduce) {
  .ayh-mind-closing__primary,
  .ayh-mind-closing__secondary,
  .hub-wellness-card { transition: none; }
}

/* Perspective pillar essays
   Long-form editorial pages use a quiet reading column, visible argument
   structure and compact evidence cards instead of undifferentiated copy. */
.ayh-pillar-essay {
  --pillar-rule: color-mix(in srgb, var(--brand-500) 18%, var(--background-300));
  position: relative;
  color: var(--text-500);
}
.ayh-pillar-lede {
  position: relative;
  margin: 0 0 58px;
  padding: 30px 32px 31px 35px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand-500) 16%, var(--background-300));
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--brand-500) 12%, transparent), transparent 42%),
    color-mix(in srgb, var(--background-100) 64%, transparent);
}
.ayh-pillar-lede::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-400), color-mix(in srgb, #5856d6 78%, var(--brand-500)));
}
.ayh-pillar-lede__label,
.ayh-pillar-section__label,
.ayh-pillar-outcomes__label,
.ayh-pillar-evidence__label {
  margin: 0 0 11px;
  color: var(--brand-500);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ayh-pillar-lede__text {
  margin: 0;
  color: var(--text-700);
  font-size: clamp(18px, 2.25vw, 22px);
  font-weight: 590;
  line-height: 1.78;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.ayh-pillar-toc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: -28px 0 66px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pillar-rule);
}
.ayh-pillar-toc a {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  color: var(--text-500);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.ayh-pillar-toc a:hover {
  color: var(--brand-600);
  background: color-mix(in srgb, var(--brand-500) 8%, transparent);
  transform: translateY(-1px);
}
.ayh-pillar-section {
  position: relative;
  margin: 0 0 64px;
  padding-left: 64px;
  scroll-margin-top: 86px;
}
.ayh-pillar-section::before {
  content: attr(data-index);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  padding-top: 7px;
  border-top: 2px solid var(--brand-500);
  color: var(--brand-500);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .08em;
}
.ayh-pillar-section h2 {
  margin: 0 0 20px;
  color: var(--text-800);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.ayh-pillar-section p:not(.ayh-pillar-section__label) {
  margin: 0;
  color: var(--text-500);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .005em;
  text-wrap: pretty;
}
.ayh-pillar-section p + p {
  margin-top: 18px;
}
.ayh-pillar-pullquote {
  margin: 2px 0 64px;
  padding: 28px 30px;
  border: 0;
  border-top: 1px solid var(--pillar-rule);
  border-bottom: 1px solid var(--pillar-rule);
  color: var(--text-700);
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 650;
  line-height: 1.65;
  letter-spacing: -.016em;
  text-align: center;
  text-wrap: balance;
}
.ayh-pillar-outcomes {
  margin: 4px 0 66px;
}
.ayh-pillar-outcomes h2,
.ayh-pillar-evidence h2 {
  margin: 0 0 22px;
  color: var(--text-800);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.ayh-pillar-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ayh-pillar-outcome {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid color-mix(in srgb, var(--background-300) 28%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--background-100) 58%, transparent);
}
.ayh-pillar-outcome i {
  width: 18px;
  height: 18px;
  margin-bottom: 15px;
  color: var(--brand-500);
}
.ayh-pillar-outcome h3 {
  margin: 0 0 8px;
  color: var(--text-800);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}
.ayh-pillar-outcome p {
  margin: 0;
  color: var(--text-500);
  font-size: 12px;
  line-height: 1.72;
}
.ayh-pillar-evidence {
  position: relative;
  margin: 0 0 66px;
  padding: 30px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--background-900);
  color: var(--text-200);
}
.ayh-pillar-evidence::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--brand-500);
  opacity: .09;
  filter: blur(8px);
  pointer-events: none;
}
.ayh-pillar-evidence__label {
  color: var(--brand-300);
}
.ayh-pillar-evidence h2 {
  position: relative;
  z-index: 1;
  color: var(--text-50);
}
.ayh-pillar-evidence > p:not(.ayh-pillar-evidence__label) {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-300);
  font-size: 14px;
  line-height: 1.85;
}
.ayh-pillar-evidence__links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.ayh-pillar-evidence__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--text-50) 15%, transparent);
  border-radius: 999px;
  color: var(--text-100);
  font-size: 11px;
  font-weight: 650;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.ayh-pillar-evidence__links a:hover {
  border-color: color-mix(in srgb, var(--brand-300) 58%, transparent);
  color: var(--brand-200);
  background: color-mix(in srgb, var(--brand-500) 10%, transparent);
}
.ayh-pillar-evidence__links i {
  width: 13px;
  height: 13px;
}
.ayh-pillar-editorial-note {
  margin: 0 0 58px;
  padding: 18px 20px;
  border-left: 2px solid color-mix(in srgb, var(--brand-500) 50%, var(--background-300));
  color: var(--text-400);
  font-size: 12px;
  line-height: 1.75;
}

@media (max-width: 720px) {
  .ayh-pillar-lede {
    margin-bottom: 44px;
    padding: 25px 23px 25px 26px;
    border-radius: 18px;
  }
  .ayh-pillar-lede__text { font-size: 17px; line-height: 1.78; }
  .ayh-pillar-toc {
    grid-template-columns: 1fr 1fr;
    margin: -18px 0 52px;
  }
  .ayh-pillar-toc a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ayh-pillar-section {
    margin-bottom: 52px;
    padding-left: 0;
  }
  .ayh-pillar-section::before {
    position: static;
    display: block;
    width: 34px;
    margin-bottom: 17px;
    padding-top: 6px;
  }
  .ayh-pillar-section h2 { margin-bottom: 17px; font-size: 25px; }
  .ayh-pillar-section p:not(.ayh-pillar-section__label) { font-size: 15px; line-height: 1.92; }
  .ayh-pillar-pullquote {
    margin-bottom: 52px;
    padding: 24px 4px;
    font-size: 18px;
    text-align: left;
  }
  .ayh-pillar-outcomes__grid { grid-template-columns: 1fr; }
  .ayh-pillar-outcome { padding: 20px; }
  .ayh-pillar-evidence { margin-bottom: 52px; padding: 25px 22px; border-radius: 18px; }
  .ayh-pillar-evidence__links { align-items: stretch; flex-direction: column; }
  .ayh-pillar-evidence__links a { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .ayh-pillar-toc a,
  .ayh-pillar-evidence__links a { transition: none; }
}
