/* ==========================================================================
   Expitrans — Base Styles
   Clean fintech look: soft gray canvas, white rounded cards, bold
   geometric type, dark pill buttons, brand-blue highlights.
   ========================================================================== */

:root {
    /* Brand (unchanged) */
    --blue-400: #0095eb;   /* accent / gradients (not for small text on white) */
    --blue-500: #0693e3;   /* hover accents */
    --blue-600: #007cba;   /* primary buttons, links (AA on white) */
    --blue-800: #005a87;   /* deep brand, headings accents, hover states */
    --white: #ffffff;

    /* Neutrals (unchanged) */
    --ink-900: #0b1b2b;
    --ink-700: #2a3b4d;
    --ink-500: #5a6b7d;
    --ink-300: #c9d4df;
    --ink-100: #eef3f8;
    --ink-50:  #f7fafc;

    /* Soft tints of the brand blue, for friendly backgrounds */
    --tint-50:  rgba(0, 149, 235, 0.06);
    --tint-100: rgba(0, 149, 235, 0.10);
    --tint-200: rgba(0, 149, 235, 0.18);

    /* Page surfaces */
    --canvas: #f3f5f8;     /* soft gray page background */
    --highlight: linear-gradient(90deg, #cdeeff 0%, #9fdcff 100%);

    /* Typography — one bold geometric sans for everything */
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: var(--font-sans);
    --fs-sm: 0.9rem;
    --fs-base: 1.0625rem;
    --fs-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
    --fs-xl: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
    --fs-2xl: clamp(1.85rem, 1.5rem + 1.4vw, 2.6rem);
    --fs-3xl: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
    --fs-hero: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(4.5rem, 9vw, 9rem);
    --header-h: 88px;

    /* Effects — rounder corners, diffuse blue-tinted shadows */
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --shadow-sm: 0 2px 8px -2px rgba(11, 27, 43, 0.06);
    --shadow: 0 16px 40px -18px rgba(11, 27, 43, 0.18);
    --shadow-lg: 0 30px 60px -24px rgba(11, 27, 43, 0.25);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 240ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    color: var(--ink-900);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
    font-weight: 800;
    text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); line-height: 1.06; }
h3 { letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: var(--fs-2xl); line-height: 1.22; }
h3 { font-size: var(--fs-xl); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--blue-600); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-800); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
main:focus { outline: none; }

:focus-visible {
    outline: 3px solid var(--blue-400);
    outline-offset: 3px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-alt {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
}

/* Friendly pill label instead of a tracked-out uppercase eyebrow */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--ink-900);
    background: var(--white);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 0.95rem 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue-400);
    box-shadow: 0 0 0 4px var(--tint-200);
}
.lead { font-size: var(--fs-lg); color: var(--ink-500); max-width: 60ch; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--blue-800); color: var(--white);
    padding: 0.75rem 1rem; border-radius: var(--radius-sm);
    transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.9rem 1.6rem;
    font-weight: 700; font-size: 1rem; line-height: 1;
    border-radius: 999px; border: 2px solid transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

