@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0d0d0d;
  --ink-2: #121016;
  --purple: #8000ff;
  --magenta: #ff00ff;
  --txt: #eae6f4;
  --dim: #9d94b0;
  --line: rgba(128, 0, 255, 0.34);
  --neon: 0 0 10px rgba(255, 0, 255, 0.55);
  --body: 'Source Sans 3', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --head: 'Bebas Neue', 'Source Sans 3', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0;
}

.scan-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 99;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  box-shadow: 0 0 12px var(--magenta);
}

.hud {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(11, 11, 13, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.hud.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65); }

.brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 6px 4px 0;
}

.brand-mark { filter: drop-shadow(0 0 8px var(--magenta)); }

.brand-name {
  font-family: var(--head);
  font-size: 23px;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: var(--neon);
}

.hud-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 1 300px;
}

.hud-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #08080a;
  color: var(--txt);
  font: inherit;
  font-size: 16px;
}

.hud-search input::placeholder { color: #6d6580; }

.hud-search input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.22);
}

.hud-search button {
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--magenta);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(128, 0, 255, 0.55), rgba(255, 0, 255, 0.45));
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 0 100%);
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--purple);
  border-radius: 4px;
  background: rgba(128, 0, 255, 0.16);
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  z-index: 85;
}

.burger-bars {
  width: 16px;
  height: 2px;
  background: var(--magenta);
  box-shadow: 0 -5px 0 var(--magenta), 0 5px 0 var(--magenta);
  transform: translateY(0);
}

.menu { border-top: 1px dashed rgba(255, 0, 255, 0.24); }

.menu ol {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px 12px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu ol::-webkit-scrollbar { display: none; }

.menu a {
  display: block;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--dim);
  border-left: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #fff;
  border-left-color: var(--magenta);
  background: rgba(255, 0, 255, 0.08);
  text-shadow: var(--neon);
}

.menu.is-open {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  border-top: 0;
  background: rgba(8, 8, 10, 0.98);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 0, 255, 0.18) 1px, transparent 0);
  background-size: 16px 16px;
}

.menu.is-open ol {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 40px 24px;
  overflow: visible;
}

.menu.is-open a {
  font-family: var(--head);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 14px 12px;
  border-left: 2px solid rgba(255, 0, 255, 0.4);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 45vh;
  padding: 52px 20px 58px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}

.hero-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(0.2) contrast(1.2) saturate(1.15);
}

.hero-figure.multi .hero-shot { animation: crossFade 12s linear infinite; }
.hero-figure.multi .hero-shot:nth-of-type(1) { animation-delay: 0s; }
.hero-figure.multi .hero-shot:nth-of-type(2) { animation-delay: 4s; }
.hero-figure.multi .hero-shot:nth-of-type(3) { animation-delay: 8s; }
.hero-figure.multi .hero-shot:first-of-type { opacity: 0.5; }

@keyframes crossFade {
  0% { opacity: 0; }
  8% { opacity: 0.5; }
  33% { opacity: 0.5; }
  42% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 0, 255, 0.3) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(128, 0, 255, 0.42), transparent 66%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.1), rgba(13, 13, 13, 0.94));
}

.hero-copy {
  position: relative;
  text-align: center;
  max-width: 780px;
}

.kicker {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--magenta);
  text-shadow: var(--neon);
}

.hero h1 {
  font-size: clamp(30px, 7.2vw, 64px);
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 0 22px rgba(255, 0, 255, 0.45), 0 0 64px rgba(128, 0, 255, 0.4);
}

.hero-lead {
  margin: 12px auto 0;
  max-width: 54ch;
  font-size: 16px;
  color: #cec7dd;
}

.stage {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 66px;
}

