:root {
    --page: #090c14;
    --panel: rgba(20, 27, 40, .64);
    --panel-strong: rgba(24, 32, 47, .86);
    --ink: #f7f8fb;
    --muted: #a6afbe;
    --line: rgba(255, 255, 255, .14);
    --accent: #CBAA66;
    --accent-soft: #CBAA66;
    --green: #86e8aa;
    --max-width: 1200px;
    --radius: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--page); color: var(--ink); font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 18% 4%, rgba(203, 170, 102, .2), transparent 29%), radial-gradient(circle at 86% 20%, rgba(92, 129, 194, .16), transparent 31%), linear-gradient(140deg, #080b12, #101827 56%, #0a0d14); content: ""; }
body::after { position: fixed; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, .025), transparent 48%); content: ""; pointer-events: none; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 14px; left: 14px; z-index: 2000; padding: 10px 15px; border-radius: 999px; background: var(--ink); color: var(--page); text-decoration: none; transform: translateY(-160%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 1000; padding: 18px 24px 0; }
.nav-shell { display: flex; width: min(100%, 1180px); min-height: 75px; margin-inline: auto; align-items: center; justify-content: space-between; padding: 10px 16px 10px 26px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 23px; background: rgba(14, 20, 32, .66); box-shadow: 0 18px 60px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .12); backdrop-filter: blur(25px) saturate(135%); -webkit-backdrop-filter: blur(25px) saturate(135%); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 32px; place-items: center; border-radius: 0; background: transparent; box-shadow: 0 0 24px rgba(203, 170, 102, .24); }
.brand-mark img { width: 38px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(203, 170, 102, .58)); }
.brand-lockup strong, .brand-lockup small { display: block; color: var(--accent); font-style: italic; }
.brand-lockup strong { font-size: .92rem; letter-spacing: .15em; line-height: 1.1; }
.brand-lockup small { font-size: .55rem; letter-spacing: .18em; line-height: 1.55; }
.nav-panel { display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-cta { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 14px; border-radius: 12px; color: var(--muted); font-size: .82rem; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: rgba(255, 255, 255, .1); }
.nav-cta { gap: 8px; margin-left: 10px; border: 1px solid rgba(203, 170, 102, .66); background: rgba(203, 170, 102, .14); color: var(--accent); }
.nav-cta:hover { background: var(--accent); color: #11151d; transform: translateY(-2px); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; }

.hero-shell { display: grid; min-height: calc(100vh - 94px); grid-template-columns: 1.08fr .92fr; align-items: center; gap: 9%; padding-top: 72px; padding-bottom: 100px; }
.eyebrow { margin: 0; color: var(--accent-soft); font-size: .68rem; font-weight: 700; letter-spacing: .19em; }
.eyebrow-index { margin-right: 12px; color: var(--accent); }
.hero-copy h1 { max-width: 710px; margin: 19px 0 23px; font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -.09em; line-height: .9; }
.hero-intro { max-width: 600px; margin: 0; color: #c5ced9; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #11151d; box-shadow: 0 12px 30px rgba(203, 170, 102, .2); }
.button-primary:hover { background: #d7b979; }
.button-secondary { background: rgba(255, 255, 255, .07); color: var(--ink); backdrop-filter: blur(14px); }
.button-secondary:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .13); }

.identity-card { position: relative; overflow: hidden; min-height: 470px; padding: 42px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 38px; background: linear-gradient(145deg, rgba(39, 50, 72, .62), rgba(15, 21, 34, .78)); box-shadow: 0 30px 85px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .15); backdrop-filter: blur(25px) saturate(135%); -webkit-backdrop-filter: blur(25px) saturate(135%); }
.identity-glow { position: absolute; top: -95px; right: -65px; width: 270px; height: 270px; border-radius: 50%; background: rgba(203, 170, 102, .22); filter: blur(48px); }
.identity-mark { position: relative; display: grid; width: 106px; height: 106px; place-items: center; margin-bottom: 40px; border: 1px solid rgba(203, 170, 102, .55); border-radius: 31px; background: rgba(203, 170, 102, .13); box-shadow: 0 0 42px rgba(203, 170, 102, .18), inset 0 1px rgba(255, 255, 255, .2); }
.identity-mark img { width: 73px; height: 63px; object-fit: contain; filter: drop-shadow(0 0 11px rgba(203, 170, 102, .48)); }
.identity-kicker { position: relative; margin: 0; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .17em; }
.identity-card h2 { position: relative; margin: 9px 0 9px; color: var(--accent); font-size: clamp(2.5rem, 6vw, 4.8rem); font-style: italic; font-weight: 700; letter-spacing: -.08em; line-height: .9; text-shadow: 0 0 28px rgba(203, 170, 102, .22); }
.identity-card>p:not(.identity-kicker) { position: relative; max-width: 300px; margin: 0; color: #c2cbd6; font-size: .85rem; }
.role-pills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; }
.role-pills span { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: .65rem; }

.overview-section, .roles-section { padding-bottom: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.section-heading h2 { margin: 9px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.08em; line-height: .95; }
.section-heading>p { max-width: 350px; margin: 0; color: var(--muted); font-size: .82rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.metric-card, .role-card, .dashboard-panel { border: 1px solid rgba(255, 255, 255, .14); border-radius: 27px; background: var(--panel); box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .18); backdrop-filter: blur(20px); }
.metric-card { min-height: 235px; padding: 24px; }
.metric-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(203, 170, 102, .5); border-radius: 11px; color: var(--accent); font-size: .64rem; font-weight: 700; }
.metric-card small { display: block; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .15em; }
.metric-card strong { display: block; margin-top: 7px; color: var(--accent); font-size: 1.9rem; font-weight: 500; letter-spacing: -.06em; }
.metric-card p { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.role-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.role-card { grid-column: span 2; min-height: 215px; padding: 24px; }
.role-card:nth-child(4), .role-card:nth-child(5) { grid-column: span 3; }
.role-card-featured { border-color: rgba(203, 170, 102, .35); background: linear-gradient(135deg, rgba(203, 170, 102, .14), rgba(20, 27, 40, .62) 62%); }
.role-number { color: var(--accent); font-size: .63rem; font-weight: 700; letter-spacing: .16em; }
.role-card h3 { margin: 26px 0 9px; font-size: 1.45rem; font-weight: 500; letter-spacing: -.06em; }
.role-card p { margin: 0; color: var(--muted); font-size: .79rem; }

.security-section { padding-bottom: 115px; }
.security-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px; border: 1px solid rgba(203, 170, 102, .42); border-radius: 29px; background: linear-gradient(105deg, rgba(203, 170, 102, .15), rgba(20, 27, 40, .65) 61%); box-shadow: inset 0 1px rgba(255, 255, 255, .11), 0 20px 55px rgba(0, 0, 0, .2); }
.security-card h2 { margin: 9px 0 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.security-card p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); font-size: .82rem; }

