/* wwwroot/css/site.css - KLUBBREKORDER-like layout system */

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Italic-Variable.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

h1:focus-visible,
h2:focus-visible,
h3:focus-visible,
h4:focus-visible,
h5:focus-visible,
h6:focus-visible {
    outline: 2px solid #0B4FAE;
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid #0B4FAE;
    outline-offset: 3px;
    border-radius: 2px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0B4FAE;
    outline-offset: 2px;
}

.btnx:focus-visible {
    outline: 2px solid #0B4FAE;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(11, 79, 174, 0.18);
}

/* Layout tokens */
:root {
    --hero-height: clamp(280px, 34vh, 480px);
    --topbar-height: 64px;
    --app-bg: #eef3fa;
    --surface-0: rgba(255, 255, 255, 0.98);
    --surface-1: rgba(255, 255, 255, 0.94);
    --surface-2: rgba(248, 251, 255, 0.94);
    --surface-border: rgba(15, 23, 42, 0.08);
    --surface-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --brand-500: #0b4fae;
    --brand-600: #0a4598;
    --brand-700: #083b83;
    --text-strong: #0f172a;
    --text-muted: #5b6b84;
}

/* Base */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: radial-gradient(1400px 420px at 50% -5%, rgba(59, 130, 246, 0.10), transparent 55%), var(--app-bg);
    color: var(--text-strong);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

* {
    box-sizing: border-box;
}

/* Shell layers */
.app-shell {
    min-height: 100%;
    position: relative;
}

/* This is the LIGHT surface that starts AFTER the hero */
.hero-surface {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--hero-height);
    bottom: 0;
    background: var(--app-bg);
    z-index: 0;
}

/* Main content sits above background layers */
.app-main {
    position: relative;
    z-index: 1;
}

/* Content width */
.app-container {
    max-width: 1180px;
    margin: 0 auto;
    /* Important: only clear the navbar, NOT the hero height */
    padding: calc(var(--topbar-height) + 18px) 20px 52px;
}

/* --- HERO BAND BACKGROUND (PHOTO + OVERLAY) --- */
/* Absolute (not fixed) => scrolls with the page */
.hero-band {
    position: absolute;
    left: 0;
    right: 0;
    top: 0; /* hero starts at y=0 */
    height: var(--hero-height);
    z-index: 0;
    pointer-events: none;
    background-image: url("../images/hero-swimmer-1920.jpg");
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.hero-band__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(820px 320px at 22% 2%, rgba(255,255,255,0.08), transparent 56%), linear-gradient(95deg, rgba(1,10,28,0.80) 0%, rgba(1,16,38,0.48) 42%, rgba(1,16,38,0.18) 100%), linear-gradient(180deg, rgba(2,10,26,0.08) 0%, rgba(2,10,26,0.40) 62%, rgba(238,243,250,1) 100%);
}

/* subtle texture */
.hero-band__noise {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    background-image: url("../images/noise.svg");
    background-size: 240px 240px;
    mix-blend-mode: overlay;
}

/* --- PAGE HERO BLOCK (USE ON PAGES THAT NEED A HERO) --- */
.page-hero {
    padding: 10px 22px 22px;
    max-width: 760px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(2, 12, 30, 0.56), rgba(2, 18, 42, 0.30));
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 54px rgba(0,0,0,0.18);
}

.page-hero__title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(2.5rem, 5.4vw, 4.5rem);
    line-height: 1.0;
    color: #fff;
    text-shadow: 0 14px 42px rgba(0,0,0,0.34);
}

