:root {
    color-scheme: dark;
    --bg: #080a0f;
    --bg-soft: #0f141d;
    --card: rgba(20, 27, 39, 0.72);
    --card-strong: rgba(26, 35, 50, 0.9);
    --text: #f4f7fb;
    --muted: #9aa7bb;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #7dd3fc;
    --accent-2: #a78bfa;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 12%, rgba(125, 211, 252, 0.18), transparent 32rem),
        radial-gradient(circle at 82% 18%, rgba(167, 139, 250, 0.16), transparent 34rem),
        linear-gradient(180deg, #080a0f 0%, #0b0f16 48%, #07080c 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    letter-spacing: -0.01em;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 70%);
}
.page-particles-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
a { color: inherit; text-decoration-color: rgba(125, 211, 252, .45); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
.inline-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(125, 211, 252, .4);
    transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}
.inline-link:hover {
    color: var(--text);
    border-color: rgba(125, 211, 252, .9);
    text-shadow: 0 0 10px rgba(125, 211, 252, .6);
}
img { max-width: 100%; height: auto; border-radius: 18px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; }
.skip-link:focus { left: 1rem; z-index: 99; padding: .7rem 1rem; background: var(--text); color: var(--bg); border-radius: 999px; }

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

/* ===== Haupt-Navigation (schwebender Orb, site-weit) ===== */
.nav-orb-wrap {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 40;
}

.nav-orb {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: radial-gradient(circle at 32% 28%, rgba(125, 211, 252, .3), rgba(167, 139, 250, .14) 55%, rgba(255, 255, 255, .05) 100%);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35),
        inset 0 1px 1px rgba(255, 255, 255, .25),
        inset 0 -1px 1px rgba(0, 0, 0, .25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nav-orb-breathe 3.6s ease-in-out infinite;
}
.nav-orb:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@keyframes nav-orb-breathe {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 1px rgba(255, 255, 255, .25), inset 0 -1px 1px rgba(0, 0, 0, .25); }
    50% { box-shadow: 0 10px 40px rgba(125, 211, 252, .35), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 -1px 1px rgba(0, 0, 0, .25); }
}
@media (prefers-reduced-motion: reduce) {
    .nav-orb { animation: none; }
}

.nav-orb-bar {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.nav-orb-bar:first-child { transform: translateY(-4px); }
.nav-orb-bar:last-child { transform: translateY(4px); }
.nav-orb[aria-expanded="true"] .nav-orb-bar:first-child { transform: rotate(45deg); }
.nav-orb[aria-expanded="true"] .nav-orb-bar:last-child { transform: rotate(-45deg); }

.nav-orb-menu {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.nav-orb-link {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 15, .88);
    backdrop-filter: blur(10px);
    color: var(--muted);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 720;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease;
    transition-delay: calc(var(--i, 0) * 45ms);
    pointer-events: none;
}
.nav-orb-link:hover, .nav-orb-link:focus-visible {
    color: var(--text);
    border-color: rgba(125, 211, 252, .5);
    outline: none;
}
.nav-orb-link.is-active { color: var(--accent); border-color: rgba(125, 211, 252, .5); }

.nav-orb-wrap.is-open .nav-orb-link {
    opacity: 1;
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1);
    pointer-events: auto;
}

@media (max-width: 560px) {
    .nav-orb-wrap { right: 1rem; bottom: 1rem; }
    .nav-orb { width: 50px; height: 50px; }
}

.main-nav, .footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.main-nav a, .footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .95rem;
}
.main-nav a:hover, .footer-links a:hover { color: var(--text); }

