:root {
    scroll-padding-top: calc(var(--site-header-height, 5rem) + 0.5rem);
    --site-ink: #10223b;
    --site-blue-rgb: 1, 100, 174;
    --site-blue: rgb(var(--site-blue-rgb));
    --site-blue-hover-rgb: 0, 80, 133;
    --site-blue-hover: rgb(var(--site-blue-hover-rgb));
    --site-blue-active: #004669;
    --site-cyan: #01a9f3;
    --site-muted: #455970;
    --site-navy: #0b192c;
    --site-border: #d8e4ee;
    --bs-body-font-family: "Inter", system-ui, sans-serif;
    --bs-body-color: var(--site-ink);
    --bs-link-color-rgb: var(--site-blue-rgb);
    --bs-link-hover-color-rgb: var(--site-blue-hover-rgb);
}

body {
    line-height: 1.65;
}

.site-header,
.site-footer {
    color: #d4e4f3;
    background: var(--site-navy);
}

.site-header {
    border-bottom: 1px solid #2a4056;
}

.site-header .navbar {
    --bs-navbar-padding-y: 0.9rem;
    --bs-navbar-color: #d4e4f3;
    --bs-navbar-hover-color: var(--site-cyan);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 750;
}

.brand-mark {
    width: 2.25rem;
    height: auto;
}

.site-header .navbar .nav-contact {
    --bs-nav-link-color: var(--site-cyan);
    --bs-nav-link-hover-color: var(--site-navy);
    width: fit-content;
    padding-inline: 0.85rem;
    border: 1px solid var(--site-cyan);
    border-radius: 0.5rem;
    font-weight: 700;
}

.site-header .nav-contact:is(:hover, :focus) {
    background-color: var(--site-cyan);
}

.skip-link:focus {
    position: absolute;
    z-index: 1030;
    margin: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 0.35rem;
    background: #fff;
}

.home-hero {
    padding-block: clamp(3rem, 7vw, 7rem);
    color: #fff;
    background: radial-gradient(ellipse at 95% 10%, #153e5b, transparent 68%), var(--site-navy);
}

.home-hero h1 {
    max-width: 13ch;
    margin-bottom: 1.4rem;
    font-size: clamp(2.35rem, 5.5vw, 5.1rem);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.home-hero h1 span,
.home-hero .section-label {
    color: #a1e3ff;
}

.hero-copy {
    max-width: 38ch;
    margin-bottom: 1.75rem;
    color: #d4e4f3;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.btn-primary {
    --bs-btn-bg: var(--site-blue);
    --bs-btn-border-color: var(--site-blue);
    --bs-btn-hover-bg: var(--site-blue-hover);
    --bs-btn-hover-border-color: var(--site-blue-hover);
    --bs-btn-active-bg: var(--site-blue-active);
    --bs-btn-active-border-color: var(--site-blue-active);
    --bs-btn-focus-shadow-rgb: var(--site-blue-rgb);
}

.btn-outline-primary {
    --bs-btn-color: var(--site-blue);
    --bs-btn-border-color: var(--site-blue);
    --bs-btn-hover-bg: var(--site-blue);
    --bs-btn-hover-border-color: var(--site-blue);
    --bs-btn-active-bg: var(--site-blue-active);
    --bs-btn-active-border-color: var(--site-blue-active);
    --bs-btn-focus-shadow-rgb: var(--site-blue-rgb);
}

.home-hero .btn-primary {
    --bs-btn-border-color: var(--site-cyan);
    --bs-btn-hover-border-color: var(--site-cyan);
    --bs-btn-active-border-color: var(--site-cyan);
}

.btn-lg {
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-y: 0.7rem;
    --bs-btn-padding-x: 1.15rem;
    font-weight: 700;
}

.hero-panel {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border: 1px solid #385875;
    border-radius: 1.35rem;
    background: linear-gradient(150deg, #1a3a55, #10263d);
}

.brand-graphic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    height: clamp(7rem, 16vw, 15rem);
    padding-inline: 8%;
    border-bottom: 1px solid #507893;
    background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #34516a calc(25% - 1px) 25%);
}

.brand-graphic span {
    height: 27%;
    border-radius: 0.45rem 0.45rem 0 0;
    background: linear-gradient(0deg, #1385bb, #a1e3ff);
}

.brand-graphic span:nth-child(2) { height: 45%; }
.brand-graphic span:nth-child(3) { height: 65%; }
.brand-graphic span:nth-child(4) { height: 94%; }

.hero-stat {
    display: grid;
    margin-top: 1rem;
    color: #d4e4f3;
}

.hero-stat strong {
    color: #fff;
    font-size: 1.6rem;
}

.page-section {
    padding-block: clamp(3rem, 6vw, 6rem);
}

.section-tint {
    background: #f1f7fb;
}

.section-label {
    margin-bottom: 0.7rem;
    color: var(--site-blue);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-section h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.section-copy,
.content-card p,
.process-copy {
    color: var(--site-muted);
}

.reading-width {
    max-width: 52rem;
}

.migrated-content h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.migrated-content h2 {
    margin-top: 2rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.025em;
}

.migrated-content h3 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.migrated-content img {
    margin-block: 0.5rem 1.25rem;
}

.migrated-content pre {
    padding: 1rem;
    border: 1px solid var(--site-border);
    border-radius: 0.5rem;
    background: #f1f7fb;
}

.migrated-content pre > code.hljs {
    padding: 0;
    background: transparent;
}

.content-card {
    --bs-card-border-color: var(--site-border);
    --bs-card-border-radius: 1rem;
    --bs-card-spacer-x: 1.4rem;
    --bs-card-spacer-y: 1.4rem;
}

.content-card h3 {
    font-weight: 700;
}

.ai-examples {
    padding: 1.25rem 1.5rem 1.25rem 2.75rem;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    background: #f1f7fb;
}

.ai-examples li + li {
    margin-top: 0.5rem;
}

.ai-examples li::marker {
    color: var(--site-blue);
}

.process-stage {
    border-bottom: 1px solid var(--site-border);
}

.process-stage:first-of-type {
    border-top: 1px solid var(--site-border);
}

.process-stage summary {
    padding: 0.9rem 0;
    font-weight: 700;
    cursor: pointer;
}

.process-copy {
    padding-bottom: 0.5rem;
}

.contact-map {
    display: block;
    width: 100%;
    min-height: 18rem;
    border: 0;
    border-radius: 1rem;
}

.site-footer a {
    color: #a1e3ff;
}

:focus-visible {
    outline: 3px solid #1682c4;
    outline-offset: 3px;
}

.site-header :focus-visible {
    outline: 3px solid var(--site-cyan);
}

.cookie-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 1040;
    max-height: 70vh;
    overflow-y: auto;
    padding-block: 1.25rem;
    border-top: 1px solid var(--site-border);
    background: #fff;
    box-shadow: 0 -0.5rem 2rem #0b192c20;
}

.cookie-copy {
    flex: 1 1 24rem;
    max-width: 48rem;
}

.cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: #a1e3ff;
    text-decoration: underline;
}
