:root {
  --ink: #0b1014;
  --ink-2: #111b21;
  --ink-3: #17262c;
  --ice: #eaf3f2;
  --ice-muted: #a9c0bd;
  --mint: #23e6c8;
  --coral: #ff6f3c;
  --line: rgba(190, 224, 219, .18);
  --danger: #ff496d;
  --max: 1500px;
}

* { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; scroll-behavior: smooth; background: var(--ink); }
body { width: 100%; max-width: 100%; min-width: 0; margin: 0; overflow-x: hidden; color: var(--ice); font-family: Inter, "Segoe UI", Arial, sans-serif; background: radial-gradient(circle at 82% 15%, rgba(35,230,200,.11), transparent 29%), linear-gradient(135deg, #0b1014, #101a1f 58%, #091014); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { color: var(--ink); background: var(--mint); }

.network { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.noise { position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 45%, transparent); }
.halo { position: fixed; z-index: 0; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(120px); opacity: .1; pointer-events: none; animation: halo-drift 18s ease-in-out infinite alternate; }
.halo--a { top: -24vw; right: -12vw; background: var(--mint); }
.halo--b { bottom: -31vw; left: -18vw; background: var(--coral); animation-delay: -8s; }
.shell { position: relative; z-index: 1; width: min(calc(100% - 84px), var(--max)); min-height: 100vh; margin-inline: auto; }

.header { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; width: max-content; align-items: center; gap: 13px; }
.logo__icon { position: relative; width: 38px; height: 38px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--mint); transform: rotate(-5deg); transition: transform .35s, background .35s; }
.logo__icon i { display: block; width: 20px; height: 3px; background: var(--mint); transform-origin: left; animation: logo-flow 2.4s ease-in-out infinite alternate; }
.logo__icon i:nth-child(2) { width: 14px; animation-delay: -.7s; }
.logo__icon i:nth-child(3) { width: 8px; background: var(--coral); animation-delay: -1.2s; }
.logo:hover .logo__icon { transform: rotate(0deg); background: rgba(35,230,200,.08); }
.logo__name { font-size: 30px; font-weight: 950; letter-spacing: -.075em; }
.header__title { color: #9eb5b2; font-size: 11px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.header__state { justify-self: end; display: inline-flex; align-items: center; gap: 9px; color: #829b97; font-size: 11px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.header__state i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(35,230,200,.35); animation: state-pulse 2.2s ease-out infinite; }

.main { min-height: 760px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(430px,.72fr); gap: clamp(60px,7vw,120px); align-items: center; padding: 68px 0 78px; }
.overview, .access { min-width: 0; }
.overview { animation: enter-up .72s .05s both; }
.overview__code { display: flex; align-items: center; gap: 12px; max-width: 760px; margin-bottom: 43px; color: #66827e; font: 700 11px/1 Consolas, monospace; }
.overview__code i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(35,230,200,.65), transparent); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--mint); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.eyebrow span { width: 40px; height: 3px; background: var(--coral); animation: eyebrow-line 2.6s ease-in-out infinite alternate; }
h1 { margin: 0; font-size: clamp(68px,6.8vw,110px); line-height: .9; letter-spacing: -.065em; }
h1 em { color: var(--mint); font-style: normal; }
.lead { max-width: 690px; margin: 32px 0 0; color: #aec2bf; font-size: 17px; line-height: 1.7; }

.stream-board { max-width: 790px; margin-top: 44px; border: 1px solid var(--line); background: rgba(7,13,16,.55); box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.stream-board__head, .stream-board__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 17px; color: #78938f; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.stream-board__head span:last-child { color: var(--mint); }
.stream-row { min-height: 57px; display: grid; grid-template-columns: 34px 135px minmax(100px,1fr) 95px; align-items: center; gap: 13px; padding: 10px 17px; border-top: 1px solid var(--line); transition: background .25s; }
.stream-row:hover { background: rgba(35,230,200,.055); }
.stream-row__id { color: var(--coral); font: 700 11px Consolas, monospace; }
.stream-row strong { font-size: 12px; letter-spacing: .05em; }
.stream-row__track { height: 15px; display: flex; align-items: center; gap: 5px; overflow: hidden; }
.stream-row__track::before { width: 100%; height: 1px; content: ""; background: #30433f; }
.stream-row__track i { width: 7px; height: 7px; flex: 0 0 auto; margin-left: -2px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px rgba(35,230,200,.45); animation: packet-run 2.4s linear infinite; }
.stream-row__track i:nth-child(2) { animation-delay: -.45s; }
.stream-row__track i:nth-child(3) { animation-delay: -.9s; }
.stream-row__track i:nth-child(4) { animation-delay: -1.35s; }
.stream-row__track i:nth-child(5) { animation-delay: -1.8s; }
.stream-row__status { justify-self: end; color: #7e9a95; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.stream-board__foot { border-top: 1px solid var(--line); }
.packet-line { display: flex; gap: 5px; }
.packet-line i { width: 4px; height: 12px; background: var(--coral); animation: equalizer .7s ease-in-out infinite alternate; }
.packet-line i:nth-child(2n) { height: 7px; animation-delay: -.3s; }
.packet-line i:nth-child(3n) { height: 16px; animation-delay: -.5s; }

.access { width: 100%; max-width: 540px; justify-self: end; animation: enter-up .78s .15s both; }
.login-card { position: relative; padding: 38px 38px 30px; border: 1px solid rgba(191,224,218,.3); color: #13221f; background: rgba(234,243,242,.985); box-shadow: 0 34px 105px rgba(0,0,0,.42); }
.login-card::before { position: absolute; top: -1px; left: -1px; width: 114px; height: 5px; content: ""; background: linear-gradient(90deg,var(--coral),var(--mint)); }
.login-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card-label { color: #268a7b; font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.login-card h2 { margin: 11px 0 0; font-size: 36px; letter-spacing: -.045em; }
.access-key { position: relative; width: 45px; height: 45px; flex: 0 0 auto; border: 1px solid #9fbbb6; }
.access-key::before { position: absolute; top: 14px; left: 12px; width: 18px; height: 14px; content: ""; border: 3px solid #147d6e; border-radius: 50% 50% 45% 45%; }
.access-key::after { position: absolute; top: 27px; left: 19px; width: 4px; height: 9px; content: ""; background: #147d6e; }
.login-card__intro { margin: 17px 0 0; color: #667d78; font-size: 14px; line-height: 1.6; }
.login-form { display: grid; gap: 9px; margin-top: 25px; }
.login-form > label:not(.remember) { margin-top: 6px; color: #405b56; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.field { position: relative; }
.field input { width: 100%; height: 56px; padding: 0 92px 0 15px; border: 1px solid #bdd0cc; border-radius: 0; outline: 0; color: #11221f; background: #f5fbfa; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus { border-color: #13ad97; background: #fff; box-shadow: 0 0 0 3px rgba(35,230,200,.15); }
.field > span, .password-toggle { position: absolute; top: 50%; right: 15px; color: #6a8882; transform: translateY(-50%); }
.field > span { font: 800 11px Consolas, monospace; }
.password-toggle { padding: 7px 0; border: 0; color: #147d6e; background: transparent; cursor: pointer; font-size: 11px; font-weight: 900; }
.remember { display: flex; align-items: center; gap: 9px; min-height: 37px; color: #657d78; font-size: 13px; }
.remember input { width: 16px; height: 16px; accent-color: #159d89; }
.submit { height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border: 0; color: #071512; background: var(--mint); cursor: pointer; font-size: 13px; font-weight: 950; letter-spacing: .12em; transition: transform .2s, box-shadow .2s, background .2s; }
.submit:hover { transform: translateY(-2px); background: #4cefd4; box-shadow: 0 10px 28px rgba(35,230,200,.25); }
.submit span:last-child { font-size: 23px; font-weight: 400; }
.auth-error { display: flex; gap: 12px; margin-top: 5px; padding: 14px; border-left: 4px solid var(--danger); color: #702138; background: #fff0f3; animation: error-show .35s both; }
.auth-error[hidden] { display: none; }
.auth-error__icon { width: 23px; height: 23px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--danger); font-weight: 900; }
.auth-error strong { font-size: 13px; }
.auth-error p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; }
.security { display: flex; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #cfdedb; color: #6d827e; }
.security p { margin: 0; font-size: 12px; line-height: 1.5; }
.security__mark { width: 14px; height: 17px; flex: 0 0 auto; margin-top: 2px; background: #168e7c; clip-path: polygon(50% 0,100% 18%,90% 72%,50% 100%,10% 72%,0 18%); }
.download { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 15px; margin-top: 19px; padding: 17px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: transform .25s, border-color .25s, background .25s; }
.download:hover { transform: translateY(-3px); border-color: rgba(35,230,200,.57); background: rgba(35,230,200,.06); }
.download__mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(35,230,200,.55); color: var(--mint); font-size: 23px; }
.download small { display: block; margin-bottom: 5px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.download strong { display: block; font-size: 13px; }
.download__size { color: #66817c; font: 700 11px Consolas, monospace; }

.data-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.data-strip > div { min-height: 105px; display: grid; grid-template-columns: 32px 1fr; align-content: center; column-gap: 12px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); transition: background .25s; }
.data-strip > div:hover { background: rgba(35,230,200,.045); }
.data-strip span { grid-row: 1 / 3; color: var(--coral); font: 700 11px Consolas, monospace; }
.data-strip strong { font-size: 14px; }
.data-strip small { margin-top: 6px; color: #6f8984; font-size: 12px; }
.footer { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #607a75; font-size: 11px; font-weight: 700; letter-spacing: .09em; }

@keyframes enter-up { from { opacity: 0; transform: translateY(23px); } to { opacity: 1; transform: none; } }
@keyframes halo-drift { to { transform: translate(65px,-45px) scale(1.12); } }
@keyframes logo-flow { to { width: 8px; transform: translateX(10px); } }
@keyframes state-pulse { to { box-shadow: 0 0 0 10px rgba(35,230,200,0); } }
@keyframes eyebrow-line { to { width: 56px; } }
@keyframes packet-run { from { transform: translateX(-260px); opacity: 0; } 15%,85% { opacity: 1; } to { transform: translateX(20px); opacity: 0; } }
@keyframes equalizer { to { height: 4px; opacity: .45; } }
@keyframes error-show { from { opacity: 0; transform: translateY(-7px); } }

@media (max-width: 1130px) {
  .main { grid-template-columns: 1fr; gap: 62px; }
  .overview__code { max-width: none; }
  .access { max-width: 640px; justify-self: start; }
  h1 { font-size: clamp(72px,10vw,108px); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header { min-height: 82px; grid-template-columns: 1fr auto; }
  .header__title { display: none; }
  .main { gap: 50px; padding: 54px 0 61px; }
  h1 { font-size: clamp(59px,14.5vw,88px); }
  .lead { font-size: 16px; }
  .stream-row { grid-template-columns: 28px minmax(110px,.7fr) minmax(80px,1fr); }
  .stream-row__status { display: none; }
  .data-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-card { padding: 31px 23px 26px; }
  .footer { min-height: 123px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}
@media (max-width: 500px) {
  .shell { width: calc(100% - 30px); }
  .header__state { font-size: 9px; letter-spacing: .08em; }
  .logo__name { font-size: 27px; }
  .overview__code { margin-bottom: 34px; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }
  h1 { font-size: clamp(53px,15.3vw,70px); line-height: .94; }
  .stream-board { margin-top: 36px; }
  .stream-board__head span:last-child { display: none; }
  .stream-row { min-height: 62px; grid-template-columns: 25px minmax(94px,.8fr) minmax(55px,1fr); gap: 7px; padding: 10px 11px; }
  .stream-row strong { font-size: 10px; }
  .stream-board__foot { font-size: 9px; }
  .login-card { padding: 28px 19px 24px; }
  .login-card h2 { font-size: 32px; }
  .download { grid-template-columns: 39px minmax(0,1fr); padding: 14px; }
  .download__mark { width: 37px; height: 37px; }
  .download__size { display: none; }
  .data-strip { grid-template-columns: 1fr; }
  .data-strip > div { min-height: 82px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 24px); }
  .header__state { display: none; }
  .header { grid-template-columns: 1fr; }
  h1 { font-size: 49px; }
  .login-card { padding-inline: 14px; }
  .stream-row { grid-template-columns: 22px 82px minmax(48px,1fr); }
  .download strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
