/* Regulatory Compliance Analytics — design system */
:root {
    --blue: #0c0838;
    --blue-deep: #150e6b;
    --blue-ink: #0c0838;
    --gold: #af9959;
    --gold-light: #d8c68f;
    --brand-gradient: linear-gradient(100deg, #17133f 10%, #5b50ce 100%);
    --paper: #f7f6f2;
    --white: #ffffff;
    --ink: #16162a;
    --muted: #5c5c74;
    --line: #e3e1da;
    --radius: 4px;
    --shadow: 0 18px 50px -24px rgba(12, 8, 56, 0.45);
    --top-h: 54px;
    --head-h: 78px;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

h3 {
    font-size: 1.25rem;
}

.eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.eyebrow.on-dark {
    color: var(--gold-light);
}

.hero .eyebrow {
    position: relative;
    padding-top: 1.1rem;
    font-size: 0.62rem;
}

.hero .eyebrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--gold-light);
}

.page-banner .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0;
}

.page-banner .eyebrow::before {
    content: "";
    width: 56px;
    height: 2px;
    background: var(--gold-light);
    flex: none;
}

@media (max-width: 760px) {
    .hero .eyebrow::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.7rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: var(--blue-deep);
}

.btn-gold {
    background: var(--gold);
    color: #1a1405;
}

.btn-gold:hover {
    background: var(--gold-light);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--blue-ink);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    height: var(--top-h);
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    border-bottom: 1px solid rgba(175, 153, 89, 0.28);
}

.topbar .wrap {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.topbar-contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.15s;
}

.topbar a:hover {
    color: var(--gold-light);
}

.topbar-social {
    display: flex;
    justify-content: flex-end;
    gap: 0.9rem;
}

.topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    align-items: center;
    justify-content: center;
}

.topbar-social a:hover {
    border-color: var(--gold);
    background: rgba(175, 153, 89, 0.18);
}

.icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: none;
}

.language-switcher {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
    padding: 2px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
}

.language-option {
    flex: none;
    width: 29px;
    min-width: 29px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    font: 700 0.68rem var(--sans);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.language-option.active {
    background: var(--white);
    color: var(--blue-ink);
}

.language-option:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: var(--top-h);
    left: 0;
    right: 0;
    height: var(--head-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 55;
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px -18px rgba(12, 8, 56, 0.4);
}

.site-header .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
    width: auto;
}

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

.nav-footer {
    display: none;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0.4rem 0;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.22s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: var(--blue);
    font-weight: 600;
}

.nav .btn {
    color: #fff;
}

.nav .btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px;
    color: var(--blue);
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
    margin: 5px auto;
    width: 24px;
    transition: transform 0.25s, opacity 0.2s;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    padding-top: calc(var(--top-h) + var(--head-h));
}

/* ---------- Hero ---------- */
.hero {
    min-height: calc(100vh - var(--top-h) - var(--head-h));
    display: flex;
    align-items: center;
    background: var(--brand-gradient);
    color: #fff;
    padding: 5rem 0;
    position: relative;
}

.hero-inner {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.55rem);
    margin: 1rem 0 1.6rem;
    font-weight: 400;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-light);
}

.hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
    font-family: var(--serif);
    font-size: 2rem;
    display: block;
    color: var(--gold-light);
}

.hero-stats span {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.scroll-cue:hover {
    color: #fff;
}

.scroll-cue svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(7px);
        opacity: 0.5;
    }
}

/* ---------- Page banner ---------- */
.page-banner {
    background: var(--brand-gradient);
    color: #fff;
    padding: 4.5rem 0 4rem;
}

.page-banner h1 {
    font-size: clamp(2.7rem, 5.5vw, 4rem);
    font-weight: 400;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin-top: 1rem;
}

/* ---------- Sections ---------- */
section {
    padding: 5.5rem 0;
}

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