.btn-primary {
    background: var(--ink-900); color: var(--white);
    box-shadow: 0 12px 24px -12px rgba(11, 27, 43, 0.7);
}
.btn-primary:hover {
    background: var(--blue-800); color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(0, 90, 135, 0.55);
}
.btn-secondary { background: var(--white); color: var(--ink-900); border-color: var(--ink-100); }
.btn-secondary:hover { border-color: var(--ink-300); color: var(--ink-900); transform: translateY(-2px); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { background: var(--white); color: var(--blue-800); border-color: var(--white); }

/* ---------- Header / Nav ----------
   Logo left · links centered in a pill · Contact Us far right */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(243, 245, 248, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
    background: rgba(243, 245, 248, 0.94);
    box-shadow: 0 8px 24px -18px rgba(11, 27, 43, 0.35);
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink-900); justify-self: start; }
.brand:hover { color: var(--ink-900); }
.brand-logo { width: 34px; height: 34px; object-fit: contain; transition: transform 400ms var(--ease); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-name span { color: var(--blue-600); }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-name span { color: var(--blue-400); }

/* Desktop: the menu wrapper dissolves so links + CTA sit in the nav grid */
.nav-menu { display: contents; }

.nav-links {
    justify-self: center;
    display: flex; align-items: center; gap: 0.15rem;
    padding: 0.35rem;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
/* small dot separators between links, like the reference */
.nav-links li + li { display: flex; align-items: center; }
.nav-links li + li::before {
    content: ""; width: 3px; height: 3px; margin-right: 0.15rem;
    border-radius: 50%; background: var(--ink-300);
}

.nav-link {
    display: block;
    padding: 0.55rem 1.05rem;
    font-size: 0.93rem; font-weight: 600;
    color: var(--ink-700);
    border-radius: 999px;
    white-space: nowrap;
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--ink-900); background: var(--ink-50); }
.nav-link.is-active { color: var(--ink-900); font-weight: 800; background: var(--tint-100); }

.nav-cta { justify-self: end; }

/* Hamburger */
.nav-toggle {
    display: none;
    justify-self: end;
    width: 46px; height: 46px; padding: 0;
    background: var(--white); border: 1px solid var(--ink-100); border-radius: 50%;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle:hover { background: var(--ink-50); }
.nav-toggle-bar {
    width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
    transition: transform 300ms var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tighter links before collapsing */
@media (max-width: 1180px) {
    .nav-link { padding: 0.5rem 0.75rem; font-size: 0.88rem; }
}

@media (max-width: 1040px) {
    .nav { grid-template-columns: 1fr auto; }
    .nav-toggle { display: inline-flex; }

    .nav-menu {
        display: flex;
        position: fixed; inset: calc(var(--header-h) + 0.5rem) var(--gutter) auto var(--gutter);
        flex-direction: column; align-items: stretch; gap: 1.25rem;
        padding: 1.25rem;
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-height: calc(100dvh - var(--header-h) - 1.5rem); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98);
        transition: opacity var(--dur) var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
    }
    .nav-menu.is-open {
        opacity: 1; visibility: visible; transform: none;
        transition: opacity var(--dur) var(--ease), transform 300ms var(--ease), visibility 0s;
    }
    .nav-links {
        flex-direction: column; align-items: stretch; gap: 0.25rem;
        padding: 0; border: 0; box-shadow: none; background: none;
    }
    .nav-links li + li::before { display: none; }
    .nav-links li { display: block; }
    .nav-link { padding: 0.9rem 1.1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
    .nav-cta { width: 100%; padding-block: 1.05rem; }

    body.nav-open { overflow: hidden; }
}

/* ---------- Flash messages ---------- */
.flash-stack { display: grid; gap: 0.75rem; padding-top: 1rem; }
.flash {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--tint-50); border: 1px solid var(--tint-100); border-left: 5px solid var(--blue-600);
    color: var(--ink-900);
    animation: flash-in 400ms var(--ease);
}
.flash-success { border-left-color: #1a7f4b; }
.flash-error, .flash-danger { border-left-color: #c0362c; }
.flash-warning { border-left-color: #b26b00; }
.flash-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--ink-500); padding: 0.25rem; border-radius: 50%; }
.flash-close:hover { color: var(--ink-900); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Home hero: centered headline + showcase cards ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-top: clamp(3rem, 7vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
/* Soft white swirl lines behind the content */
.hero-swirl {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%;
    fill: none; stroke: var(--white); stroke-width: 46; stroke-linecap: round;
    opacity: 0.9;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.35rem 1.1rem 0.35rem 0.35rem;
    border-radius: 999px;
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
    font-size: var(--fs-sm); font-weight: 700; color: var(--ink-900);
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.hero-badge:hover { color: var(--ink-900); border-color: var(--ink-300); }
.hero-badge-tag {
    padding: 0.3rem 0.9rem; border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600)); color: var(--white);
}

.hero h1 { font-size: var(--fs-hero); max-width: 17ch; margin-bottom: 0.35em; letter-spacing: -0.045em; }
.hero-lead { font-size: var(--fs-lg); color: var(--ink-500); max-width: 46ch; margin-inline: auto; }

/* Light-blue pill behind a key word (used in hero + h1/h2 <em>) */
.highlight,
.section h2 em, .page-hero h1 em, .page-hero h2 em {
    font-style: normal; color: var(--ink-900);
    background: var(--highlight);
    padding: 0 0.22em; border-radius: 0.4em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .highlight { border-radius: 999px; padding: 0 0.3em; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 1.5rem; }
.page-hero .hero-actions { justify-content: flex-start; }
.page-hero-center .hero-actions { justify-content: center; }

/* Showcase cards */
.showcase {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-top: clamp(3rem, 7vw, 5rem);
    align-items: start;
}
.showcase-card {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    border: 6px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow), inset 0 0 0 1px var(--ink-100);
    transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.showcase-card:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-lg); }
.showcase-tilt-left { transform: rotate(-3deg) translateY(1.25rem); }
.showcase-tilt-right { transform: rotate(3deg) translateY(1.25rem); }
.showcase-card h2 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); margin-bottom: 0.3rem; }
.showcase-card p { color: var(--ink-500); font-size: 0.97rem; margin-bottom: 1.5rem; }

/* card mock */
.mock-cards { position: relative; height: 190px; }
.mock-card {
    position: absolute; width: 62%; aspect-ratio: 1.45;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 1rem; border-radius: 18px; color: var(--white);
    box-shadow: var(--shadow);
}
.mock-card-back { left: 0; top: 18px; background: linear-gradient(150deg, #7cc4f0, var(--blue-600)); rotate: -6deg; opacity: 0.75; }
.mock-card-front { right: 0; top: 0; background: linear-gradient(150deg, var(--blue-400), var(--blue-800)); rotate: 5deg; }
.mock-card-top { display: flex; justify-content: space-between; align-items: center; }
.mock-card-top .icon { width: 22px; height: 22px; }
.mock-card-chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #f5d27a, #e6b450); }
.mock-card-label { font-size: 0.75rem; font-weight: 700; opacity: 0.85; }
.mock-card strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }

/* list mock */
.mock-list { display: grid; gap: 0.6rem; }
.mock-list li {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.7rem 0.9rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
}
.mock-list-icon {
    display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 50%; background: var(--tint-100); color: var(--blue-600);
}
.mock-list-icon .icon { width: 20px; height: 20px; }
.mock-list strong { display: block; font-size: 0.95rem; color: var(--ink-900); line-height: 1.2; }
.mock-list small { display: block; font-size: 0.8rem; color: var(--ink-500); }
.mock-list-chevron { width: 16px; height: 16px; margin-left: auto; color: var(--ink-500); }

/* bar chart mock */
.mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 1.75rem; }
.mock-bars i {
    position: relative; flex: 1; height: var(--h);
    border-radius: 999px; background: linear-gradient(180deg, #dceffd, #eef6fc);
}
.mock-bars i.is-peak { background: linear-gradient(180deg, var(--blue-400), #9fdcff); }
.mock-bars i span {
    position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
    padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap;
    background: var(--ink-900); color: var(--white);
    font-size: 0.72rem; font-style: normal; font-weight: 700;
}

@media (max-width: 960px) {
    .showcase { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .showcase-tilt-left, .showcase-tilt-right { transform: none; }
}
@media (max-width: 480px) {
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-badge { font-size: 0.8rem; text-align: left; gap: 0.6rem; }
}

/* Support band (blue strip under the hero) */
.support-band {
    background: linear-gradient(120deg, var(--blue-600), var(--blue-800));
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
}
.support-band-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding-block: clamp(2rem, 4vw, 2.75rem);
}
.support-band-lead { display: flex; align-items: center; gap: 1.1rem; }
.support-band-lead p { margin: 0; font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); }
.support-band-icon {
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: var(--white);
}
.support-band-icon .icon { width: 30px; height: 30px; }
.support-band-copy { max-width: 26rem; }
.support-band-copy h2 { font-size: 1.15rem; color: var(--white); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.support-band-copy p { margin-bottom: 0.6rem; font-size: 0.95rem; }
.support-band-copy a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--white); }
.support-band-copy a .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.support-band-copy a:hover .icon { transform: translateX(3px); }

.eyebrow-light { color: var(--white); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.eyebrow-light::before { box-shadow: 0 0 0 4px rgba(0, 149, 235, 0.35); }

/* ---------- Cards (reusable) ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-200); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

/* ==========================================================================
   Shared page components
   ========================================================================== */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.btn .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-light { background: var(--white); color: var(--blue-800); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4); }
.btn-light:hover { background: var(--ink-50); color: var(--blue-800); transform: translateY(-2px); }

.section-tight { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Icon badge */
.icon-badge {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px; border-radius: 16px;
    background: var(--tint-100); color: var(--blue-600);
    flex-shrink: 0;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-light { background: rgba(255, 255, 255, 0.14); color: var(--white); }

/* Feature cards */
.feature-grid { margin-top: clamp(2.5rem, 5vw, 4rem); }
.section-head + .feature-grid { margin-top: 0; }
.feature-card .icon-badge { margin-bottom: 1.25rem; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.feature-card p { margin: 0; color: var(--ink-500); }
.feature-card.compact { padding: 1.6rem; }
.feature-card.compact h3 { font-size: 1.15rem; }
.feature-card.compact p { font-size: 0.98rem; }

/* Link cards */
.link-card { display: flex; flex-direction: column; color: inherit; }
.link-card:hover { color: inherit; }
.link-card .icon-badge { margin-bottom: 1.25rem; }
.link-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.link-card p { color: var(--ink-500); }
.link-card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--blue-600); }
.link-card-cta .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-card:hover .link-card-cta .icon { transform: translateX(4px); }

/* Check lists */
.check-list { display: grid; gap: 0.7rem; margin: 1.5rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 600; color: var(--ink-700); }
.check-list .icon {
    width: 24px; height: 24px; padding: 4px; margin-top: 0.1rem; border-radius: 50%;
    background: var(--tint-100); color: var(--blue-600); stroke-width: 2.6;
}
.check-list-light li { color: var(--white); }
.check-list-light .icon { background: rgba(255, 255, 255, 0.16); color: var(--white); }

/* ---------- Home: intro ---------- */
.intro-grid {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.intro-copy p:not(.lead) { color: var(--ink-500); max-width: 62ch; }
.intro-callout {
    position: relative; overflow: hidden;
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(155deg, var(--blue-600), var(--blue-800) 70%, #003e5e);
    box-shadow: var(--shadow-lg);
}
.intro-callout::after {
    content: ""; position: absolute; width: 260px; aspect-ratio: 1; right: -90px; top: -90px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.08);
}
.intro-callout-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.15); }
.intro-callout-icon .icon { width: 26px; height: 26px; }
.intro-callout blockquote {
    margin: 1.25rem 0 0; font-family: var(--font-display);
    font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
    background: transparent;
}
.page-hero::before {
    content: ""; position: absolute; z-index: -1; border-radius: 50%;
    width: min(70vw, 720px); aspect-ratio: 1; right: -15%; top: -35%;
    background: radial-gradient(circle at 40% 40%, var(--tint-200), var(--tint-50) 60%, transparent 72%);
}
.page-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-center { grid-template-columns: 1fr; text-align: center; }
.page-hero-center .page-hero-copy { max-width: 46rem; margin-inline: auto; }
.page-hero-center .lead { margin-inline: auto; }
.page-hero-center .hero-actions { justify-content: center; }
.page-hero-copy p:not(.lead) { color: var(--ink-500); max-width: 60ch; }
@media (max-width: 900px) { .page-hero-inner { grid-template-columns: 1fr; } }

/* Stat stack (technology hero) */
.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.stat-tile {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 1.1rem 1.2rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
    font-weight: 700; color: var(--ink-900);
}
.stat-tile .icon { width: 26px; height: 26px; color: var(--blue-600); }
.stat-tile-feature {
    grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 0.2rem;
    padding: 1.6rem; color: var(--white); border: 0;
    background: linear-gradient(150deg, var(--blue-600), var(--blue-800));
    box-shadow: var(--shadow-lg);
}
.stat-tile-feature strong { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.stat-tile-feature span { font-weight: 600; color: rgba(255, 255, 255, 0.85); }

/* In-page section nav */
.subnav {
    display: flex; gap: 0.5rem; margin-top: clamp(2rem, 4vw, 3rem);
    overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
    display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
    padding: 0.55rem 1.05rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--ink-100);
    font-weight: 600; font-size: 0.95rem; color: var(--ink-700);
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.subnav a:hover { background: var(--tint-50); border-color: var(--tint-200); color: var(--blue-800); }
.subnav .icon { width: 16px; height: 16px; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse > :first-child { order: 2; }
.split-copy .lead { color: var(--ink-500); }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-reverse > :first-child { order: 0; }
}

/* Gateway mock window */
.mock-window {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-lg);
}
.mock-window-bar { display: flex; gap: 6px; padding: 0.9rem 1.1rem; background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.mock-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-300); }
.mock-window-body { padding: 1.25rem; display: grid; gap: 0.6rem; }
.mock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--ink-50);
    font-weight: 600; font-size: 0.95rem; color: var(--ink-900);
}
.mock-row > span:first-child { display: inline-flex; align-items: center; gap: 0.6rem; }
.mock-row .icon { color: var(--blue-600); }
.mock-row-head { background: none; padding-inline: 0.25rem; color: var(--ink-500); }
.mock-pill { font-size: 0.8rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: #e3f6ec; color: #1a7f4b; }
.mock-status { font-size: 0.82rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--tint-100); color: var(--blue-800); }
.mock-status.ok { background: #e3f6ec; color: #1a7f4b; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 0.75rem 0.25rem 0; }
.mock-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); opacity: 0.85; }

