:root {
  --bg: #05070c;
  --bg-elevated: #0b1018;
  --surface: #101722;
  --surface-soft: #151e2b;
  --text: #f4f7fb;
  --text-muted: #9caabd;
  --gold: #f4b63f;
  --gold-bright: #ffd96a;
  --gold-deep: #b96e16;
  --blue: #35c9ff;
  --blue-bright: #8eeaff;
  --red: #e13f29;
  --line: rgba(255,255,255,.12);
  --content: 1240px;
  --header-height: 76px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #051018;
  background: var(--blue-bright);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.page-progress { position: fixed; z-index: 130; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg,var(--gold),var(--blue)); box-shadow: 0 0 18px rgba(53,201,255,.55); transform: scaleX(0); transform-origin: left; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(5,7,12,.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { width: 134px; justify-self: start; }
.brand img { width: 100%; height: 50px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 7px; border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); }
.desktop-nav a {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 88px;
  min-height: 44px;
  padding: 0 14px;
  color: #d9e1ed;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid transparent;
  background: linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));
  clip-path: polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 3px;
  height: 0;
  background: linear-gradient(var(--blue-bright),var(--blue));
  box-shadow: 0 0 14px rgba(53,201,255,.9);
  transition: height .25s var(--ease);
}
.desktop-nav a:hover { color:#fff; transform:translateY(-1px); border-color:rgba(53,201,255,.2); background:linear-gradient(135deg,rgba(53,201,255,.1),rgba(255,255,255,.025)); }
.desktop-nav a.active { color:#fff; border-color:rgba(53,201,255,.38); background:linear-gradient(135deg,rgba(53,201,255,.18),rgba(10,18,28,.68) 62%,rgba(244,182,63,.08)); box-shadow:inset 0 0 18px rgba(53,201,255,.06); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { height:calc(100% - 18px); }
.header-cta {
  position:relative;
  overflow:hidden;
  justify-self: end;
  min-width: 142px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #02111b;
  border:1px solid var(--blue-bright);
  background: linear-gradient(112deg,var(--blue-bright),var(--blue) 58%,#1683c9);
  font-weight: 900;
  letter-spacing: .08em;
  clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  box-shadow:0 0 24px rgba(53,201,255,.2);
  transition: filter .2s ease,transform .2s ease,box-shadow .2s ease;
}
.header-cta::before { content:""; position:absolute; inset:4px; border-top:1px solid rgba(255,255,255,.58); border-left:1px solid rgba(255,255,255,.28); clip-path:inherit; pointer-events:none; }
.header-cta:hover { filter:brightness(1.12); transform:translateY(-2px); box-shadow:0 8px 34px rgba(53,201,255,.3); }
.header-cta svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #071018;
}
.hero-backdrop {
  position: absolute;
  z-index: -4;
  inset: 0;
  background-image: url("assets/hero-battlefield.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.025);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,5,9,.97) 0%, rgba(4,7,12,.83) 31%, rgba(4,7,12,.22) 62%, rgba(4,7,12,.58) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%, rgba(2,4,8,.38) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(circle at 52% 55%, rgba(34,196,255,.16), transparent 31%);
  mix-blend-mode: screen;
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 64%);
}
.hero-line { position: absolute; z-index: 1; pointer-events: none; }
.hero-line-gold { left: 0; top: 24%; width: 6px; height: 24%; background: var(--gold); box-shadow: 0 0 24px rgba(244,182,63,.85); }
.hero-line-blue { right: 0; bottom: 18%; width: 4px; height: 18%; background: var(--blue); box-shadow: 0 0 24px rgba(53,201,255,.9); }
.hero-content {
  width: min(710px, 100%);
  min-width: 0;
  margin-left: max(28px, calc((100vw - var(--content)) / 2));
  padding: calc(var(--header-height) + 80px) 24px 120px 0;
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hero-logo { width: clamp(210px, 24vw, 350px); height: auto; margin: -14px 0 -18px -24px; object-fit: contain; }
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(255,255,255,.82); }
.hero-copy { max-width: 610px; margin: 32px 0 36px; color: #c7d0dd; font-size: 1.05rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.primary-button, .ghost-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
}
.primary-button {
  gap: 12px;
  padding: 0 28px;
  border: 0;
  color: #0e1117;
  background: linear-gradient(115deg, var(--gold-bright), var(--gold) 55%, #dc8422);
  clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  box-shadow: 0 14px 40px rgba(244,182,63,.2);
  transition: filter .2s ease, transform .2s ease;
}
.primary-button:hover { filter: brightness(1.1); transform: translateY(-3px); }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ghost-button { gap:10px; min-width:190px; padding:0 25px; border:1px solid rgba(142,234,255,.76); color:#02111b; background:linear-gradient(112deg,var(--blue-bright),var(--blue) 58%,#177ec0); box-shadow:0 13px 38px rgba(53,201,255,.2),inset 0 1px rgba(255,255,255,.48); clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); transition:filter .2s ease,transform .2s ease,box-shadow .2s ease; }
.ghost-button:hover { color:#02111b; filter:brightness(1.12); transform:translateY(-3px); box-shadow:0 16px 44px rgba(53,201,255,.32),inset 0 1px rgba(255,255,255,.55); }
.ghost-button svg { width:18px; fill:none; stroke:currentColor; stroke-width:2.2; }
.hero-stats {
  position: absolute;
  right: max(30px, calc((100vw - var(--content)) / 2));
  bottom: 54px;
  display: flex;
  background: rgba(4,8,13,.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.hero-stats div { min-width: 112px; padding: 14px 20px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; color: #fff; font-family: "Arial Black", sans-serif; font-size: 1.45rem; line-height: 1.1; }
.hero-stats span { color: var(--text-muted); font-size: .75rem; letter-spacing: .08em; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .18em;
  transform: translateX(-50%);
}
.scroll-cue svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: cue 1.5s ease-in-out infinite; }

.section-shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.manifesto {
  position: relative;
  width: min(calc(100% - 48px), var(--content));
  min-height: 380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.section-index {
  position: absolute;
  left: -22px;
  bottom: -92px;
  color: rgba(255,255,255,.025);
  font-family: "Arial Black", sans-serif;
  font-size: 18rem;
  line-height: 1;
  pointer-events: none;
}
.manifesto h2, .section-heading h2, .download h2 {
  margin: 0;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.manifesto h2 span { color: var(--gold); }
.manifesto-text { max-width: 470px; margin: 0; color: var(--text-muted); font-size: 1rem; }

.features { padding: 118px 0 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 46px; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--text-muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #111925, #090d14);
  clip-path: polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px));
}
.feature::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(135deg, transparent 35%, rgba(255,255,255,.08) 35.5%, transparent 36%); background-size: 16px 16px; }
.feature::after { content: ""; position: absolute; right: -80px; top: -100px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.1); transform: rotate(45deg); }
.feature-wide { grid-column: 1 / -1; min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.feature-gold { border-top: 3px solid var(--gold); }
.feature-blue { border-top: 3px solid var(--blue); }
.feature-number { position: absolute; top: 26px; right: 30px; color: rgba(255,255,255,.08); font-family: "Arial Black", sans-serif; font-size: 5.5rem; line-height: 1; }
.feature-body { position: relative; z-index: 1; max-width: 540px; }
.feature-label { margin: 0 0 12px; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .22em; }
.feature-gold .feature-label { color: var(--gold); }
.feature h3 { margin: 0 0 14px; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.25; }
.feature p:last-child { margin: 0; color: var(--text-muted); }
.class-rail { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 8px; }
.class-rail span { min-height: 88px; display: grid; place-items: end center; padding: 12px 4px; border-bottom: 2px solid var(--gold); background: linear-gradient(180deg, transparent, rgba(244,182,63,.09)); color: #dce4ef; font-size: .82rem; font-weight: 800; writing-mode: vertical-rl; letter-spacing: .2em; transition: min-height .25s var(--ease), color .25s ease, background .25s ease; }
.class-rail span:nth-child(even) { border-color: var(--blue); background: linear-gradient(180deg, transparent, rgba(53,201,255,.08)); }
.class-rail span:hover { min-height: 124px; color: #fff; background-color: rgba(255,255,255,.04); }

.channels { position: relative; padding: 120px 0 130px; overflow: hidden; background: #09101a; }
.channel-atmosphere { position: absolute; inset: 0; opacity: .35; background: linear-gradient(115deg, rgba(244,182,63,.24), transparent 35%), linear-gradient(295deg, rgba(53,201,255,.25), transparent 38%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, auto, 72px 72px, 72px 72px; }
.channel-wrap { position: relative; }
.section-heading.light > p { color: #b9c6d8; }
.channel-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.channel-card { position: relative; min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; overflow: hidden; border: 1px solid var(--line); background: rgba(5,9,15,.84); clip-path: polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px)); }
.channel-card::before { content:""; position:absolute; inset:0; opacity:.75; background: radial-gradient(circle at 100% 0,rgba(244,182,63,.22),transparent 48%),linear-gradient(145deg,transparent,rgba(244,182,63,.06)); pointer-events:none; }
.channel-card-classic::before { background: radial-gradient(circle at 100% 0,rgba(53,201,255,.24),transparent 48%),linear-gradient(145deg,transparent,rgba(53,201,255,.06)); }
.channel-card::after { content:"01"; position:absolute; right:24px; top:8px; color:rgba(255,255,255,.04); font:900 10rem/1 "Arial Black",sans-serif; }
.channel-card-classic::after { content:"02"; }
.channel-card > * { position:relative; z-index:1; }
.channel-card h3 { margin:0 0 18px; font-size:clamp(2rem,3vw,3.2rem); line-height:1.08; }
.channel-card > p:not(.panel-index) { margin:0 0 30px; color:var(--text-muted); }
.panel-index { margin: 0 0 12px; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.channel-card-classic .panel-index { color: var(--blue); }
.channel-card ul { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.channel-card li { display:flex; align-items:center; gap:16px; min-height:54px; border-bottom:1px solid var(--line); color:#d7e0ec; }
.channel-card li span { color:var(--gold); font-size:.72rem; font-weight:900; }
.channel-card-classic li span { color:var(--blue); }

.news { padding: 120px 0 130px; }
.news-list { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; }
.news-lead { min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; padding: 42px; border-left: 4px solid var(--gold); background: linear-gradient(160deg, rgba(244,182,63,.18), rgba(17,24,35,.9) 50%); }
.news-type { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.news-lead h3 { max-width: 520px; margin: 18px 0 12px; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.25; }
.news-lead p { max-width: 510px; margin: 0 0 28px; color: var(--text-muted); }
.news-lead a { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; border-bottom: 1px solid var(--gold); }
.news-stack { border-top: 1px solid var(--line); }
.news-item { min-height: 144px; display: grid; grid-template-columns: 105px 1fr 44px; align-items: center; gap: 24px; padding: 24px 8px 24px 22px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding-left .2s ease; }
.news-item:hover { padding-left: 30px; background: rgba(255,255,255,.025); }
.news-item h3 { margin: 0 0 5px; font-size: 1.15rem; }
.news-item p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.news-item > a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); font-size: 1.3rem; }

.register { position:relative; padding:130px 0; overflow:hidden; background:linear-gradient(135deg,#090d15,#0d1521 58%,#071018); border-top:1px solid var(--line); }
.register::before { content:""; position:absolute; inset:0; opacity:.16; background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size:56px 56px; }
.register-glow { position:absolute; width:520px; height:520px; border-radius:50%; filter:blur(110px); opacity:.12; }
.register-glow-gold { left:-220px; top:-180px; background:var(--gold); }
.register-glow-blue { right:-220px; bottom:-220px; background:var(--blue); }
.register-shell { position:relative; display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:center; }
.register-intro h2 { margin:0; font:900 clamp(2.4rem,4vw,4.2rem)/1.08 "Arial Black","Microsoft YaHei",sans-serif; letter-spacing:-.045em; }
.register-intro h2 span { color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.78); }
.register-intro > p:not(.section-kicker) { max-width:540px; margin:26px 0 34px; color:var(--text-muted); }
.register-steps { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.register-steps li { display:flex; gap:18px; align-items:center; min-height:74px; border-bottom:1px solid var(--line); }
.register-steps li > span { color:var(--gold); font-size:.72rem; font-weight:900; }
.register-steps strong,.register-steps small { display:block; }
.register-steps small { margin-top:2px; color:var(--text-muted); }
.register-form { position:relative; padding:40px; border:1px solid rgba(255,255,255,.14); border-top:3px solid var(--blue); background:rgba(6,10,17,.88); box-shadow:0 30px 80px rgba(0,0,0,.35); backdrop-filter:blur(16px); }
.form-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.form-header span { color:var(--blue); font-size:.68rem; font-weight:900; letter-spacing:.2em; }
.form-header strong { font-size:1.25rem; }
.field { display:block; margin-bottom:20px; }
.field > span { display:block; margin-bottom:8px; color:#dbe4ef; font-size:.84rem; font-weight:800; }
.field input { width:100%; height:52px; padding:0 16px; border:1px solid rgba(255,255,255,.15); border-radius:0; color:#fff; background:#0c131e; outline:0; transition:border-color .2s,box-shadow .2s; }
.field input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(53,201,255,.1); }
.field small { display:block; margin-top:7px; color:#75869b; }
.code-row { display:grid; grid-template-columns:1fr 148px; gap:10px; }
.code-button { min-height:52px; border:1px solid rgba(244,182,63,.45); color:var(--gold-bright); background:rgba(244,182,63,.08); font-weight:800; cursor:pointer; }
.code-button:disabled,.register-submit:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.form-status { min-height:26px; margin:4px 0 16px; color:#93a3b7; font-size:.84rem; }
.form-status[data-type="success"] { color:#70e2a4; }
.form-status[data-type="error"] { color:#ff8678; }
.form-status[data-type="loading"] { color:var(--blue-bright); }
.register-submit { width:100%; }
.website-field { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

.download { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; text-align: center; background: #090d14; }
.download-bg { position: absolute; inset: 0; background: linear-gradient(rgba(3,5,9,.88), rgba(3,5,9,.93)), url("assets/hero-battlefield.webp") center 42% / cover; filter: saturate(.75); transform: scale(1.04); }
.download::before, .download::after { content: ""; position: absolute; top: 0; bottom: 0; width: 32%; pointer-events: none; }
.download::before { left: 0; background: linear-gradient(90deg, rgba(244,182,63,.22), transparent); }
.download::after { right: 0; background: linear-gradient(270deg, rgba(53,201,255,.22), transparent); }
.download-content { position: relative; z-index: 2; width: min(760px, calc(100% - 48px)); }
.download h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.download-content > p:not(.section-kicker) { margin: 20px auto 34px; color: #c1cddd; font-size: 1.05rem; }
.download-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.download-actions .primary-button { font-size: 1rem; }
.system-note { color: #93a3b7; font-size: .78rem; letter-spacing: .06em; }
.download-mark { position: absolute; z-index: 1; right: -20px; bottom: -160px; color: rgba(255,255,255,.025); font-family: "Arial Black", sans-serif; font-size: 30rem; line-height: 1; }

.site-footer { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; padding: 54px 0 36px; display: grid; grid-template-columns: 1fr auto; gap: 28px 56px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 130px; height: 52px; object-fit: contain; }
.footer-brand p { margin: 0; color: var(--text-muted); font-size: .85rem; }
.footer-links { display: flex; gap: 24px; color: #c5d0de; font-size: .85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-notice { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #6f7c8d; font-size: .72rem; text-align: center; }
.copyright { grid-column: 1 / -1; margin: -16px 0 0; color: #596678; font-size: .72rem; text-align: center; }

.download-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 38px;
  border: 1px solid rgba(244,182,63,.5);
  color: var(--text);
  background: #0b111a;
  box-shadow: 0 30px 100px rgba(0,0,0,.65);
}
.download-dialog::backdrop { background: rgba(1,3,6,.82); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; color: #aab6c6; background: transparent; font-size: 1.8rem; cursor: pointer; }
.dialog-tag { color: var(--gold); font-size: .7rem; font-weight: 900; letter-spacing: .18em; }
.download-dialog h2 { margin: 14px 0 10px; font-size: 1.8rem; }
.download-dialog p { margin: 0 0 26px; color: var(--text-muted); }
.dialog-confirm { min-height: 46px; padding: 0 24px; border: 0; color: #101014; background: var(--gold); font-weight: 900; cursor: pointer; }

.reveal { opacity:0; filter:blur(8px); transform:translateY(34px) scale(.985); transition:opacity .78s var(--ease) var(--reveal-delay,0ms),transform .78s var(--ease) var(--reveal-delay,0ms),filter .78s var(--ease) var(--reveal-delay,0ms); }
.reveal-left { transform:translateX(-42px); }
.reveal-right { transform:translateX(42px); }
.reveal.visible { opacity:1; filter:blur(0); transform:translate(0) scale(1); }

@keyframes hero-breathe { from { transform: scale(1.025); } to { transform: scale(1.055); } }
@keyframes cue { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 980px) {
  :root { --header-height: 68px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { position: relative; z-index: 2; justify-self: end; width: 48px; height: 48px; display: grid; place-content: center; padding: 0; border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(5,9,15,.52); cursor: pointer; }
  .menu-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] svg { transform: rotate(90deg); }
  .mobile-nav { position: fixed; z-index: 90; inset: 0; padding: 110px 26px 40px; display: flex; flex-direction: column; gap: 4px; background: rgba(5,7,12,.98); transform: translateX(100%); transition: transform .3s var(--ease); }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a { min-height: 58px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 800; }
  .hero { min-height: 820px; }
  .hero-content { margin-left: 32px; padding-top: 145px; }
  .hero-logo { width: clamp(220px, 38vw, 300px); margin: -10px 0 -12px -18px; }
  .hero h1 { line-height: 1.02; }
  .hero-stats { right: 26px; bottom: 62px; }
  .manifesto { grid-template-columns: 1fr; gap: 28px; padding: 80px 0; }
  .manifesto-text { max-width: 680px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .feature-wide { grid-template-columns: 1fr; }
  .channel-showcase { grid-template-columns:1fr; }
  .register-shell { grid-template-columns:1fr; gap:54px; }
  .news-list { grid-template-columns: 1fr; }
  .news-lead { min-height: 360px; }
}

@media (max-width: 680px) {
  .section-shell, .manifesto, .site-footer { width: min(calc(100% - 32px), var(--content)); }
  .site-header { padding: 0 16px; }
  .brand { width: 112px; }
  .hero { min-height: 790px; align-items: flex-start; }
  .hero-backdrop { background-position: 56% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,5,9,.94), rgba(3,5,9,.58)), linear-gradient(0deg, var(--bg), transparent 34%); }
  .hero-content { width: calc(100% - 40px); margin: 0 20px; padding: 122px 0 200px; }
  .hero-logo { width: 210px; margin: -8px 0 -8px -14px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.4rem, 11.8vw, 3.15rem); line-height: 1.04; letter-spacing: -.065em; white-space: nowrap; }
  .hero-copy { margin: 28px 0 32px; font-size: .96rem; line-height: 1.7; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .hero-actions .primary-button { width: 100%; }
  .ghost-button { align-self: stretch; width:100%; }
  .hero-stats { left: 18px; right: 18px; bottom: 58px; }
  .hero-stats div { min-width: 0; flex: 1; padding: 12px 10px; }
  .scroll-cue { display: none; }
  .manifesto { min-height: 0; }
  .section-index { font-size: 12rem; }
  .features, .news { padding: 84px 0 92px; }
  .section-heading { margin-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-wide { grid-column: auto; min-height: 330px; padding: 30px 26px; }
  .feature-wide { display: flex; }
  .class-rail { width: 100%; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 22px; }
  .class-rail span { min-height: 72px; padding: 8px 2px; font-size: .7rem; }
  .channels { padding: 86px 0 92px; }
  .channel-card { min-height:420px; padding:32px 25px; }
  .register { padding:88px 0; }
  .register-form { padding:28px 22px; }
  .code-row { grid-template-columns:1fr; }
  .news-lead { min-height: 390px; padding: 30px 25px; }
  .news-item { grid-template-columns: 1fr 44px; gap: 14px; padding: 24px 4px; }
  .news-item > .news-type { grid-column: 1 / -1; }
  .download { min-height: 520px; }
  .download-mark { font-size: 20rem; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; flex-wrap: wrap; }
  .download-dialog { padding: 34px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
