:root { color-scheme: dark; font-family: 'Segoe UI', Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: #f4f5f1; background: #091a2d; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 87% 11%, rgba(49,103,116,.20), transparent 33%), radial-gradient(circle at -6% 88%, rgba(202,151,69,.10), transparent 28%); }
a { color: inherit; text-decoration: none; }
.portal-shell { position: relative; max-width: 1440px; min-height: 100vh; margin: auto; padding: 24px clamp(24px, 6vw, 96px) 32px; display: flex; flex-direction: column; }
.portal-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.11); padding: 0 0 25px; }
.portal-account { display: flex; align-items: center; gap: 12px; }
.portal-account button { border: 1px solid rgba(194,219,216,.2); border-radius: 30px; padding: 9px 16px; color: #e7eff0; background: transparent; cursor: pointer; }
.portal-account button:hover { border-color: #d8ad69; }
.portal-settings-link { display: inline-flex; align-items: center; border: 1px solid rgba(194,219,216,.25); border-radius: 30px; padding: 9px 16px; color: #e7eff0; font-size: 13px; }
.portal-settings-link:hover, .portal-settings-link:focus-visible { border-color: #d8ad69; color: #f2c879; }
.portal-account #installAppButton { color: #112a38; background: #d8ad69; border-color: #d8ad69; font-weight: 700; }
.portal-account #installAppButton:hover { background: #ecc489; }
.install-help { margin: 12px 0 0 auto; max-width: 520px; padding: 12px 16px; border: 1px solid rgba(216,173,105,.4); border-radius: 12px; color: #e7eff0; background: #17354a; font-size: 13px; line-height: 1.5; }
.portal-brand { display: inline-flex; align-items: center; width: 154px; }
.portal-brand img { width: 100%; height: auto; display: block; }
.environment { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(194,219,216,.16); border-radius: 30px; color: #b9c9cd; font-size: 12px; letter-spacing: .02em; }
.environment-dot { width: 7px; height: 7px; border-radius: 50%; background: #72c9a4; box-shadow: 0 0 0 4px rgba(114,201,164,.12); }
main { flex: 1; }
.hero { padding: clamp(60px, 10vh, 110px) 0 72px; max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #d8ad69; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 700; }
.eyebrow-line { width: 26px; height: 1px; background: #d8ad69; }
h1 { margin: 23px 0 24px; font: 800 clamp(42px, 5.25vw, 76px)/1.13 'Segoe UI', Arial, sans-serif; letter-spacing: -.058em; }
h1 em { color: #d4ad70; font-style: normal; }
.hero p { max-width: 615px; margin: 0; color: #aab9c2; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.module-section { padding:clamp(30px,6vh,65px) 0 70px; }
.module-card { position:relative;overflow:hidden; }
.module-art { width:100%;height:120px;display:block;margin:12px 0 22px;color:#ebba74; }
.hr .module-art { color:#8fd4c4; }
.production .module-art { color:#9db7fa; }
.module-card .card-body { margin-top:10px;margin-bottom:24px; }
.section-label { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 15px; color: #8ca2ac; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(176,208,213,.16); border-radius: 18px; background: linear-gradient(155deg, rgba(29,55,73,.90), rgba(18,39,56,.72)); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.module-card:hover, .module-card:focus-visible { transform: translateY(-5px); border-color: rgba(216,173,105,.66); box-shadow: 0 18px 60px rgba(0,0,0,.18); outline: none; }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.module-number { color: #7995a1; font: 600 12px 'Segoe UI', Arial, sans-serif; letter-spacing: .15em; }
.module-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: #e8c38d; background: rgba(218,177,110,.11); font-size: 23px; }
.hr .module-icon { color: #8fc7bc; background: rgba(143,199,188,.11); }
.production .module-icon { color: #a6b8e2; background: rgba(166,184,226,.11); }
.card-body { display: flex; flex-direction: column; margin-top: 20px; }
.module-kicker { color: #d5af76; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hr .module-kicker { color: #98cabe; }
.production .module-kicker { color: #a9bce5; }
.card-body strong { margin-top: 12px; font: 800 clamp(29px, 3vw, 38px)/1.2 'Segoe UI', Arial, sans-serif; letter-spacing: -.04em; }
.module-description { min-height: 55px; margin-top: 13px; color: #9eb1ba; font-size: 14px; line-height: 1.6; }
.card-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-top: 18px; }
.status { display: inline-flex; align-items: center; gap: 9px; color: #adbec4; font-size: 11px; }
.status > span { width: 6px; height: 6px; border-radius: 50%; background: #78c9a8; }
.status.preview > span { background: #d6b779; }
.card-arrow { color: #e2bd81; font-size: 24px; line-height: 1; }
.portal-footer { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 25px; color: #718b98; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 850px) { .hero { padding-top: 70px; } .module-grid { grid-template-columns: 1fr; } .module-card { min-height: 260px; } }
@media (max-width: 520px) { .portal-shell { padding: 18px 18px 26px; } .portal-header { align-items: flex-start; gap: 12px; } .portal-brand { width: 120px; flex: 0 0 120px; } .portal-account { flex-wrap: wrap; justify-content: flex-end; gap: 7px; } .portal-account button, .portal-settings-link { padding: 7px 10px; font-size: 12px; } .environment { width: 100%; justify-content: flex-end; border: 0; padding: 0; font-size: 10px; } .hero { padding: 55px 0; } h1 { font-size: 39px; } .section-label span:last-child { display: none; } .portal-footer { flex-direction: column; } }
.login-layout { position: relative; min-height: 100vh; max-width: 1320px; margin: auto; padding: clamp(25px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.login-intro img { display: block; width: min(260px, 55vw); margin-bottom: clamp(45px, 8vh, 110px); }
.login-intro h1 { margin: 24px 0; }
.login-intro p { max-width: 510px; color: #aab9c2; font-size: 17px; line-height: 1.7; }
.login-card { padding: clamp(28px, 4vw, 48px); background: #fff; color: #143047; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.20); }
.login-card-top { display: flex; align-items: center; gap: 10px; color: #648074; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-card h2 { margin: 34px 0 8px; font-size: 29px; letter-spacing: -.04em; }
.login-card p { margin: 0 0 30px; color: #718693; line-height: 1.5; }
.login-card form label { display: block; margin: 19px 0; font-size: 13px; font-weight: 700; }
.login-card input { display: block; width: 100%; margin-top: 9px; padding: 15px 16px; border: 1px solid #d7e1e6; border-radius: 10px; font: inherit; font-size: 15px; background: #f8fafb; color: #143047; }
.login-card input:focus { outline: 3px solid #a4d9d0; border-color: #458b83; }
.login-card button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 28px; padding: 15px 18px; border: 0; border-radius: 10px; color: #fff; background: #103d4b; font: 700 14px 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.login-card button:hover { background: #195766; }
.login-card button:disabled { opacity: .6; cursor: wait; }
.login-card .secondary-button { margin-top: 10px; justify-content: center; background: transparent; color: #526c78; }
.login-message { margin-top: 18px; padding: 12px 14px; border-radius: 8px; background: #fff0ed; color: #9d3b31; font-size: 13px; }
[hidden] { display: none !important; }
@media (max-width: 800px) { .login-layout { grid-template-columns: 1fr; gap: 20px; padding: 20px; align-items: start; } .login-intro img { width: 125px; margin: 0; } .login-intro .eyebrow, .login-intro h1, .login-intro p { display: none; } .login-card { padding: 24px; } .login-card h2 { margin-top: 20px; } }