/* Pill grid (mobile features) */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.pill-grid li {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
    font-weight: 700; font-size: 0.95rem; color: var(--ink-900);
}
.pill-grid .icon { color: var(--blue-600); }

/* Phone mock */
.phone-stage { position: relative; display: grid; place-items: center; padding: 1rem 0 2rem; }
.phone-stage::before {
    content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, var(--tint-200), transparent 70%);
}
.phone-mock {
    position: relative; width: 240px; aspect-ratio: 9 / 18.5;
    padding: 12px; border-radius: 40px;
    background: #0b1b2b; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3b4d;
}
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 999px; background: #0b1b2b; z-index: 1; }
.phone-screen {
    height: 100%; border-radius: 30px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 1.5rem 1rem; text-align: center; color: var(--white);
    background: linear-gradient(165deg, var(--blue-400), var(--blue-800));
}
.phone-label { font-size: 0.85rem; opacity: 0.8; }
.phone-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1.1; }
.phone-tip { font-size: 0.75rem; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.15); }
.phone-tap { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; }
.reader-mock {
    position: absolute; right: 12%; bottom: 8%;
    display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px;
    background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-lg);
    rotate: 8deg;
}
.reader-mock .icon { width: 44px; height: 44px; }

/* Smart terminal grid */
.terminal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.terminal-group {
    padding: 1.5rem; border-radius: var(--radius-lg);
    background: var(--ink-50); border: 1px solid var(--ink-100);
}
.terminal-group h3 {
    display: flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-sans); font-size: 1rem; font-weight: 800; color: var(--blue-800);
    margin-bottom: 1rem;
}
.tile-grid { display: grid; gap: 0.6rem; }
.tile {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; border-radius: var(--radius-sm);
    background: var(--white); box-shadow: var(--shadow-sm);
    font-weight: 700; color: var(--ink-900);
    transition: transform var(--dur) var(--ease);
}
.tile:hover { transform: translateX(4px); }
.tile .icon { width: 22px; height: 22px; color: var(--blue-600); }

