/* NeuroCore Design Tokens & Styles */
/* Dark-first, deep scientific aesthetic — cyan/violet on near-black */

:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2rem);
  --text-2xl: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  --text-3xl: clamp(2.25rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transition */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Dark mode — default and primary */
:root,
[data-theme='dark'] {
  --color-bg: #0a0a0f;
  --color-surface: #0f0f18;
  --color-surface-2: #141420;
  --color-surface-offset: #1a1a2a;
  --color-surface-card: #12121e;
  --color-divider: #1e1e30;
  --color-border: #2a2a42;

  --color-text: #e0dfe8;
  --color-text-muted: #8a89a0;
  --color-text-faint: #55546e;
  --color-text-inverse: #0a0a0f;

  /* Primary — electric cyan */
  --color-primary: #00d4ff;
  --color-primary-hover: #00b8e0;
  --color-primary-active: #009aba;
  --color-primary-glow: rgba(0, 212, 255, 0.15);
  --color-primary-glow-strong: rgba(0, 212, 255, 0.3);

  /* Accent — violet */
  --color-accent: #8b5cf6;
  --color-accent-hover: #7c4fe0;
  --color-accent-glow: rgba(139, 92, 246, 0.15);

  /* Tertiary — warm gold for powered-by badge */
  --color-tertiary: #f59e0b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.1);
}

/* Light mode */
[data-theme='light'] {
  --color-bg: #f4f4f8;
  --color-surface: #ffffff;
  --color-surface-2: #f8f8fc;
  --color-surface-offset: #ebebf0;
  --color-surface-card: #ffffff;
  --color-divider: #d8d8e2;
  --color-border: #c8c8d6;

  --color-text: #1a1a2e;
  --color-text-muted: #5a5a72;
  --color-text-faint: #9090a6;
  --color-text-inverse: #f4f4f8;

  --color-primary: #0088aa;
  --color-primary-hover: #006d88;
  --color-primary-active: #005266;
  --color-primary-glow: rgba(0, 136, 170, 0.1);
  --color-primary-glow-strong: rgba(0, 136, 170, 0.2);

  --color-accent: #6d3ecf;
  --color-accent-hover: #5a30b0;
  --color-accent-glow: rgba(109, 62, 207, 0.1);

  --color-tertiary: #d97706;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(0, 136, 170, 0.06);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f4f4f8;
    --color-surface: #ffffff;
    --color-surface-2: #f8f8fc;
    --color-surface-offset: #ebebf0;
    --color-surface-card: #ffffff;
    --color-divider: #d8d8e2;
    --color-border: #c8c8d6;
    --color-text: #1a1a2e;
    --color-text-muted: #5a5a72;
    --color-text-faint: #9090a6;
    --color-text-inverse: #f4f4f8;
    --color-primary: #0088aa;
    --color-primary-hover: #006d88;
    --color-primary-active: #005266;
    --color-primary-glow: rgba(0, 136, 170, 0.1);
    --color-primary-glow-strong: rgba(0, 136, 170, 0.2);
    --color-accent: #6d3ecf;
    --color-accent-hover: #5a30b0;
    --color-accent-glow: rgba(109, 62, 207, 0.1);
    --color-tertiary: #d97706;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 136, 170, 0.06);
  }
}

/* ============================== */
/* LAYOUT */
/* ============================== */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================== */
/* HEADER */
/* ============================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header__logo-text span {
  color: var(--color-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.header__controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-btn,
.theme-btn {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}

.lang-btn:hover,
.theme-btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.lang-btn.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Mobile nav */
.header__mobile-toggle {
  display: none;
  color: var(--color-text);
  padding: var(--space-1);
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__mobile-toggle {
    display: flex;
  }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4) var(--space-6);
    gap: var(--space-4);
  }
}

/* ============================== */
/* HERO */
/* ============================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    var(--color-bg) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  background: var(--color-primary-glow);
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero__title .gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================== */
/* BUTTONS */
/* ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 30px var(--color-primary-glow-strong);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

/* ============================== */
/* POWERED BY BADGE */
/* ============================== */

.powered-by {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.powered-by__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.powered-by__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}

.powered-by__logo:hover {
  color: var(--color-text);
}

.powered-by__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ============================== */
/* SECTION TITLES */
/* ============================== */

.section__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================== */
/* WHAT IS NEUROCORE */
/* ============================== */

.what-is {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.what-is__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.what-is__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.what-is__visual img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .what-is__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ============================== */
/* ARCHITECTURE */
/* ============================== */

.arch__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.arch__card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.arch__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.arch__card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.arch__card:hover::before {
  opacity: 1;
}

.arch__card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-glow);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.arch__card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.arch__card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .arch__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================== */
/* RESEARCH — NGAN & NTGraph */
/* ============================== */

.research {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.research__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.research__card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.research__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.research__card:first-child::before {
  background: linear-gradient(90deg, #00d4ff, #8b5cf6);
}

.research__card:last-child::before {
  background: linear-gradient(90deg, #8b5cf6, #f59e0b);
}

.research__card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.research__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.research__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.research__card-icon--ngan {
  background: var(--color-primary-glow);
  color: var(--color-primary);
}

.research__card-icon--ntgraph {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.research__card-title {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.research__card-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

.research__card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.research__card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.research__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.research__card-stats {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.research__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.research__stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
}

.research__stat-label {
  font-size: 11px;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.research__note {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.research__note p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 768px) {
  .research__grid {
    grid-template-columns: 1fr;
  }
  .research__card {
    padding: var(--space-6);
  }
  .research__card-stats {
    flex-wrap: wrap;
    gap: var(--space-4);
  }
}

/* ============================== */
/* CAPABILITIES */
/* ============================== */

.capabilities {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.cap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.cap__item {
  padding: var(--space-6);
  background: var(--color-surface-card);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-interactive);
}

.cap__item:hover {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.cap__item-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.cap__item-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.cap__item-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cap__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================== */
/* WHY / DIFFERENTIATOR */
/* ============================== */

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-10);
}

.why__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.why__visual img {
  width: 100%;
  height: auto;
}

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.why__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.why__list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

@media (max-width: 768px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ============================== */
/* CODEROPS CTA SECTION */
/* ============================== */

.coderops-cta {
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-surface) 50%,
    var(--color-bg) 100%
  );
  position: relative;
}

.coderops-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.coderops-cta .section__desc {
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.coderops-cta__arrow {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.coderops-cta__arrow svg {
  color: var(--color-primary);
  opacity: 0.5;
}

/* ============================== */
/* CONTACT */
/* ============================== */

.contact {
  border-top: 1px solid var(--color-divider);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__info-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.contact__info-link:hover {
  color: var(--color-primary);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: var(--color-text-faint);
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__submit-msg {
  display: none;
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-align: center;
  padding: var(--space-4);
}

.contact__submit-msg.show {
  display: block;
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .contact__form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================== */
/* FOOTER */
/* ============================== */

.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__links {
  display: flex;
  gap: var(--space-4);
}

.footer__link {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

@media (max-width: 480px) {
  .footer__inner {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* ============================== */
/* SCROLL ANIMATIONS */
/* ============================== */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}
