:root {
  --ink: #0b0d15;
  --ink-2: #101321;
  --panel: rgba(20, 23, 39, .82);
  --panel-strong: #171b2d;
  --paper: #f6f4ff;
  --muted: #999caf;
  --quiet: #686c82;
  --line: rgba(190, 175, 255, .17);
  --line-strong: rgba(190, 175, 255, .33);
  --purple: #9d4edd;
  --violet: #7449ef;
  --blue: #5e8cff;
  --green: #63d69b;
  --orange: #e8ad72;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ink); }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--ink); color: var(--paper); font-family: var(--la-font); line-height: 1.5; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a9c2ff; outline-offset: 3px; }

.launcher-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 83% 8%, rgba(94, 140, 255, .12), transparent 28%), radial-gradient(circle at 7% 75%, rgba(157, 78, 221, .12), transparent 31%); }
.launcher-bg::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(171, 153, 245, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(171, 153, 245, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.launcher-bg span { position: absolute; width: 1px; height: 40vh; background: linear-gradient(transparent, rgba(126, 149, 255, .45), transparent); transform: rotate(38deg); filter: blur(.2px); opacity: .36; }
.launcher-bg span:first-child { right: 18%; top: -8%; }
.launcher-bg span:last-child { left: 21%; bottom: -9%; transform: rotate(-42deg); opacity: .2; }

.launcher-shell { width: min(1280px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; padding: 24px 0 20px; position: relative; display: flex; flex-direction: column; }
.launcher-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); }
.launcher-brand { display: inline-flex; align-items: center; color: var(--paper); font-weight: 700; letter-spacing: .01em; }
.launcher-brand img { width: 62px; height: 42px; display: block; object-fit: contain; object-position: left center; filter: drop-shadow(0 0 11px rgba(130, 79, 255, .32)); }
.launcher-brand .brand-divider { width: 1px; height: 24px; margin: 0 15px 0 16px; background: #353750; }
.launcher-brand .brand-name { margin: 1px 0 0; color: #d7d2e6; font-size: 13px; font-weight: 600; }
.topbar-meta, .section-eyebrow, .status-label, .console-status-bar, .launcher-footer, .ready-meta span { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.topbar-meta { display: flex; align-items: center; gap: 11px; color: var(--quiet); font-size: 10px; }
.topbar-meta b { margin-left: 8px; color: #bab4d0; font-weight: 400; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px rgba(99, 214, 155, .8); }

.auth-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(56px, 9vw, 140px); padding: clamp(58px, 9vh, 96px) clamp(12px, 5vw, 72px) 80px; }
.signal-column { max-width: 620px; }
.section-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: #b99cff; font-size: 10px; }
.section-eyebrow > span { width: 27px; height: 1px; background: linear-gradient(90deg, var(--purple), var(--blue)); }
.signal-column h1, .console-heading h1 { margin: 0; color: var(--paper); font-size: clamp(43px, 5vw, 72px); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; text-wrap: balance; }
.signal-column h1 em { color: #80a7ff; font-style: normal; }
.signal-intro { max-width: 480px; margin: 25px 0 40px; color: var(--muted); font-size: 15px; line-height: 1.85; }

.topology-panel { width: min(100%, 594px); padding: 19px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(30, 28, 54, .78), rgba(16, 19, 32, .76)); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.topology-head, .topology-foot, .status-card-top, .console-status-bar, .console-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topology-head { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--quiet); font: 10px var(--mono); letter-spacing: .08em; }
.topology-head b { color: var(--orange); font-weight: 400; }
.topology-flow { display: grid; grid-template-columns: auto minmax(44px, 1fr) auto minmax(44px, 1fr) auto; align-items: center; gap: 12px; padding: 30px 0 24px; }
.topology-node { display: grid; justify-items: center; gap: 6px; min-width: 70px; color: var(--muted); text-align: center; }
.topology-node > svg { width: 22px; height: 22px; color: #a79bbb; stroke-width: 1.6; }
.topology-node b { color: var(--paper); font-size: 12px; font-weight: 600; }
.topology-node small { color: var(--quiet); font: 9px var(--mono); }
.topology-node.is-carrier > svg { color: #c18fff; filter: drop-shadow(0 0 7px rgba(157, 78, 221, .58)); }
.topology-connection { display: flex; align-items: center; gap: 7px; color: #987ce5; }
.topology-connection span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(157, 78, 221, .8), transparent); }
.topology-connection svg { width: 15px; height: 15px; }
.topology-foot { padding-top: 12px; border-top: 1px solid var(--line); color: var(--quiet); font: 9px var(--mono); }
.topology-foot span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.tiny-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.signal-notes { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 594px; margin-top: 26px; border-top: 1px solid var(--line); }
.signal-notes > div { display: flex; gap: 12px; padding: 16px 12px 0 0; }
.signal-notes span { color: #9b8ab8; font: 10px var(--mono); }
.signal-notes p { margin: 0; color: var(--quiet); font-size: 11px; line-height: 1.6; }
.signal-notes b { color: #c8c0d9; font-weight: 500; }

.login-panel { width: 100%; max-width: 440px; justify-self: end; padding: 31px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(145deg, rgba(28, 29, 50, .9), rgba(16, 18, 31, .9)); box-shadow: 0 30px 90px rgba(0, 0, 0, .42), 0 0 36px rgba(111, 73, 221, .08); backdrop-filter: blur(24px); }
.login-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 54px; }
.mini-brand { display: flex; align-items: center; gap: 10px; }
.mini-brand > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--purple), var(--blue)); font: 700 14px var(--mono); box-shadow: 0 8px 20px rgba(101, 73, 216, .28); }
.mini-brand small { color: var(--quiet); font: 9px var(--mono); letter-spacing: .08em; }
.access-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(99, 214, 155, .22); border-radius: 999px; color: #9be3bc; background: rgba(99, 214, 155, .07); font-size: 10px; }
.access-chip svg { width: 13px; height: 13px; }
.login-copy .section-eyebrow { margin-bottom: 12px; }
.login-copy h2 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.login-copy p:last-child { margin: 9px 0 29px; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; color: #d7d2e6; font-size: 12px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg { position: absolute; left: 14px; width: 16px; color: #837b99; pointer-events: none; }
.input-wrap input { width: 100%; min-height: 47px; padding: 0 45px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: rgba(8, 10, 18, .56); color: var(--paper); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.input-wrap input::placeholder { color: #595c70; }
.input-wrap input:focus { border-color: rgba(166, 130, 255, .7); background: rgba(12, 14, 25, .82); box-shadow: 0 0 0 3px rgba(157, 78, 221, .13); }
.password-toggle { position: absolute; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #89849b; }
.password-toggle:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.password-toggle svg { width: 16px; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 24px; }
.remember { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; cursor: pointer; }
.remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--purple); }
.muted-link, .login-panel-foot a { display: inline-flex; align-items: center; gap: 5px; color: #b9a4de; font-size: 11px; }
.muted-link:hover, .login-panel-foot a:hover { color: #fff; }
.muted-link svg, .login-panel-foot a svg { width: 13px; }
.launch-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 0 17px; border-radius: 11px; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.launch-button { width: 100%; border: 1px solid rgba(218, 192, 255, .35); background: linear-gradient(110deg, var(--purple), var(--violet) 56%, var(--blue)); color: #fff; box-shadow: 0 13px 28px rgba(82, 57, 181, .28); }
.launch-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(95, 64, 211, .42), 0 0 19px rgba(133, 101, 255, .2); }
.launch-button:active, .outline-button:active { transform: translateY(1px) scale(.985); }
.launch-button:disabled { cursor: wait; opacity: .72; transform: none; }
.launch-button svg, .outline-button svg { width: 16px; }
.launch-button svg.is-spinning { animation: launcher-spin .8s linear infinite; }
@keyframes launcher-spin { to { transform: rotate(360deg); } }
.form-message { min-height: 20px; margin: 12px 0 0; color: #efaaa8; font-size: 11px; line-height: 1.5; }
.form-message.is-success { color: #95e0b4; }
.login-panel-foot { display: flex; align-items: center; gap: 7px; margin-top: 27px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; }

.console-view { flex: 1; padding: 71px clamp(12px, 5vw, 72px) 35px; }
.console-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.console-heading h1 { max-width: 760px; font-size: clamp(35px, 4.4vw, 57px); }
.console-heading h1 span { color: #80a7ff; }
.console-heading > div > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.outline-button { width: auto; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .035); color: #d9d4e8; }
.outline-button:hover { border-color: rgba(185, 155, 255, .65); background: rgba(116, 73, 239, .13); color: #fff; }
.console-status-bar { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(25, 27, 45, .56); color: var(--muted); font-size: 9px; }
.console-status-bar span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #a6e7c0; }
.console-status-bar b { color: #b79cf2; font-weight: 400; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.status-card { min-height: 196px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(21, 24, 41, .77); box-shadow: 0 15px 44px rgba(0, 0, 0, .18); }
.status-card-top { justify-content: flex-start; }
.status-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: rgba(157, 78, 221, .13); color: #ba91ff; }
.status-icon svg { width: 17px; }
.status-label { color: var(--quiet); font-size: 9px; }
.status-pill { margin-left: auto; padding: 5px 7px; border-radius: 999px; font: 9px var(--mono); }
.status-pill.is-neutral { border: 1px solid rgba(232, 173, 114, .25); color: var(--orange); background: rgba(232, 173, 114, .07); }
.status-pill.is-ready { border: 1px solid rgba(99, 214, 155, .23); color: #9be3bc; background: rgba(99, 214, 155, .07); }
.status-card h2 { margin: 20px 0 5px; font-size: 17px; letter-spacing: -.02em; }
.status-card p { margin: 0; color: var(--muted); font-size: 11px; }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 17px; }
.status-line > span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px rgba(232, 173, 114, .58); }
.status-line small { color: var(--quiet); font: 10px var(--mono); }
.ready-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) 170px; align-items: center; gap: 30px; min-height: 276px; margin-top: 14px; padding: 29px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(125deg, rgba(45, 32, 72, .8), rgba(22, 23, 41, .82) 55%, rgba(23, 32, 65, .78)); box-shadow: var(--shadow); }
.ready-visual { position: relative; display: grid; place-items: center; height: 195px; overflow: hidden; }
.ready-ring { display: grid; place-items: center; width: 112px; height: 112px; border: 1px solid rgba(185, 143, 255, .7); border-radius: 50%; background: radial-gradient(circle, rgba(157, 78, 221, .33), rgba(84, 75, 178, .08) 58%, transparent 62%); box-shadow: 0 0 0 16px rgba(157, 78, 221, .06), 0 0 40px rgba(124, 77, 239, .28); }
.ready-ring::before, .ready-ring::after { content: ""; position: absolute; width: 154px; height: 1px; background: linear-gradient(90deg, transparent, rgba(182, 144, 255, .55), transparent); }
.ready-ring::after { transform: rotate(90deg); }
.ready-ring span { position: relative; z-index: 1; color: #eadfff; font: 500 22px var(--mono); letter-spacing: -.13em; }
.ready-orbit { position: absolute; width: 176px; height: 75px; border: 1px solid rgba(112, 153, 255, .35); border-radius: 50%; transform: rotate(-25deg); }
.ready-orbit.two { width: 150px; height: 55px; border-color: rgba(182, 125, 255, .35); transform: rotate(28deg); }
.ready-copy h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.ready-copy > p:not(.section-eyebrow):not(.form-message) { max-width: 540px; margin: 12px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.ready-actions { display: flex; gap: 9px; }
.ready-actions .launch-button { width: auto; }
.ready-actions .outline-button { min-width: 125px; }
.ready-meta { display: grid; gap: 7px; padding-left: 22px; border-left: 1px solid var(--line); }
.ready-meta span { color: var(--quiet); font-size: 9px; }
.ready-meta b { margin-bottom: 11px; color: #d9d0ef; font: 11px var(--mono); font-weight: 400; overflow-wrap: anywhere; }
.ready-meta b:last-child { margin-bottom: 0; color: #9be3bc; }
.console-footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--quiet); font: 9px var(--mono); }
.console-footer div { display: flex; gap: 19px; }
.console-footer a:hover, .launcher-footer a:hover { color: var(--paper); }

.launcher-footer { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 0; border-top: 1px solid var(--line); color: var(--quiet); font-size: 9px; }
.launcher-footer div { display: flex; gap: 18px; }

[hidden] { display: none !important; }
@media (max-width: 980px) {
  .auth-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; }
  .signal-column { max-width: none; }
  .topology-panel, .signal-notes { max-width: 650px; }
  .login-panel { justify-self: start; max-width: 560px; }
  .console-view { padding-top: 50px; }
  .ready-card { grid-template-columns: 170px minmax(0, 1fr); }
  .ready-meta { grid-column: 2; grid-row: 1; justify-self: end; }
  .ready-copy { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 680px) {
  .launcher-shell { width: min(100% - 28px, 1280px); padding-top: 14px; }
  .launcher-topbar { min-height: 50px; }
  .launcher-brand img { width: 58px; height: 39px; }
  .launcher-brand .brand-divider, .launcher-brand .brand-name, .topbar-meta b { display: none; }
  .topbar-meta { font-size: 8px; }
  .auth-layout { padding: 47px 0 60px; }
  .signal-column h1 { font-size: 42px; }
  .signal-intro { font-size: 13px; margin: 20px 0 28px; }
  .topology-panel { padding: 16px; }
  .topology-flow { gap: 5px; padding: 24px 0 20px; }
  .topology-connection { gap: 2px; }
  .topology-node { min-width: 54px; }
  .topology-node b { font-size: 10px; }
  .topology-node small { font-size: 8px; }
  .signal-notes { gap: 9px; }
  .signal-notes > div { gap: 7px; padding-right: 0; }
  .signal-notes p { font-size: 10px; }
  .login-panel { padding: 24px 19px; border-radius: 18px; }
  .login-panel-head { margin-bottom: 39px; }
  .login-copy h2 { font-size: 26px; }
  .console-view { padding: 43px 0 30px; }
  .console-heading { align-items: flex-start; flex-direction: column; }
  .console-heading h1 { font-size: 36px; }
  .console-heading .outline-button { width: 100%; }
  .status-grid { grid-template-columns: 1fr; }
  .ready-card { grid-template-columns: 1fr; gap: 15px; padding: 22px 18px; }
  .ready-visual { height: 155px; }
  .ready-meta { grid-column: auto; grid-row: auto; justify-self: stretch; grid-template-columns: auto 1fr; gap: 5px 12px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .ready-meta b { margin: 0 0 5px; }
  .ready-meta span:nth-of-type(2) { grid-column: 1; }
  .ready-meta b:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .ready-copy { grid-column: auto; grid-row: auto; }
  .ready-copy h2 { font-size: 23px; }
  .ready-actions { align-items: stretch; flex-direction: column; }
  .ready-actions .launch-button, .ready-actions .outline-button { width: 100%; }
  .console-footer, .launcher-footer { align-items: flex-start; flex-direction: column; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
