:root {
  --color-primary: #4f46e5;
  --color-secondary: #8b5cf6;
  --color-accent: #f59e0b;
  --color-bg: #ffffff;
  --color-bg-soft: #f9fafb;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-shadow: 0 20px 45px rgba(79, 70, 229, 0.12);
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --legal-title: #1f2937;
  --legal-body: #4b5563;
  --legal-link: #4f46e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.14), transparent 22%),
    var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

a:active {
  transform: translateY(1px);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--color-shadow);
}

.brand__text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.site-nav--legal {
  gap: 32px;
}

.site-nav--legal a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer__links a:hover,
.footer__links a:focus-visible,
.legal-breadcrumb a:hover,
.legal-breadcrumb a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible,
.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: max(80vh, 600px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  background:
    radial-gradient(ellipse 120% 100% at 20% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 80% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 140% 60% at 50% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    var(--color-bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 14ch;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: linear-gradient(135deg, #111827 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero__lead,
.section-heading p,
.value-card p,
.timeline-step p,
.highlight-panel p,
.footer__text,
.footer__meta p {
  color: var(--color-text-muted);
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3), 0 2px 4px rgba(79, 70, 229, 0.15);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4), 0 4px 8px rgba(79, 70, 229, 0.2);
}

.button--ghost {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
}

.hero__metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 40px 0 0;
}

.hero__metrics li,
.value-card,
.timeline-step,
.highlight-panel,
.hero-card,
.legal-card,
.legal-toc__inner {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--color-shadow);
}

.hero__metrics li {
  padding: 18px;
}

.hero__metrics strong {
  display: block;
  font-size: 1.5rem;
}

.hero__metrics span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.85;
  animation: orbFloat 8s ease-in-out infinite;
  will-change: transform, opacity;
}

.orb--primary {
  width: 320px;
  height: 320px;
  top: 5%;
  right: 8%;
  background:
    radial-gradient(circle at 30% 30%, rgba(79, 70, 229, 0.45), rgba(79, 70, 229, 0.15), transparent 70%),
    conic-gradient(from 0deg at 50% 50%, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1), rgba(79, 70, 229, 0.2));
  animation-delay: 0s;
  animation-duration: 9s;
}

.orb--secondary {
  width: 260px;
  height: 260px;
  bottom: 8%;
  left: 5%;
  background:
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.4), rgba(139, 92, 246, 0.1), transparent 70%),
    conic-gradient(from 180deg at 50% 50%, rgba(139, 92, 246, 0.15), rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.15));
  animation-delay: -3s;
  animation-duration: 11s;
}

.orb--tertiary {
  width: 140px;
  height: 140px;
  top: 45%;
  left: 70%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.1), transparent 60%);
  animation-delay: -5s;
  animation-duration: 7s;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.5) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 36px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: cardEntrance 1s ease-out 0.3s both;
  will-change: transform, opacity;
}

.hero-card__label {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.3;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.signal-list span {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  color: var(--color-text);
  font-size: 0.92rem;
}

.section {
  padding: 104px 0;
}

.section#highlights {
  padding: 96px 0;
  background: radial-gradient(ellipse 150% 60% at 50% 50%, rgba(79, 70, 229, 0.06), transparent 50%), var(--color-bg);
}

