:root:has(> .a68-brand-page) { background: #000; }
.a68-brand-page {
    --brand-black: #000;
    --brand-card: #0a0a0a;
    --brand-border: #262626;
    --brand-text: #a3a3a3;
    --brand-accent: #0055ff;
    --brand-link: #99baff;
    --brand-section-wash: rgb(5 5 5 / 34%);
    --brand-panel-wash: rgb(10 10 10 / 76%);
    --brand-footer-wash: rgb(0 0 0 / 76%);
    --brand-title-size: clamp(2.85rem, 5vw, 4.5rem);
    --brand-content-gutter: clamp(2rem, 6vw, 5rem);
    --brand-hero-space: clamp(2.65rem, 6vw, 5.4rem);
    position: relative;
    isolation: isolate;
    margin: 0;
    background: var(--brand-black);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}
@media (max-width: 850px) {
    .a68-brand-page { --brand-title-size: clamp(2.15rem, 7.75vw, 3.4rem); }
}
.a68-brand-backdrop {
    --brand-grid-size: 40px;
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
    background:
        radial-gradient(ellipse at 62% 24%, rgb(0 76 255 / 17%), transparent 57%),
        radial-gradient(ellipse at 30% 82%, rgb(36 78 184 / 11%), transparent 55%),
        #000;
}
.a68-brand-backdrop::before,
.a68-brand-backdrop::after {
    content: "";
    position: absolute;
}
.a68-brand-backdrop::before {
    /* Calm static glow; the motion comes from the pointer swarm drawn on the canvas (site-nav.js). */
    inset: -20%;
    background:
        radial-gradient(ellipse 38% 32% at 60% 30%, rgb(0 85 255 / 15%), transparent 70%),
        radial-gradient(ellipse 30% 26% at 34% 70%, rgb(92 76 255 / 9%), transparent 72%);
}
.a68-brand-backdrop::after {
    inset: calc(-1 * var(--brand-grid-size));
    background-image:
        linear-gradient(rgb(150 180 235 / 7%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(150 180 235 / 7%) 1px, transparent 1px);
    background-size: var(--brand-grid-size) var(--brand-grid-size);
}
.a68-brand-backdrop canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.a68-brand-page :is(#product-hero, .a68-page-hero).bg-grid { background-image: none; }
.a68-brand-page > main > section.bg-brand-dark,
.a68-brand-page #how-it-works { background-color: var(--brand-section-wash); }
.a68-brand-page #demo.bg-brand-accent { background-color: rgb(0 85 255 / 84%); }
.a68-content-shell { width: min(100% - var(--brand-content-gutter), 76rem); margin-inline: auto; }
.a68-reading-shell { width: min(100% - var(--brand-content-gutter), 53rem); margin-inline: auto; }
.a68-page-hero { padding-block: var(--brand-hero-space); }
.a68-brand-page .a68-page-title {
    font-size: var(--brand-title-size);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.a68-brand-page :is(.mf-bank, .mf-tech, .mf-cases) {
    --mf-ink: #fff;
    --mf-muted: var(--brand-text);
    --mf-line: var(--brand-border);
    --mf-tint: var(--brand-section-wash);
    --mf-green: var(--brand-link);
}
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-hero { background: none; }
.a68-brand-page :is(.mf-bank, .mf-tech, .mf-cases) :is(h1, h2) { font-weight: 500; letter-spacing: -.05em; }
.a68-brand-page :is(.mf-bank, .mf-tech, .mf-cases) h1 {
    font-size: var(--brand-title-size);
    line-height: 1.05;
}
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-kicker { color: #99baff; }
.a68-brand-page :is(.mf-button, .a68-primary-action) {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    border-radius: .5rem;
    color: #fff;
    min-height: 48px;
}
.a68-brand-page :is(.mf-button, .a68-primary-action):hover { background: #0045d4; border-color: #0045d4; }
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-secondary { background: var(--brand-card); border-color: #666; }
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-secondary:hover { background: #1a1a1a; border-color: #aaa; }
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-card { background: var(--brand-card); }
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-cta {
    background: var(--brand-panel-wash);
    border-top: 1px solid var(--brand-border);
}
.a68-brand-page :is(.mf-bank, .mf-tech) .mf-cta p { color: var(--brand-text); }
.a68-brand-page :is(.mf-bank, .mf-tech) section[id] { scroll-margin-top: 5rem; }
.a68-back-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    margin-bottom: 1rem;
    color: var(--brand-link);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}
.a68-back-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.a68-brand-page :is(main, .case-detail-related) a:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 4px;
}
.a68-skip {
    position: fixed;
    z-index: 100;
    top: .5rem;
    left: .6rem;
    clip-path: inset(50%);
    padding: .55rem .8rem;
    background: #fff;
    color: #000;
}
.a68-skip:focus { clip-path: none; }