.section-head {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-head p {
    margin-top: 1rem;
    color: var(--muted);
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card .num {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.8rem;
}

.card h3 {
    margin-bottom: 0.7rem;
    color: var(--blue);
}

/* The title link stretches over the whole card so the entire card is clickable */
.card-link {
    color: inherit;
    text-decoration: none;
}

.card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Keyboard focus outlines the whole card rather than just the title */
.card:has(.card-link:focus-visible) {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.card-link:focus-visible {
    outline: none;
}

.card p {
    font-size: 0.94rem;
    color: var(--muted);
}

.card .from {
    display: block;
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: 0.88rem;
}

/* Founders block */
.media-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.frame {
    position: relative;
}

.frame::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

/* Home: custom solutions banner under the four solution cards */
.card-custom {
    margin-top: 1.6rem;
    background: var(--blue);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 2.2rem 2.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.card-custom-body {
    flex: 1 1 420px;
    max-width: 680px;
}

.card-custom h3 {
    color: #fff;
    margin-bottom: 0.7rem;
}

.card-custom-body > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.card-custom-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.card-custom-action p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.94rem;
}

/* ---------- Solutions page ---------- */
.solution {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.6rem;
    background: #fff;
    margin-bottom: 2rem;
    /* Keep footer links like solutions.html#aci clear of the fixed top bar and header */
    scroll-margin-top: calc(var(--top-h) + var(--head-h) + 1.5rem);
}

.solution-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.solution h2 {
    font-size: 1.8rem;
    color: var(--blue);
}

.solution .price-tag {
    font-family: var(--serif);
    font-size: 1.9rem;
    color: var(--blue-ink);
    white-space: nowrap;
}

.solution .price-tag small {
    display: block;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.solution p.desc {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 780px;
}

.feature-list {
    list-style: none;
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.94rem;
}

.feature-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Custom solutions: navy card that sets it apart from the four priced solutions */
.solution-custom {
    background: var(--blue);
    border-color: var(--blue);
    border-top: 3px solid var(--gold);
    color: #fff;
}

.solution-custom h2 {
    color: #fff;
}

.solution-custom p.desc {
    color: rgba(255, 255, 255, 0.78);
}

.custom-offer {
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(216, 198, 143, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.custom-offer-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 560px;
}

.custom-offer-text .badge {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.custom-offer-text p {
    color: rgba(255, 255, 255, 0.78);
}

.custom-offer-text strong {
    color: var(--gold-light);
    font-weight: 600;
}

.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tier {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    background: var(--paper);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tier:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tier.featured {
    background: var(--blue-ink);
    color: #fff;
    border-color: var(--blue-ink);
}

.tier.featured .tier-price {
    color: var(--gold-light);
}

.tier.featured ul li {
    color: rgba(255, 255, 255, 0.82);
}

.tier-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tier-name {
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--gold);
}

.tier-price {
    font-family: var(--serif);
    font-size: 2.1rem;
    margin: 0.6rem 0 1rem;
    color: var(--blue);
}

.tier ul {
    list-style: none;
    font-size: 0.9rem;
}

.tier ul li {
    padding: 0.35rem 0 0.35rem 1.4rem;
    position: relative;
    color: var(--muted);
}

.tier ul li::before {
    content: "\2013";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gold);
    color: #1a1405;
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

/* Onboarding steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 3.6rem;
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--blue);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.3rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ---------- About ---------- */
.owner img {
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    object-fit: cover;
    /* Portraits are 2:3; keep heads in frame when cropped */
    object-position: 50% 20%;
    width: 100%;
    height: auto;
}

.owner h3 {
    margin-top: 1.4rem;
    color: var(--blue);
}

.owner .role {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.owner p {
    font-size: 0.94rem;
    color: var(--muted);
}

.timeline {
    border-left: 2px solid var(--line);
    margin-top: 2.5rem;
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2.2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #fff;
}

.timeline-item .year {
    font-family: var(--serif);
    color: var(--blue);
    font-size: 1.2rem;
}

.timeline-item p {
    color: var(--muted);
    margin-top: 0.3rem;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

form.rca-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
}

.field {
    margin-bottom: 1.2rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

label .req {
    color: var(--gold);
}

input,
select,
textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

input,
select {
    height: 48px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(38, 26, 183, 0.12);
}

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

.error-msg {
    display: none;
    color: #b0203c;
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
    border-color: #b0203c;
}

.field.invalid .error-msg {
    display: block;
}

.form-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 1rem;
}

.form-success {
    display: none;
    background: rgba(38, 26, 183, 0.06);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    color: var(--blue);
}

.form-success.show {
    display: block;
}

.info-block {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    background: #fff;
}

.info-block h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--blue);
}

.info-line {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.93rem;
    color: var(--muted);
    padding: 0.35rem 0;
}

.info-line svg {
    fill: var(--gold);
    margin-top: 4px;
}

.social-row {
    display: flex;
    gap: 0.8rem;
}

.social-row a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-ink);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.social-row a:hover {
    background: var(--gold);
    color: #1a1405;
    transform: translateY(-3px);
}

.social-row svg {
    width: 18px;
    height: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(180deg, rgb(89, 78, 200), var(--blue-ink));
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    font-weight: 400;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 1rem auto 2rem;
}

/* ---------- Footer ---------- */
footer {
    background: var(--blue-ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

footer h4 {
    font-family: var(--serif);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

footer ul {
    list-style: none;
}

footer li {
    padding: 0.3rem 0;
}

footer a:hover {
    color: var(--gold-light);
}

.footer-logo {
    height: 54px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-language {
    margin-top: 1.25rem;
}

.footer-language>span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

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

    .frame::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
    }

    .menu-toggle.open {
        color: var(--white);
    }

    body.menu-open {
        overflow: hidden;
    }

    .topbar {
        transition: transform 0.25s ease;
    }

    body.topbar-hidden .topbar {
        transform: translateY(-100%);
    }

    .site-header {
        transition: top 0.25s ease, box-shadow 0.25s ease;
    }

    body.topbar-hidden .site-header {
        top: 0;
    }

    .nav {
        /* The header's backdrop-filter creates a containing block in some browsers,
       so offset by the topbar height when it is visible so the menu still
       covers the full viewport from top to bottom. */
        position: fixed;
        top: calc(-1 * var(--top-h));
        left: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 1;
        background: var(--blue-ink);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: calc(var(--head-h) + 1.5rem) 8% 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    body.topbar-hidden .nav {
        top: 0;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav>a {
        width: 100%;
        padding: 1.05rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        font-family: var(--serif);
        font-size: 1.7rem;
        font-weight: 700;
        color: #fff;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease;
    }

    .nav.open>a {
        opacity: 1;
        transform: none;
    }

    .nav.open>a:nth-of-type(1) {
        transition-delay: 0.06s;
    }

    .nav.open>a:nth-of-type(2) {
        transition-delay: 0.12s;
    }

    .nav.open>a:nth-of-type(3) {
        transition-delay: 0.18s;
    }

    .nav.open>a:nth-of-type(4) {
        transition-delay: 0.24s;
    }

    .nav>a::after {
        display: none;
    }

    .nav>a:hover {
        color: var(--gold-light);
    }

    .nav>a.active {
        color: var(--gold-light);
    }

    .nav .btn {
        margin-top: 1rem;
        border-bottom: 0;
        text-align: center;
    }

    .nav-footer {
        display: block;
        margin-top: auto;
        padding-top: 2rem;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.9rem;
    }

    .nav-footer .nav-copy {
        font-size: 0.72rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.55);
    }

    .topbar {
        font-size: 0.68rem;
    }

    .topbar .wrap {
        width: 96%;
        display: flex;
        gap: 0.35rem;
    }

    .topbar .language-switcher {
        margin-right: auto;
    }

    .topbar-contact {
        gap: 0.35rem;
    }

    .topbar-contact a {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.22);
        align-items: center;
        justify-content: center;
    }

    .topbar-contact a:hover {
        border-color: var(--gold);
        background: rgba(175, 153, 89, 0.18);
    }

    .topbar-contact a span {
        display: none;
    }

    .topbar-contact .icon {
        display: block;
        width: 13px;
        height: 13px;
    }

    .topbar-social {
        gap: 0.35rem;
    }

    .topbar-social a {
        width: 26px;
        height: 26px;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        line-height: 1.35;
    }

    .hero-inner {
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .hero-stats strong {
        font-size: 1.7rem;
    }

    .hero-stats span {
        display: block;
        font-size: 0.68rem;
    }

    .page-banner .wrap {
        text-align: center;
    }

    .page-banner .eyebrow::before {
        display: none;
    }

    .page-banner p {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-list,
    .field-row {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        gap: 1.8rem;
    }

    .solution {
        padding: 1.6rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .owner {
        text-align: center;
    }

    .owner img {
        max-height: 320px;
        object-fit: cover;
    }

    .media-photo {
        max-height: 280px;
        object-fit: cover;
    }
}