:root {
    --demo-accent: #E94545;
    --demo-accent-hover: #c83a3a;
    --gpc-accent: var(--demo-accent);
    --gpc-accent-hover: var(--demo-accent-hover);
}

.demo-page {
    padding: 118px 0 70px;
}

.demo-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.demo-topbar {
    padding: 0 16px 14px;
}

.demo-back {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    color: #5b5b5b;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.demo-back__arrow {
    display: inline-block;
    font-size: 14px;
    line-height: 1.2;
}

.demo-back__label {
    display: inline-block;
    position: relative;
    line-height: 1.2;
}

.demo-back:hover {
    color: var(--demo-accent);
    text-shadow: 0 0 18px rgba(233, 69, 69, 0.45);
    transform: translateX(-2px);
}

.demo-back__label::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: var(--demo-accent);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.demo-back:hover .demo-back__label::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .demo-back {
        transition: color 0.2s ease;
    }

    .demo-back:hover {
        transform: none;
        text-shadow: none;
    }

    .demo-back__label::after,
    .demo-back:hover .demo-back__label::after {
        transition: none;
    }
}

.header__nav-link--home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(233, 69, 69, 0.12);
    color: var(--demo-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.header__nav-link--home:hover {
    background: rgba(233, 69, 69, 0.18);
    color: var(--demo-accent-hover);
    transform: translateY(-1px);
}

#gpc-host {
    scroll-margin-top: 90px;
}

#gpc-host {
    --gpc-accent: var(--demo-accent);
    --gpc-accent-hover: var(--demo-accent-hover);
    font-family: 'Geologica', Arial, sans-serif;
}

.gpc {
    --gpc-accent: var(--demo-accent);
    --gpc-accent-hover: var(--demo-accent-hover);
    font-family: 'Geologica', Arial, sans-serif;
}

.gpc-preflight-modal {
    --gpc-accent: var(--demo-accent);
    --gpc-accent-hover: var(--demo-accent-hover);
    font-family: 'Geologica', Arial, sans-serif;
}

.gpc input,
.gpc select,
.gpc textarea,
.gpc button,
.gpc-preflight-modal input,
.gpc-preflight-modal select,
.gpc-preflight-modal textarea,
.gpc-preflight-modal button {
    font-family: 'Geologica', Arial, sans-serif;
}

.gpc-title,
.gpc-price-val,
.gpc-preflight-modal h3,
.gpc-confirm-sheet h4,
.gpc-confirm-total {
    font-family: 'Geologica', Arial, sans-serif;
    font-weight: 600;
}
