/* ============================================
   极速魅影 · Shared Site CSS
   File: /assets/site.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --c-bg: #09060F;
  --c-surface: #121020;
  --c-surface-raised: #171432;
  --c-neon-purple: #A72BFA;
  --c-electric-blue: #00E5FF;
  --c-fluorescent-pink: #FF2A6D;
  --c-text: #F0E6FF;
  --c-muted: #9A8FBF;
  --c-success: #00FF9F;
  --c-warning: #FFB300;

  --gradient-primary: linear-gradient(135deg, #A72BFA 0%, #00E5FF 100%);
  --gradient-accent: linear-gradient(135deg, #FF2A6D 0%, #A72BFA 100%);

  --font-headline: "Orbitron", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --container: 1320px;
  --radius: 0px;
  --radius-pill: 999px;
  --header-z: 200;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(167, 43, 250, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 110%, rgba(0, 229, 255, 0.05), transparent 60%),
    var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-top: 0;
}

p {
  margin-top: 0;
}

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

a {
  color: var(--c-electric-blue);
  text-decoration: none;
}

a:hover {
  color: var(--c-neon-purple);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(167, 43, 250, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-electric-blue);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-neon-purple), var(--c-electric-blue));
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section--tight {
  padding-top: 28px;
  padding-bottom: 28px;
}

.section--loose {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.1em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.section-sub {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--c-neon-purple);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(167, 43, 250, 0.4);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: rgba(9, 6, 15, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(167, 43, 250, 0.16);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-neon-purple), var(--c-electric-blue));
  opacity: 0.45;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

body.is-scrolled .site-header {
  background: rgba(9, 6, 15, 0.92);
  border-bottom-color: rgba(167, 43, 250, 0.34);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(167, 43, 250, 0.07);
}

body.is-scrolled .site-header::before {
  opacity: 0.9;
}

/* Header Top Bar */
.site-header__top {
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  overflow: hidden;
  max-height: 40px;
  transition: max-height 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}

body.is-scrolled .site-header__top {
  max-height: 0;
  border-bottom-color: transparent;
  opacity: 0;
}

.site-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.site-header__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  letter-spacing: 0.08em;
}

.status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 8px var(--c-success);
  animation: led-pulse 2s ease-in-out infinite;
}

@keyframes led-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--c-success);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 2px var(--c-success);
  }
}

.site-header__top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__email {
  letter-spacing: 0.05em;
  color: var(--c-muted);
}

.site-header__top-feedback {
  color: var(--c-electric-blue);
  border-bottom: 1px dashed rgba(0, 229, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__top-feedback:hover {
  color: var(--c-fluorescent-pink);
  border-color: rgba(255, 42, 109, 0.5);
}

/* Header Main Bar */
.site-header__main {
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.25s ease;
}

body.is-scrolled .site-header__main {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
  min-width: 0;
}

.site-brand:hover {
  color: var(--c-text);
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--gradient-primary);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 18px rgba(167, 43, 250, 0.4);
  transition: width 0.25s ease, height 0.25s ease, font-size 0.25s ease;
}

body.is-scrolled .site-brand__mark {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.site-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.site-brand__name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text);
  text-shadow: 0 0 18px rgba(167, 43, 250, 0.35);
  white-space: nowrap;
  transition: font-size 0.25s ease;
}

body.is-scrolled .site-brand__name {
  font-size: 17px;
}

.site-brand__tag {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
  transition: opacity 0.25s ease;
}

body.is-scrolled .site-brand__tag {
  opacity: 0;
}

/* Header Aside */
.site-header__aside {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Search Box */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-box__glyph {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  border: 2px solid #6E648F;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.search-box__glyph::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: #6E648F;
  transform: rotate(45deg);
  border-radius: 2px;
}

.search-box__input {
  width: 220px;
  height: 40px;
  padding: 0 14px 0 36px;
  background: rgba(18, 16, 32, 0.9);
  border: 1px solid rgba(167, 43, 250, 0.25);
  border-radius: var(--radius-pill);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, width 0.3s ease;
}

.search-box__input::placeholder {
  color: #4E4473;
}

.search-box__input:focus {
  border-color: var(--c-electric-blue);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 0 20px rgba(0, 229, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}

.btn--neon {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 42, 109, 0.3);
}

.btn--neon:hover {
  box-shadow: 0 0 24px rgba(255, 42, 109, 0.5);
  transform: translateY(-1px);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(167, 43, 250, 0.3);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: var(--c-neon-purple);
  box-shadow: 0 0 12px rgba(167, 43, 250, 0.2);
  color: var(--c-text);
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(167, 43, 250, 0.4);
  border-radius: 4px;
  background: rgba(18, 16, 32, 0.8);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Navigation */
.site-nav {
  border-top: 1px solid rgba(167, 43, 250, 0.1);
  padding: 10px 0 14px;
  transition: padding 0.25s ease;
}

body.is-scrolled .site-nav {
  padding-top: 6px;
  padding-bottom: 8px;
}

.site-nav__container {
  display: flex;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  margin: 0;
  list-style: none;
  width: fit-content;
  max-width: 100%;
  background: rgba(18, 16, 32, 0.5);
  border: 1px solid rgba(167, 43, 250, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(167, 43, 250, 0.06);
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  display: block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, text-shadow 0.2s ease;
}

.site-nav__link:hover {
  color: var(--c-electric-blue);
  background: rgba(0, 229, 255, 0.06);
}

.site-nav__link[aria-current="page"] {
  color: var(--c-text);
  background: linear-gradient(135deg, rgba(167, 43, 250, 0.25), rgba(0, 229, 255, 0.15));
  box-shadow: 0 0 16px rgba(167, 43, 250, 0.18);
  text-shadow: 0 0 8px rgba(167, 43, 250, 0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(167, 43, 250, 0.04), transparent 30%),
    #0A0712;
  border-top: 1px solid rgba(167, 43, 250, 0.25);
  color: var(--c-muted);
  padding-top: 48px;
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-fluorescent-pink), var(--c-neon-purple), var(--c-electric-blue));
  opacity: 0.35;
  pointer-events: none;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(167, 43, 250, 0.12);
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.site-footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: 0 0 14px rgba(255, 42, 109, 0.4);
}

.site-footer__logo-name {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
}

.site-footer__slogan {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-electric-blue);
  margin: 0 0 10px;
}

