:root {
    --ink: #16243a;
    --muted: #62738a;
    --blue: #176fbd;
    --blue-dark: #0c4f91;
    --pale: #f2f7fc;
    --line: #e1e9f2;
    --white: #fff;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 1000; width: 100%; min-height: 78px; padding: 0 max(24px, calc((100% - 1180px) / 2)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(225,233,242,.85); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #eaf3fc; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark span { color: var(--blue-dark); font-size: .78rem; font-weight: 850; }
.brand__text { display: grid; gap: 3px; }
.brand__text strong { font-size: 1rem; }
.brand__text small { color: var(--muted); font-size: .72rem; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.nav-link { color: #485c75; font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav-link:hover, .site-footer a:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { cursor: pointer; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: "▾"; margin-left: 6px; font-size: .72em; }
.nav-dropdown__menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 1001; min-width: 205px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(22,36,58,.16); }
.nav-dropdown__menu a { display: block; padding: 10px 12px; border-radius: 8px; color: #485c75; font-size: .84rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav-dropdown__menu a:hover, .nav-dropdown__menu a:focus-visible { color: var(--blue-dark); background: var(--pale); outline: none; }
.mobile-nav { display: none; position: relative; }
.mobile-nav > summary, .mobile-nav__group > summary { cursor: pointer; list-style: none; }
.mobile-nav > summary::-webkit-details-marker, .mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 18px; height: 2px; display: block; border-radius: 2px; background: #485c75; transition: transform .18s ease, background .18s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.mobile-nav[open] .menu-icon { background: transparent; }
.mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.mobile-nav__group > summary::after { content: "▾"; margin-left: 6px; font-size: .72em; }
.mobile-nav__panel, .mobile-nav__subpanel { display: grid; gap: 3px; }
.mobile-nav__panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 1002; min-width: 220px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(22,36,58,.16); }
.mobile-nav__panel > a, .mobile-nav__group > summary, .mobile-nav__subpanel a { display: block; padding: 10px 12px; border-radius: 8px; color: #485c75; font-size: .84rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mobile-nav__panel > a:hover, .mobile-nav__group > summary:hover, .mobile-nav__subpanel a:hover { color: var(--blue-dark); background: var(--pale); }
.mobile-nav__subpanel { padding-left: 10px; }
.button { min-height: 46px; padding: 0 20px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .9rem; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.download-icon { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; vertical-align: middle; }
.android-icon { width: 32px; height: 32px; flex-basis: 32px; }
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 40px; padding: 0 16px; }
.button--primary { color: #fff; background: linear-gradient(110deg, #237ec8, #0d54a5); box-shadow: 0 9px 22px rgba(19, 91, 159, .2); }
.button--outline { color: var(--blue-dark); border: 1px solid #bed5eb; background: #fff; }
.button--light { color: #244561; background: rgba(255,255,255,.95); box-shadow: 0 6px 14px rgba(22,36,58,.18); }
.button--light:hover { box-shadow: 0 9px 18px rgba(22,36,58,.25); }
.hero { min-height: 470px; padding: 64px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 55px; overflow: hidden; background: radial-gradient(ellipse at 80% 16%, rgba(255,255,255,.9), transparent 35%), linear-gradient(115deg, #eef6fc 0%, #e3f0fb 52%, #d7eafb 100%); }
.hero__copy { max-width: 620px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .15em; }
.hero h1 { max-width: 640px; margin: 0; font-size: clamp(2.25rem, 4.5vw, 3.7rem); letter-spacing: -.045em; line-height: 1.06; }
.hero__lead { max-width: 570px; margin: 20px 0 24px; color: #536982; font-size: 1.06rem; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions > .button { height: 52px; min-height: 52px; }
.hero__note { margin: 20px 0 0; color: #6c7f94; font-size: .78rem; line-height: 1.5; }
.hero__visual { position: relative; min-height: 305px; display: grid; place-items: center; }
.hero__mascot { position: absolute; z-index: 2; top: -85px; left: 50%; width: 155px; height: 155px; object-fit: contain; transform: translateX(-50%); }
.visual-card { width: min(100%, 380px); padding: 17px; border: 1px solid rgba(255,255,255,.85); border-radius: 20px; background: rgba(255,255,255,.93); box-shadow: 0 24px 64px rgba(44, 82, 117, .2); transform: translateY(40px) rotate(2deg); }
.visual-card__top { display: flex; align-items: center; gap: 8px; color: #61738a; font-size: .63rem; font-weight: 850; letter-spacing: .08em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #28a578; box-shadow: 0 0 0 4px #e4f6ef; }
.visual-card__time { margin-left: auto; color: #91a0b1; }
.visual-card__map { position: relative; height: 190px; margin: 15px 0; overflow: hidden; border-radius: 13px; background-color: #e7f1e8; background-image: linear-gradient(28deg, transparent 46%, rgba(255,255,255,.95) 47%, rgba(255,255,255,.95) 50%, transparent 51%), linear-gradient(112deg, transparent 42%, rgba(255,255,255,.95) 43%, rgba(255,255,255,.95) 46%, transparent 47%), repeating-linear-gradient(0deg, transparent, transparent 32px, rgba(97,152,127,.10) 33px, transparent 35px), repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(97,152,127,.10) 48px, transparent 50px); }
.map-pin { position: absolute; z-index: 2; width: 28px; height: 28px; border: 3px solid white; border-radius: 50% 50% 50% 4px; display: grid; place-items: center; color: white; font-size: .65rem; font-weight: 800; box-shadow: 0 3px 8px rgba(18,57,89,.25); transform: rotate(-45deg); }
.map-pin--one { top: 40%; left: 39%; background: #e85f50; }
.map-pin--two { top: 62%; left: 65%; background: var(--blue); }
.map-pin--one::first-letter, .map-pin--two::first-letter { transform: rotate(45deg); }
.map-route { position: absolute; top: 50%; left: 43%; width: 26%; height: 18%; border-top: 3px dashed var(--blue); transform: rotate(28deg); }
.visual-card__status { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 12px; background: #f4f8fc; }
.status-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #137c58; background: #dcf4e9; font-weight: 900; }
.visual-card__status strong, .visual-card__status small { display: block; }
.visual-card__status strong { font-size: .82rem; }
.visual-card__status small { margin-top: 4px; color: var(--muted); font-size: .67rem; }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin: auto; }
#about, #how-it-works, #features, #download { scroll-margin-top: 96px; }
.intro { padding-top: 76px; padding-bottom: 78px; }
.section-heading { max-width: 680px; margin-bottom: 30px; }
.section-heading h2, .dashboard-layout h2, .download-card h2 { margin: 0; font-size: clamp(1.75rem, 3.5vw, 2.55rem); letter-spacing: -.035em; line-height: 1.14; }
.section-heading > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { min-height: 215px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.audience-card--public { background: linear-gradient(145deg, #fff, #f1f8ff); }
.audience-card--staff { background: linear-gradient(145deg, #fff, #f7f8fb); }
.card-kicker { color: var(--blue); font-size: .67rem; font-weight: 850; letter-spacing: .1em; }
.audience-card h3 { margin: 10px 0 7px; font-size: 1.25rem; }
.audience-card p { max-width: 490px; margin: 0 0 15px; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.audience-card a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-dark); font-size: .85rem; font-weight: 800; text-decoration: none; }
.restricted-note { color: #67788d; font-size: .78rem; font-weight: 700; }
.workflow-section { padding: 76px 0 82px; background: #f4f8fc; }
.section-heading--center { margin: 0 auto 38px; text-align: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: none; }
.step { position: relative; z-index: 1; padding: 0 8px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 50px; width: calc(100% - 20px); border-top: 1px dashed #a8c5df; }
.step__number { width: 42px; height: 42px; margin-bottom: 18px; border: 5px solid #f4f8fc; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); font-size: .68rem; font-weight: 850; box-shadow: 0 0 0 1px #a8c5df; }
.step h3 { margin: 0 0 8px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.workflow-showreel { width: min(100%, 960px); margin: 44px auto 0; overflow: hidden; border: 1px solid #d5e2ef; border-radius: 16px; background: #101820; box-shadow: 0 24px 52px rgba(22,49,76,.28), 0 8px 18px rgba(22,49,76,.16); }
.workflow-showreel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #101820; }
.features-section { padding-top: 77px; padding-bottom: 82px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.feature { min-height: 165px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.feature__icon { width: 36px; height: 36px; margin-bottom: 13px; border-radius: 11px; display: grid; place-items: center; color: var(--blue-dark); background: #e9f3fc; font-size: 1.1rem; font-weight: 800; }
.feature h3 { margin: 0 0 7px; font-size: .98rem; }
.feature p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.dashboard-section { padding: 67px 0; color: #eef5fc; background: #172a40; }
.dashboard-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; }
.dashboard-layout .eyebrow { color: #88c3f2; }
.dashboard-layout h2 { max-width: 430px; }
.dashboard-lead { max-width: 440px; color: #b6c6d7; line-height: 1.65; }
.dashboard-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.dashboard-list li { display: flex; gap: 13px; }
.dashboard-list li > span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; color: #173d5e; background: #a6d8ff; font-size: .78rem; font-weight: 900; }
.dashboard-list strong, .dashboard-list small { display: block; }
.dashboard-list strong { margin-bottom: 4px; font-size: .92rem; }
.dashboard-list small { color: #b6c6d7; font-size: .8rem; line-height: 1.5; }
.download-section { padding-top: 72px; padding-bottom: 54px; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; border: 1px solid #d7e8f7; border-radius: 18px; background: linear-gradient(115deg, #eef7ff, #f8fbff); }
.download-card .eyebrow { margin-bottom: 9px; }
.download-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.download-card p:last-child { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.store-badges { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { position: relative; width: 186px; max-width: 100%; display: block; overflow: visible; border-radius: 12px; line-height: 0; filter: drop-shadow(0 6px 10px rgba(22,36,58,.22)); transition: transform .18s ease, filter .18s ease; }
.store-badge[href]:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 14px rgba(22,36,58,.3)); }
.store-badge img { display: block; width: 100%; height: auto; border-radius: 12px; }
.store-badge--soon img { opacity: .72; }
.store-badge__ribbon { position: absolute; top: -7px; right: 8px; padding: 5px 10px; border-radius: 999px; color: #18243a; background: #ffc629; font-size: .61rem; font-weight: 900; line-height: 1; letter-spacing: .045em; text-transform: uppercase; box-shadow: 0 2px 5px rgba(22,36,58,.16); }
.emergency-reminder { margin: 17px 0 0; color: #6e7e90; font-size: .78rem; line-height: 1.5; text-align: center; }
.site-footer { padding: 26px max(24px, calc((100% - 1120px) / 2)) 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; color: var(--muted); }
.site-footer__brand { display: grid; gap: 4px; }
.site-footer__brand strong { color: var(--ink); font-size: .9rem; }
.site-footer__government { width: fit-content; margin-top: 4px; font-size: .75rem; font-weight: 700; text-decoration: none; }
.site-footer__brand span, .site-footer > small { font-size: .75rem; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
.site-footer__links a { font-size: .78rem; font-weight: 700; text-decoration: none; }
.site-footer > small { grid-column: 1 / -1; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 1100; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #237ec8, #0d54a5); box-shadow: 0 8px 24px rgba(19,91,159,.3); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(19,91,159,.38); }
.back-to-top img { width: 26px; height: 26px; object-fit: contain; }
.back-to-top[hidden] { display: none; }

@media (max-width: 850px) {
    .hero { grid-template-columns: 1fr .8fr; gap: 20px; padding-top: 52px; padding-bottom: 52px; }
    .hero__actions .store-badges { flex: 1 1 384px; width: min(100%, 384px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hero__actions .store-badge { width: 100%; }
    .steps { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
    .step::after { display: none; }
    .dashboard-layout { gap: 35px; }
}

@media (max-width: 640px) {
    .site-header { min-height: 68px; padding: 0 16px; }
    .header-actions { gap: 12px; }
    .header-actions > .nav-link, .header-actions > .nav-dropdown { display: none; }
    .mobile-nav { display: block; }
    .brand__mark { width: 40px; height: 40px; }
    .brand__text small { font-size: .64rem; }
    .button--small { min-height: 36px; padding: 0 12px; font-size: .8rem; }
    .hero { padding: 48px 22px 34px; grid-template-columns: 1fr; gap: 16px; }
    .hero h1 { max-width: 530px; font-size: clamp(2.25rem, 10vw, 3.2rem); }
    .hero__lead { margin: 15px 0 19px; font-size: .98rem; }
    .hero__visual { min-height: 400px; }
    .visual-card { width: min(88%, 360px); transform: translateY(14px) rotate(2deg); }
    .visual-card__map { height: 145px; }
    .hero__mascot { top: -25px; left: calc(50% - min(44%, 180px) + 8px); width: 115px; height: 115px; transform: none; }
    .section-wrap { width: calc(100% - 36px); }
    .intro, .features-section { padding-top: 55px; padding-bottom: 58px; }
    .workflow-section { padding: 55px 0 62px; }
    .audience-grid, .feature-grid, .dashboard-layout { grid-template-columns: 1fr; }
    .audience-card { min-height: 0; padding: 22px; }
    .steps { gap: 24px; }
    .step { padding: 0; }
    .step__number { margin-bottom: 12px; }
    .workflow-showreel { margin-top: 30px; border-radius: 12px; }
    .dashboard-section { padding: 55px 0; }
    .dashboard-layout { gap: 24px; }
    .download-section { padding-top: 54px; padding-bottom: 42px; }
    .download-card { align-items: stretch; flex-direction: column; padding: 23px; }
    .download-card .button { width: 100%; }
    .site-footer { grid-template-columns: 1fr; padding: 23px 18px; }
    .site-footer > small { grid-column: auto; }
}
@media (max-width: 550px) {
    .hero { padding-right: 18px; padding-left: 18px; }
    .visual-card { width: min(92%, 360px); padding: 14px; }
    .hero__mascot { top: -20px; left: calc(50% - min(46%, 180px) + 8px); width: 110px; height: 110px; }
}
@media (max-width: 371px) {
    
    .hero__mascot { top: -23px; left: calc(50% - min(46%, 180px) + 8px); width: 110px; height: 110px; }  
}

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