:root:not([data-theme]),:root[data-theme="dark"]{--swish-bg:#28292b;--swish-panel:#121a2d;--swish-surface:#323336;--swish-surface-2:#3b3c3f;--swish-card:#323336;--swish-card-hover:#3a3b3e;--swish-text:#f5f5f5;--swish-muted:#b9b9b9;--swish-border:rgba(255,255,255,.08);--swish-header-bg:#0d1527;color-scheme:dark}

:root:not([data-theme]) .swish-site-main,:root:not([data-theme]) .swish-home-main,:root[data-theme="dark"] .swish-site-main,:root[data-theme="dark"] .swish-home-main{background:var(--swish-panel)}
:root:not([data-theme]) .swish-page-hero__overlay,:root[data-theme="dark"] .swish-page-hero__overlay{z-index:0;background:linear-gradient(90deg,rgba(3,6,11,.78),rgba(3,6,11,.18))}:root:not([data-theme]) .swish-page-hero::after,:root[data-theme="dark"] .swish-page-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,transparent calc(100% - var(--swish-interior-hero-gradient-depth,12%)),var(--swish-panel) 100%)}:root:not([data-theme]) .swish-page-hero__content,:root[data-theme="dark"] .swish-page-hero__content{z-index:2}

:root:not([data-theme]) .swish-home-hero__overlay,
:root[data-theme="dark"] .swish-home-hero__overlay {
    z-index: 0;
    background: linear-gradient(90deg, rgba(4, 6, 10, .76), rgba(4, 6, 10, .2) 60%, rgba(4, 6, 10, .32));
}

:root:not([data-theme]) .swish-home-hero::after,
:root[data-theme="dark"] .swish-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--swish-panel) 0%, transparent) 0%,
        color-mix(in srgb, var(--swish-panel) 8%, transparent) calc(var(--swish-home-hero-solid-start, 80%) * .25),
        color-mix(in srgb, var(--swish-panel) 22%, transparent) calc(var(--swish-home-hero-solid-start, 80%) * .5),
        color-mix(in srgb, var(--swish-panel) 48%, transparent) calc(var(--swish-home-hero-solid-start, 80%) * .75),
        color-mix(in srgb, var(--swish-panel) 76%, transparent) calc(var(--swish-home-hero-solid-start, 80%) * .9),
        var(--swish-panel) var(--swish-home-hero-solid-start, 80%),
        var(--swish-panel) 100%
    );
}

:root:not([data-theme]) .swish-home-hero__content,
:root[data-theme="dark"] .swish-home-hero__content {
    z-index: 2;
}


/* Dark-mode chrome surfaces. */
:root:not([data-theme]) .swish-site-footer,
:root[data-theme="dark"] .swish-site-footer {
    background: #0d1527;
}

/* Homepage cards use the same dark surfaces and borders as Swish HQ panels. */
:root:not([data-theme]) .swish-homepage,
:root[data-theme="dark"] .swish-homepage {
    --swish-card: #121a2d;
    --swish-card-hover: #16213a;
    --swish-border: #26324b;
}