.site-footer__intro {
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 56ch;
}

.trust-statement {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--c-success);
  background: rgba(0, 255, 159, 0.05);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 64ch;
}

.site-footer__index {
  min-width: 0;
}

.site-footer__heading {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(167, 43, 250, 0.2);
}

.month-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.month-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-electric-blue);
  background: rgba(0, 229, 255, 0.05);
}

.site-footer__index-note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #615A85;
}

.site-footer__middle {
  padding: 24px 0;
  border-bottom: 1px solid rgba(167, 43, 250, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links__item {
  margin: 0;
}

.footer-links__link {
  color: var(--c-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-links__link:hover {
  color: var(--c-text);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.site-footer__bottom {
  padding: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #615A85;
}

.site-footer__dot {
  font-size: 8px;
  color: var(--c-neon-purple);
}

.site-footer__link {
  color: #615A85;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--c-electric-blue);
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  z-index: 1000;
  transition: width 0.06s linear;
  pointer-events: none;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--c-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--c-neon-purple);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-electric-blue);
}

.breadcrumb [aria-current="page"] {
  color: var(--c-text);
}

/* ---------- Common Components ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-neon-purple);
  margin-bottom: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(167, 43, 250, 0.25);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--c-electric-blue);
  background: rgba(18, 16, 32, 0.6);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.glow-line {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gradient-primary);
  box-shadow: 0 0 16px rgba(167, 43, 250, 0.5);
  border: none;
  margin: 16px 0;
}

.neon-text {
  color: var(--c-electric-blue);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6), 0 0 32px rgba(0, 229, 255, 0.3);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--c-text);
  text-shadow: 0 0 24px rgba(167, 43, 250, 0.4);
  transform: skewX(-3deg);
}

.frame {
  position: relative;
  border: 1px solid rgba(167, 43, 250, 0.3);
  padding: 20px;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid var(--c-neon-purple);
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

/* Card */
.card {
  background: var(--c-surface);
  border: 1px solid rgba(167, 43, 250, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.06);
  transform: translateY(-2px);
}

.card__title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin: 0 0 10px;
}

.card__summary {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.6;
}

/* Path / Skill-tree */
.path-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.path-step {
  position: relative;
  padding: 16px 20px 16px 56px;
  background: var(--c-surface);
  border: 1px solid rgba(167, 43, 250, 0.16);
  border-radius: var(--radius);
}

.path-step__number {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.3);
  transform: skewX(-8deg);
}

.path-step__title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.path-step__desc {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
}

/* Prose */
.prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
}

.prose p {
  margin-bottom: 1.2em;
}

.prose h2,
.prose h3 {
  margin-top: 2em;
}

.prose a {
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 3px solid var(--c-neon-purple);
  background: rgba(167, 43, 250, 0.06);
  color: var(--c-muted);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(18, 16, 32, 0.8);
  padding: 2px 6px;
  border: 1px solid rgba(167, 43, 250, 0.2);
}

/* Filter State */
.is-filter-hidden {
  display: none !important;
}

/* ---------- Reveal Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease var(--reveal-delay, 0ms), transform 0.55s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-brand__tag {
    font-size: 12px;
  }

  .search-box__input {
    width: 180px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__main-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-header__aside {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }

  .search-box {
    flex: 1;
  }

  .search-box__input {
    width: 100%;
    min-width: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: calc(var(--header-z) - 1);
    background: rgba(18, 16, 32, 0.96);
    border: 1px solid rgba(167, 43, 250, 0.25);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__container {
    padding: 0;
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    gap: 2px;
  }

  .site-nav__link {
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    text-transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-brand__tag {
    display: none;
  }

  .site-header__top-actions .site-header__email {
    display: none;
  }

  .btn--neon {
    padding: 9px 14px;
    font-size: 12px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .display-title {
    font-size: clamp(26px, 8vw, 42px);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .status-led {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
