
:root{--bg0:#050b14;--bg1:#071426;--bg2:#0b1b31;--card:rgba(8,20,37,.76);--line:rgba(112,139,180,.28);--line2:rgba(112,139,180,.42);--text:#eef5ff;--muted:#91a0b7;--muted2:#687791;--gold:#d6ad49;--blue:#3d7be0;--blue2:#6da2ff;--shadow:0 28px 80px rgba(0,0,0,.46)}
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 50% 12%,rgba(44,103,190,.16),transparent 28%),radial-gradient(circle at 90% 45%,rgba(17,91,129,.13),transparent 26%),radial-gradient(circle at 15% 40%,rgba(214,173,73,.08),transparent 25%),linear-gradient(145deg,var(--bg0),var(--bg1) 46%,var(--bg2));overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(circle at 50% 20%,black,transparent 70%)}
.public-shell{min-height:100vh;display:flex;flex-direction:column}
.public-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 34px 0 38px;border-bottom:1px solid rgba(112,139,180,.18);background:rgba(5,11,20,.54);backdrop-filter:blur(18px)}
.brand-lockup{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.peak-mark{width:42px;height:34px;display:inline-block;filter:drop-shadow(0 0 16px rgba(61,123,224,.45))}
.wordmark-small{display:flex;flex-direction:column;line-height:1}.wordmark-pill,.wordmark-pill-large{display:inline-flex;align-items:center;letter-spacing:.22em;font-weight:800;color:#fff7cd;background:linear-gradient(135deg,rgba(111,95,37,.95),rgba(50,56,47,.96));border:1px solid rgba(240,216,137,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 14px 40px rgba(0,0,0,.35)}
.wordmark-pill{border-radius:8px;font-size:20px;padding:6px 8px 6px 13px}.wordmark-pill-large{border-radius:12px;font-size:clamp(46px,7vw,82px);padding:9px 13px 9px 24px;letter-spacing:.25em}.q-blue{color:#9fcaff}.brand-subtitle-small{color:var(--muted);font-size:12px;margin-top:4px;letter-spacing:.03em}
.public-nav{display:flex;align-items:center;gap:28px}.public-nav a{color:#c9d3e4;text-decoration:none;font-size:15px}.public-nav a:hover{color:white}.nav-login{border:1px solid rgba(112,139,180,.35);padding:10px 17px;border-radius:10px;color:#d8e5ff!important;background:rgba(11,25,45,.55)}
.hero-main{flex:1;display:grid;place-items:center;padding:56px 28px 34px}.hero-stack{width:min(820px,100%);text-align:center}.peak-large{width:118px;height:84px;margin:0 auto 12px;filter:drop-shadow(0 0 24px rgba(61,123,224,.55));opacity:.95}.brand-subtitle-large{color:rgba(180,190,207,.78);font-size:clamp(22px,3vw,30px);margin-top:10px}
.hero-panel,.auth-card{border:1px solid var(--line2);background:linear-gradient(180deg,rgba(15,29,50,.78),rgba(7,18,34,.86));border-radius:18px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-panel{width:min(520px,100%);margin:38px auto 0;padding:42px 40px 34px}.hero-panel:before,.auth-card:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 50% 0%,rgba(61,123,224,.15),transparent 36%);pointer-events:none}
.panel-icon{width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(109,162,255,.34),transparent 36%),rgba(20,45,82,.74);border:1px solid rgba(109,162,255,.22);display:grid;place-items:center;margin:0 auto 22px;box-shadow:0 0 38px rgba(61,123,224,.23)}.panel-icon svg{width:34px;height:34px}
.hero-panel h1,.auth-card h1{margin:0;font-size:30px;letter-spacing:-.03em}.panel-copy{margin:12px auto 28px;color:var(--muted);line-height:1.6;max-width:390px}.cta-row{display:grid;gap:14px}
.btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;border:1px solid transparent;font-weight:750;text-decoration:none;cursor:pointer;font-size:16px}.btn-primary{background:linear-gradient(135deg,#4b8bea,#2451c8);color:white;box-shadow:0 18px 44px rgba(36,81,200,.34)}.btn-outline{background:rgba(5,14,28,.52);color:#6da2ff;border-color:rgba(61,123,224,.55)}
.security-note{display:flex;justify-content:center;align-items:center;gap:11px;margin:36px 0 0;color:rgba(184,197,218,.70);font-size:15px}.security-note svg{width:26px;height:26px}
.public-footer{min-height:88px;display:flex;flex-direction:column;justify-content:center;gap:18px;align-items:center;border-top:1px solid rgba(112,139,180,.16);background:rgba(5,11,20,.42);color:rgba(184,197,218,.60);padding:22px}.footer-links{display:flex;gap:34px;flex-wrap:wrap;justify-content:center}.footer-links a{color:rgba(184,197,218,.68);text-decoration:none}
.auth-main{flex:1;display:grid;place-items:center;padding:44px 24px}.auth-wrap{width:min(520px,100%);text-align:center}.auth-card{width:100%;padding:38px 38px 32px}.auth-brand{margin-bottom:28px}.auth-brand .peak-large{width:86px;height:64px;margin-bottom:8px}.auth-card p{color:var(--muted);margin:10px 0 28px}
.form-group{text-align:left;margin-bottom:17px}.form-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 22px;color:var(--muted);font-size:14px}.form-row label{display:inline-flex;align-items:center;gap:8px}.form-group label{display:block;margin-bottom:8px;color:#bac7dc;font-size:14px;font-weight:650}.input-wrap{position:relative}.form-group input{width:100%;min-height:50px;border-radius:9px;border:1px solid rgba(112,139,180,.25);background:rgba(7,16,31,.74);color:var(--text);padding:0 44px 0 16px;outline:none;font-size:15px}.form-group input:focus{border-color:rgba(109,162,255,.75);box-shadow:0 0 0 3px rgba(61,123,224,.14)}.input-icon{position:absolute;right:14px;top:50%;translate:0 -50%;color:var(--muted2);width:22px;height:22px}
.divider{display:flex;align-items:center;gap:14px;color:var(--muted2);margin:24px 0}.divider:before,.divider:after{content:"";height:1px;flex:1;background:rgba(112,139,180,.25)}.text-link{color:#6da2ff;text-decoration:none}.message{min-height:22px;margin:14px 0 0;color:#d8e5ff}
@media(max-width:820px){.public-header{height:auto;min-height:76px;padding:20px;flex-direction:column;gap:18px}.public-nav{gap:16px;flex-wrap:wrap;justify-content:center}.wordmark-pill-large{font-size:40px}.hero-panel,.auth-card{padding:30px 22px}.footer-links{gap:18px}}
.legal-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-notice {
    margin-bottom: 14px;
    color: #dbeafe;
}

.legal-notice summary {
    cursor: pointer;
    font-weight: 700;
    color: #ffffff;
}

.legal-notice ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.legal-notice li {
    margin-bottom: 6px;
}

.legal-links {
    margin: 14px 0 16px 0;
}

.legal-links a,
.legal-links a:link,
.legal-links a:visited {
    display: block;
    margin-bottom: 8px;
    padding: 8px 12px;

    color: #dbeafe !important;
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;

    text-decoration: none;
    font-weight: 600;
}

.legal-links a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff !important;
}

.legal-links {
    text-align: left;
}

.legal-accept {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e5e7eb;
    line-height: 1.45;
}

.legal-accept input {
    margin-top: 4px;
}
