/* MILKYVERSE 奶門宇宙 — milkyverse.org */
:root {
  --bg: #07061A;
  --bg-2: #0D0B26;
  --surface: #110E2E;
  --surface-2: #1E1850;
  --surface-3: #1A1546;
  --chip: #2B1F6E;
  --line: #2A2360;
  --line-2: #221C52;
  --line-3: #3A3180;
  --line-soft: #1C1747;
  --accent-line: #5B47C9;
  --text: #F4F1FF;
  --text-2: #E4DEFF;
  --muted: #BDB6DE;
  --muted-2: #A9A2CC;
  --violet: #B79CFF;
  --gold: #F5C76B;
  --ink: #1A1033;
  --header-h: 73px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans TC', 'Montserrat', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
html[lang="zh-Hans"] body { font-family: 'Noto Sans SC', 'Montserrat', system-ui, sans-serif; }
html[lang="en"] body { font-family: 'Montserrat', 'Noto Sans TC', system-ui, sans-serif; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet); }
a:hover { color: #D9CCFF; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.latin { font-family: 'Montserrat', sans-serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 6, 26, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-emblem { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(183, 156, 255, 0.35)); }
.brand-name { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.brand-name strong { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.04em; color: #FFFFFF; }
.brand-cn { display: flex; align-items: center; gap: 6px; font-family: 'Noto Sans TC', 'Noto Sans SC', sans-serif; font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: 0.42em; color: var(--gold); white-space: nowrap; }
html[lang="zh-Hans"] .brand-cn { font-family: 'Noto Sans SC', 'Noto Sans TC', sans-serif; }
.brand-cn i { flex: 1 1 auto; min-width: 8px; height: 1px; background: var(--gold); opacity: 0.85; }
.brand-cn i:first-child { margin-right: 0.42em; }

.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 15px;
  padding: 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px;
}
html[lang="en"] .nav-links a { font-weight: 500; }
.nav-links a:hover { background: var(--surface); color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #FAD68A; color: var(--ink); }
.btn-gold:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { border-color: var(--accent-line); color: var(--text); font-weight: 500; background: transparent; }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Language menu ---------- */
.lang { position: relative; }
.lang-btn {
  font: inherit; display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0 14px; min-height: 44px; font-size: 14px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent-line); }
.lang-btn[aria-expanded="true"] { background: var(--surface-3); border-color: var(--accent-line); color: var(--text); }
.lang-btn .chev { transition: transform 0.15s ease; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  width: min(320px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line-3); border-radius: 20px;
  padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.lang-menu-title { margin: 4px 12px 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.lang-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 12px; border-radius: 10px;
  text-decoration: none; color: var(--text-2); font-size: 15px;
}
.lang-menu a:hover { background: var(--surface-3); color: var(--text); }
.lang-menu a[aria-current="page"] { background: var(--chip); color: var(--text); font-weight: 700; }
.lang-menu .hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; color: var(--muted-2); white-space: nowrap; }
.lang-menu a[aria-current="page"] .hint { color: #D8D2F5; }

/* ---------- Hero (full-screen video) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-start; justify-content: center; text-align: center;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: #07061A url(img/hero-poster-1280.webp) center 40% / cover no-repeat;
}
@media (max-width: 800px) { .hero-media { background-image: url(img/hero-poster-800.webp); } }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(7, 6, 26, 0.55) 0%, rgba(7, 6, 26, 0) 70%),
    linear-gradient(180deg, rgba(7, 6, 26, 0.82) 0%, rgba(7, 6, 26, 0.35) 42%, rgba(7, 6, 26, 0.2) 66%, rgba(7, 6, 26, 0.6) 88%, #07061A 100%);
}
.hero-inner {
  max-width: 980px; margin: 0 auto; padding: clamp(36px, 6vh, 80px) 24px 120px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-emblem {
  width: clamp(112px, 12.5vw, 190px); margin-bottom: 2px;
  filter: drop-shadow(0 0 28px rgba(183, 156, 255, 0.45)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

/* ---------- Animated logo (spinning ring) ----------
   A static image is always underneath; site.js lays a WebGL canvas over it that plays a
   "packed alpha" video (colour on top, transparency below). Without WebGL, autoplay or
   with reduced motion the static logo simply stays. */
.alpha-anim { position: relative; display: block; }
span.alpha-anim { display: inline-block; vertical-align: top; }
.alpha-anim > img { display: block; width: 100%; height: auto; }
.alpha-anim-canvas, .alpha-anim-src {
  position: absolute; pointer-events: none;
  left: var(--l, 0%); top: var(--t, 0%); width: var(--w, 100%); height: var(--h, 100%);
}
.alpha-anim-src { opacity: 0; z-index: -1; }
.alpha-anim-canvas { opacity: 0; transition: opacity 0.6s ease; }
.alpha-anim.is-live .alpha-anim-canvas { opacity: 1; }
.alpha-anim[data-hide-poster].is-settled > img { visibility: hidden; }
.hero h1 {
  margin: 4px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(46px, 9vw, 128px); letter-spacing: 0.04em; line-height: 1;
  text-shadow: 0 0 48px rgba(183, 156, 255, 0.45), 0 6px 28px rgba(0, 0, 0, 0.55);
}
.hero-cn { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: 0.5em; padding-left: 0.5em; color: #F1ECFF; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.pill { margin: 0; border: 1px solid rgba(183, 156, 255, 0.55); background: rgba(7, 6, 26, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.tagline { margin: 14px 0 0; font-family: 'Montserrat', sans-serif; font-style: italic; font-weight: 700; font-size: clamp(24px, 3vw, 38px); color: var(--gold); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
.hero-sub { margin: 0; font-size: 19px; color: #E4DEFF; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.cta-row-start { justify-content: flex-start; margin-top: 8px; }
.btn-glass { background: rgba(7, 6, 26, 0.45); border-color: rgba(244, 241, 255, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(7, 6, 26, 0.7); }
.video-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; background: rgba(7, 6, 26, 0.6); border: 1px solid rgba(244, 241, 255, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-toggle:hover { background: rgba(7, 6, 26, 0.85); }
.video-toggle .i-play { display: none; }
.video-toggle[data-paused="true"] .i-play { display: block; }
.video-toggle[data-paused="true"] .i-pause { display: none; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split-reverse { flex-wrap: wrap-reverse; }
.col { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-media { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.eyebrow { margin: 0; display: flex; gap: 12px; align-items: baseline; font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--violet); }
.eyebrow .num { font-family: 'Montserrat', sans-serif; color: var(--gold); }
html[lang="en"] .eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }

h2 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 700; text-wrap: balance; }
html[lang="en"] h2 { line-height: 1.25; }
html:not([lang="en"]) .col h2 { font-size: clamp(26px, 3vw, 36px); }
.lead { margin: 0; font-size: 17px; line-height: 1.85; color: var(--muted); }
html[lang="en"] .lead { line-height: 1.8; }

.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; }
.callout svg { flex: 0 0 auto; margin-top: 4px; }
.callout p { margin: 0; font-size: 20px; line-height: 1.7; font-weight: 700; color: var(--gold); }
html[lang="en"] .callout p { line-height: 1.6; }

.media { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.media-video { position: relative; }
.media-video video { display: block; object-fit: cover; background: #07061A; }
.media-video .ar-16x9 { aspect-ratio: 16 / 9; }
.media-video .ar-4x3 { aspect-ratio: 4 / 3; }
.media-video .ar-1x1 { aspect-ratio: 1 / 1; }
.globe-video { width: 100%; max-width: 500px; }
.video-toggle-sm { right: 14px; bottom: 14px; }
.figure { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.equation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 15px; color: var(--muted); }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.chip-strong { background: var(--chip); border-color: var(--accent-line); color: var(--text); font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 0.06em; }
.op { color: var(--gold); font-weight: 700; }

.stat { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.stat-num { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 52px; line-height: 1; color: var(--gold); flex: 0 0 auto; }
.stat-num small { font-size: 22px; margin-left: 4px; font-family: inherit; }
html[lang="en"] .stat-num small { font-size: 18px; margin-left: 6px; }
.stat-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

.regions { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.regions li { border: 1px solid var(--line-3); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--text-2); }

.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 48px; }
.center-head .eyebrow { justify-content: center; }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 190px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 4px 0 0; font-size: 24px; font-weight: 700; }
html[lang="en"] .card h3 { font-size: 22px; }
.card p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }

.features { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.feature { flex: 1 1 240px; min-width: 0; display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 17px; font-weight: 700; }
html[lang="en"] .feature { font-size: 16px; }
.feature svg { flex: 0 0 auto; }
.closing { margin: 8px 0 0; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.globe { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.globe img { width: 100%; max-width: 500px; height: auto; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }

/* ---------- Services (05) ---------- */
.center-head .lead { max-width: 640px; }
.svc-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.svc-card { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.svc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-badge { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); border: 1px solid rgba(245, 199, 107, 0.45); background: rgba(245, 199, 107, 0.08); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.svc-card h3 { margin: 6px 0 0; font-size: 24px; font-weight: 700; }
html[lang="en"] .svc-card h3 { font-size: 22px; }
.svc-sub { margin: -6px 0 0; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--violet); }
.svc-desc { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.svc-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.svc-list svg { flex: 0 0 auto; margin-top: 4px; }
.svc-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; }
.svc-cta p { margin: 0; font-size: 17px; color: var(--text-2); }

/* decorative skeleton previews on the service cards */
.svc-mock { height: 188px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(ellipse 90% 120% at 0% 0%, rgba(124, 92, 255, 0.28), rgba(17, 14, 46, 0) 60%), linear-gradient(180deg, #1A1546, #110E2E); border-bottom: 1px solid var(--line); }
.mock-head { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.mock-live { width: 8px; height: 8px; border-radius: 50%; background: #F472B6; box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18); }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-av { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; background: linear-gradient(135deg, #7C5CFF, #F472B6); }
.mock-av-ring { width: 40px; height: 40px; box-shadow: 0 0 0 3px #110E2E, 0 0 0 5px #F472B6; }
.mock-bar { display: block; height: 9px; border-radius: 999px; background: rgba(228, 222, 255, 0.18); }
.mock-row .mock-bar { flex: 0 1 auto; min-width: 0; }
.mock-tag { flex: 0 0 auto; white-space: nowrap; margin-left: auto; font-size: 11px; font-weight: 700; color: var(--gold); border: 1px solid rgba(245, 199, 107, 0.4); border-radius: 6px; padding: 2px 8px; }
.mock-note { display: flex; align-items: center; gap: 12px; background: rgba(7, 6, 26, 0.55); border: 1px solid var(--line-3); border-radius: 14px; padding: 10px 12px; }
.mock-note-text { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.mock-live-pill { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #FFFFFF; background: #E11D74; border-radius: 4px; padding: 2px 6px; }
.mock-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1 1 auto; }
.mock-thumbs span { border-radius: 10px; background: linear-gradient(160deg, #3B2A8C, #1E1850 60%, #5B2A6E); border: 1px solid var(--line-3); }
.mock-thumbs span:nth-child(2) { background: linear-gradient(160deg, #2B3F9C, #1E1850 60%, #6E2A5B); }
.mock-thumbs span:nth-child(3) { background: linear-gradient(160deg, #6B3FA0, #1E1850 60%, #2A4A6E); }
.mock-timeline { position: relative; height: 6px; margin: 10px 0 8px; border-radius: 999px; background: rgba(228, 222, 255, 0.16); }
.mock-timeline span { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(245, 199, 107, 0.7); }

/* ---------- The Beginning ---------- */
#beginning { padding-bottom: 56px; }
.launch { background: #120E35; border: 1px solid var(--accent-line); border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.launch-title { flex: 1 1 400px; min-width: 0; display: flex; align-items: center; gap: 24px; }
.play { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--violet); display: flex; align-items: center; justify-content: center; }
.launch-title h2 { line-height: 1.2; }
.launch-sub { margin: 6px 0 0; font-family: 'Montserrat', sans-serif; font-style: italic; font-weight: 700; font-size: 26px; color: var(--gold); }
.launch-body { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.launch-body p { margin: 0; }
.launch-lead { font-size: 18px; line-height: 1.85; color: var(--text-2); }
.launch-text { font-size: 16px; line-height: 1.85; color: var(--muted); }

/* ---------- Star Card ---------- */
#join { padding-top: 56px; }
.join { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.join-card { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.join-head { display: flex; flex-direction: column; gap: 12px; }
.join-head .eyebrow { align-items: center; gap: 10px; }
.join-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.join-head .lead { font-size: 16px; line-height: 1.8; }

.badge-note { margin: 4px 0 0; display: flex; gap: 12px; align-items: flex-start; background: rgba(245, 199, 107, 0.08); border: 1px solid rgba(245, 199, 107, 0.35); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.badge-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
html[lang="en"] .field { font-weight: 500; }
.field input {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-3); border-radius: 12px;
  padding: 0 14px; min-height: 50px; width: 100%;
}
.field input::placeholder { color: #8E87B3; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 199, 107, 0.25); }
.optional { color: var(--muted-2); font-weight: 400; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); padding: 10px 0; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); flex: 0 0 auto; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #FCA5A5; font-size: 14px; }

.success { background: var(--surface-3); border: 1px solid var(--gold); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.success:focus { outline: none; }
.success-title { margin: 0; font-weight: 700; font-size: 22px; color: var(--gold); overflow-wrap: anywhere; }
.success-text { margin: 0; font-size: 16px; color: var(--text-2); }
.success .btn { align-self: flex-start; }

.preview { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.preview-label { margin: 0; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--violet); }
html[lang="en"] .preview-label { font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.preview-note { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.starcard { border-radius: 24px; overflow: hidden; border: 1px solid var(--accent-line); background: #120E35 url(img/galaxy-960.webp) center / cover no-repeat; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 92, 255, 0.18); }
.starcard-inner { background: rgba(7, 6, 26, 0.72); padding: 26px; display: flex; flex-direction: column; gap: 22px; min-height: 280px; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-brand { display: flex; align-items: center; gap: 10px; }
.sc-brand img { width: 44px; height: 44px; object-fit: contain; }
.sc-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.sc-brand strong { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.12em; }
.sc-brand small { font-size: 12px; color: #D8D2F5; letter-spacing: 0.16em; }
.sc-handle { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; color: #FFFFFF; overflow-wrap: anywhere; }
.sc-name { margin: 4px 0 0; font-size: 15px; color: var(--text-2); overflow-wrap: anywhere; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; border-top: 1px solid rgba(183, 156, 255, 0.35); padding-top: 16px; }
.sc-meta div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-meta dt { font-size: 12px; color: #D8D2F5; }
html[lang="en"] .sc-meta dt { letter-spacing: 0.1em; }
.sc-meta dd { margin: 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.sc-meta .gold { color: var(--gold); }
.sc-domain { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: 0.18em; color: #D8D2F5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 56px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-logo { width: min(320px, 72vw); height: auto; }
.slogan { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.slogan-sub { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { margin-top: 32px; border-top: 1px solid var(--line-soft); padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; line-height: 1.7; color: var(--muted-2); }
.footer-bottom p { margin: 0; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.footer-langs a { color: var(--muted-2); text-decoration: none; min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; }
.footer-langs a:hover, .footer-langs a[aria-current="page"] { color: var(--text); }
.disclaimer { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted-2); }

/* ---------- Language chooser (root) & 404 ---------- */
.chooser { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 48px 24px; }
.chooser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 6, 26, 0.85) 0%, rgba(7, 6, 26, 0.6) 50%, rgba(7, 6, 26, 0.92) 100%), #07061A url(img/hero-1280.webp) center / cover no-repeat; }
.chooser-logo { margin: 0; line-height: 0; }
.chooser-logo img { width: min(380px, 78vw); height: auto; }
.chooser-logo-sm { width: min(260px, 64vw); height: auto; }
.chooser h1 { margin: 8px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(36px, 7vw, 64px); letter-spacing: 0.04em; line-height: 1.05; }
.chooser p { margin: 0; color: var(--muted); }
.chooser .cta-row { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .split { gap: 40px; }
  .hero-inner { padding-top: 40px; padding-bottom: 96px; }
  .hero { min-height: max(600px, calc(100svh - var(--header-h))); }
}
@media (max-width: 520px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand-emblem { width: 44px; height: 44px; }
  .brand-name strong { font-size: 17px; }
  .header-actions .btn-sm { display: none; }
  .launch-title { flex-direction: column; align-items: flex-start; }
  .hero-sub { font-size: 17px; }
  .video-toggle { right: 16px; bottom: 16px; }
  .stat { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
