:root {
  --bg: #03070d;
  --bg-2: #08111e;
  --text: #dcecff;
  --muted: #8ea8bf;
  --line: rgba(162, 213, 255, .18);
  --glass: rgba(7, 18, 31, .72);
  --glass-2: rgba(11, 29, 48, .58);
  --blue: #66d9ff;
  --cyan: #a9f4ff;
  --ice: #e6fbff;
  --red: #ff526b;
  --green: #8ffff1;
  --shadow: 0 30px 90px rgba(0, 0, 0, .48);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, #102c4e 0%, #07101d 36%, #02050a 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: .01em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.noise-layer {
  position: fixed; inset: 0; pointer-events: none; opacity: .08; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.aurora { position: fixed; inset: -20% -10% auto -10%; height: 60vh; pointer-events: none; z-index: 0; filter: blur(12px); opacity: .65; }
.aurora i { position: absolute; width: 55vw; height: 22vh; border-radius: 50%; transform-origin: center; mix-blend-mode: screen; animation: auroraFloat 12s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 4%; top: 15%; background: radial-gradient(ellipse at center, rgba(89, 255, 222, .36), transparent 70%); }
.aurora i:nth-child(2) { right: 1%; top: 6%; background: radial-gradient(ellipse at center, rgba(77, 136, 255, .42), transparent 70%); animation-delay: -4s; }
.aurora i:nth-child(3) { left: 27%; top: 32%; background: radial-gradient(ellipse at center, rgba(180, 255, 244, .2), transparent 73%); animation-delay: -7s; }
@keyframes auroraFloat { from { transform: translate3d(-4%, 8%, 0) rotate(-4deg) scale(1); } to { transform: translate3d(6%, -2%, 0) rotate(8deg) scale(1.18); } }
#snow-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: .55; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 76px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; padding: 0 48px;
  border-bottom: 1px solid rgba(185, 228, 255, .12);
  background: linear-gradient(180deg, rgba(2, 8, 15, .88), rgba(2, 8, 15, .42));
  backdrop-filter: blur(22px);
}
.topbar.compact { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 220px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(120, 214, 255, .18)); }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(128, 225, 255, .62);
  color: var(--cyan); background: linear-gradient(135deg, rgba(84, 200, 255, .16), rgba(10, 22, 35, .7));
  box-shadow: inset 0 0 20px rgba(104, 236, 255, .18), 0 0 26px rgba(58, 191, 255, .12);
  clip-path: polygon(13% 0, 100% 0, 100% 76%, 78% 100%, 0 100%, 0 20%);
  font-weight: 800;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy b { letter-spacing: .13em; font-size: 15px; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .13em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; color: #c6dced; font-size: 14px; }
.nav a, .nav-button { opacity: .86; transition: .2s ease; }
.nav a:hover, .nav-button:hover { color: var(--cyan); opacity: 1; text-shadow: 0 0 12px rgba(116, 236, 255, .45); }
.nav-login { padding: 10px 15px; border: 1px solid rgba(129, 230, 255, .3); background: rgba(86, 192, 255, .08); }
.nav-button { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 0; }
.section-pad { padding: 110px 7vw; position: relative; z-index: 4; }
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(280px, 390px); gap: 58px; align-items: center; padding-top: 140px; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: linear-gradient(rgba(124, 215, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 215, 255, .08) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(circle at 50% 45%, black, transparent 68%); animation: gridMove 18s linear infinite; }
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 70px 70px; } }
.eyebrow { color: var(--blue); letter-spacing: .18em; font-size: 12px; text-transform: uppercase; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(66px, 10vw, 154px); line-height: .86; margin-bottom: 18px; letter-spacing: -.08em; text-shadow: 0 0 42px rgba(68, 204, 255, .18); }
h2 { font-size: clamp(30px, 4vw, 58px); line-height: 1.04; margin-bottom: 20px; letter-spacing: -.045em; }
h3 { font-size: 20px; margin-bottom: 12px; }
p { color: #bad0e2; line-height: 1.88; }
.hero-subtitle { font-size: 22px; color: var(--ice); margin-bottom: 24px; letter-spacing: .12em; }
.hero-lede { max-width: 760px; font-size: 17px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid rgba(156, 225, 255, .32); transition: .25s ease; cursor: pointer; color: var(--text); background: rgba(15, 38, 60, .55); }
.btn.primary { background: linear-gradient(135deg, rgba(53, 196, 255, .24), rgba(155, 255, 243, .1)); border-color: rgba(143, 239, 255, .55); box-shadow: 0 10px 34px rgba(17, 164, 255, .12); }
.btn.ghost { background: rgba(255, 255, 255, .03); }
.btn.full { width: 100%; }
.btn:hover { transform: translateY(-2px); border-color: rgba(187, 249, 255, .8); box-shadow: 0 16px 46px rgba(46, 188, 255, .16); }
.glass { background: linear-gradient(145deg, var(--glass), rgba(3, 8, 14, .54)); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(24px); }

.hero-logo-wrap { display: grid; place-items: center; margin-bottom: 18px; }
.hero-logo { width: min(250px, 68%); height: auto; display: block; filter: drop-shadow(0 12px 32px rgba(102, 217, 255, .18)); animation: floatLogo 4.8s ease-in-out infinite; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.status-panel { position: relative; padding: 26px; overflow: hidden; }
.panel-title { color: var(--cyan); font-size: 12px; letter-spacing: .18em; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.panel-title span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.status-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(182, 232, 255, .11); }
.status-row small { color: var(--muted); }
.status-row b { font-size: 13px; color: var(--ice); text-align: right; }
.scanline { position: absolute; left: 0; right: 0; height: 1px; top: 0; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); animation: scan 3.6s linear infinite; opacity: .65; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(360px); } }
.split-section, .terminal-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-copy { max-width: 760px; }
.polar-card { padding: 30px; min-height: 430px; position: relative; overflow: hidden; }
.map-ring { width: 190px; height: 190px; margin: 14px auto 28px; border: 1px solid rgba(176, 238, 255, .24); border-radius: 50%; display: grid; place-items: center; position: relative; }
.map-ring:before, .map-ring:after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(116, 226, 255, .2); border-radius: 50%; }
.map-ring:after { inset: 52px; animation: pulse 2.2s ease-in-out infinite; }
.map-ring span { width: 12px; height: 12px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 28px var(--cyan); }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .42; } }
.polar-card ul { color: #c1d8ea; line-height: 2; padding-left: 19px; }
.section-head { max-width: 880px; margin-bottom: 38px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 25px; min-height: 250px; position: relative; overflow: hidden; }
.feature-card b { display: block; color: rgba(128, 232, 255, .42); font-size: 42px; margin-bottom: 44px; }
.feature-card:after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(117, 232, 255, .68), transparent); transform: translateX(-100%); transition: .55s ease; }
.feature-card:hover:after { transform: translateX(100%); }
.terminal { overflow: hidden; }
.terminal-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid rgba(190, 237, 255, .14); background: rgba(255, 255, 255, .03); }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(174, 231, 255, .42); }
.terminal-bar em { margin-left: 8px; color: var(--muted); font-style: normal; font-size: 12px; }
.terminal pre { margin: 0; padding: 28px; overflow: auto; color: #b8f8ff; line-height: 1.85; font-size: 13px; }
.project-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-cards article { border: 1px solid rgba(166, 229, 255, .16); background: rgba(9, 22, 36, .56); padding: 24px; min-height: 170px; transition: .2s ease; }
.project-cards article:hover { transform: translateY(-4px); background: rgba(13, 36, 58, .66); }
.project-cards span { display: block; color: var(--ice); font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.access-band { margin: 0 7vw 90px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(157, 230, 255, .18); background: linear-gradient(90deg, rgba(28, 118, 168, .2), rgba(3, 12, 22, .42)); }
.footer { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 20px; padding: 26px 48px; color: #7290a8; border-top: 1px solid rgba(184, 230, 255, .1); }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr minmax(330px, 470px); align-items: center; gap: 70px; padding: 120px 8vw; position: relative; z-index: 4; }
.login-left h1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.06em; margin-top: 56px; }
.login-meta { margin-top: 34px; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.login-meta div { border-left: 1px solid rgba(158, 229, 255, .2); padding-left: 14px; }
.login-meta small { display: block; color: var(--muted); margin-bottom: 8px; }
.login-card { padding: 30px; }
.login-card label { display: block; color: var(--muted); margin-bottom: 18px; font-size: 13px; }
.login-card input, .key-form input, .console input { width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid rgba(151, 225, 255, .22); color: var(--ice); background: rgba(2, 7, 12, .6); padding: 0 14px; outline: none; }
.login-card input:focus, .key-form input:focus, .console input:focus { border-color: rgba(140, 244, 255, .72); box-shadow: 0 0 0 3px rgba(70, 205, 255, .12); }
.form-error { color: #ff91a1; margin: 16px 0 0; }
.hint-line { margin-top: 24px; color: #7f9bb2; font-size: 12px; border-top: 1px solid rgba(170, 228, 255, .1); padding-top: 16px; }
.dashboard { padding-top: 105px; }
.dash-hero { padding: 34px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.dash-hero h1 { font-size: clamp(36px, 5vw, 70px); letter-spacing: -.06em; }
.voss-id { min-width: 280px; border: 1px solid rgba(152, 232, 255, .22); padding: 22px; background: rgba(4, 13, 23, .5); }
.voss-id span { display: block; color: var(--cyan); font-size: 28px; font-weight: 800; letter-spacing: .13em; }
.voss-id small { display: block; color: var(--muted); }
.voss-id em { display: block; margin-top: 8px; color: rgba(210, 235, 255, .66); font-size: 13px; font-style: normal; letter-spacing: .04em; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.data-card { display: block; padding: 26px; min-height: 210px; cursor: pointer; transition: .2s ease; position: relative; overflow: hidden; }
.data-card:hover { transform: translateY(-4px); border-color: rgba(139, 235, 255, .5); }
.data-card:after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(92, 218, 255, .16), transparent 46%); pointer-events: none; }
.card-code { display: inline-flex; padding: 6px 9px; border: 1px solid rgba(129, 225, 255, .26); color: var(--cyan); font-size: 11px; letter-spacing: .15em; margin-bottom: 48px; }
.card-code.locked { color: #ffd2d8; border-color: rgba(255, 122, 143, .28); }
.data-card h2 { font-size: 28px; margin-bottom: 10px; }
.console { margin-top: 22px; overflow: hidden; }
.console-output { min-height: 110px; padding: 22px; color: #bbfaff; white-space: pre-wrap; line-height: 1.7; border-bottom: 1px solid rgba(172, 229, 255, .12); }
.console form { display: flex; }
.console input { margin: 0; border: 0; border-right: 1px solid rgba(151, 225, 255, .14); }
.console button { width: 120px; border: 0; color: var(--cyan); background: rgba(53, 172, 229, .18); cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .68); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(820px, 100%); max-height: 82vh; overflow: auto; padding: 30px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 1px solid rgba(169, 231, 255, .2); background: rgba(0, 0, 0, .2); color: var(--text); cursor: pointer; font-size: 26px; }
.mail-item, .note-item { border-top: 1px solid rgba(169, 231, 255, .12); padding: 18px 0; }
.mail-item small, .note-item small { color: var(--muted); }
.lock-shell {
  min-height: 100vh;
  padding: 120px 7vw 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.lock-card { width: min(560px, 100%); }
.unlocked-content { width: min(900px, 100%); }
.locked-page.unlocked .lock-shell {
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(420px, 900px);
  justify-content: center;
  align-items: start;
}
.locked-page.unlocked .lock-card { width: auto; }
.lock-card, .unlocked-content { padding: 32px; }
.lock-card h1 { font-size: clamp(34px, 5vw, 72px); letter-spacing: -.06em; }
.key-form { display: flex; gap: 12px; margin-top: 24px; }
.key-form input { margin: 0; }
.unlocked-content { position: relative; overflow: hidden; }
.stamp { position: absolute; top: 24px; right: 24px; border: 1px solid rgba(107, 255, 232, .5); color: var(--green); padding: 8px 12px; transform: rotate(3deg); letter-spacing: .16em; font-size: 12px; }
.stamp.warning { border-color: rgba(255, 112, 132, .5); color: #ff98a6; }
.record-table { margin-top: 28px; border: 1px solid rgba(173, 231, 255, .14); }
.record-table div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 18px; border-top: 1px solid rgba(173, 231, 255, .1); }
.record-table div:first-child { border-top: 0; }
.record-table b { color: var(--ice); }
.record-table span { color: var(--muted); text-align: right; }
.redacted-note { margin-top: 24px; color: #ffb1bf; }
.incident-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.incident-grid div { padding: 16px; border: 1px solid rgba(172, 231, 255, .14); background: rgba(255, 255, 255, .03); }
.incident-grid small { display: block; color: var(--muted); margin-bottom: 8px; }
.incident-grid b { font-size: 22px; color: var(--ice); }
blockquote { margin: 24px 0 0; padding: 20px 22px; border-left: 3px solid var(--red); color: #f0c2cc; background: rgba(255, 82, 107, .08); line-height: 1.8; }
@media (max-width: 1000px) {
  .topbar { padding: 0 20px; }
  .nav { display: none; }
  .hero, .split-section, .terminal-section, .login-shell { grid-template-columns: 1fr; }
  .locked-page.unlocked .lock-shell { grid-template-columns: 1fr; }
  .feature-grid, .project-cards, .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .incident-grid { grid-template-columns: 1fr 1fr; }
  .access-band, .dash-hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section-pad { padding: 90px 22px; }
  .hero { padding-top: 120px; }
  .feature-grid, .project-cards, .dashboard-grid, .login-meta, .incident-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; padding: 24px; }
  h1 { font-size: 64px; }
  .key-form { flex-direction: column; }
}

.research-grid-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.research-grid-mini div { padding: 16px; border: 1px solid rgba(172, 231, 255, .14); background: rgba(255, 255, 255, .03); }
.research-grid-mini small { display: block; color: var(--muted); margin-bottom: 8px; }
.research-grid-mini b { font-size: 18px; color: var(--ice); }
@media (max-width: 1000px) { .research-grid-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .research-grid-mini { grid-template-columns: 1fr; } }