.rail {
  position: sticky;
  top: 118px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(128, 0, 255, 0.14), rgba(13, 13, 13, 0));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.rail h2 { font-size: 25px; color: #fff; letter-spacing: 0.14em; }

.subtitle {
  margin: 4px 0 12px;
  font-size: 16px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-list a {
  display: block;
  padding: 10px 8px;
  font-size: 16px;
  color: var(--dim);
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rail-list a:hover,
.rail-list a:focus-visible {
  color: #fff;
  border-left-color: var(--magenta);
  background: rgba(255, 0, 255, 0.08);
}

.article { min-width: 0; }

.article div {
  position: relative;
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 132px;
}

.article div:first-child { border-top: 0; padding-top: 0; }

.article div:nth-child(even) {
  margin: 22px 0;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(128, 0, 255, 0.1), rgba(255, 0, 255, 0.04));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.js-ready .article div {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .article div.in { opacity: 1; transform: none; }
.js-ready .article div:nth-child(2) { transition-delay: 0.04s; }
.js-ready .article div:nth-child(3) { transition-delay: 0.08s; }
.js-ready .article div:nth-child(4) { transition-delay: 0.12s; }
.js-ready .article div:nth-child(5) { transition-delay: 0.16s; }
.js-ready .article div:nth-child(6) { transition-delay: 0.2s; }
.js-ready .article div:nth-child(7) { transition-delay: 0.24s; }

.article div.is-hit {
  outline: 2px solid var(--magenta);
  outline-offset: 5px;
}

.article h2 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 16px;
  font-size: clamp(23px, 3.5vw, 34px);
  color: #fff;
}

.article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 4px;
  background: linear-gradient(180deg, var(--magenta), var(--purple));
  box-shadow: 0 0 12px var(--magenta);
}

.article h3 {
  margin: 22px 0 8px;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.04em;
}

.article p { margin: 0 0 14px; }
.article p.subtitle { margin: 0 0 14px; }

.article ul,
.article ol { margin: 0 0 16px; padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--magenta); }

.article a {
  color: #f3d4ff;
  border-bottom: 1px dashed var(--magenta);
}

.article a:hover { color: #fff; background: rgba(255, 0, 255, 0.14); }

.article img {
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
  margin: 6px 0 16px;
}

.article strong { color: #fff; }

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 42px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(128, 0, 255, 0.1), transparent);
}

.foot-logo {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--head);
  font-size: 25px;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: var(--neon);
}

.foot-tag {
  margin: 6px 0 0;
  max-width: 27ch;
  font-size: 16px;
  color: var(--dim);
}

.foot-nav { display: flex; flex-wrap: wrap; gap: 0 2px; max-width: 340px; }

.foot-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 16px;
  color: var(--dim);
}

.foot-nav a:hover { color: #fff; text-shadow: var(--neon); }

.foot-title {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--magenta);
  text-shadow: var(--neon);
}

.sub-form { display: flex; gap: 6px; }

.sub-form input {
  width: 168px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #08080a;
  color: var(--txt);
  font: inherit;
  font-size: 16px;
}

.sub-form input::placeholder { color: #6d6580; }

.sub-form input:focus {
  outline: none;
  border-color: var(--magenta);
}

.sub-form button {
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--purple);
  border-radius: 4px;
  background: rgba(128, 0, 255, 0.28);
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.sub-form.is-done button {
  border-color: var(--magenta);
  box-shadow: 0 0 14px rgba(255, 0, 255, 0.6);
}

.foot-legal { min-width: 150px; align-self: center; text-align: center; }

.copyright {
  margin: 0;
  font-family: var(--head);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #fff;
}

.legal-note { margin: 4px 0 0; font-size: 16px; color: var(--dim); }

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 28px;
  }
  .rail { position: static; padding: 12px 12px 10px; }
  .rail h2 { font-size: 21px; }
  .rail-list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .rail-list a {
    white-space: nowrap;
    padding: 10px 12px;
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .article div { scroll-margin-top: 150px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .brandline { flex-wrap: wrap; padding: 8px 14px; }
  .hud-search { flex: 1 1 100%; order: 3; margin-left: 0; }
  .hud-search input,
  .hud-search button { height: 42px; }
  .brand-name { font-size: 21px; }
  .menu a { padding: 12px 10px; }
  .menu.is-open a { font-size: 22px; }
  .hero { min-height: 46vh; padding: 46px 16px 54px; }
  .article div:nth-child(even) { padding: 20px 14px; }
  .foot { flex-direction: column; gap: 22px; padding: 28px 16px 38px; }
  .foot-legal { align-self: center; }
  .sub-form input { width: 100%; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-figure.multi .hero-shot { animation: none; opacity: 0.42; }
  .hero-figure.multi .hero-shot:first-of-type { opacity: 0.5; }
  .js-ready .article div {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