.site-main { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.hero, .content-card {
    position: relative;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 38vh;
    display: grid;
    align-content: center;
    padding-block: clamp(2rem, 5vw, 4rem);
}
.hero::after, .content-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -42% auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(125, 211, 252, .13), transparent 68%);
    pointer-events: none;
}
.hero:has(.hero-canvas)::after { display: none; }

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content::before {
    content: "";
    position: absolute;
    inset: -2rem -1.5rem;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(8, 10, 15, .68) 0%, transparent 72%);
    pointer-events: none;
}
.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 760;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 153, 51, .35);
    background: rgba(255, 153, 51, .08);
    color: #ffb366;
    font-size: .82rem;
    font-weight: 720;
    letter-spacing: .01em;
}
.disclaimer-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ff9933;
    box-shadow: 0 0 8px rgba(255, 153, 51, .7);
    flex-shrink: 0;
}
h1, h2, h3 {
    margin: 0 0 1rem;
    line-height: 1.08;
    letter-spacing: -0.055em;
}
h1 { max-width: 840px; font-size: clamp(2.15rem, 4.2vw, 3.4rem); }
h2 { margin-top: 2.4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { margin-top: 2rem; font-size: 1.35rem; }
.lead, .entry-content > p:first-child {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.button-primary, .button-secondary, input[type="submit"], button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .75rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 720;
}
.button-primary, input[type="submit"], button {
    color: #061018;
    background: linear-gradient(135deg, var(--accent), #c4b5fd);
    border: none;
}
.button-secondary { color: var(--text); background: rgba(255,255,255,.045); }
.button-primary:hover { color: #061018; filter: brightness(1.05); }
.button-secondary:hover { color: var(--text); border-color: rgba(255,255,255,.22); }

.content-card { padding: clamp(1.6rem, 5vw, 4rem); }
.page-card { max-width: 920px; margin-inline: auto; }
.entry-content { color: #dce4ef; }
.entry-content p, .entry-content ul, .entry-content ol { max-width: 760px; }
.entry-content strong { color: var(--text); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.entry-content code {
    padding: .12rem .35rem;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
}
.post-preview + .post-preview { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
.post-preview h1 { font-size: clamp(2rem, 4vw, 3.6rem); }

input, textarea, select {
    width: 100%;
    color: var(--text);
    background: rgba(255,255,255,.055);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .85rem 1rem;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(125, 211, 252, .5);
    outline-offset: 2px;
}

.site-footer {
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: rgba(8, 10, 15, .74);
}
.site-footer .wrap + div, body > div[style*="text-align:center"] {
    color: var(--muted) !important;
}

@media (max-width: 720px) {
    :root {
        --radius: 18px;
        --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
    }

    body {
        line-height: 1.58;
        background:
            radial-gradient(circle at 50% -10%, rgba(125, 211, 252, 0.16), transparent 20rem),
            linear-gradient(180deg, #080a0f 0%, #090d14 100%);
    }

    body::before {
        opacity: .45;
        background-size: 34px 34px;
    }

    .wrap {
        width: min(100% - 22px, 1120px);
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        width: 100%;
    }

    .main-nav a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .55rem .45rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, .045);
        font-size: .82rem;
        white-space: nowrap;
    }

    .site-main {
        padding: .85rem 0 1.35rem;
    }

    .hero,
    .content-card {
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .hero {
        min-height: auto;
        padding-block: 1.35rem 1.25rem;
    }

    .content-card {
        padding: 1.2rem 1.05rem;
    }

    .hero::after,
    .content-card::after {
        width: 220px;
        height: 220px;
        inset: auto -35% -26% auto;
        opacity: .75;
    }

    .eyebrow {
        margin-bottom: .75rem;
        font-size: .68rem;
        letter-spacing: .12em;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(1.85rem, 10vw, 2.65rem);
        line-height: .98;
        letter-spacing: -0.065em;
    }

    h2 {
        margin-top: 1.65rem;
        font-size: 1.42rem;
        letter-spacing: -0.04em;
    }

    h3 {
        margin-top: 1.35rem;
        font-size: 1.12rem;
    }

    .lead,
    .entry-content > p:first-child {
        max-width: 100%;
        font-size: 1rem;
    }

    .entry-content {
        font-size: .98rem;
        overflow-wrap: anywhere;
    }

    .entry-content p,
    .entry-content ul,
    .entry-content ol {
        max-width: 100%;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-top: 1.35rem;
    }

    .button-primary,
    .button-secondary,
    input[type="submit"],
    button {
        width: 100%;
        min-height: 44px;
        padding: .72rem .95rem;
    }

    .footer-inner {
        align-items: center;
        flex-direction: column;
        gap: .65rem;
        text-align: center;
        padding: 1rem 0;
        font-size: .86rem;
    }

    .footer-links {
        justify-content: center;
        gap: .75rem;
    }
}

@media (max-width: 380px) {
    .wrap {
        width: min(100% - 16px, 1120px);
    }

    .main-nav a {
        font-size: .76rem;
        padding-inline: .25rem;
    }

    .hero {
        padding-block: 1.1rem;
    }

    .content-card {
        padding: 1rem .9rem;
    }

    h1 {
        font-size: clamp(1.65rem, 10.5vw, 2.25rem);
    }
}

.footer-disclaimer {
    padding: 0 0 1rem;
    color: var(--muted);
    font-size: .84rem;
    text-align: center;
}

@media (max-width: 720px) {
    .footer-disclaimer {
        padding-bottom: .9rem;
        font-size: .78rem;
        line-height: 1.45;
    }
}

/* ===== Scroll-Story (Tech-Preview-Prototyp) ===== */
.story {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--line);
}
.story-inner {
    position: relative;
}
.story-eyebrow { margin-bottom: .75rem; }
.story-heading {
    max-width: 640px;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.story-nodes {
    position: relative;
}
.story-line-track {
    position: absolute;
    left: 7px;
    top: .4rem;
    bottom: 2.5rem;
    width: 2px;
    background: var(--line);
    z-index: 0;
}
.story-line-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 16px rgba(125, 211, 252, .45);
    transform: scaleY(0);
    transform-origin: top;
}

.story-node {
    position: relative;
    z-index: 1;
    padding-left: 2.75rem;
    max-width: 640px;
}
.story-node + .story-node { margin-top: clamp(2.5rem, 6vw, 4rem); }

.node-dot {
    position: absolute;
    left: 0;
    top: .3rem;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--card-strong);
    border: 2px solid var(--line);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.story-node.is-active .node-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 22px rgba(125, 211, 252, .7);
}

.node-index {
    margin: 0 0 .35rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 760;
    letter-spacing: .12em;
}
.story-node h3 { margin-top: 0; }
.story-node p:last-child { margin: 0; color: var(--muted); }
.story-outro {
    margin: clamp(2.5rem, 6vw, 4rem) 0 0;
    padding-left: 2.75rem;
    color: var(--muted);
    max-width: 640px;
}

@media (max-width: 720px) {
    .story-outro { padding-left: 2.25rem; }
    .story { padding: 2.75rem 0; }
    .story-heading { margin-bottom: 2.25rem; }
    .story-node { padding-left: 2.25rem; }
    .story-node + .story-node { margin-top: 2.25rem; }
    .story-line-track { left: 5px; }
    .node-dot { width: 13px; height: 13px; }
}

/* ===== View Transitions (native, 0 KB JS) ===== */
/* Aktiviert weiche Übergänge zwischen normalen Seitenaufrufen (MPA), Chrome/Edge 126+.
   Andere Browser ignorieren die Regel und laden Seiten wie gewohnt ohne Übergang. */
@view-transition {
    navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: .45s;
        animation-timing-function: cubic-bezier(.4, 0, .2, 1);
    }
    ::view-transition-old(root) { animation-name: cc-view-out; }
    ::view-transition-new(root) { animation-name: cc-view-in; }
}
@keyframes cc-view-out { to { opacity: 0; transform: scale(.985); } }
@keyframes cc-view-in { from { opacity: 0; transform: scale(1.015); } }

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}

/* Shared-Element: die H1 jeder Seite trägt denselben view-transition-name, daher morpht
   sie beim Seitenwechsel weich von Position/Größe der alten zur neuen Überschrift, statt
   nur zu croßfaden. */
h1 {
    view-transition-name: page-title;
}
@media (prefers-reduced-motion: no-preference) {
    ::view-transition-group(page-title) {
        animation-duration: .5s;
        animation-timing-function: cubic-bezier(.4, 0, .2, 1);
    }
}

/* Login-Portal-Vorschau: reines Mockup, kein echtes Backend */
.login-portal-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.25rem; position: relative; }

.login-portal-stage { width: min(480px, 100%); position: relative; z-index: 1; }

.login-portal-card {
    padding: clamp(1.8rem, 5vw, 2.6rem);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .14);
    background: radial-gradient(circle at 24% 18%, rgba(125, 211, 252, .14), rgba(167, 139, 250, .08) 55%, rgba(10, 14, 22, .55) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--shadow);
    text-align: left;
}
.login-portal-card .eyebrow { margin-bottom: .6rem; }
.login-portal-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 .8rem; }
.login-portal-card .lead { font-size: .98rem; margin: 0 0 1.8rem; max-width: none; }