/* Logo pills & stacked benefit cards */
.logo-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.logo-pills span {
    padding: 0.65rem 1.3rem; border-radius: var(--radius-sm);
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
    font-weight: 800; color: var(--ink-900);
}
.stack-cards { display: grid; gap: 1rem; }
.benefit-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; }
.benefit-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.benefit-card p { margin: 0; color: var(--ink-500); font-size: 0.98rem; }

.benefit-list { display: grid; gap: 1.5rem; }
.benefit-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.benefit-list h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.benefit-list p { margin: 0; color: var(--ink-500); }

/* Bridge card */
.bridge-card {
    display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform 300ms var(--ease);
}
.bridge-card:hover { color: var(--white); transform: translateY(-3px); }
.bridge-card h2 { color: var(--white); font-size: var(--fs-xl); margin-bottom: 0.3rem; }
.bridge-card p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.bridge-arrow { margin-left: auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); flex-shrink: 0; }
.bridge-arrow .icon { transition: transform var(--dur) var(--ease); }
.bridge-card:hover .bridge-arrow .icon { transform: translateX(3px); }
@media (max-width: 600px) { .bridge-card .icon-badge { display: none; } }

/* Flow diagram (integration hero) */
.flow { display: grid; justify-items: center; gap: 0; }
.flow-node {
    display: flex; align-items: center; gap: 0.8rem; width: min(100%, 320px);
    padding: 1.1rem 1.3rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow);
    font-weight: 700; color: var(--ink-900);
}
.flow-node .icon { width: 26px; height: 26px; color: var(--blue-600); }
.flow-node-brand { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: var(--white); border: 0; }
.flow-node-brand .icon { color: var(--white); }
.flow-line { width: 2px; height: 32px; background: repeating-linear-gradient(180deg, var(--blue-400) 0 5px, transparent 5px 10px); }

