/* Nexora IMS - central sign-in hub */
:root { --navy-900: #061538; --navy-700: #0B2A6B; --blue-600: #1E6FD9; --orange-500: #F7931E; --ink: #0F1B3D; --muted: #6B7794; --line: #E2E8F3; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: radial-gradient(900px 500px at 10% -10%, #1E6FD9 0%, transparent 60%), radial-gradient(800px 500px at 100% 0%, #F7931E33 0%, transparent 55%), linear-gradient(180deg, #0B2A6B 0%, #061538 100%); background-attachment: fixed; }
.hm { max-width: 1040px; margin: 0 auto; padding: 48px 20px 36px; display: flex; flex-direction: column; align-items: center; min-height: 100vh; }
.hm-top { text-align: center; color: #fff; }
.hm-mark { width: 92px; height: 92px; display: block; margin: 0 auto 14px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.4)); }
.hm-word { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: .09em; line-height: 1; }
.hm-word em { font-style: normal; color: var(--orange-500); }
.hm-tag { margin: 10px 0 0; font-size: 16px; font-weight: 600; letter-spacing: .03em; color: #FFC247; }
.hm-lead { margin: 16px auto 0; max-width: 520px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78); }
.hm-grid { margin-top: 36px; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 18px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 24px 50px rgba(0,0,0,.28); transition: transform .18s ease, box-shadow .18s ease; }
.hm-card:hover, .hm-card:focus-visible { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,.36); outline: none; }
.hm-card:focus-visible { box-shadow: 0 0 0 3px #FFC247, 0 30px 60px rgba(0,0,0,.36); }
.hm-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #1E6FD9, #0B2A6B); }
.hm-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-card b { font-size: 16.5px; font-weight: 800; color: var(--navy-700); margin-top: 6px; }
.hm-card small { font-size: 13px; line-height: 1.5; color: var(--muted); flex: 1; }
.hm-go { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--blue-600); margin-top: 8px; }
.hm-go span { display: inline-block; transition: transform .18s ease; }
.hm-card:hover .hm-go span { transform: translateX(4px); }
.hm-code { margin-top: 28px; width: 100%; max-width: 480px; text-align: center; color: #fff; }
.hm-code label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.hm-row { display: flex; gap: 8px; }
.hm-row input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; padding: 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hm-row input::placeholder { color: rgba(255,255,255,.5); letter-spacing: .04em; font-weight: 500; text-transform: none; }
.hm-row input:focus { outline: 2px solid #FFC247; outline-offset: 1px; }
.hm-row button { height: 46px; padding: 0 18px; border: 0; border-radius: 12px; font-weight: 800; font-size: 14px; color: #fff; cursor: pointer; background: linear-gradient(135deg, #FFA53A, #FF6A00); }
.hm-row button.on { background: #1FA36B; }
.hm-code p { margin: 8px 0 0; font-size: 12.5px; color: rgba(255,255,255,.6); }
.hm-foot { margin-top: auto; padding-top: 40px; text-align: center; color: rgba(255,255,255,.8); }
.hm-foot p { margin: 0; font-size: 14px; }
.hm-foot b { color: #fff; }
.hm-foot .hm-small { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 980px) { .hm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hm { padding-top: 32px; } .hm-grid { grid-template-columns: 1fr; } .hm-word { font-size: 32px; } .hm-row { flex-direction: column; } }