.login-portal-form { display: flex; flex-direction: column; gap: 1.1rem; }
.login-portal-field { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: var(--muted); }
.login-portal-field input {
    padding: .8rem .9rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font-size: .95rem;
}
.login-portal-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(125, 211, 252, .18); }
.login-portal-field--totp input { letter-spacing: .3em; text-align: center; max-width: 160px; }

.login-portal-submit { position: relative; margin-top: .3rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.login-portal-submit-spinner {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(6, 16, 24, .3); border-top-color: #061018;
    display: none;
}
.login-portal-submit.is-loading .login-portal-submit-spinner { display: inline-block; animation: login-portal-spin .7s linear infinite; }
.login-portal-submit.is-loading { cursor: progress; }
@keyframes login-portal-spin { to { transform: rotate(360deg); } }

.login-portal-apps-head { text-align: center; margin-bottom: 1.8rem; }
.login-portal-apps-head h2 { margin: .4rem 0 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.login-portal-apps-head #login-portal-username { color: var(--accent); font-weight: 700; }

.login-portal-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.login-portal-app {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding: 1.6rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(15, 20, 29, .6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.login-portal-app:hover, .login-portal-app:focus-visible { transform: translateY(-3px); border-color: rgba(125, 211, 252, .5); background: rgba(15, 20, 29, .8); outline: none; }
.login-portal-app-icon { font-size: 1.8rem; }
.login-portal-app-name { font-weight: 720; font-size: .95rem; }
.login-portal-app-desc { color: var(--muted); font-size: .78rem; }

.login-portal-logout { display: block; text-align: center; margin: 1.8rem auto 0; background: none; border: none; font: inherit; cursor: pointer; }

.login-portal-redirect {
    margin-top: 1.6rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, .3);
    background: rgba(125, 211, 252, .08);
    text-align: center;
}
.login-portal-redirect p { margin: 0; }
.login-portal-redirect-note { margin-top: .3rem !important; color: var(--muted); font-size: .78rem; }

.login-portal-cta { text-align: center; padding: 2.5rem 0 4rem; }

@media (max-width: 640px) {
    .login-portal-apps-grid { grid-template-columns: 1fr; }
}

/* Präsentationen-Vorschau: eingebettetes reveal.js-Deck ------------------ */
.presentations-demo-wrap { padding: 0 0 4rem; }
.presentations-demo-hint {
    margin: 1.2rem auto 0;
    max-width: 720px;
    color: var(--muted);
    font-size: .84rem;
    text-align: center;
}
.presentations-demo-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    margin-inline: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* reveal.js liefert ohne eigenes Theme feste Fallback-Farben (weißer
   Hintergrund, schwarzer Text) - hier durch unsere Site-Variablen ersetzt. */
.presentations-demo-frame .reveal {
    width: 100%;
    height: 100%;
    background: transparent;
    color: var(--text);
}
.presentations-demo-frame .reveal .slides section {
    text-align: center;
}
.presentations-demo-frame .reveal h2,
.presentations-demo-frame .reveal h3 {
    margin-top: 0;
    color: var(--text);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
}
.presentations-demo-sub { color: var(--muted); font-size: clamp(.95rem, 2vw, 1.15rem); }
.presentations-demo-frame .reveal ul { display: inline-block; text-align: left; color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); }
.presentations-demo-frame .reveal .fragment.highlight-current-blue.current-fragment { color: var(--accent); }
.presentations-demo-box { margin-inline: auto; }
.presentations-demo-frame .reveal .progress { color: var(--accent); }
.presentations-demo-frame .reveal .controls { color: var(--accent); }

@media (max-width: 640px) {
    .presentations-demo-frame { aspect-ratio: 4 / 5; max-height: 80vh; }
}

