@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

:root {
    --ink: #0B1215;
    --ink-2: #121C21;
    --brand: #00679F;
    --brand-hover: #005583;
    --accent-dark: #5CC1EE;
    --text: #10181C;
    --text-soft: #2B3A42;
    --muted: #55656E;
    --surface: #FFFFFF;
    --surface-2: #F4F7F8;
    --hairline: #DCE3E7;
    --hairline-dark: rgba(255, 255, 255, 0.12);
    --on-dark: rgba(255, 255, 255, 0.74);

    --primary-color: #00679F;
    --primary-dark: #005583;
    --secondary-color: #0B1215;
    --accent-color: #5CC1EE;
    --text-color: #10181C;
    --text-light: #55656E;
    --background: #FFFFFF;
    --background-alt: #F4F7F8;
    --border-color: #DCE3E7;
    --success-color: #1A7F4B;
    --error-color: #B42318;
    --gradient: #00679F;
    --shadow: 0 1px 2px rgba(11, 18, 21, 0.06);
    --shadow-lg: 0 4px 12px rgba(11, 18, 21, 0.08);
    --transition: all 0.2s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --gutter: clamp(20px, 4vw, 32px);
    --section-y: clamp(72px, 9vw, 128px);
    --nav-h: 64px;
    --radius: 14px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

[id] {
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

section[id] {
    scroll-margin-top: var(--nav-h);
}

body {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: calc(1200px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-align: left;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

h4 {
    font-size: 1rem;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

a:hover {
    color: var(--brand-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

svg {
    flex-shrink: 0;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.dark :focus-visible,
.footer-dark :focus-visible {
    outline-color: var(--accent-dark);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 300;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
    outline-color: var(--accent-dark);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    line-height: 1.4;
    margin-bottom: 20px;
}

.dark .eyebrow {
    color: var(--accent-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-hover);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}

.btn-secondary:hover {
    background: var(--brand);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
}

.dark .btn-primary {
    background: var(--accent-dark);
    color: var(--ink);
}

.dark .btn-primary:hover {
    background: #86D2F4;
    color: var(--ink);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-h);
}

.navbar .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar .logo img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-links a[aria-current="page"] {
    color: var(--brand);
}

.nav-links a.btn-nav {
    margin-left: 12px;
    padding: 0 18px;
    min-height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

.nav-links a.btn-nav:hover {
    background: var(--brand-hover);
    color: #fff;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: max(86vh, 600px);
    padding: clamp(72px, 10vw, 128px) 0;
    background: var(--ink);
    color: #fff;
}

.hero-bricks {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.brick-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 1;
}

.brick-fill {
    fill: rgba(0, 103, 159, 0.34);
    stroke: rgba(92, 193, 238, 0.45);
    stroke-width: 1;
}

.brick-fill.is-soft {
    fill: rgba(0, 103, 159, 0.2);
}

.hero-content {
    max-width: 880px;
}

.hero .eyebrow {
    margin-bottom: 28px;
}

.hero h1 {
    margin-bottom: 28px;
}

.hero .highlight {
    color: var(--accent-dark);
    white-space: nowrap;
}

.hero-subtitle {
    max-width: 640px;
    font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 14px;
}

.hero-cta {
    max-width: 640px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.64);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.clients {
    padding: 56px 0 64px;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
}

.clients .eyebrow {
    margin-bottom: 28px;
    color: var(--muted);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
}

.client-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    padding: 0 20px;
    background: #fff;
}

.client-logos img {
    display: block;
    width: auto;
    height: 30px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logos a:hover img,
.client-logos a:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

.client-logos .logo-fundf {
    height: 44px;
}

.client-logos .logo-nrv {
    height: 40px;
}

.client-logos .logo-calmstorm {
    height: 24px;
}

.client-logos .logo-speedinvest {
    height: 38px;
}

.section {
    padding: var(--section-y) 0;
}

.section-alt {
    background: var(--surface-2);
}

.section-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px 32px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .head-title {
    grid-column: 1 / span 6;
}

.section-head .section-intro {
    grid-column: 7 / span 6;
}

.section-head .eyebrow {
    margin-bottom: 18px;
}

.section-intro {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.solution-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 56px 32px;
}

.solution-text {
    grid-column: 1 / span 6;
}

.solution-text h2 {
    margin-bottom: 36px;
}

.solution-text p {
    color: var(--muted);
    margin-bottom: 20px;
}

.solution-text p.lead {
    font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 24px;
}

.solution-text p.lead strong,
.solution-text p strong {
    font-weight: 600;
    color: var(--text);
}

.solution-features {
    grid-column: 8 / span 5;
    align-self: end;
}

.solution-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-top: 1px solid var(--hairline);
}

.solution-item:last-child {
    border-bottom: 1px solid var(--hairline);
}

.solution-item h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.solution-item p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.icon-box {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: #fff;
    color: var(--brand);
}

.icon-box svg,
.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}

.bento-card:hover {
    border-color: #B7C5CC;
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.bento-card .card-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-card h3 {
    font-size: 1.3125rem;
}

.bento-card.is-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px 40px;
    align-items: center;
}

.bento-card.span-8 .checks,
.bento-card.span-5 .checks,
.bento-card.span-6 .checks,
.bento-card.span-7 .checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.bento-card .checks.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checks li {
    position: relative;
    padding: 7px 0 7px 30px;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 18px;
    height: 18px;
    margin-top: 7px;
    transform: translateY(-4px);
    background: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checks.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
}

.bento-card.is-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.bento-card.is-dark:hover {
    border-color: var(--ink);
}

.bento-card.is-dark .icon-box {
    background: var(--ink-2);
    border-color: var(--hairline-dark);
    color: var(--accent-dark);
}

.bento-card.is-dark .checks li {
    color: rgba(255, 255, 255, 0.84);
}

.bento-card.is-dark .checks li::before {
    background: var(--accent-dark);
}

.principles-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hairline);
}

.principle {
    padding: 40px 40px 8px 0;
}

.principle + .principle {
    padding-left: 40px;
    border-left: 1px solid var(--hairline);
}

.principle p.principle-num {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand);
    margin-bottom: 32px;
}

.principle h3 {
    margin-bottom: 14px;
}

.principle p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.principles-footer {
    max-width: 760px;
    margin-top: clamp(56px, 7vw, 96px);
    font-size: clamp(1.3125rem, 2.1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--text);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 32px;
}

.team-member {
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
}

.team-member h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.team-member .role {
    color: var(--text-soft);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.team-member .title {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.875rem;
}

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

.job-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.4vw, 44px);
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
}

.job-card h3 {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.job-intro {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 8px;
}

.job-card h4 {
    margin: 28px 0 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.job-card ul {
    margin-bottom: 4px;
}

.job-card ul:last-of-type {
    margin-bottom: 36px;
}

.job-card li {
    position: relative;
    padding: 9px 0 9px 22px;
    border-top: 1px solid var(--hairline);
    color: var(--text-soft);
    font-size: 0.9688rem;
    line-height: 1.5;
}

.job-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(9px + 0.75em);
    width: 8px;
    height: 1px;
    background: var(--brand);
}

.job-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.contact {
    padding: var(--section-y) 0;
    background: var(--ink);
    color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px 32px;
    align-items: start;
}

.contact-copy {
    grid-column: 1 / span 5;
}

.contact-copy h2 {
    margin-bottom: 24px;
}

.contact-copy .section-intro {
    color: var(--on-dark);
    margin-bottom: 32px;
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-mail:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.contact-mail .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-dark);
}

.contact-panel {
    grid-column: 7 / span 6;
    padding: clamp(24px, 3.4vw, 40px);
    background: var(--ink-2);
    border: 1px solid var(--hairline-dark);
    border-radius: var(--radius);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #6F7E86;
    border-radius: 10px;
    background: #1B2830;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.15s ease;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #93A2AA;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
    border-color: var(--accent-dark);
    border-radius: 10px;
}

.contact-form .btn {
    width: 100%;
    min-height: 52px;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.9688rem;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.alert-success {
    background: rgba(52, 199, 120, 0.12);
    border-color: rgba(52, 199, 120, 0.45);
    color: #C4F3D8;
}

.alert-error {
    background: rgba(240, 82, 66, 0.12);
    border-color: rgba(240, 82, 66, 0.5);
    color: #FFD2CD;
}

.cli-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
    background: var(--ink);
    color: #fff;
}

.cli-hero-content {
    max-width: 800px;
}

.cli-kicker {
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.cli-hero h1 {
    font-size: clamp(2.25rem, 4.8vw, 3.9rem);
    margin-bottom: 28px;
}

.cli-hero p:not(.cli-kicker):not(.cli-availability) {
    max-width: 680px;
    margin-bottom: 36px;
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.cli-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.cli-availability {
    max-width: 680px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.64);
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hairline);
}

.setup-step {
    padding: 40px 40px 8px 0;
}

.setup-step + .setup-step {
    padding-left: 40px;
    border-left: 1px solid var(--hairline);
}

.setup-step-num {
    margin-bottom: 32px;
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand);
}

.setup-step h3 {
    margin-bottom: 14px;
}

.setup-step p:not(.setup-step-num) {
    color: var(--muted);
    font-size: 1rem;
}

.footer {
    padding: 64px 0 32px;
    background: var(--surface-2);
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 0.9375rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1fr 1fr;
    gap: 40px 32px;
    margin-bottom: 48px;
}

.footer-brand img {
    display: block;
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 260px;
    color: var(--muted);
}

.footer-title {
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.footer-contact p:not(.footer-title) {
    line-height: 28px;
    color: var(--muted);
}

.footer a {
    color: var(--text-soft);
    font-weight: 500;
}

.footer a:hover {
    color: var(--brand);
}

.footer-links a {
    display: flex;
    align-items: center;
    min-height: 28px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom .faq-powered-by {
    justify-content: flex-start !important;
    margin: 0 !important;
}

.legal-page {
    padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}

.legal-page .container {
    max-width: calc(720px + 2 * var(--gutter));
}

.legal-page h1 {
    font-size: clamp(1.625rem, 7.2vw, 3rem);
    overflow-wrap: break-word;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
}

.legal-page h2 {
    margin: 44px 0 14px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.legal-page p {
    margin-bottom: 14px;
    color: var(--text-soft);
    line-height: 1.7;
}

.legal-page a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 103, 159, 0.4);
    overflow-wrap: anywhere;
}

.legal-page a:hover {
    text-decoration-color: currentColor;
}

.legal-page ul {
    margin: 0 0 16px 20px;
}

.legal-page li {
    list-style: disc;
    margin-bottom: 6px;
    padding-left: 4px;
    color: var(--text-soft);
    line-height: 1.65;
}

.legal-page li::marker {
    color: var(--brand);
}

body .faq-page {
    padding-top: clamp(40px, 6vw, 72px);
}

.faq-page .faq-powered-by img {
    width: auto;
}

.lang-toggle button:hover:not(.active) {
    background: #E8EEF1;
}

.faq-item .faq-question:hover {
    background: #E8EEF1;
}

.faq-item .faq-question.open,
.faq-item .faq-question.open:hover {
    background: var(--primary-color);
    color: #fff;
}

.faq-answer .tip {
    background: #EEF5F9;
}

.faq-page a:not(.btn-primary) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .js [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }

    .brick-fill.is-pulse {
        animation: brickPulse 9s ease-in-out infinite;
    }

    .brick-fill.is-pulse.d2 { animation-delay: -3s; animation-duration: 11s; }
    .brick-fill.is-pulse.d3 { animation-delay: -6s; animation-duration: 13s; }
}

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

    * {
        transition-duration: 0.01ms !important;
    }
}

