:root {
    --ink: #070b14;
    --navy-950: #0b1220;
    --navy-900: #111a2e;
    --navy-800: #1a2740;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #e8eef6;
    --paper: #f5f7fb;
    --surface: #ffffff;
    --cyan: #22d3ee;
    --cyan-deep: #0891b2;
    --cyan-soft: rgba(34, 211, 238, 0.12);
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-on-dark: rgba(255,255,255,0.94);
    --text-on-dark-muted: rgba(255,255,255,0.68);
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.18);
    --shadow-md: 0 18px 50px rgba(7, 11, 20, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --max-width: 1120px;
    --max-wide: 1280px;
    --header-h: 76px;
    --font-display: "DM Sans", "IBM Plex Sans", system-ui, sans-serif;
    --font-body: "IBM Plex Sans", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, var(--max-wide)); margin-inline: auto; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-deep);
}
.section-header { text-align: left; max-width: 640px; margin: 0 0 2.5rem; }
.section-header.is-center { text-align: center; margin-inline: auto; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.45rem); margin-top: 0.65rem; }
.section-subtitle, .section-header p { margin: 0.85rem 0 0; color: var(--text-secondary); font-size: 1.06rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.85rem 1.45rem; border-radius: 10px; font-family: var(--font-body);
    font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.875rem; }
.btn-primary { background: var(--cyan-deep); color: white; }
.btn-primary:hover { background: #0e7490; color: white; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--slate-100); color: var(--ink); }
.btn-soft { background: var(--cyan-soft); color: var(--navy-900); border-color: transparent; }
.btn-soft:hover { background: rgba(34, 211, 238, 0.2); color: var(--ink); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 247, 251, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255,255,255,0.92);
}
.header-inner {
    min-height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { height: 36px; width: auto; }
.nav-desktop { display: none; gap: 0.15rem 1.1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-desktop a {
    color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; padding: 0.35rem 0;
}
.nav-desktop a.active, .nav-desktop a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border: 1px solid var(--border-strong); border-radius: 10px;
    background: white; cursor: pointer; padding: 0 11px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile {
    display: none; flex-direction: column; gap: 0.35rem; padding: 0 1rem 1.25rem;
    border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    color: var(--text); font-weight: 600; padding: 0.75rem 0.35rem;
    border-bottom: 1px solid var(--border);
}
@media (min-width: 980px) {
    .nav-desktop { display: flex; }
    .nav-toggle { display: none; }
    .nav-mobile, .nav-mobile.open { display: none !important; }
}

.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,0.18), transparent 55%),
                linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 48%, #0f1c33 100%);
    color: var(--text-on-dark);
    padding: 3.25rem 0 4.25rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 44rem; }
.hero-brand {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--cyan); margin: 0 0 1rem;
}
.hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    max-width: 16ch;
}
.hero-lead {
    margin: 1.15rem 0 0;
    color: var(--text-on-dark-muted);
    font-size: 1.12rem;
    max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem;
    margin-top: 2rem; color: var(--text-on-dark-muted); font-size: 0.9rem; font-weight: 600;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta span::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}

.page-hero {
    padding: 2.75rem 0 2.25rem;
    background: linear-gradient(180deg, #eef3f9 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); max-width: 18ch; }
.page-hero p { max-width: 42rem; color: var(--text-secondary); margin-top: 0.9rem; }

.band { padding: 4rem 0; }
.band-muted { background: #eef2f7; }
.band-ink {
    background: var(--navy-950); color: var(--text-on-dark);
}
.band-ink h2, .band-ink h3 { color: white; }
.band-ink p, .band-ink .trust-line { color: var(--text-on-dark-muted); }
.band-ink a { color: var(--cyan); }

.pillar-grid {
    display: grid; gap: 1rem;
}
@media (min-width: 800px) {
    .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
    transition: border-color .2s ease, transform .2s ease;
}
.pillar-card:hover { border-color: rgba(8, 145, 178, 0.45); transform: translateY(-2px); }
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.pillar-card p { margin: 0; color: var(--text-secondary); }
.pillar-card .pillar-link {
    display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--cyan-deep);
}

.service-catalogue { display: grid; gap: 0; border-top: 1px solid var(--border-strong); }
.service-item {
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--border-strong);
}
.service-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-item p { margin: 0; color: var(--text-secondary); max-width: 44rem; }
.service-for { margin-top: 0.75rem !important; font-size: 0.95rem; }

.split-grid {
    display: grid; gap: 2rem;
}
@media (min-width: 900px) {
    .split-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }
}
.split-aside {
    background: var(--navy-950);
    color: var(--text-on-dark);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
}
.split-aside h3 { color: white; margin-bottom: 0.65rem; }
.split-aside p { margin: 0; color: var(--text-on-dark-muted); }

.feature-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-plain {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
}
.feature-plain h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.feature-plain p { margin: 0; color: var(--text-secondary); }

.steps { display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--text-secondary); }

.faq-list { display: grid; gap: 0.75rem; max-width: 760px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}
.faq-item summary {
    cursor: pointer; font-weight: 700; color: var(--ink);
}
.faq-item p { margin: 0.75rem 0 0.25rem; color: var(--text-secondary); }

.contact-form {
    display: grid; gap: 0.9rem; max-width: 640px;
}
.contact-form label {
    display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem;
}
.contact-form input, .contact-form textarea {
    font: inherit; padding: 0.8rem 0.9rem; border-radius: 10px;
    border: 1px solid var(--border-strong); background: white; color: var(--text);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.prose-policy, .prose { max-width: 42rem; }
.prose-policy h2, .prose h2 { margin-top: 2rem; margin-bottom: 0.65rem; font-size: 1.35rem; }
.prose-policy p, .prose p, .prose-policy li { color: var(--text-secondary); }
.prose-policy ul { padding-left: 1.25rem; }

.cta-band {
    text-align: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: white;
}
.cta-band h2 { color: white; }
.cta-band p { color: var(--text-on-dark-muted); max-width: 36rem; margin: 0.85rem auto 1.5rem; }

.site-footer {
    background: var(--navy-950);
    color: var(--text-on-dark-muted);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}
.footer-grid {
    display: grid; gap: 2rem;
}
@media (min-width: 900px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline {
    color: var(--cyan); font-family: var(--font-display); font-weight: 700; margin: 0 0 0.65rem;
}
.footer-legal { font-size: 0.9rem; margin: 1rem 0; }
.footer-email a { color: white; font-weight: 600; }
.footer-label {
    color: white; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 0.75rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: var(--text-on-dark-muted); font-weight: 500; }
.footer-links a:hover { color: white; }
.footer-areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.footer-parent { margin-top: 1rem; font-size: 0.92rem; }
.footer-parent a { color: var(--cyan); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
    margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible, html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

#blazor-error-ui {
    background: #fff3cd; bottom: 0; box-shadow: 0 -2px 8px rgba(0,0,0,.15);
    display: none; left: 0; padding: .8rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .85rem; top: .6rem; }