.section--alt {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04), rgba(79, 70, 229, 0.02));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 1rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.value-card {
  padding: 36px 28px;
  min-height: 300px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.value-card:hover,
.value-card:focus-within {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.value-card:active,
.timeline-step:active,
.highlight-panel:active {
  transform: scale(0.98);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.value-card:hover::before {
  left: 100%;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(79, 70, 229, 0.2));
}

.value-card:hover .icon-badge,
.value-card:focus-within .icon-badge {
  transform: scale(1.08) rotate(2deg);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.value-card h3,
.timeline-step h3,
.highlight-panel h3 {
  margin: 16px 0 0;
  font-size: 1.125rem;
}

.value-card p,
.timeline-step p,
.highlight-panel p {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(79, 70, 229, 0.3) 5%, rgba(79, 70, 229, 0.4) 50%, rgba(79, 70, 229, 0.3) 95%, transparent 100%);
  z-index: 0;
  animation: lineGlow 3s ease-in-out infinite;
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  text-align: center;
  animation: stepFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-fill-mode: both;
  transition: all var(--transition-slow);
  will-change: transform, opacity;
}

.timeline-step:nth-child(1) {
  animation-delay: 0s;
}

.timeline-step:nth-child(2) {
  animation-delay: 0.12s;
}

.timeline-step:nth-child(3) {
  animation-delay: 0.24s;
}

.timeline-step:nth-child(4) {
  animation-delay: 0.36s;
}

.timeline-step__node {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid #e0e7ff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3), 0 2px 6px rgba(79, 70, 229, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step__node::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(79, 70, 229, 0.3);
  animation: nodePulse 3s ease-in-out infinite;
}

.timeline-step:hover .timeline-step__node,
.timeline-step:focus-within .timeline-step__node {
  transform: scale(1.08);
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4), 0 4px 12px rgba(79, 70, 229, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.highlights-shell {
  display: grid;
  gap: 32px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.highlight-panel {
  padding: 36px 32px;
  min-height: 260px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.highlight-panel:hover,
.highlight-panel:focus-within {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.highlight-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.highlight-panel p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.legal-page {
  padding: 0 0 96px;
}

.legal-hero {
  padding: 80px 0 48px;
  background: radial-gradient(ellipse 120% 50% at 50% 0%, rgba(79, 70, 229, 0.06), transparent 50%), var(--color-bg);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.legal-hero__inner {
  max-width: 800px;
  text-align: center;
}

.legal-updated {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-hero h1 {
  margin: 0 0 8px;
  color: var(--legal-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-section {
  padding: 12px 0 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 260px;
  gap: 32px;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 24px;
}

.legal-card {
  padding: 32px 32px 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.legal-summary {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-left: 4px solid var(--color-primary);
}

.legal-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-summary li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-summary li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2em;
}

.legal-card h2 {
  margin: 0 0 20px;
  color: var(--legal-title);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal-card p,
.legal-card li {
  margin: 0 0 16px;
  color: var(--legal-body);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-content a,
.legal-breadcrumb a,
.legal-toc a {
  color: var(--legal-link);
}

.legal-card a {
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: #6366f1;
  border-bottom-color: #6366f1;
}

.legal-note {
  padding-top: 8px;
  font-size: 0.92rem;
}

.legal-toc {
  display: block;
}

.legal-toc__inner {
  position: sticky;
  top: 100px;
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.legal-toc__inner p {
  margin: 0 0 16px;
  color: var(--legal-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-toc__inner a {
  display: block;
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--legal-body);
  text-decoration: none;
  padding-left: 12px;
  position: relative;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.legal-toc__inner a:hover,
.legal-toc__inner a:focus-visible,
.legal-toc__inner a.active {
  color: var(--color-primary);
  padding-left: 16px;
  border-left-color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  border-radius: 0 8px 8px 0;
  font-weight: 600;
}

.site-footer {
  padding: 64px 24px;
  background: var(--color-bg-soft);
  border-top: 1px solid rgba(229, 231, 235, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer__col--left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer__col--center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
}

.footer__col--right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  align-items: end;
}

.footer__brand {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.footer__slogan {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer__email {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
}

.footer__email:hover {
  color: #6366f1;
}

.footer__copyright {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer__email {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.footer__email:hover {
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-fill-mode: both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(15px, -10px) scale(1.02);
  }
  50% {
    transform: translate(-8px, 20px) scale(0.98);
  }
  75% {
    transform: translate(-12px, -15px) scale(1.01);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes lineGlow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #6366f1;
    --color-secondary: #8b5cf6;
    --color-bg: #0f172a;
    --color-bg-soft: #111827;
    --color-text: #f9fafb;
    --color-text-muted: #9ca3af;
    --color-border: #334155;
    --color-surface: rgba(30, 41, 59, 0.72);
    --color-shadow: 0 20px 45px rgba(15, 23, 42, 0.42);
    --legal-title: #f9fafb;
    --legal-body: #cbd5e1;
    --legal-link: #818cf8;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 24%),
      radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), transparent 22%),
      var(--color-bg);
  }

  .hero {
    background:
      radial-gradient(ellipse 120% 100% at 20% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
      radial-gradient(ellipse 100% 80% at 80% 40%, rgba(139, 92, 246, 0.2) 0%, transparent 45%),
      radial-gradient(ellipse 140% 60% at 50% 100%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
      var(--color-bg);
  }

  .hero h1 {
    background: linear-gradient(135deg, #f9fafb 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .site-header,
  .button--ghost {
    background: rgba(15, 23, 42, 0.72);
  }

  .site-nav--legal a {
    color: #9ca3af;
  }

  .footer__slogan {
    color: #9ca3af;
  }

  .footer__copyright {
    color: #9ca3af;
  }

  .footer__email {
    color: #818cf8;
  }

  .footer__email:hover {
    color: #a5b4fc;
  }

  .footer__links a {
    color: #6b7280;
  }

  .footer__links a:hover,
  .footer__links a:focus-visible {
    color: #818cf8;
  }

  .button--ghost {
    border-color: #334155;
  }

  .button--ghost:hover,
  .button--ghost:focus-visible {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
  }

  .glass-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    box-shadow:
      0 8px 32px rgba(99, 102, 241, 0.15),
      0 2px 8px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .signal-list span {
    background: rgba(99, 102, 241, 0.16);
  }

  .value-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    border-color: #334155;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.08), 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .value-card:hover,
  .value-card:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2), 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .value-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  }

  .icon-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .value-card:hover .icon-badge,
  .value-card:focus-within .icon-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .timeline::before {
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.4) 5%, rgba(99, 102, 241, 0.5) 50%, rgba(99, 102, 241, 0.4) 95%, transparent 100%);
  }

  .timeline-step__node {
    border-color: #312e81;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), 0 2px 6px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  }

  .timeline-step__node::after {
    border-color: rgba(99, 102, 241, 0.4);
  }

  .timeline-step:hover .timeline-step__node,
  .timeline-step:focus-within .timeline-step__node {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  }

  .section#highlights {
    background: radial-gradient(ellipse 150% 60% at 50% 50%, rgba(99, 102, 241, 0.1), transparent 50%), var(--color-bg);
  }

  .highlight-panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .highlight-panel:hover,
  .highlight-panel:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.2), 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .legal-hero {
    background: radial-gradient(ellipse 120% 50% at 50% 0%, rgba(99, 102, 241, 0.1), transparent 50%), var(--color-bg);
    border-bottom-color: #334155;
  }

  .legal-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08), 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .legal-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15), 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .legal-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  }

  .legal-card a:hover,
  .legal-card a:focus-visible {
    color: #818cf8;
    border-bottom-color: #818cf8;
  }

  .legal-toc__inner {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08), 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .legal-toc__inner a:hover,
  .legal-toc__inner a:focus-visible,
  .legal-toc__inner a.active {
    background: rgba(99, 102, 241, 0.15);
  }
}

@media (max-width: 1024px) {
  .value-grid,
  .timeline,
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer__col--left,
  .footer__col--center,
  .footer__col--right {
    text-align: center;
    align-items: center;
  }

  .footer__slogan {
    max-width: 100%;
  }

  .footer__links {
    flex-direction: row;
    gap: 8px;
    font-size: 0.85rem;
  }

  .footer__links a {
    font-weight: 400;
  }

  .timeline::before {
    display: none;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 800px);
  }

  .legal-toc {
    display: none;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
    padding: 0 20px;
    box-sizing: border-box;
  }

  main,
  section,
  .hero__grid,
  .value-grid,
  .timeline,
  .highlights-grid,
  .footer-shell,
  .footer__grid {
    overflow-x: hidden;
    max-width: 100%;
  }

  * {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .nav-shell,
  .site-nav,
  .hero__actions {
    align-items: flex-start;
  }

  .hero__grid,
  .value-grid,
  .timeline,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .hero__grid,
  .section-heading,
  .hero__content {
    text-align: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    line-height: 1.3;
  }

  .hero__lead {
    margin-inline: auto;
    font-size: 1rem;
  }

  .hero__actions,
  .hero__metrics {
    justify-content: center;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
    padding: 0 16px;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .value-card,
  .timeline-step,
  .highlight-panel,
  .hero-card,
  .legal-card {
    padding: 24px 20px;
  }

  .timeline {
    gap: 40px;
  }

  .timeline-step {
    text-align: center;
  }

  .timeline-step::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    width: 2px;
    height: 32px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.4) 0%, rgba(79, 70, 229, 0.1) 100%);
  }

  .timeline-step:last-child::after {
    display: none;
  }

  .legal-hero {
    padding: 56px 0 32px;
  }

  .legal-hero h1 {
    font-size: 1.8rem;
  }

  .legal-updated {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
