:root {
    --primary: #1268B0;
    --primary-dark: #0A315C;
    --accent: #FAB615;
    --ink: #172033;
    --muted: #607086;
    --line: #D9E3EE;
    --soft: #F5F8FB;
    --white: #FFFFFF;
    --shadow: 0 16px 40px rgba(10, 49, 92, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: var(--primary); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
.demo-banner {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.55rem 1rem;
    text-align: center;
    font-size: 0.92rem;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--primary-dark);
    background: var(--accent);
    font-weight: 900;
}
.brand small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.nav-toggle { display: none; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 2rem;
    align-items: center;
    min-height: 620px;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
    background:
        linear-gradient(120deg, rgba(18, 104, 176, 0.94), rgba(10, 49, 92, 0.88)),
        radial-gradient(circle at 85% 20%, rgba(250, 182, 21, 0.5), transparent 32%),
        linear-gradient(135deg, #EAF4FB, #FFFFFF);
    color: var(--white);
}
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; letter-spacing: 0; }
.hero p { max-width: 680px; color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; }
.hero .eyebrow { color: var(--accent); }
.hero-panel {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    background: rgba(255,255,255,0.13);
    box-shadow: var(--shadow);
}
.hero-panel span { display: block; color: rgba(255,255,255,0.78); font-weight: 700; }
.hero-panel strong { display: block; margin: 0.5rem 0; color: var(--accent); font-size: 4rem; line-height: 1; }
.button-row, .category-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.15rem;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { color: var(--white); background: var(--primary); }
.btn.accent { color: var(--primary-dark); background: var(--accent); }
.btn.small { min-height: 38px; padding: 0.55rem 0.85rem; }
.section, .band, .page-hero, .cta { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); }
.page-hero {
    background: linear-gradient(135deg, #F5F8FB, #FFFFFF);
    border-bottom: 1px solid var(--line);
}
.page-hero h1, .section h1 { max-width: 900px; margin: 0.2rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; }
.page-hero p, .lead { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-heading { max-width: 760px; margin-bottom: 1.5rem; }
.section-heading h2, .section h2, .cta h2 { margin: 0 0 0.8rem; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.12; }
.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .info-box, .form-shell, .success-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.card { padding: 1.35rem; }
.card h3 { margin: 0 0 0.55rem; font-size: 1.2rem; }
.card p { color: var(--muted); }
.muted { background: var(--soft); }
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    background: var(--soft);
    border-block: 1px solid var(--line);
}
.stats div {
    padding: 1.2rem;
    border-left: 4px solid var(--accent);
    background: var(--white);
    border-radius: 8px;
}
.stats strong { display: block; color: var(--primary); font-size: 2rem; }
.stats span { color: var(--muted); font-weight: 700; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { margin: 0 0 0.8rem; padding-left: 1.7rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.65rem; height: 0.65rem; border-radius: 3px; background: var(--accent); }
.cta {
    margin: clamp(1rem, 4vw, 4rem);
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.cta p { max-width: 720px; color: rgba(255,255,255,0.86); }
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #FFF3C7;
    font-size: 0.82rem;
    font-weight: 800;
}
.readable { max-width: 900px; margin-inline: auto; }
.info-box, .form-shell, .success-panel { padding: clamp(1.2rem, 3vw, 2rem); }
.form-group { margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.35rem; font-weight: 800; }
.form-control, input, select, textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}
textarea { resize: vertical; }
.field-error, .form-errors { color: #B42318; font-weight: 700; }
.messages { padding: 1rem clamp(1rem, 4vw, 4rem); }
.message {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #E8F7EE;
    color: #11633B;
    font-weight: 800;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 0.9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--primary-dark); background: var(--soft); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.timeline span { padding: 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); font-weight: 800; text-align: center; }
.timeline .active { border-color: var(--primary); color: var(--white); background: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-item {
    display: flex;
    align-items: end;
    min-height: 280px;
    padding: 1.2rem;
    border-radius: 8px;
    color: var(--white);
    background: var(--tile-bg);
    box-shadow: var(--shadow);
}
.gallery-item div { max-width: 90%; }
.gallery-item span { color: var(--accent); font-weight: 900; text-transform: uppercase; font-size: 0.8rem; }
.gallery-item h3 { margin: 0.35rem 0; font-size: 1.5rem; }
.gallery-item p { margin: 0; color: rgba(255,255,255,0.9); }
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem clamp(1rem, 4vw, 4rem);
    color: var(--white);
    background: var(--primary-dark);
}
.site-footer p { margin: 0.3rem 0 0; color: rgba(255,255,255,0.75); }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: var(--accent); }

@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
        min-height: 40px;
        padding: 0.5rem 0.8rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        font-weight: 800;
    }
    .site-nav {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.4rem);
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); }
    .hero, .split { grid-template-columns: 1fr; }
    .cards, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .site-header { align-items: flex-start; }
    .brand small { display: none; }
    .site-nav.open, .cards, .gallery-grid, .stats, .timeline { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero h1 { font-size: 3rem; }
    .site-footer { flex-direction: column; }
    .button-row .btn { width: 100%; }
}
