.demo-mode-banner {
    align-items: center;
    background: #fff3cd;
    border-bottom: 1px solid #d6ad48;
    color: #4c3a12;
    display: flex;
    font-size: .88rem;
    gap: .6rem;
    justify-content: center;
    line-height: 1.4;
    padding: .58rem 1rem;
    position: relative;
    z-index: 20;
}
.demo-mode-banner strong { text-transform: uppercase; letter-spacing: .08em; }
.demo-welcome {
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
    margin: 0 auto;
    max-width: 74rem;
    padding: clamp(2.2rem, 7vw, 6.5rem) 1.25rem;
}
.demo-welcome-copy h1 {
    color: var(--brand-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 7vw, 5.4rem);
    letter-spacing: -.045em;
    line-height: .96;
    margin: .45rem 0 1.25rem;
}
.demo-welcome-copy > p:not(.eyebrow) {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
    max-width: 43rem;
}
.demo-welcome form { margin-top: 1.6rem; }
.demo-welcome .demo-smallprint { font-size: .88rem !important; opacity: .72; }
.demo-journey {
    background: rgba(255, 253, 248, .92);
    border: 1px solid color-mix(in srgb, var(--brand-accent) 50%, transparent);
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 3rem rgba(23, 37, 61, .12);
    padding: clamp(1.4rem, 4vw, 2.4rem);
}
.demo-journey h2 { color: var(--brand-primary); font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; margin-top: 0; }
.demo-journey ol { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; counter-reset: demo-step; }
.demo-journey li { counter-increment: demo-step; display: grid; gap: .22rem; grid-template-columns: 2.2rem 1fr; }
.demo-journey li::before {
    align-items: center;
    background: var(--brand-accent);
    border-radius: 999px;
    color: var(--brand-primary);
    content: counter(demo-step);
    display: flex;
    font-weight: 800;
    grid-row: 1 / span 2;
    height: 2.2rem;
    justify-content: center;
}
.demo-journey li span { color: #586274; font-size: .92rem; line-height: 1.45; }
.demo-tutorial {
    bottom: max(1rem, env(safe-area-inset-bottom));
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    width: min(25rem, calc(100vw - 2rem));
    z-index: 80;
}
.demo-tutorial-card {
    background: #17253d;
    border: 1px solid #d7b86b;
    border-radius: 1.15rem;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .3);
    color: #fffdf8;
    overflow: hidden;
}
.demo-tutorial-card header { align-items: center; display: flex; gap: .75rem; justify-content: space-between; padding: .85rem 1rem; }
.demo-tutorial-card header span { color: #d7b86b; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.demo-tutorial-card button[data-demo-collapse] { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 1.2rem; }
.demo-tutorial-body { border-top: 1px solid rgba(215, 184, 107, .35); padding: 1rem; }
.demo-tutorial-body h2 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; margin: 0 0 .45rem; }
.demo-tutorial-body p { color: #d9dfeb; font-size: .92rem; line-height: 1.5; margin: 0 0 .9rem; }
.demo-tutorial-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.demo-tutorial-actions a,
.demo-tutorial-actions button {
    background: #d7b86b;
    border: 0;
    border-radius: .65rem;
    color: #17253d;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    padding: .7rem .85rem;
    text-decoration: none;
}
.demo-tutorial-actions .secondary { background: rgba(255,255,255,.12); color: #fff; }
.demo-tutorial.is-collapsed .demo-tutorial-body { display: none; }
.demo-tutorial-progress {
    appearance: none;
    background: rgba(255,255,255,.1);
    border: 0;
    display: block;
    height: .22rem;
    width: 100%;
}
.demo-tutorial-progress::-webkit-progress-bar { background: rgba(255,255,255,.1); }
.demo-tutorial-progress::-webkit-progress-value { background: #d7b86b; }
.demo-tutorial-progress::-moz-progress-bar { background: #d7b86b; }
@media (max-width: 760px) {
    .demo-mode-banner { align-items: flex-start; font-size: .78rem; text-align: left; }
    .demo-welcome { grid-template-columns: 1fr; padding-top: 2.2rem; }
    .demo-tutorial { bottom: .65rem; right: .65rem; width: calc(100vw - 1.3rem); }
}
