:root {
    color-scheme: dark;
    --bg: #050504;
    --bg2: #090806;
    --surface: #14120d;
    --surface2: #1a1812;
    --border: #3a3731;
    --border-soft: #29251c;
    --gold: #c99716;
    --gold-light: #e9c653;
    --text: #f5f1e8;
    --muted: #a39f95;
    --muted2: #7d7970;
    --ok: #32d583;
    --warn: #f5b942;
    --error: #f05252;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; }
a { color: inherit; }
button { font: inherit; }
.qt-screen { position: fixed; inset: 0; width: 100%; height: 100%; background: var(--bg); }
.fallback-root { min-height: 100vh; background: radial-gradient(circle at 22% 16%, rgba(201,151,22,.16), transparent 32%), var(--bg); }
.shell-header { position: sticky; top: 0; z-index: 50; height: 72px; display: grid; grid-template-columns: minmax(150px,1fr) auto minmax(150px,1fr); align-items: center; gap: 18px; padding: 0 22px; background: rgba(14,13,10,.96); border-bottom: 1px solid #302c23; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; }
.brand-title { font-size: 15px; font-weight: 750; }
.brand-sub { font-size: 8px; letter-spacing: 1.1px; color: var(--gold-light); text-transform: uppercase; }
.nav-pill { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--border-soft); border-radius: 13px; background: #090806; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; color: #cbc7bc; text-decoration: none; font-size: 10px; transition: .16s ease; }
.nav-link:hover { color: var(--text); background: #29251c; }
.nav-link.active { color: var(--gold-light); border-color: #88630b; background: #2c1d00; view-transition-name: younglion-nav-active; }
.nav-link img { width: 15px; height: 15px; opacity: .9; }
.account-slot { justify-self: end; min-width: 0; }
.account-link { min-height: 46px; max-width: 230px; padding: 5px 10px 5px 6px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #88630b; border-radius: 11px; color: var(--gold-light); background: rgba(201,151,22,.05); text-decoration: none; transition: background .15s ease,border-color .15s ease,transform .12s ease; }
.account-link:hover { background: #29251c; border-color: #c99716; }
.account-link:active { transform: scale(.985); }
.account-link.signed-in { color: var(--text); border-color: var(--border-soft); background: transparent; }
.account-avatar { width: 34px; height: 34px; flex: 0 0 34px; object-fit: cover; border-radius: 50%; border: 1px solid #88630b; background: var(--surface2); }
.account-avatar.fallback { display: grid; place-items: center; }
.account-avatar.fallback img { width: 17px; height: 17px; border: 0; border-radius: 0; background: transparent; }
.account-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.15; }
.account-copy strong,.account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { color: inherit; font-size: 11px; font-weight: 700; }
.account-copy small { color: var(--muted2); font-size: 8px; font-weight: 500; }
.account-chevron { width: 11px; height: 11px; flex: 0 0 11px; opacity: .72; }
.page { min-height: calc(100vh - 72px); }
.hero { min-height: 430px; display: grid; place-items: center; border-bottom: 1px solid #302c23; }
.hero-inner, .section-inner { width: min(1440px, calc(100% - 112px)); margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 12px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(38px,5vw,62px); line-height: .98; letter-spacing: -.03em; }
.lead { max-width: 760px; margin: 24px 0 0; color: #cbc7bc; font-size: 16px; line-height: 1.55; }
.gold-rule { width: 72px; height: 3px; margin-top: 24px; border-radius: 2px; background: var(--gold); }
.hero-mark { width: 320px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201,151,22,.28); background: rgba(201,151,22,.03); }
.hero-mark img { width: 74%; height: 74%; object-fit: contain; }
.section { padding: 68px 0; background: var(--bg); }
.section.alt { background: var(--bg2); }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(28px,4vw,36px); line-height: 1.1; }
.section-head p { max-width: 780px; margin: 10px 0 0; color: #cbc7bc; font-size: 14px; line-height: 1.55; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); border-color: #a87c10; background: var(--surface2); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(201,151,22,.28); border-radius: 11px; background: rgba(201,151,22,.06); }
.card-icon img { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #cbc7bc; font-size: 12px; line-height: 1.5; }
.card-meta { margin-top: 18px; color: var(--muted); font-size: 10px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.status-dot.warn { background: var(--warn); }
.status-dot.error { background: var(--error); }
.status-dot.info { background: #38bdf8; }
.status-copy { min-width: 0; flex: 1; }
.status-copy strong { display: block; font-size: 12px; }
.status-copy span { color: var(--muted); font-size: 10px; }
.status-state { font-size: 10px; color: #a6f4c5; }
.status-state.warn { color: #fce3a4; }
.status-state.error { color: #ffb4b9; }
.status-state.info { color: #afe8ff; }
.legal { max-width: 1040px; padding: 30px; margin: 0 auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: #cbc7bc; line-height: 1.62; font-size: 13px; }
.legal h1,.legal h2,.legal h3 { color: var(--text); line-height: 1.2; }
.legal h1 { font-size: 30px; }.legal h2 { margin-top: 30px; font-size: 20px; }.legal h3 { font-size: 16px; }
.legal li { margin: 7px 0; }
.shell-footer { border-top: 1px solid #302c23; padding: 34px 0; background: #000; }
.footer-inner { width: min(1440px, calc(100% - 112px)); margin: 0 auto; display: grid; gap: 20px; }
.footer-top { display: flex; align-items: center; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-links { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #a39f95; font-size: 10px; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 16px; border-top: 1px solid #29251c; color: #7d7970; font-size: 9px; }
.loading { min-height: calc(100vh - 72px); display: grid; place-items: center; color: var(--muted); }
.loading-mark { width: 62px; height: 62px; margin: 0 auto 16px; animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); opacity: .76; } }
@media (max-width: 1180px) {
    .nav-link span { display: none; }
    .nav-link { width: 42px; justify-content: center; padding: 0; }
    .hero-grid { grid-template-columns: 1fr 290px; gap: 40px; }
}
@media (max-width: 1040px) {
    .shell-header { height: 108px; grid-template-columns: 1fr auto; grid-template-rows: 52px 44px; align-content: center; gap: 0 12px; padding: 0 18px; }
    .nav-pill { grid-column: 1 / -1; width: 100%; overflow-x: auto; justify-self: stretch; scrollbar-width: none; }
    .nav-pill::-webkit-scrollbar { display: none; }
    .brand-copy { display: none; }
    .hero-inner,.section-inner,.footer-inner { width: min(100% - 56px, 1440px); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-mark { display: none; }
    .hero { min-height: 400px; }
    .section { padding: 58px 0; }
    .grid,.grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .shell-header { height: 104px; padding: 0 12px; grid-template-rows: 50px 42px; }
    .brand img { width: 36px; height: 36px; }
    .account-link { width: 42px; min-height: 42px; padding: 3px; justify-content: center; }
    .account-link .account-copy,.account-link .account-chevron { display: none; }
    .account-avatar { width: 32px; height: 32px; flex-basis: 32px; }
    .hero { min-height: 360px; }
    .hero-inner,.section-inner,.footer-inner { width: min(100% - 32px, 1440px); }
    .section { padding: 48px 0; }
    h1 { font-size: clamp(34px, 11vw, 42px); }
    .lead { font-size: 14px; line-height: 1.5; }
    .grid,.grid.four { grid-template-columns: 1fr; }
    .legal { padding: 20px; }
    .footer-top { align-items: flex-start; flex-direction: column; }
    .footer-links { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Bootstrap splash
   -------------------------------------------------------------------------- */
.qt-loading {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 46%, rgba(201,151,22,.14), transparent 28%),
        #050504;
    transition: opacity .22s ease, visibility .22s ease;
}
.qt-loading[hidden] {
    display: none;
}
.qt-loading-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
}
.qt-loading-mark {
    position: relative;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    animation: yl-loader-enter .55s cubic-bezier(.16,1,.3,1) both;
}
.qt-loading-mark img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    animation: yl-loader-breathe 2.1s ease-in-out .45s infinite;
}
.qt-loading-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,151,22,.24);
    border-radius: 50%;
}
.qt-loading-ring-inner {
    inset: 15px;
    border-color: rgba(221,175,43,.36);
    animation: yl-loader-ring 2.4s ease-in-out infinite;
}
.qt-loading-ring-outer {
    animation: yl-loader-ring 2.4s ease-in-out .3s infinite reverse;
}
.qt-loading-label {
    color: #a39f95;
    font-size: 11px;
    letter-spacing: .04em;
    animation: yl-loader-fade .6s ease .18s both;
}

/* --------------------------------------------------------------------------
   WebGL-free fallback motion. This path uses only DOM/CSS/JS and does not
   depend on WebGL. It intentionally mirrors the restrained QML motion language.
   -------------------------------------------------------------------------- */
.fallback-root:not([hidden]) .shell-header {
    animation: yl-header-enter .42s cubic-bezier(.16,1,.3,1) both;
}
.fallback-root:not([hidden]) .hero .eyebrow,
.fallback-root:not([hidden]) .hero h1,
.fallback-root:not([hidden]) .hero .gold-rule,
.fallback-root:not([hidden]) .hero .lead {
    opacity: 0;
    transform: translateX(28px);
    animation: yl-hero-copy .62s cubic-bezier(.16,1,.3,1) forwards;
}
.fallback-root:not([hidden]) .hero .eyebrow { animation-delay: .08s; }
.fallback-root:not([hidden]) .hero h1 { animation-delay: .14s; }
.fallback-root:not([hidden]) .hero .gold-rule { animation-delay: .22s; }
.fallback-root:not([hidden]) .hero .lead { animation-delay: .28s; }
.fallback-root:not([hidden]) .hero-mark {
    opacity: 0;
    transform: scale(.96);
    animation: yl-hero-mark .52s cubic-bezier(.16,1,.3,1) .06s forwards;
}
.fallback-root:not([hidden]) .hero-mark::before,
.fallback-root:not([hidden]) .hero-mark::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(201,151,22,.18);
    border-radius: 50%;
    pointer-events: none;
}
.hero-mark {
    position: relative;
}
.fallback-root:not([hidden]) .hero-mark::before {
    inset: -26px;
    animation: yl-ambient-ring 5.2s ease-in-out 1s infinite;
}
.fallback-root:not([hidden]) .hero-mark::after {
    inset: 24px;
    animation: yl-ambient-ring 5.2s ease-in-out 1.35s infinite reverse;
}
.fallback-root:not([hidden]) .hero-mark img {
    animation: yl-logo-breathe 6s ease-in-out 1.1s infinite; will-change: transform;
}

.js-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .56s cubic-bezier(.16,1,.3,1),
        transform .56s cubic-bezier(.16,1,.3,1);
}
.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.js-reveal .card,
.js-reveal .status-row {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity .46s ease,
        transform .46s cubic-bezier(.16,1,.3,1),
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}
.js-reveal.is-visible .card,
.js-reveal.is-visible .status-row {
    opacity: 1;
    transform: translateY(0);
}
.js-reveal.is-visible .card:nth-child(2),
.js-reveal.is-visible .status-row:nth-child(2) { transition-delay: .055s; }
.js-reveal.is-visible .card:nth-child(3),
.js-reveal.is-visible .status-row:nth-child(3) { transition-delay: .11s; }
.js-reveal.is-visible .card:nth-child(4),
.js-reveal.is-visible .status-row:nth-child(4) { transition-delay: .165s; }
.js-reveal.is-visible .card:nth-child(5),
.js-reveal.is-visible .status-row:nth-child(5) { transition-delay: .22s; }
.js-reveal.is-visible .card:nth-child(6),
.js-reveal.is-visible .status-row:nth-child(6) { transition-delay: .275s; }

.nav-link,
.account-link,
.card,
.footer-links a,
.brand img {
    will-change: transform;
}
.brand:hover img {
    transform: scale(1.035);
}
.brand img {
    transition: transform .18s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover {
    transform: translateY(-1px);
}
.nav-link:active {
    transform: translateY(0) scale(.985);
}
.card:active {
    transform: translateY(-1px) scale(.995);
}

@keyframes yl-loader-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes yl-loader-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: .84; }
}
@keyframes yl-loader-ring {
    0%, 100% { transform: scale(.96); opacity: .5; }
    50% { transform: scale(1.04); opacity: 1; }
}
@keyframes yl-loader-fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes yl-header-enter {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes yl-hero-copy {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes yl-hero-mark {
    from { opacity: 0; transform: scale(.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes yl-ambient-ring {
    0%, 100% { transform: scale(1); opacity: .38; }
    50% { transform: scale(1.018); opacity: .72; }
}
@keyframes yl-logo-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.012); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .js-reveal,
    .js-reveal .card,
    .js-reveal .status-row {
        opacity: 1 !important;
        transform: none !important;
    }
}


::view-transition-group(younglion-nav-active) {
    animation-duration: .22s;
    animation-timing-function: cubic-bezier(.16,1,.3,1);
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .18s;
    animation-timing-function: cubic-bezier(.16,1,.3,1);
}

/* --------------------------------------------------------------------------
   2026-09 mobile/tablet refinement + compositor-safe logo motion
   Desktop layout stays unchanged. Large logo/ring scale loops are deliberately
   avoided: opacity/translation is much steadier on software-composited browsers.
   -------------------------------------------------------------------------- */
.mobile-menu-toggle,
.mobile-nav-panel {
    display: none;
}

.qt-loading-mark img {
    animation: yl-loader-soft-pulse 2.2s ease-in-out .35s infinite;
    transform: none;
}
.qt-loading-ring-inner {
    animation: yl-ring-opacity 2.6s ease-in-out infinite;
    transform: none;
}
.qt-loading-ring-outer {
    animation: yl-ring-opacity 2.6s ease-in-out .3s infinite reverse;
    transform: none;
}
.fallback-root:not([hidden]) .hero-mark {
    transform: translateY(10px);
    animation: yl-hero-mark-safe .48s cubic-bezier(.16,1,.3,1) .05s forwards;
}
.fallback-root:not([hidden]) .hero-mark::before,
.fallback-root:not([hidden]) .hero-mark::after,
.fallback-root:not([hidden]) .hero-mark img {
    animation: none;
    transform: none;
}

@keyframes yl-loader-soft-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .78; }
}
@keyframes yl-ring-opacity {
    0%, 100% { opacity: .36; }
    50% { opacity: .82; }
}
@keyframes yl-hero-mark-safe {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1040px) {
    .shell-header {
        height: 64px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: 1fr;
        gap: 8px;
        padding: 0 16px;
        align-content: initial;
    }

    .brand {
        min-width: 0;
        overflow: hidden;
    }
    .brand img {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }
    .brand-copy {
        display: grid;
        min-width: 0;
    }
    .brand-title,
    .brand-sub {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-pill {
        display: none;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid var(--border-soft);
        border-radius: 11px;
        background: transparent;
        color: var(--text);
        cursor: pointer;
        transition: background .14s ease, border-color .14s ease, transform .12s ease;
    }
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle[aria-expanded="true"] {
        background: var(--surface2);
        border-color: #88630b;
    }
    .mobile-menu-toggle:active {
        transform: scale(.97);
    }
    .mobile-menu-toggle img {
        width: 18px;
        height: 18px;
    }

    .mobile-nav-panel:not([hidden]) {
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;
        width: min(310px, calc(100vw - 28px));
        display: grid;
        gap: 4px;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgba(20,18,13,.985);
        box-shadow: 0 18px 50px rgba(0,0,0,.34);
        backdrop-filter: blur(16px);
    }
    .mobile-nav-link {
        min-height: 46px;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 0 13px;
        border: 1px solid transparent;
        border-radius: 10px;
        color: #cbc7bc;
        text-decoration: none;
        font-size: 12px;
        transition: background .14s ease, border-color .14s ease, color .14s ease;
    }
    .mobile-nav-link img {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
    .mobile-nav-link:hover {
        color: var(--text);
        background: var(--surface2);
    }
    .mobile-nav-link.active {
        color: var(--gold-light);
        background: #2c1d00;
        border-color: #88630b;
    }

    .account-link {
        max-width: 190px;
        min-height: 42px;
    }

    .page {
        min-height: calc(100vh - 64px);
    }

    .hero {
        min-height: 520px;
        padding: 48px 0 44px;
    }
    .hero-inner,
    .section-inner,
    .footer-inner {
        width: min(calc(100% - 48px), 1440px);
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .hero-grid > :first-child {
        grid-row: 2;
    }
    .hero-mark {
        display: grid;
        grid-row: 1;
        width: 172px;
        justify-self: center;
    }
    .section {
        padding: 56px 0;
    }
    .grid,
    .grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .shell-header {
        height: 60px;
        padding: 0 12px;
        gap: 7px;
    }
    .brand img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .brand-title {
        font-size: 13px;
    }
    .brand-sub {
        display: none;
    }
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
    .account-link {
        width: 40px;
        min-height: 40px;
        padding: 3px;
        justify-content: center;
        border-radius: 10px;
    }
    .account-link .account-copy,
    .account-link .account-chevron {
        display: none;
    }
    .account-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
    .mobile-nav-panel:not([hidden]) {
        top: calc(100% + 7px);
        right: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 84px);
        overflow-y: auto;
    }

    .page {
        min-height: calc(100vh - 60px);
    }
    .hero {
        min-height: 500px;
        padding: 40px 0 38px;
    }
    .hero-inner,
    .section-inner,
    .footer-inner {
        width: min(calc(100% - 32px), 1440px);
    }
    .hero-mark {
        width: 136px;
    }
    .hero-grid {
        gap: 24px;
    }
    .hero-grid > :first-child {
        text-align: center;
    }
    .gold-rule {
        margin-left: auto;
        margin-right: auto;
    }
    .lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }
    .section {
        padding: 46px 0;
    }
    .grid,
    .grid.four {
        grid-template-columns: minmax(0, 1fr);
    }
    .card {
        padding: 18px;
        border-radius: 15px;
    }
    .status-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .status-state {
        margin-left: 21px;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        margin-left: 0;
        gap: 12px 16px;
    }
}

@media (max-width: 430px) {
    .brand-copy {
        display: none;
    }
    .hero-inner,
    .section-inner,
    .footer-inner {
        width: min(calc(100% - 28px), 1440px);
    }
    h1 {
        font-size: clamp(32px, 10.5vw, 40px);
    }
}

/* The Wasm runtime can briefly saturate the main thread while parsing/compiling.
   Keep the bootstrap emblem static after its short entrance so the user never
   sees a choppy looping logo/ring animation during that work. */
.qt-loading-mark img,
.qt-loading-ring-inner,
.qt-loading-ring-outer {
    animation: none;
    transform: none;
}
