:root {
    --navy: #17346f;
    --navy-dark: #0c2558;
    --gold: #b98000;
    --gold-light: #f7eed8;
    --text: #24324a;
    --muted: #69758a;
    --line: #dde3ed;
    --surface: #ffffff;
    --background: #f6f7f9;
    --success: #237a46;
    --shadow: 0 10px 30px rgba(23, 52, 111, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Manrope, "Segoe UI", sans-serif; color: var(--text); background: var(--background); line-height: 1.55; }
a { color: var(--navy); text-decoration: none; }
button, input { font: inherit; }
.site-header { min-height: 84px; display: flex; align-items: center; gap: 38px; padding: 12px clamp(24px, 5vw, 76px); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.brand-mark { width: 62px; height: 62px; border: 1.8px solid var(--navy); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--navy); line-height: 1; background: #fff; }
.brand-mark strong { color: var(--gold); font-weight: 500; font-size: 18px; letter-spacing: .04em; }
.brand-mark small { margin-top: 6px; font-size: 8px; letter-spacing: .28em; }
.brand-copy { display: flex; flex-direction: column; color: var(--navy); line-height: 1.1; }
.brand-copy strong { font-size: 21px; letter-spacing: .08em; }
.brand-copy em { color: var(--gold); font-style: normal; }
.brand-copy small { margin-top: 7px; font-size: 10px; letter-spacing: .15em; }
.main-nav { display: flex; gap: 30px; font-weight: 650; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions form { margin: 0; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 6px; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-dark); }
.button-gold { background: var(--gold); color: #fff; }
.button-secondary { background: #fff; border-color: var(--navy); color: var(--navy); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.button-block { width: 100%; }
.hero { min-height: 500px; display: grid; grid-template-columns: 47% 53%; background: #fff; overflow: hidden; }
.hero-copy { position: relative; padding: 70px 6vw 60px; }
.brand-line { position: absolute; left: 4vw; top: 76px; width: 5px; height: 180px; background: linear-gradient(to bottom, var(--gold) 0 50%, var(--navy) 50%); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; margin: 0 0 10px; }
.hero h1 { max-width: 620px; margin: 0; color: var(--navy-dark); font-size: clamp(44px, 5vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 span { color: var(--gold); }
.hero-text { max-width: 580px; font-size: 20px; color: var(--muted); margin: 28px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { min-height: 500px; position: relative; background: linear-gradient(145deg, rgba(23,52,111,.06), rgba(185,128,0,.12)), linear-gradient(135deg, #bcdff5 0 32%, #86af71 32% 54%, #d8a05b 54% 100%); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.hero-image::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 95px, rgba(255,255,255,.11) 95px 98px); opacity: .55; }
.hero-image-label { position: absolute; right: 30px; bottom: 24px; padding: 9px 13px; background: rgba(255,255,255,.9); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1320px; margin: -28px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.metrics article, .dashboard-metrics article { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 10px; padding: 23px; }
.metrics strong { display: block; color: var(--navy-dark); font-size: 29px; }
.metrics span { color: var(--muted); }
.section { max-width: 1320px; margin: 0 auto; padding: 72px 24px; }
.section-heading, .panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
h2 { color: var(--navy-dark); }
.section-heading h2 { margin: 0; font-size: 34px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 20px rgba(23,52,111,.05); }
.project-card-image { height: 185px; background: linear-gradient(145deg, #88b787, #d9b36a); }
.project-card-image-2 { background: linear-gradient(145deg, #78a5c6, #82a15f); }
.project-card-image-3 { background: linear-gradient(145deg, #7bb06b, #ca9b58); }
.project-card-body { padding: 22px; }
.project-card h3 { color: var(--navy-dark); margin: 12px 0 8px; font-size: 21px; }
.project-card p { color: var(--muted); min-height: 74px; }
.status { display: inline-flex; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.status-preparation { color: var(--success); background: #e4f5e9; }
.project-meta { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; color: var(--muted); }
.feature-strip { background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 6vw; gap: 26px; }
.feature-strip article { border-left: 3px solid var(--gold); padding-left: 18px; }
.feature-strip strong, .feature-strip span { display: block; }
.feature-strip strong { color: var(--navy-dark); }
.feature-strip span { color: var(--muted); font-size: 14px; margin-top: 4px; }
.auth-shell { min-height: calc(100vh - 150px); display: grid; grid-template-columns: minmax(360px, 520px) 1fr; max-width: 1120px; margin: 0 auto; gap: 70px; align-items: center; padding: 60px 24px; }
.auth-panel, .auth-message { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 42px; box-shadow: var(--shadow); }
.auth-brand { text-align: center; }
.brand-mark-large { width: 94px; height: 94px; margin: 0 auto 20px; }
.auth-brand h1 { color: var(--navy-dark); margin-bottom: 6px; }
.auth-brand p, .auth-note { color: var(--muted); }
.auth-form { display: grid; gap: 9px; margin-top: 28px; }
.auth-form label { color: var(--navy-dark); font-weight: 700; font-size: 14px; }
.auth-form input { width: 100%; min-height: 48px; border: 1px solid #cbd4e2; border-radius: 6px; padding: 0 14px; margin-bottom: 10px; }
.auth-form input:focus { outline: 3px solid rgba(23,52,111,.12); border-color: var(--navy); }
.form-error { background: #fff0f0; color: #922; border-left: 4px solid #b22; padding: 12px; margin-top: 18px; }
.auth-note { font-size: 13px; margin-top: 22px; }
.auth-message { position: relative; }
.auth-message .brand-line { left: 0; top: 42px; height: 110px; }
.auth-message h2 { font-size: 36px; line-height: 1.15; }
.auth-message li { margin: 11px 0; }
.app-layout { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 150px); }
.sidebar { background: #fff; border-right: 1px solid var(--line); padding: 30px 18px; display: flex; flex-direction: column; gap: 6px; }
.sidebar a { padding: 12px 15px; border-radius: 6px; font-weight: 650; display: flex; justify-content: space-between; }
.sidebar a.active, .sidebar a:hover { background: #f0f3f9; border-left: 3px solid var(--gold); }
.nav-badge { background: var(--gold); color: #fff; border-radius: 999px; padding: 0 7px; }
.dashboard { padding: 34px; max-width: 1440px; width: 100%; margin: 0 auto; }
.dashboard-welcome { min-height: 160px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: space-between; padding: 30px 38px; overflow: hidden; }
.dashboard-welcome h1 { color: var(--navy-dark); margin: 0; }
.welcome-accent { align-self: stretch; min-width: 330px; display: grid; place-content: center; padding-left: 90px; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--navy), #5874ad); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); }
.welcome-accent strong { color: #f1c85f; font-size: 28px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.dashboard-metrics span, .dashboard-metrics a { display: block; }
.dashboard-metrics span { color: var(--muted); }
.dashboard-metrics strong { display: block; font-size: 34px; color: var(--navy-dark); margin: 5px 0 10px; }
.dashboard-metrics a { font-size: 13px; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.panel h2 { margin: 0; font-size: 21px; }
.list-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 17px 0; }
.list-row:first-of-type { margin-top: 15px; }
.list-row strong, .list-row span { display: block; }
.list-row span, .muted { color: var(--muted); font-size: 14px; }
.roadmap-list { margin: 20px 0 0; padding-left: 22px; }
.roadmap-list li { margin: 18px 0; padding-left: 7px; color: var(--gold); }
.roadmap-list strong, .roadmap-list span { display: block; color: var(--text); }
.roadmap-list span { color: var(--muted); font-size: 14px; }
.empty-state { padding: 40px; background: #fff; border: 1px dashed var(--line); }
.site-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 6vw; background: var(--navy-dark); color: #fff; font-size: 13px; }
@media (max-width: 1000px) {
    .main-nav { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-image { min-height: 310px; clip-path: none; }
    .metrics, .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }
    .project-grid, .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .auth-shell { grid-template-columns: 1fr; gap: 20px; }
    .app-layout { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .site-header { padding: 10px 16px; }
    .brand-copy, .button-ghost { display: none; }
    .brand-mark { width: 52px; height: 52px; }
    .hero-copy { padding: 48px 22px; }
    .brand-line { display: none; }
    .hero h1 { font-size: 43px; }
    .hero-text { font-size: 17px; }
    .hero-actions .button { width: 100%; }
    .metrics, .project-grid, .feature-strip, .dashboard-metrics { grid-template-columns: 1fr; }
    .metrics { margin-top: 0; padding-top: 18px; }
    .section { padding: 48px 18px; }
    .auth-panel, .auth-message { padding: 28px 22px; }
    .dashboard { padding: 18px; }
    .dashboard-welcome { padding: 24px; }
    .welcome-accent { display: none; }
    .site-footer { flex-direction: column; align-items: flex-start; }
}
