:root {
    --navy-950: #07172d;
    --navy-900: #0b2341;
    --navy-800: #102a43;
    --navy-700: #173f67;
    --blue-700: #0e58b5;
    --blue-600: #1769d2;
    --blue-500: #1688e8;
    --cyan-500: #00a6d6;
    --cyan-400: #20c5e9;
    --cyan-700: #0878a8;
    --ice-100: #eaf4fc;
    --ice-50: #f4f9fd;
    --white: #ffffff;
    --ink: #18324c;
    --muted: #5f7287;
    --line: #d8e5ef;
    --success: #16784a;
    --error: #b42318;
    --shadow-sm: 0 12px 34px rgba(9, 36, 68, 0.08);
    --shadow-lg: 0 28px 80px rgba(7, 32, 64, 0.18);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1180px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-950);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.032em;
}

h1 {
    max-width: 790px;
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 6vw, 5.25rem);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 4vw, 3.55rem);
}

h3 {
    margin-bottom: 14px;
    font-size: 1.38rem;
}

p {
    color: var(--muted);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--navy-950);
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--cyan-400);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-700));
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(23, 105, 210, 0.24);
    cursor: pointer;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
    box-shadow: 0 16px 34px rgba(23, 105, 210, 0.32);
    filter: saturate(1.08);
    transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.primary-nav a:focus-visible,
.footer-links a:focus-visible,
.footer-contact a:focus-visible,
.footer-bottom a:focus-visible,
.nav-toggle:focus-visible,
.breadcrumbs a:focus-visible,
.faq-list summary:focus-visible,
.related-service-card:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 4px;
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.92rem;
}

.button-full {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-600);
    font-weight: 750;
    text-decoration: none;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(15px);
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(216, 229, 239, 0.86);
    box-shadow: 0 8px 24px rgba(9, 36, 68, 0.05);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    width: 226px;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-nav > a:not(.button) {
    color: var(--navy-800);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.primary-nav > a:not(.button):hover {
    color: var(--blue-600);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--navy-900);
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 820px;
    padding: calc(var(--header-height) + 94px) 0 92px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 18%, rgba(32, 197, 233, 0.15), transparent 28%),
        radial-gradient(circle at 10% 92%, rgba(23, 105, 210, 0.09), transparent 31%),
        linear-gradient(180deg, #f9fcff 0%, #ffffff 78%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.54;
    background-image:
        linear-gradient(rgba(16, 42, 67, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 42, 67, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
    gap: 72px;
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 32px;
    color: #4d657c;
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 34px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 0;
    margin: 0;
    color: var(--navy-700);
    font-size: 0.92rem;
    font-weight: 700;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-points span {
    display: inline-grid;
    width: 21px;
    height: 21px;
    place-items: center;
    color: var(--blue-600);
    background: var(--ice-100);
    border-radius: 50%;
    font-size: 0.75rem;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.system-card {
    border: 1px solid rgba(216, 229, 239, 0.94);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.system-card-main {
    position: absolute;
    inset: 42px 0 36px 32px;
    overflow: hidden;
    transform: rotate(1.2deg);
}

.system-card-header {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    color: var(--navy-700);
    background: #f9fcff;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    font-weight: 750;
}

.status-dot {
    width: 9px;
    height: 9px;
    background: #24b47e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(36, 180, 126, 0.1);
}

.status-label {
    padding: 5px 9px;
    margin-left: auto;
    color: var(--success);
    background: #e9f7f0;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.system-flow {
    padding: 28px 26px 32px;
}

.flow-node {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 16px;
    padding: 15px 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(9, 36, 68, 0.04);
}

.flow-node.active {
    border-color: rgba(23, 105, 210, 0.48);
    box-shadow: 0 12px 30px rgba(23, 105, 210, 0.12);
}

.flow-node strong,
.flow-node small {
    display: block;
}

.flow-node strong {
    color: var(--navy-900);
    font-size: 0.96rem;
}

.flow-node small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
}

.flow-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--blue-600);
    background: var(--ice-100);
    border-radius: 12px;
    flex: 0 0 auto;
}

.flow-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.flow-line {
    display: block;
    width: 2px;
    height: 19px;
    margin: 0 0 0 38px;
    background: linear-gradient(var(--blue-500), var(--cyan-400));
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    min-width: 214px;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--navy-900);
    font-size: 0.84rem;
}

.floating-card small {
    color: var(--muted);
    font-size: 0.72rem;
}

.floating-card-a {
    top: 14px;
    right: -28px;
    animation: float-card 5.5s ease-in-out infinite;
}

.floating-card-b {
    right: -4px;
    bottom: 2px;
    animation: float-card 6.2s ease-in-out 0.7s infinite;
}

.mini-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 900;
}