/* Dark sections (security) */
.section-dark {
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(50% 60% at 85% 10%, rgba(0, 149, 235, 0.25), transparent 70%),
        linear-gradient(160deg, #06243a 0%, #003e5e 60%, var(--blue-800) 100%);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark h2 em { color: var(--ink-900); }
.section-dark .lead { color: rgba(255, 255, 255, 0.78); }
.card-dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.card-dark:hover { border-color: rgba(127, 208, 255, 0.45); box-shadow: none; }
.card-dark p { color: rgba(255, 255, 255, 0.75); }

.token-demo {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.token-step {
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    padding: 1rem 1.4rem; border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.token-step code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.98rem; color: var(--white); }
.token-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.token-step-brand { background: var(--blue-600); border-color: transparent; color: var(--white); }
.token-step-brand .icon { width: 28px; height: 28px; }
.token-step-brand .token-label { color: var(--white); }
.token-arrow { color: #7fd0ff; }
@media (max-width: 640px) {
    .token-demo { flex-direction: column; }
    .token-arrow { rotate: 90deg; }
}

/* Card Vault (premium) */
.vault {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
    padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-xl);
    color: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(40% 60% at 0% 0%, rgba(127, 208, 255, 0.22), transparent 70%),
        linear-gradient(150deg, #0b1b2b 0%, #06243a 45%, var(--blue-800) 100%);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(127, 208, 255, 0.2);
}
.vault h2 { color: var(--white); font-size: var(--fs-3xl); }
.vault .lead { color: rgba(255, 255, 255, 0.8); }
.premium-badge {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.25rem;
    padding: 0.4rem 0.9rem; border-radius: 999px;
    background: linear-gradient(90deg, #f5d27a, #e6b450); color: #3d2a00;
    font-size: var(--fs-sm); font-weight: 800;
}
.premium-badge .icon { width: 16px; height: 16px; fill: currentColor; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vault-grid li {
    display: flex; gap: 0.9rem; align-items: flex-start;
    padding: 1.25rem; border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.vault-grid .icon { width: 28px; height: 28px; color: #7fd0ff; }
.vault-grid h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 800; color: var(--white); margin-bottom: 0.25rem; }
.vault-grid p { margin: 0; font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 960px) { .vault { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .vault-grid { grid-template-columns: 1fr; } }

/* ---------- Partner tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.tier {
    position: relative; display: flex; flex-direction: column;
    padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-xl);
    background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier .icon-badge { margin-bottom: 1.25rem; }
.tier h3 { font-size: var(--fs-xl); margin-bottom: 0.35rem; }
.tier-tagline { color: var(--ink-500); }
.tier-stat {
    display: flex; flex-direction: column; gap: 0.1rem;
    padding: 1.1rem 1.25rem; border-radius: var(--radius); margin: 0.5rem 0 0.25rem;
    background: var(--tint-50);
}
.tier-stat strong { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1.05; color: var(--blue-800); }
.tier-stat span { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-500); }
.tier .check-list { flex: 1; align-content: start; }
.tier-btn { width: 100%; margin-top: auto; }

.tier-referral { border-top: 6px solid var(--blue-400); }
.tier-office { border-top: 6px solid #003e5e; }
.tier-office .icon-badge { background: rgba(0, 62, 94, 0.1); color: #003e5e; }
.tier-office .tier-stat { background: rgba(0, 62, 94, 0.07); }
.tier-office .tier-stat strong { color: #003e5e; }

.tier-agent {
    color: rgba(255, 255, 255, 0.85); border: 0;
    background: linear-gradient(160deg, var(--blue-600) 0%, var(--blue-800) 70%, #003e5e 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
}
.tier-agent:hover { transform: translateY(-16px); }
.tier-agent h3 { color: var(--white); }
.tier-agent .tier-tagline { color: rgba(255, 255, 255, 0.8); }
.tier-agent .tier-stat { background: rgba(255, 255, 255, 0.12); }
.tier-agent .tier-stat strong { color: var(--white); }
.tier-agent .tier-stat span { color: rgba(255, 255, 255, 0.8); }
.tier-flag {
    position: absolute; top: 1.4rem; right: 1.4rem;
    padding: 0.3rem 0.8rem; border-radius: 999px;
    background: var(--white); color: var(--blue-800);
    font-size: 0.8rem; font-weight: 800;
}
@media (max-width: 960px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .tier-agent, .tier-agent:hover { transform: none; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { padding: 2rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); }
.step-num {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
    border-radius: 50%; background: var(--blue-600); color: var(--white);
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-section { padding-bottom: 0; }
.cta-band {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-xl);
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 45%, var(--blue-800) 100%);
    box-shadow: var(--shadow-lg);
}
.cta-band::after {
    content: ""; position: absolute; width: 340px; aspect-ratio: 1; right: -120px; bottom: -180px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.1);
}
.cta-band-copy { position: relative; z-index: 1; max-width: 40rem; }
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; }
.cta-band-actions { position: relative; z-index: 1; }
@media (max-width: 600px) { .cta-band-actions, .cta-band-actions .btn { width: 100%; } }



/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-900);
    color: rgba(255, 255, 255, 0.75);
    padding-top: clamp(3.5rem, 7vw, 6rem);
    margin: var(--section-y) clamp(0.5rem, 1.5vw, 1.25rem) 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; max-width: 36ch; }
.footer-heading {
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 700; letter-spacing: 0;
    color: var(--white); margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a:not(.btn) { color: rgba(255, 255, 255, 0.8); }
.footer-col a:not(.btn):hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-block: 1.5rem;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.65);
}
.footer-bottom p { margin: 0; }

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .site-footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-form-card {
    max-width: 820px; margin-inline: auto;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1rem, 3vw, 2rem);
    overflow: hidden;
}
.contact-form-frame {
    display: block; width: 100%; min-height: 900px;
    border: 0; border-radius: var(--radius);
    background: var(--white);
}
.contact-form-fallback {
    margin: 1rem 0 0; text-align: center;
    font-size: var(--fs-sm); color: var(--ink-500);
}
.contact-form-fallback a { color: var(--blue-600); font-weight: 600; }

/* Team column beside the form */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.contact-layout .contact-form-card { max-width: none; margin-inline: 0; }
.contact-team h2 { margin-bottom: 1.25rem; }
.team-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
}
.team-photo {
    width: min(100%, 220px); aspect-ratio: 1;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    object-fit: cover; object-position: center 20%;
    box-shadow: 0 0 0 6px var(--tint-100);
}
.team-name { font-size: 1.3rem; color: var(--blue-600); margin-bottom: 0.3rem; }
.team-role { margin: 0; color: var(--ink-500); }
.team-contact {
    list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0;
    border-top: 1px solid var(--ink-100);
    display: grid; gap: 0.6rem;
}
.team-contact a {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--ink-700); font-weight: 600;
}
.team-contact a:hover { color: var(--blue-600); }
.team-contact .icon { color: var(--blue-600); width: 18px; height: 18px; }

/* Office / phone / email / hours list */
.contact-info {
    list-style: none; padding: 0; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    display: grid; gap: 1.25rem;
}
.contact-info li { display: flex; align-items: center; gap: 1rem; }
.contact-info .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.contact-info .icon-badge .icon { width: 22px; height: 22px; }
.contact-info strong { display: block; color: var(--ink-900); }
.contact-info span:not(.icon-badge), .contact-info a { color: var(--ink-500); }
.contact-info a:hover { color: var(--blue-600); }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-team { max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ---------- Integrated partners ---------- */
.partner-group + .partner-group { padding-top: clamp(3rem, 6vw, 5rem); }
.partner-grid {
    display: grid; gap: clamp(0.9rem, 2vw, 1.25rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
    list-style: none; padding: 0; margin: 0;
}
.partner-tile {
    display: grid; place-items: center; min-height: 110px;
    padding: 1.25rem; text-align: center;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.partner-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-200); }

/* Sliding partner rows */
.partner-marquee {
    overflow: hidden;
    padding-block: 0.75rem;   /* room for the hover lift + shadow */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partner-track {
    display: flex; gap: clamp(0.9rem, 2vw, 1.25rem);
    width: max-content;
    list-style: none; padding: 0; margin: 0;
    animation: marquee-to-left var(--marquee-duration, 40s) linear infinite;
}
.marquee-right .partner-track { animation-name: marquee-to-right; }
.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track { animation-play-state: paused; }
.partner-track .partner-tile { width: 200px; flex-shrink: 0; }
/* -50% moves exactly one copy of the list; the gap is split so the seam lines up */
@keyframes marquee-to-left {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - clamp(0.9rem, 2vw, 1.25rem) / 2)); }
}
@keyframes marquee-to-right {
    from { transform: translateX(calc(-50% - clamp(0.9rem, 2vw, 1.25rem) / 2)); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .partner-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
    .partner-track [aria-hidden="true"] { display: none; }
}
.partner-tile img { max-width: 100%; max-height: 56px; object-fit: contain; }
.partner-name {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink-700);
}

/* ---------- Home hero photo background ---------- */
.hero-photo {
    margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
    border-radius: var(--radius-xl);
    background-color: var(--ink-900);
    background-image:
        linear-gradient(180deg, rgba(11, 27, 43, 0.55) 0%, rgba(11, 27, 43, 0.30) 40%, rgba(11, 27, 43, 0.70) 100%),
        /* here we can test different images */
        url("assets/finalhero.png");
        /* url("assets/the-sun-drops-below-the-watery-horizon.jpg"); */
    background-size: cover;
    background-position: 70% 45%;   /* keeps the sun in frame on narrow screens */
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hero-photo .hero-swirl { display: none; }
.hero-photo h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-photo .hero-lead { color: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) { .hero-photo { border-radius: var(--radius-lg); } }

/* ---------- Photo band (reusable image slot) ----------
   <figure class="photo-band"><img src="..." alt="..."><figcaption>...</figcaption></figure> */
.photo-band {
    position: relative; margin: 0; overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: var(--ink-100);
}
.photo-band img {
    display: block; width: 100%;
    aspect-ratio: 21 / 9; object-fit: cover; object-position: center 45%;
}
.photo-band figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: linear-gradient(0deg, rgba(11, 27, 43, 0.75), transparent);
    color: var(--white); font-weight: 700;
    font-size: var(--fs-lg); letter-spacing: -0.01em;
}
@media (max-width: 700px) {
    .photo-band { border-radius: var(--radius-lg); }
    .photo-band img { aspect-ratio: 4 / 3; }
    .photo-band figcaption { font-size: 1rem; }
}