.page-hero__lead {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    line-height: 1.7;
    max-width: 54ch;
    text-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.page-hero__cta {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons (primary + secondary) */
.btnx {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}

.btnx:hover {
    transform: translateY(-1px);
}

.btnx:disabled,
.btnx[aria-disabled="true"] {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btnx--primary {
    background: linear-gradient(135deg, #ffb347, #ff922e);
    color: #0b1220;
    box-shadow: 0 14px 30px rgba(255, 146, 46, 0.26);
}

.btnx--ghost {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.btnx--brand {
    background: linear-gradient(135deg, var(--brand-500), #1a63d0);
    color: #fff;
    border-color: rgba(11, 79, 174, 0.10);
    box-shadow: 0 14px 28px rgba(11, 79, 174, 0.18);
}

.btnx--brand:hover {
    color: #fff;
    box-shadow: 0 18px 34px rgba(11, 79, 174, 0.24);
}

.btnx--outline {
    background: rgba(255, 255, 255, 0.84);
    color: var(--brand-500);
    border-color: rgba(11, 79, 174, 0.20);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.btnx--outline:hover {
    color: var(--brand-600);
    border-color: rgba(11, 79, 174, 0.28);
    background: rgba(11, 79, 174, 0.08);
}

.btnx--neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #1f2937;
    border-color: rgba(100, 116, 139, 0.26);
}

.btnx--neutral:hover {
    background: rgba(148, 163, 184, 0.24);
    color: #0f172a;
}

.btnx--danger {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.24);
}

.btnx--danger:hover {
    background: rgba(220, 38, 38, 0.18);
    color: #7f1d1d;
}

.btnx--success {
    background: rgba(16, 185, 129, 0.14);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.26);
}

.btnx--success:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #064e3b;
}

.btnx--warning {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.3);
}

.btnx--warning:hover {
    background: rgba(245, 158, 11, 0.24);
    color: #78350f;
}

.btnx--info {
    background: rgba(14, 116, 144, 0.14);
    color: #0f4c81;
    border-color: rgba(14, 116, 144, 0.28);
}

.btnx--info:hover {
    background: rgba(14, 116, 144, 0.22);
    color: #0b3d66;
}

.btnx--light {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.btnx--light:hover {
    background: #fff;
    color: #020617;
}

.btnx-link {
    border: 0;
    background: transparent;
    color: var(--brand-500);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btnx-link:hover {
    color: var(--brand-600);
}

.btnx-link:disabled,
.btnx-link[aria-disabled="true"] {
    opacity: 0.6;
}

.btnx-link--sm {
    font-size: 13px;
}

.btn-check:checked + .btnx.btnx--outline {
    background: linear-gradient(135deg, var(--brand-500), #1a63d0);
    color: #fff;
    border-color: rgba(11, 79, 174, 0.34);
}

.btn-group {
    gap: 8px;
}

.btn-group > .btnx {
    border-radius: 12px !important;
}

.btnx--sm {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* --- SECTIONS --- */
.section {
    margin-top: 18px;
}

.section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.section__title {
    margin: 0;
    font-size: 20px;
    font-weight: 850;
    color: #0b1220;
}

.section__subtitle {
    margin: 4px 0 0;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
}

.section__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- SUMMARY CARDS ROW --- */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 980px) {
    .kpi-row {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.kpi-card__title {
    font-weight: 850;
    color: #0b1220;
    margin: 0;
    font-size: 14px;
}

.kpi-card__meta {
    margin-top: 6px;
    color: #334155;
    font-weight: 650;
    font-size: 13px;
}

/* --- HOMEPAGE CARDS --- */
.home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1100px) {
    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

.home-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,251,255,0.94));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.home-card__header {
    display: grid;
    gap: 8px;
}

.home-card__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(11, 79, 174, 0.08);
    color: #0b4fae;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-card__title {
    margin: 0;
    color: #0b1220;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}

.home-card__body {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.home-card__actions {
    margin-top: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 980px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 18px 42px rgba(15,23,42,0.07);
}

.feature-card__title {
    margin: 0;
    color: #0b1220;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.25;
}

.feature-card__body {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.feature-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
    .page-hero {
        animation: page-enter-fade-up .56s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    }

    .athletes-page__hero,
    .meets-page__hero,
    .clubs-page__hero,
    .meet-results-page__hero {
        animation: page-enter-fade-up .52s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    }

    .athletes-page__results,
    .meets-page__results,
    .clubs-page__results,
    .meet-results-page__content {
        animation: page-enter-fade-up .56s cubic-bezier(0.2, 0.85, 0.2, 1) both;
        animation-delay: .08s;
    }

    .section {
        animation: page-enter-fade-up .56s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    }

    .section:nth-of-type(2) {
        animation-delay: .06s;
    }

    .section:nth-of-type(3) {
        animation-delay: .12s;
    }

    .home-card {
        animation: page-enter-fade-up .46s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    }

    .home-card:nth-child(1) {
        animation-delay: .08s;
    }

    .home-card:nth-child(2) {
        animation-delay: .14s;
    }

    .home-card:nth-child(3) {
        animation-delay: .2s;
    }

    .feature-card {
        animation: page-enter-fade-up .48s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    }

    .feature-card:nth-child(1) {
        animation-delay: .16s;
    }

    .feature-card:nth-child(2) {
        animation-delay: .22s;
    }

    .feature-card:nth-child(3) {
        animation-delay: .28s;
    }
}

@keyframes page-enter-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- TOOLBAR: TABS + SEARCH --- */
.toolbar {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(15,23,42,0.04);
    border: 1px solid rgba(15,23,42,0.06);
}

.tab {
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    color: #0b1220;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.tab--active {
    background: #0b4fae;
    color: #fff;
    box-shadow: 0 12px 28px rgba(11,79,174,0.22);
}

.search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
    min-width: 280px;
}

    .search input {
        border: 0;
        outline: none;
        background: transparent;
        width: 100%;
        font-weight: 700;
        color: #0b1220;
    }

/* --- TABLE CARD --- */
.table-card {
    margin-top: 12px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
    overflow: hidden;
}

.tablex {
    width: 100%;
    border-collapse: collapse;
}

    .tablex th, .tablex td {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(15,23,42,0.06);
        font-size: 13px;
    }

    .tablex th {
        text-align: left;
        color: #64748b;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .tablex tr:hover td {
        background: rgba(58,160,255,0.06);
    }

/* --- SPLIT LAYOUT + DETAILS PANEL --- */
.split {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
    align-items: start;
}

@media (max-width: 1100px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.panel {
    position: sticky;
    top: calc(var(--topbar-height) + 18px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 18px 44px rgba(15,23,42,0.10);
    background: rgba(255,255,255,0.92);
}

.panel__hero {
    padding: 14px;
    background: radial-gradient(460px 220px at 30% 0%, rgba(58,160,255,0.22), transparent 60%), linear-gradient(135deg, rgba(4,18,40,0.92), rgba(7,30,68,0.86));
    color: #fff;
}

.panel__title {
    margin: 0;
    font-size: 16px;
    font-weight: 850;
}

.panel__body {
    padding: 14px;
}

.panel__meta {
    color: #334155;
    font-weight: 650;
    font-size: 13px;
}

/* --- SHARED BOOTSTRAP MODERNIZATION --- */
.card {
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--surface-0), var(--surface-2));
    box-shadow: var(--surface-shadow);
}

.card-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(248, 250, 252, 0.88);
}

.card-body {
    padding: 18px;
}

.card-title {
    color: #0b1220;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.form-control,
.form-select {
    min-height: 44px;
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.32);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.form-control-sm,
.form-select-sm {
    min-height: 36px;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11, 79, 174, 0.28);
    box-shadow: 0 0 0 3px rgba(11, 79, 174, 0.10);
}

.form-label {
    margin-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.alert {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.alert-success {
    background: rgba(22, 163, 74, 0.09);
    border-color: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.14);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.11);
    border-color: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

.alert-info {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.14);
    color: #075985;
}

.modal-content {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.22);
}

.modal-header,
.modal-footer {
    border-color: rgba(15, 23, 42, 0.06);
}

.modal-header {
    padding: 16px 18px;
    background: rgba(248, 250, 252, 0.92);
}

.modal-body,
.modal-footer {
    padding: 18px;
}

.modal-title {
    color: #0b1220;
    font-weight: 800;
}

.progress {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.progress-bar {
    font-weight: 700;
}

pre {
    border-radius: 14px;
}

/* Global fallback for nav links in case CSS isolation does not land consistently.
   This keeps the header from regressing to browser-default blue underlined anchors. */
.topbar a,
.topbar a:visited,
.topbar a:hover,
.topbar a:active,
.topbar a:focus {
    text-decoration: none !important;
}

.topbar .topbar__brand,
.topbar .topbar__brand:visited,
.topbar .topbar__brand:hover,
.topbar .topbar__brand:active,
.topbar .topbar__brand:focus,
.topbar .topbar__brand.active {
    color: #ffffff !important;
}

.topbar .topbar__link,
.topbar .topbar__link:visited,
.topbar .topbar__link:hover,
.topbar .topbar__link:active,
.topbar .topbar__link:focus,
.topbar .topbar__link.active,
.topbar .topbar__link--active {
    color: rgba(255, 255, 255, 0.86) !important;
}

.topbar .topbar__link:hover,
.topbar .topbar__link:focus,
.topbar .topbar__link.active,
.topbar .topbar__link--active {
    color: #ffffff !important;
}

.topbar .topbar__actions .nav-link,
.topbar .topbar__actions .nav-link:visited,
.topbar .topbar__actions .nav-link:hover,
.topbar .topbar__actions .nav-link:active,
.topbar .topbar__actions .nav-link:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

.is-scrolled .topbar {
    background: linear-gradient(180deg, rgba(2, 10, 26, 0.88), rgba(2, 10, 26, 0.72)) !important;
    border-bottom-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 12px 34px rgba(2, 10, 26, 0.28);
}

.page-loading-skeleton {
    display: grid;
    gap: 14px;
    width: min(680px, 100%);
}

.page-loading-skeleton__line {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(228, 239, 249, 0.78) 20%, rgba(212, 226, 238, 0.96) 50%, rgba(228, 239, 249, 0.78) 80%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.35s linear infinite;
}

.page-loading-skeleton__line--title {
    height: 20px;
    width: min(320px, 72%);
}

.page-loading-skeleton__line--body {
    width: min(460px, 100%);
}

.page-loading-skeleton__line--body-short {
    width: min(340px, 84%);
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- FOOTER --- */
.app-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.96));
}

.app-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    color: #4e5f79;
    font-weight: 550;
}

.app-footer__brand {
    display: grid;
    gap: 4px;
}

.app-footer__title {
    color: #0f172a;
    font-weight: 800;
}

.app-footer__subtitle {
    color: #5b6b84;
    font-size: 13px;
}

.app-footer__links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.app-footer__link {
    color: #0b4fae;
    text-decoration: none;
    font-weight: 800;
}

    .app-footer__link:hover {
        text-decoration: underline;
    }

@media (max-width: 760px) {
    .app-footer__inner {
        align-items: stretch;
        flex-direction: column;
    }
}