@keyframes brickPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

@media (max-width: 1100px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .span-4,
    .span-8,
    .span-12 {
        grid-column: 1 / -1;
    }

    .span-5,
    .span-7 {
        grid-column: 1 / -1;
    }

    .span-6 {
        grid-column: span 1;
    }
}

@media (max-width: 1023px) {
    .section-head,
    .solution-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-head .head-title,
    .section-head .section-intro {
        grid-column: 1 / -1;
    }

    .solution-text,
    .solution-features {
        grid-column: 1 / -1;
    }

    .contact-copy,
    .contact-panel {
        grid-column: 1 / -1;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 20px;
        background: #fff;
        border-bottom: 1px solid var(--hairline);
    }

    .navbar.is-open .nav-links {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--hairline);
    }

    .nav-links li:last-child {
        border-bottom: 0;
    }

    .nav-links a {
        display: flex;
        min-height: 52px;
        padding: 0;
        font-size: 1.0625rem;
    }

    .nav-links a.btn-nav {
        justify-content: center;
        min-height: 52px;
        margin: 16px 0 0;
        padding: 0 18px;
    }

    html:not(.js) .nav-toggle {
        display: none;
    }

    html:not(.js) .navbar .container {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    html:not(.js) .nav-links {
        display: flex;
        position: static;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        border: 0;
    }

    html:not(.js) .nav-links li {
        border: 0;
    }

    html:not(.js) .nav-links a {
        min-height: 44px;
        padding: 0 12px;
    }

    html:not(.js) .nav-links a.btn-nav {
        margin: 0 0 0 4px;
        padding: 0 16px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .hero-bricks {
        opacity: 0.45;
    }

    .brick-fill {
        display: none;
    }
}

@media (max-width: 767px) {
    .bento-card.is-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .checks.cols-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .principles-cols,
    .setup-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .principle,
    .setup-step {
        padding: 32px 0 36px;
        border-left: 0;
        border-bottom: 1px solid var(--hairline);
    }

    .principle + .principle,
    .setup-step + .setup-step {
        padding-left: 0;
        border-left: 0;
    }

    .principle:last-child,
    .setup-step:last-child {
        padding-bottom: 8px;
        border-bottom: 0;
    }

    .principle p.principle-num,
    .setup-step-num {
        margin-bottom: 20px;
        font-size: 2.75rem;
    }

    .jobs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 20px;
    }

    .contact-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 639px) {
    .bento-card .checks,
    .bento-card.span-8 .checks,
    .bento-card.span-5 .checks,
    .bento-card.span-6 .checks,
    .bento-card.span-7 .checks,
    .bento-card .checks.cols-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .span-5,
    .span-6,
    .span-7 {
        grid-column: 1 / -1;
    }

    .bento-card {
        padding: 24px;
    }

    .client-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-logos a {
        height: 88px;
        padding: 0 16px;
    }

    .client-logos a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .hero {
        min-height: 0;
    }


    .hero-actions .btn,
    .cli-hero-actions .btn {
        width: 100%;
    }

    .solution-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-links a {
        min-height: 44px;
    }
}

@media (max-width: 359px) {
    .navbar .logo img {
        height: 24px;
    }

    h1 {
        font-size: 2.25rem;
    }
}
