:root {
    color-scheme: light;
    --navy: #0c203d;
    --deep: #101f3c;
    --blue: #235fc9;
    --ice: #eef5ff;
    --muted: #52647b;
    --line: #d9e5f4;
    --white: #fff;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--navy);
    background: #f6f9fe;
    line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #629aff; outline-offset: 3px;
}
img { max-width: 100%; display: block; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.35; }
h1 { font-size: clamp(2.25rem,5vw,4.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem,3vw,2.45rem); }
h3 { font-size: 1.13rem; }
p { color: var(--muted); }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 4; background: white; padding: 12px; }
.skip:focus { top: 12px; }
.top { background: white; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { flex: none; display: inline-block; }
.wordmark img { width: 132px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: clamp(14px,2vw,27px); row-gap: 4px; font-size: .9rem; }
.top nav a { padding-block: 7px; border-block-end: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { color: var(--blue); border-color: var(--blue); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: .67rem 1.12rem; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; min-height: 44px; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: #174fae; }
.light { background: #eaf3ff; color: #123f8a; }
.light:hover { background: white; }
.ghost { color: white; background: #203d64; border-color: #4b658b; }
.ghost:hover { background: #315482; }
.outline { background: white; color: var(--blue); border-color: var(--line); }
.outline:hover { background: var(--ice); }
.hero {
    color: white;
    background: radial-gradient(ellipse at 17% 20%,#244978 0%,transparent 57%), linear-gradient(128deg,#0b1b37,#102d56);
    position: relative;
    overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#b3d1ff13 1px,transparent 1px),linear-gradient(90deg,#b3d1ff13 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg,#000,transparent 90%); }
.hero-layout { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(32px,6vw,85px); padding-block: clamp(64px,8vw,111px); }
.hero-copy { min-width: 0; }
.hero h1 { margin-block: 18px; max-width: 10ch; }
.kicker { color: var(--blue); font-size: .88rem; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.kicker > span { width: 24px; height: 2px; background: currentColor; }
.hero .kicker { color: #a7cbff; }
.intro { font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.92; max-width: 66ch; }
.hero .intro { color: #cbdaf0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.dashboard { color: var(--navy); background: #f3f7fe; border: 1px solid #b6cdef; border-radius: 20px; box-shadow: 0 28px 85px #020e2a96; overflow: hidden; }
.dashboard figcaption { background: white; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e4ecf8; }
.dashboard small { color: var(--muted); }
.screen-brand { font-size: .9rem; font-weight: 700; }
.screen-brand i { display: inline-grid; place-items: center; width: 27px; height: 27px; background: #d9e8ff; color: #164fa6; border-radius: 7px; font-style: normal; margin-inline-end: 5px; }
.screen-brand b { color: #a1b3cc; margin-inline: 5px; }
.dash-body { padding: 16px; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.metrics div,.plot { background: white; border: 1px solid #e1eafa; border-radius: 12px; }
.metrics div { padding: clamp(8px,1.2vw,14px); }
.metrics strong { display: block; font-size: clamp(.94rem,2vw,1.65rem); text-align: right; letter-spacing: -.03em; }
.metrics span { color: #406798; font-size: .66rem; }
.plot { margin-top: 11px; padding: 14px; }
.plot-top,.axis { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; }
.plot-top span,.axis { color: var(--muted); }
.plot-top i { display: inline-block; border-radius: 50%; width: 8px; height: 8px; margin-inline-end: 3px; background: #4884e7; }
.bars { direction: ltr; display: flex; align-items: flex-end; justify-content: space-around; gap: 4%; height: clamp(94px,14vw,180px); margin-block: 14px 8px; padding: 0 3%; background: repeating-linear-gradient(to top,#e5edf9 0 1px,transparent 1px 25%); }
.bars span { flex: 1; height: var(--height); background: linear-gradient(#3d7adc,#aacaff); border-radius: 5px 5px 0 0; }
.bars span:nth-child(3n) { background: linear-gradient(#82aaf1,#d1e2ff); }
.axis { direction: ltr; }
.section { padding-block: clamp(38px,6vw,74px); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-title h2 { margin-top: 7px; }
.more,.crumb { color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }
.more:hover,.crumb:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.card,.unit { border-radius: 17px; border: 1px solid var(--line); background: white; padding: clamp(18px,2.4vw,33px); }
.card:hover { box-shadow: 0 12px 35px #244c7d18; border-color: #81a6e1; }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ice); color: var(--blue); font-size: 24px; margin-bottom: 17px; }
.card p { margin-block: 7px 18px; }
.card .more { font-size: .84rem; }
.service-band { margin-bottom: 56px; background: #e5f0ff; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 26px; }
.footer { color: #ecf3ff; background: var(--deep); font-size: .87rem; }
.footer-inner,.footer-inner div { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.footer-inner { justify-content: space-between; padding-block: 25px; }
.footer-inner img { width: 80px; padding: 4px; border-radius: 5px; background: white; }
.subhero { background: linear-gradient(135deg,#e0edff,#f4f8ff); }
.inner { padding-block: clamp(32px,6vw,82px); }
.inner .kicker { margin-top: 24px; }
.inner h1 { margin-block: 8px 14px; }
.inner .btn { margin-block-start: 18px; }
.prose { overflow-wrap: anywhere; }
.update-list { display: grid; gap: 14px; }
.update-list h2,.update-list p { margin-bottom: 8px; }
.contact { max-width: 720px; }
.auth { width: min(100% - 32px,680px); margin: clamp(20px,6vw,65px) auto; }
.auth.compact { max-width: 460px; }
.auth h1,.admin-main h1 { font-size: clamp(1.45rem,3vw,2.15rem); margin-block: 10px; }
.auth form,.contact form { margin-block: 16px; }
fieldset { border: 1px solid var(--line); padding: 16px; margin: 0 0 16px; border-radius: 12px; }
legend { font-weight: 700; padding-inline: 7px; }
label { display: grid; gap: 5px; margin-bottom: 13px; font-weight: 700; font-size: .88rem; }
input,textarea,select { color: var(--navy); background: #fbfdff; font: inherit; font-weight: 400; min-width: 0; padding: 10px; border: 1px solid #b9cce5; border-radius: 8px; }
input[type=email],input[type=url],input[type=number],input[type=date] { direction: ltr; text-align: right; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.notice { padding: 12px; margin-block: 12px; background: #e9f3ff; border-radius: 9px; color: #174582; }
.notice.error { background: #fff0ef; color: #8c2523; }
.admin-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 18px; align-items: start; padding-block: 30px; }
.admin-nav { padding: 14px; }
.admin-nav nav { display: grid; gap: 5px; margin-bottom: 14px; }
.admin-nav a { padding: 9px 12px; border-radius: 8px; font-weight: 700; }
.admin-nav a:hover,.admin-nav a[aria-current] { background: var(--ice); color: var(--blue); }
.admin-nav small,.admin-list small { color: var(--muted); }
.admin-list { list-style: none; padding: 0; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-list small { display: block; }
.check { display: flex; align-items: center; gap: 6px; }
@media (max-width: 930px) {
    .top-inner { flex-wrap: wrap; padding-block: 12px; }
    .top nav { order: 2; width: 100%; justify-content: start; }
    .hero-layout { gap: 28px; }
}
@media (max-width: 740px) {
    .hero-layout,.admin-layout { grid-template-columns: 1fr; }
    .hero h1 { max-width: 15ch; }
    .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-nav nav { display: flex; flex-wrap: wrap; }
    .wrap { width: min(100% - 32px,1200px); }
}
@media (max-width: 430px) {
    .form-grid { grid-template-columns: 1fr; }
    .dash-body,.plot { padding: 8px; }
    .metrics { gap: 4px; }
    .card { padding: 13px; }
    .nav-cta { font-size: .76rem; }
    .wordmark img { width: 106px; }
}