.pulse-icon {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    background: #e8f8f2;
    border-radius: 11px;
}

.pulse-icon::before,
.pulse-icon::after {
    position: absolute;
    content: "";
}

.pulse-icon::before {
    inset: 12px;
    background: #24b47e;
    border-radius: 50%;
}

.pulse-icon::after {
    inset: 7px;
    border: 2px solid rgba(36, 180, 126, 0.28);
    border-radius: 50%;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.trust-strip {
    position: relative;
    z-index: 2;
    border-block: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
    padding: 26px 30px;
    border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
    padding-left: 0;
}

.trust-grid > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--navy-900);
    font-size: 0.95rem;
}

.trust-grid span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.8rem;
}

.section {
    padding: 116px 0;
}

.section-tinted {
    background: linear-gradient(180deg, var(--ice-50), #edf6fc);
    border-block: 1px solid var(--line);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 54px;
}

.section-heading > p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.08rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 430px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 28px rgba(9, 36, 68, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::after {
    position: absolute;
    right: -50px;
    bottom: -74px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(32, 197, 233, 0.12), transparent 67%);
    content: "";
}

.service-card:hover {
    border-color: rgba(23, 105, 210, 0.28);
    box-shadow: 0 18px 46px rgba(9, 36, 68, 0.09);
    transform: translateY(-4px);
}

.service-number {
    position: absolute;
    top: 27px;
    right: 30px;
    color: #c8d8e5;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.service-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 27px;
    place-items: center;
    color: var(--blue-600);
    background: linear-gradient(135deg, var(--ice-100), #f5fbff);
    border: 1px solid #dcecf6;
    border-radius: 15px;
}

.service-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.service-card > p {
    max-width: 510px;
    margin-bottom: 24px;
}

.service-card ul,
.fit-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-card li,
.fit-card li {
    position: relative;
    padding-left: 25px;
    margin: 10px 0;
    color: #486078;
}

.service-card li::before,
.fit-card li::before {
    position: absolute;
    top: 0.68em;
    left: 2px;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.approach-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 90px;
}

.sticky-heading {
    position: sticky;
    top: calc(var(--header-height) + 42px);
    margin-bottom: 0;
}

.sticky-heading .text-link {
    margin-top: 12px;
}

.process-list {
    padding: 0;
    margin: 0;
    counter-reset: process;
    list-style: none;
}

.process-step {
    display: grid;
    padding: 30px 0;
    border-bottom: 1px solid #cddfea;
    grid-template-columns: 64px 1fr;
    gap: 22px;
}

.process-step:first-child {
    padding-top: 4px;
}

.process-step > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--blue-600);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #d1e4f0;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 850;
}

.process-step h3 {
    margin-bottom: 10px;
}

.process-step p {
    max-width: 620px;
    margin-bottom: 0;
}

.about-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
    gap: 86px;
}

