:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050c1b;
  color: #f5f7fa;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #050c1b; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 18% 12%, rgba(11,61,145,.22), transparent 32rem), linear-gradient(145deg, #050c1b 0%, #0a1328 48%, #050c1b 100%); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: 0; width: 30rem; height: 30rem; border-radius: 50%; filter: blur(110px); opacity: .15; pointer-events: none; }
.ambient-one { left: -16rem; top: -12rem; background: #2c69ce; }
.ambient-two { right: -18rem; bottom: -15rem; background: #8b0e1a; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; position: relative; z-index: 1; }
.login-card { width: min(100%, 31rem); padding: clamp(2rem, 7vw, 3.25rem); border: 1px solid rgba(216,222,232,.24); background: linear-gradient(145deg, rgba(16,27,52,.96), rgba(5,12,27,.98)); box-shadow: 0 2rem 6rem rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.04); border-radius: 1.25rem; }
.logo-strip { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.15rem); }
.login-logos { margin-bottom: 2rem; }
.boom-logo { display: block; width: auto; height: 4.3rem; }
.harleywood-logo { display: block; width: auto; height: 5.4rem; border-radius: .55rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.3); }
.logo-divider { width: 1px; height: 3.6rem; background: linear-gradient(transparent, rgba(200,206,216,.42), transparent); }
.eyebrow { margin: 0 0 .7rem; color: #4c80dd; font-size: .72rem; font-weight: 900; letter-spacing: .2em; }
.login-card h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.1rem); line-height: .95; letter-spacing: -.04em; }
.login-copy { color: #b6c0cf; line-height: 1.65; margin: 1rem 0 2rem; }
label { display: block; color: #d8dee8; font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin: 1rem 0; }
input { width: 100%; border: 1px solid rgba(153,166,184,.34); border-radius: .65rem; background: rgba(5,12,27,.72); color: #f5f7fa; padding: .9rem 1rem; outline: none; transition: border-color .18s, box-shadow .18s; }
label > input, .password-wrap { margin-top: .55rem; }
input:focus { border-color: #4c80dd; box-shadow: 0 0 0 3px rgba(44,105,206,.2); }
.password-wrap { display: flex; border: 1px solid rgba(153,166,184,.34); border-radius: .65rem; overflow: hidden; background: rgba(5,12,27,.72); }
.password-wrap:focus-within { border-color: #4c80dd; box-shadow: 0 0 0 3px rgba(44,105,206,.2); }
.password-wrap input { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.show-password { border: 0; border-left: 1px solid rgba(153,166,184,.25); background: transparent; color: #99a6b8; padding: 0 1rem; font-size: .7rem; font-weight: 900; cursor: pointer; }
.primary-button { width: 100%; border: 1px solid #2c69ce; border-radius: .65rem; color: white; background: linear-gradient(120deg, #0b3d91, #092c68); padding: 1rem 1.25rem; margin-top: 1rem; font-weight: 950; letter-spacing: .06em; cursor: pointer; box-shadow: 0 .7rem 1.8rem rgba(11,61,145,.28); }
.primary-button:hover { filter: brightness(1.15); transform: translateY(-1px); }
.error { background: rgba(139,14,26,.22); border: 1px solid rgba(224,0,11,.48); color: #f5c6ca; border-radius: .6rem; padding: .8rem 1rem; font-size: .84rem; line-height: 1.45; }
.security-note { margin: 1.6rem 0 0; color: #7f8a9b; text-align: center; font-size: .74rem; line-height: 1.5; }
.security-note span { color: #2c69ce; }

.site-header { position: relative; z-index: 2; min-height: 5.25rem; padding: 1rem clamp(1rem, 5vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(200,206,216,.12); background: rgba(5,12,27,.72); backdrop-filter: blur(18px); }
.header-logos { color: #f5f7fa; text-decoration: none; }
.header-logos .boom-logo { height: 3.25rem; }
.header-logos .harleywood-logo { height: 3.8rem; }
.header-logos .logo-divider { height: 2.8rem; }
.identity { display: flex; align-items: center; gap: 1rem; }
.identity > span { display: grid; text-align: right; }
.identity small { color: #777d86; font-size: .56rem; font-weight: 900; letter-spacing: .14em; }
.identity strong { font-size: .82rem; }
.identity form { margin: 0; }
.quiet-button { border: 1px solid rgba(153,166,184,.3); background: rgba(200,206,216,.05); color: #c8ced8; border-radius: .5rem; padding: .68rem .85rem; font-size: .66rem; font-weight: 900; letter-spacing: .08em; cursor: pointer; }
.quiet-button:hover { border-color: #8b0e1a; color: #f5f7fa; }

.directory-shell { position: relative; z-index: 1; width: min(92rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.4rem, 7vw, 6rem) 0 5rem; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { margin: 0; max-width: 14ch; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .88; letter-spacing: -.065em; font-weight: 950; }
.hero h1 span { background: linear-gradient(180deg, #f5f7fa 0%, #d8dee8 35%, #777d86 52%, #f5f7fa 72%, #99a6b8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero > div:first-child > p:last-child { max-width: 43rem; color: #99a6b8; line-height: 1.7; font-size: clamp(.9rem, 2vw, 1.05rem); }
.hero-stat { flex: 0 0 auto; min-width: 13rem; display: flex; align-items: center; gap: 1rem; border-left: 3px solid #8b0e1a; padding: 1rem 0 1rem 1.4rem; }
.hero-stat strong { font-size: 3.6rem; line-height: 1; }
.hero-stat span { color: #99a6b8; font-size: .68rem; font-weight: 900; letter-spacing: .12em; line-height: 1.5; }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(200,206,216,.16); border-bottom: 1px solid rgba(200,206,216,.16); padding: 1rem 0; margin-bottom: 3rem; }
.search { width: min(100%, 25rem); display: flex; align-items: center; gap: .6rem; margin: 0; }
.search span { color: #4c80dd; font-size: 1.6rem; }
.search input { padding: .72rem .9rem; }
.tools p { margin: 0; color: #99a6b8; font-size: .67rem; font-weight: 900; letter-spacing: .13em; }
.status-dot { display: inline-block; width: .45rem; height: .45rem; margin-right: .42rem; border-radius: 50%; background: #4c80dd; box-shadow: 0 0 .8rem #2c69ce; }
.app-group + .app-group { margin-top: 3.2rem; }
.group-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.group-heading h2 { margin: 0; font-size: .76rem; letter-spacing: .17em; text-transform: uppercase; }
.group-heading span { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(44,105,206,.18); color: #4c80dd; font-size: .68rem; font-weight: 900; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.app-card { position: relative; min-height: 18rem; display: flex; flex-direction: column; padding: 1.4rem; color: #f5f7fa; text-decoration: none; border: 1px solid rgba(200,206,216,.15); border-radius: .9rem; background: linear-gradient(145deg, rgba(16,27,52,.9), rgba(5,12,27,.95)); overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.app-card::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px; background: var(--accent); opacity: .8; }
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent), #d8dee8 25%); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.28); }
.app-card-disabled { opacity: .68; cursor: default; }
.app-card-disabled:hover { transform: none; border-color: rgba(200,206,216,.15); box-shadow: none; }
.accent-blue { --accent: #2c69ce; }
.accent-red { --accent: #a90008; }
.accent-silver { --accent: #99a6b8; }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.app-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid color-mix(in srgb, var(--accent), white 20%); border-radius: .65rem; background: color-mix(in srgb, var(--accent), transparent 84%); color: #f5f7fa; font-size: .83rem; font-weight: 950; letter-spacing: -.03em; }
.badge { border: 1px solid rgba(153,166,184,.25); border-radius: 999px; padding: .36rem .55rem; color: #99a6b8; font-size: .55rem; font-weight: 900; letter-spacing: .12em; }
.app-card h3 { margin: 1.35rem 0 .55rem; font-size: 1.25rem; letter-spacing: -.025em; }
.app-card p { margin: 0; color: #99a6b8; font-size: .86rem; line-height: 1.55; }
.card-footer { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(200,206,216,.09); }
.card-footer code { color: #777d86; font-size: .66rem; overflow-wrap: anywhere; }
.card-footer span { flex: 0 0 auto; color: var(--accent); font-size: .67rem; font-weight: 950; letter-spacing: .1em; }
.card-footer b { font-size: .9rem; }
.empty-state { padding: 4rem 1rem; text-align: center; color: #99a6b8; }
footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1rem, 5vw, 4.5rem); border-top: 1px solid rgba(200,206,216,.1); color: #5e6878; font-size: .56rem; font-weight: 900; letter-spacing: .13em; }

@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero { align-items: start; flex-direction: column; } }
@media (max-width: 620px) { .site-header { align-items: center; } .header-logos { gap: .5rem; } .header-logos .boom-logo { height: 2.45rem; } .header-logos .harleywood-logo { height: 2.8rem; } .header-logos .logo-divider { height: 2.2rem; } .identity > span { display: none; } .directory-shell { width: min(100% - 1.3rem, 92rem); } .card-grid { grid-template-columns: 1fr; } .app-card { min-height: 16rem; } .tools { align-items: stretch; flex-direction: column; } .search { width: 100%; } .hero-stat { min-width: 0; } footer { flex-direction: column; } }
@media (max-width: 430px) { .login-card { padding-inline: 1.35rem; } .login-logos { justify-content: center; } .login-logos .boom-logo { height: 3.45rem; } .login-logos .harleywood-logo { height: 4.15rem; } .site-header { padding-inline: .7rem; } .header-logos .boom-logo { height: 2rem; } .header-logos .harleywood-logo { height: 2.25rem; } .header-logos .logo-divider { height: 1.8rem; } .quiet-button { padding: .58rem .65rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
