@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/manrope-latin-700.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
}

:root {
    --white: #ffffff;
    --soft: #f8fafc;
    --navy: #0b1f3a;
    --ink: #122033;
    --muted: #475569;
    --line: #e2e8f0;
    --royal: #2563eb;
    --royal-dark: #1d4ed8;
    --yellow: #facc15;
    --danger: #b91c1c;
    --ok: #166534;
    --font-display: Manrope, "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --shadow: 0 16px 40px rgba(11, 31, 58, 0.06);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}
body.has-sticky { padding-bottom: 0; }
img, svg { max-width: 100%; }
h1, h2, h3, legend {
    font-family: var(--font-display);
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--royal-dark); }
a:hover { color: var(--navy); }
:focus-visible {
    outline: 3px solid var(--royal);
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--yellow);
    color: var(--navy);
    padding: 0.5rem 0.8rem;
    z-index: 100;
    font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 30;
}
.site-header .navbar { padding-top: 0.85rem; padding-bottom: 0.85rem; }
.site-header .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 0.45rem 0.8rem;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #fff; }
.site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--yellow); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.site-header .brand,
.brand-on-navy { color: #fff; }
.brand-light { font-weight: 600; opacity: 0.8; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.nav-cta { margin: 0.8rem 0 0.4rem; }
.navbar-toggler { border-color: rgba(255, 255, 255, 0.35); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.2;
}
.btn-brand { background: var(--royal); color: #fff; }
.btn-brand:hover { background: var(--royal-dark); color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: #cbd5e1; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-line-light:hover { background: #fff; color: var(--navy); }
.btn-danger { background: var(--danger); color: #fff; }

.hero, .page-hero { padding: 4.5rem 0 3rem; background: var(--white); }
.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }
.hero-actions, .step-nav, .submit-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions { margin: 1.5rem 0 1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; padding: 0; margin: 0; list-style: none; color: var(--navy); font-weight: 600; }
.hero-points li::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.45rem; border-radius: 50%; background: var(--yellow); }
.hero-panel { background: var(--white); }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.8rem;
    color: var(--royal);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eyebrow-mark { width: 1.4rem; height: 0.28rem; border-radius: 99px; background: var(--yellow); }
.eyebrow-light { color: var(--yellow); }

.flow { width: 100%; height: auto; }
.flow-board { fill: var(--soft); stroke: var(--line); }
.flow-path {
    fill: none;
    stroke: var(--royal);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 920;
    stroke-dashoffset: 920;
    animation: draw 2.4s ease forwards;
}
.flow-node circle { fill: #fff; stroke: var(--royal); stroke-width: 2; }
.flow-node-accent circle { fill: var(--yellow); stroke: var(--navy); }
.flow-node text {
    fill: var(--navy);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    text-anchor: middle;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.section { padding: 4.5rem 0; background: var(--white); }
.section-soft { background: var(--soft); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.narrow-copy { max-width: 46rem; }
.info-card, .service-card, .industry-card, .service-detail, .panel, .auth-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.info-card, .service-card, .industry-card { height: 100%; padding: 1.4rem; }
.service-card h3 a, .industry-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a:hover, .industry-card h3 a:hover { color: var(--royal-dark); }
.info-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--royal);
    margin-bottom: 0.9rem;
    font-size: 1.2rem;
}
.card-answer { color: var(--navy); font-weight: 600; }
.text-link { font-weight: 700; text-decoration: none; }
.service-stack, .industry-stack { display: grid; gap: 1.5rem; }
.service-detail { padding: 1.6rem; }
.detail-grid { display: grid; gap: 1.25rem; margin: 1rem 0; }
.check-list, .plain-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--yellow);
}
.process-track {
    list-style: none;
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 0 0 1.5rem;
    position: relative;
}
.process-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
}
.step-index {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.split { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-item p { margin: 0.7rem 0 0.2rem; }
.cta-band { background: var(--navy); color: #fff; padding: 4rem 0; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 40rem; }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: 3.5rem 0 1.5rem; }
.footer-heading { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-copy, .footer-note { color: rgba(255, 255, 255, 0.78); }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.95rem;
}
.sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-hidden { display: none; }

.enquiry-layout { display: grid; gap: 1.5rem; }
.enquiry-aside, .enquiry-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
}
.enquiry-form fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.enquiry-form legend { padding: 0; }
.step-intro { color: var(--muted); }
.enquiry-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.enquiry-form .form-control,
.enquiry-form .form-select,
.stack-form .form-control,
.stack-form .form-select,
.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: 12px;
    border-color: #d6dee8;
    min-height: 3rem;
    font-size: 1rem;
}
.enquiry-form textarea.form-control { min-height: 8rem; }
.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.field-error { color: var(--danger); font-size: 0.95rem; margin: 0.35rem 0 0; }
.stepper { margin-bottom: 1.2rem; }
.stepper ol { display: flex; gap: 0.6rem; padding: 0; margin: 0 0 0.6rem; list-style: none; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 0.92rem; }
.stepper li.is-current, .stepper li.is-done { color: var(--navy); }
.stepper-bar { height: 0.35rem; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.stepper-bar::after {
    content: "";
    display: block;
    height: 100%;
    width: 33%;
    background: var(--yellow);
}
.stepper[data-step="2"] .stepper-bar::after { width: 66%; }
.stepper[data-step="3"] .stepper-bar::after { width: 100%; }
.step-nav { display: none; }
.step-nav,
.submit-row,
.row + .btn,
.form-control + .btn,
.form-select + .btn,
textarea + .btn,
.check-list + .btn,
.card-answer + .btn {
  margin-top: 2rem;
}
.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1rem 0; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex: 0 0 auto; }
.review-list { display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: 0.35rem 0.8rem; margin: 0 0 1rem; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.invoice-amount { font-family: var(--font-display); font-size: 2rem; color: var(--navy); font-weight: 700; }
.privacy-copy h2 { margin-top: 1.6rem; }
.js .enquiry-form fieldset[data-step] { display: none; }
.js .enquiry-form fieldset[data-step].is-active { display: block; }
.js .step-nav, .js .submit-row { display: flex; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@media (min-width: 768px) {
    .process-track { grid-template-columns: repeat(3, 1fr); }
    .process-track::before {
        content: "";
        position: absolute;
        top: 2.2rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: rgba(37, 99, 235, 0.35);
        transform-origin: left;
        animation: grow 1.1s ease forwards;
    }
    .process-track-stack { grid-template-columns: 1fr; }
    .process-track-stack::before { display: none; }
    .detail-grid, .split { grid-template-columns: 1.1fr 0.9fr; }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 992px) {
    .hero-grid, .enquiry-layout { grid-template-columns: 1.05fr 0.95fr; }
    .nav-cta { margin: 0 0 0 0.8rem; }
}
@media (max-width: 767.98px) {
    body.has-sticky { padding-bottom: 5rem; }
    .sticky-cta { display: block; }
    .hero, .page-hero, .section { padding-top: 2.6rem; padding-bottom: 2.6rem; }
    .review-list { grid-template-columns: 1fr; }
    .footer-base { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .flow-path, .process-track::before, .js .reveal { animation: none; transition: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
}
@media print {
    .site-header, .site-footer, .sticky-cta, .step-nav { display: none !important; }
}