.about-brand {
    position: relative;
    display: grid;
    width: min(100%, 430px);
    justify-self: center;
    gap: 18px;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 18%, rgba(32, 197, 233, 0.18), transparent 34%),
        linear-gradient(145deg, #f8fcff, #edf7fd);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}

.about-brand::before {
    position: absolute;
    z-index: -1;
    inset: 16px;
    border: 1px dashed rgba(23, 105, 210, 0.18);
    border-radius: 20px;
    content: "";
}

.about-brand-logo {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 16px;
    padding: 24px 22px 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(216, 229, 239, 0.92);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(9, 36, 68, 0.06);
}

.about-brand img {
    display: block;
    height: auto;
}

.about-mark {
    width: min(100%, 320px);
    border-radius: 10px;
}

.about-wordmark {
    width: min(100%, 310px);
}

.about-brand-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.about-brand-summary span {
    padding: 8px 7px;
    color: var(--navy-700);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(216, 229, 239, 0.88);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.about-copy > p:not(.eyebrow) {
    font-size: 1.03rem;
}

.fit-card {
    padding: 25px 27px;
    margin-top: 30px;
    background: var(--ice-50);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.fit-card h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.fit-card li {
    margin: 8px 0;
    font-size: 0.94rem;
}

.contact-section {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 166, 214, 0.18), transparent 28%),
        radial-gradient(circle at 90% 94%, rgba(23, 105, 210, 0.25), transparent 32%),
        var(--navy-950);
}

.contact-section::before {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(110deg, black, transparent 75%);
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: 80px;
}

.contact-copy {
    padding-top: 28px;
}

.contact-copy h2 {
    color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
    max-width: 540px;
    color: #b8c8d8;
    font-size: 1.08rem;
}

.contact-direct {
    display: grid;
    gap: 22px;
    margin-top: 40px;
}

.contact-direct div {
    padding-left: 17px;
    border-left: 2px solid var(--cyan-400);
}

.contact-direct span,
.contact-direct a,
.contact-direct strong {
    display: block;
}

.contact-direct span {
    margin-bottom: 3px;
    color: #7fa0bd;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-direct a,
.contact-direct strong {
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-direct a:hover {
    color: var(--cyan-400);
}

.contact-panel {
    padding: 34px;
    background: var(--white);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.form-message {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.form-message.success {
    color: #0c5d38;
    background: #e9f7f0;
    border: 1px solid #bee6d2;
}

.form-message.error {
    color: #8f1d16;
    background: #fff0ee;
    border: 1px solid #f2c6c1;
}

.form-message span,
.form-message a {
    color: inherit;
}

.form-message:focus {
    outline: 3px solid var(--blue-500);
    outline-offset: 4px;
}

.contact-form {
    display: grid;
    gap: 19px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label > span {
    color: var(--navy-900);
    font-size: 0.83rem;
    font-weight: 750;
}

.contact-form b {
    color: var(--blue-600);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    color: var(--navy-900);
    background: #fbfdff;
    border: 1px solid #cbdce8;
    border-radius: 10px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input,
.contact-form select {
    height: 49px;
    padding: 0 13px;
}

.contact-form textarea {
    min-height: 146px;
    padding: 12px 13px;
    line-height: 1.55;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--white);
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(23, 105, 210, 0.1);
}

.contact-form textarea::placeholder {
    color: var(--muted);
}

.form-submit-row {
    display: grid;
    gap: 12px;
    margin-top: 3px;
}

.form-submit-row p {
    margin: 0;
    font-size: 0.73rem;
    line-height: 1.5;
    text-align: center;
}

.form-submit-row a {
    color: var(--blue-600);
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.site-footer {
    padding: 68px 0 24px;
    color: #c7d4df;
    background: #041225;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 0.55fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-brand strong,
.footer-brand span,
.footer-contact a,
.footer-contact span {
    display: block;
}

.footer-brand strong {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.25rem;
}

.footer-brand span {
    max-width: 390px;
    color: #8297aa;
    font-size: 0.9rem;
}

.footer-contact a {
    margin-bottom: 10px;
    color: var(--cyan-400);
    font-weight: 700;
    text-decoration: none;
}

.footer-contact span {
    color: #8297aa;
    font-size: 0.84rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-links a {
    color: #aebdca;
    font-size: 0.88rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    color: #6f8599;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 0.78rem;
}

.footer-bottom a {
    color: #91a6b8;
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legal and error pages */
.legal-page,
.error-page {
    background: var(--ice-50);
}

.legal-main {
    min-height: calc(100vh - 200px);
    padding: calc(var(--header-height) + 76px) 0 100px;
}

.legal-layout {
    max-width: 840px;
}

.legal-layout h1 {
    margin-bottom: 12px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.legal-updated {
    margin-bottom: 48px;
    font-size: 0.9rem;
}

.legal-layout section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-layout section h2 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.legal-layout section p {
    margin-bottom: 0;
}

.legal-footer {
    padding-top: 24px;
}

.error-main {
    display: flex;
    width: min(calc(100% - 40px), 680px);
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    text-align: center;
}

.error-main img {
    width: 250px;
    margin-bottom: 50px;
}

.error-main h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.error-main p:not(.eyebrow) {
    margin-bottom: 30px;
}

@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        max-width: 810px;
    }

    .hero-visual {
        width: min(100%, 690px);
        min-height: 550px;
        margin-inline: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .contact-copy {
        max-width: 710px;
        padding-top: 0;
    }

    .contact-panel {
        max-width: 780px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 70px;
    }

    .brand {
        width: 194px;
    }

    html.js .nav-toggle {
        display: block;
    }

    html.js .primary-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: grid;
        max-height: 0;
        gap: 0;
        padding: 0 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid transparent;
        box-shadow: 0 18px 40px rgba(7, 32, 64, 0.1);
        opacity: 0;
        pointer-events: none;
        transition: max-height 260ms ease, padding 260ms ease, opacity 180ms ease, border-color 180ms ease;
        visibility: hidden;
    }

    html.js .primary-nav.is-open {
        max-height: calc(100vh - var(--header-height));
        padding: 16px 20px 24px;
        border-bottom-color: var(--line);
        opacity: 1;
        overflow-y: auto;
        pointer-events: auto;
        visibility: visible;
    }

    html.no-js .site-header {
        position: relative;
        height: auto;
    }

    html.no-js .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding-block: 12px;
    }

    html.no-js .nav-toggle {
        display: none;
    }

    html.no-js .primary-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px 20px;
        padding-top: 8px;
    }

    html.no-js .primary-nav > a:not(.button) {
        padding: 8px 4px;
        border-bottom: 0;
    }

    html.no-js .primary-nav .button {
        margin-top: 0;
    }

    .primary-nav > a:not(.button) {
        padding: 15px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .primary-nav .button {
        margin-top: 18px;
    }

    .section {
        padding: 92px 0;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid > div,
    .trust-grid > div:first-child,
    .trust-grid > div:last-child {
        padding: 22px 24px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .trust-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .trust-grid > div:nth-child(n+3) {
        border-bottom: 0;
    }

    .approach-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .sticky-heading {
        position: static;
    }

    .about-copy {
        order: 1;
    }

    .about-brand {
        order: 2;
        width: min(100%, 410px);
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, auto);
        justify-content: start;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .legal-page .header-inner {
        gap: 12px;
    }

    .legal-page .brand {
        width: min(194px, 54vw);
    }

    .legal-page .button-small {
        padding-inline: 12px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero {
        min-height: 0;
        padding: calc(var(--header-height) + 66px) 0 72px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-actions .text-link {
        justify-content: center;
    }

    .hero-points {
        display: grid;
        gap: 11px;
    }

    .hero-visual {
        min-height: 515px;
    }

    .system-card-main {
        inset: 26px 0 30px;
        transform: none;
    }

    .system-card-header {
        min-height: 56px;
        padding: 0 15px;
    }

    .system-card-header > span:nth-child(2) {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .system-flow {
        padding: 20px 16px 25px;
    }

    .flow-node {
        min-height: 70px;
        padding: 12px;
    }

    .flow-icon {
        width: 40px;
        height: 40px;
    }

    .floating-card {
        min-width: 184px;
        padding: 12px 13px;
    }

    .floating-card-a {
        top: 0;
        right: 10px;
    }

    .floating-card-b {
        right: 10px;
        bottom: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 29px 25px;
    }

    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 14px;
    }

    .process-step > span {
        width: 42px;
        height: 42px;
    }

    .contact-section {
        padding: 84px 0;
    }

    .contact-panel {
        padding: 25px 18px;
    }

    .about-layout {
        gap: 42px;
    }

    .about-brand {
        width: min(100%, 360px);
        gap: 14px;
        padding: 20px;
    }

    .about-brand::before {
        inset: 11px;
        border-radius: 17px;
    }

    .about-brand-logo {
        gap: 12px;
        padding: 18px 16px 16px;
        border-radius: 15px;
    }

    .about-mark {
        width: min(100%, 255px);
    }

    .about-wordmark {
        width: min(100%, 260px);
    }

    .about-brand-summary {
        gap: 6px;
    }

    .about-brand-summary span {
        padding: 7px 4px;
        font-size: 0.62rem;
        letter-spacing: 0.02em;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-column: auto;
        grid-template-columns: repeat(2, auto);
        gap: 12px 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