.auth-main { display: grid; min-height: calc(100vh - 185px); grid-template-columns: .9fr 1.1fr; align-items: center; gap: 10%; padding-top: 85px; padding-bottom: 110px; }
.auth-intro h1, .dashboard-heading h1 { max-width: 650px; margin: 18px 0 16px; font-size: clamp(3.3rem, 7vw, 6.4rem); font-weight: 500; letter-spacing: -.1em; line-height: .89; }
.auth-intro>p:not(.eyebrow) { max-width: 450px; margin: 0; color: var(--muted); font-size: .92rem; }
.auth-points { display: grid; gap: 11px; margin-top: 30px; color: #cbd3dd; font-size: .78rem; }
.auth-points span { display: flex; align-items: center; gap: 10px; }
.auth-points i { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(203, 170, 102, .5); border-radius: 9px; color: var(--accent); font-size: .6rem; font-style: normal; font-weight: 700; }
.auth-card { padding: 39px; border: 1px solid rgba(255, 255, 255, .17); border-top: 2px solid var(--accent); border-radius: 32px; background: var(--panel-strong); box-shadow: 0 28px 75px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .13); backdrop-filter: blur(24px); }
.auth-card-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 55px; }
.auth-card h2 { margin: 10px 0 9px; font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -.08em; line-height: .95; }
.auth-card-copy { max-width: 470px; margin: 0; color: var(--muted); font-size: .83rem; }
.password-login-form { display: grid; gap: 9px; margin-top: 25px; }
.password-login-form label { color: #cbd3dd; font-size: .72rem; font-weight: 600; }
.password-login-form input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px; outline: 0; background: rgba(255, 255, 255, .06); color: var(--ink); font: inherit; font-size: .82rem; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.password-login-form input:focus { border-color: rgba(203, 170, 102, .78); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(203, 170, 102, .13); }
.auth-help { margin: 0; color: var(--muted); font-size: .68rem; }
.auth-button { width: 100%; margin-top: 13px; border: 0; cursor: pointer; font: inherit; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 25px 0 15px; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .16em; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.passkey-link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 0; border: 0; background: transparent; color: var(--accent); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; text-align: left; }
.passkey-link:hover { color: #e2c583; }
.auth-status { display: flex; align-items: center; gap: 9px; margin: 19px 0 0; padding: 12px 14px; border: 1px solid rgba(203, 170, 102, .25); border-radius: 14px; background: rgba(203, 170, 102, .08); color: #d1c4a5; font-size: .72rem; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(203, 170, 102, .7); }
.back-link { display: inline-block; margin-top: 26px; color: var(--muted); font-size: .76rem; text-decoration: none; }
.back-link:hover { color: var(--accent); }

.dashboard-main { min-height: calc(100vh - 185px); padding-top: 85px; padding-bottom: 115px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.dashboard-heading h1 { margin-bottom: 0; }
.auth-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(203, 170, 102, .32); border-radius: 999px; color: var(--accent); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.auth-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(203, 170, 102, .7); }
.dashboard-notice { display: flex; align-items: center; gap: 15px; margin-top: 40px; padding: 20px; border: 1px solid rgba(203, 170, 102, .4); border-radius: 22px; background: rgba(203, 170, 102, .11); }
.notice-icon { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--accent); color: #11151d; font-weight: 800; }
.dashboard-notice strong { display: block; font-size: .85rem; }
.dashboard-notice p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; }
.dashboard-notice .button { margin-left: auto; white-space: nowrap; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 16px; }
.dashboard-stat { padding: 23px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 24px; background: rgba(20, 27, 40, .55); }
.dashboard-stat small { color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .16em; }
.dashboard-stat strong { display: block; margin-top: 17px; color: var(--accent); font-size: 2.5rem; font-weight: 500; line-height: 1; }
.dashboard-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .7rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 16px; }
.dashboard-panel { min-height: 330px; padding: 25px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 7px 0 0; font-size: 1.55rem; font-weight: 500; letter-spacing: -.06em; }
.panel-index { color: var(--accent); font-size: .65rem; font-weight: 700; }
.empty-panel { display: grid; min-height: 195px; place-items: center; align-content: center; text-align: center; }
.empty-panel span { color: var(--accent); font-size: 2.5rem; font-style: italic; font-weight: 700; }
.empty-panel p { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }

.site-footer { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(8, 11, 18, .48); }
.footer-inner { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand .brand-mark { width: 38px; height: 28px; box-shadow: 0 0 18px rgba(203, 170, 102, .2); }
.footer-brand .brand-mark img { width: 32px; height: 25px; }
.footer-brand .brand-lockup strong { font-size: .7rem; }
.footer-brand .brand-lockup small { font-size: .48rem; }
.footer-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .7rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-inner>p { display: flex; align-items: center; margin: 0; color: var(--muted); font-size: .66rem; }

@media (max-width: 820px) {
    .site-header { padding: 12px 14px 0; }
    .nav-shell { width: 100%; }
    .nav-toggle { display: block; }
    .nav-panel { position: absolute; top: calc(100% + 9px); right: 0; left: 0; display: grid; gap: 4px; padding: 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 23px; background: rgba(13, 18, 28, .9); box-shadow: 0 18px 50px rgba(0, 0, 0, .32); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .18s ease; }
    .nav-panel.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .nav-link, .nav-cta { width: 100%; justify-content: flex-start; margin: 0; }
    .hero-shell, .auth-main { grid-template-columns: 1fr; min-height: auto; }
    .identity-card { max-width: 650px; }
    .section-heading, .dashboard-heading { align-items: start; flex-direction: column; }
    .security-card { align-items: start; flex-direction: column; }
    .dashboard-notice { align-items: start; flex-wrap: wrap; }
    .dashboard-notice .button { margin-left: 52px; }
    .footer-inner { align-items: center; flex-direction: column; text-align: center; }
    .footer-links { order: 2; }
    .footer-inner>p { order: 3; }
}

@media (max-width: 620px) {
    .page-shell { width: min(calc(100% - 32px), var(--max-width)); }
    .nav-shell { min-height: 75px; padding: 10px 16px 10px 26px; }
    .hero-shell, .auth-main, .dashboard-main { padding-top: 58px; }
    .hero-copy h1, .auth-intro h1, .dashboard-heading h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { justify-content: space-between; }
    .identity-card { min-height: 420px; padding: 28px; border-radius: 30px; }
    .identity-mark { width: 88px; height: 88px; margin-bottom: 30px; }
    .identity-mark img { width: 60px; height: 53px; }
    .metric-grid, .dashboard-metrics, .dashboard-grid { grid-template-columns: 1fr; }
    .role-grid { grid-template-columns: 1fr; }
    .role-card, .role-card:nth-child(4), .role-card:nth-child(5) { grid-column: auto; }
    .section-heading h2 { font-size: 2.35rem; }
    .auth-card { padding: 28px 22px; }
    .auth-card-brand { margin-bottom: 40px; }
    .dashboard-notice .button { margin-left: 52px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
