.hpc-landing,
.hpc-landing * {
    box-sizing: border-box;
}

.hpc-landing {
    --hpc-bg: #100b08;
    --hpc-bg-soft: #1b120d;
    --hpc-surface: rgba(26, 17, 12, 0.86);
    --hpc-surface-solid: #1a110c;
    --hpc-text: #fff4df;
    --hpc-muted: rgba(255, 244, 223, 0.72);
    --hpc-muted-strong: rgba(255, 244, 223, 0.86);
    --hpc-gold: #d8a85f;
    --hpc-gold-light: #f2d28f;
    --hpc-bronze: #9d5b31;
    --hpc-border: rgba(216, 168, 95, 0.28);
    --hpc-radius: 6px;
    --hpc-container: 1240px;
    --hpc-header-height: 44px;
    width: 100%;
    color: var(--hpc-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.hpc-landing a {
    color: inherit;
    text-decoration: none;
}

.hpc-landing button,
.hpc-landing input,
.hpc-landing textarea,
.hpc-landing select {
    font: inherit;
}

.hpc-main {
    min-height: 0;
}

.hpc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(242, 210, 143, 0.72);
    border-radius: var(--hpc-radius);
    background: linear-gradient(135deg, var(--hpc-gold-light), var(--hpc-gold) 42%, #9f6534);
    color: #1a1009;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hpc-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.hpc-btn:active {
    transform: translateY(0);
}

.hpc-btn:focus-visible,
.hpc-landing a:focus-visible,
.hpc-landing button:focus-visible {
    outline: 2px solid var(--hpc-gold-light);
    outline-offset: 4px;
}

/* Чистый шаблон страницы из плагина: убираем влияние темы. */
body.hpcairo-canvas-template {
    margin: 0;
    min-width: 320px;
    background: #100b08;
    color: #fff4df;
    overflow-x: hidden;
}

body.hpcairo-canvas-template .hpc-landing {
    min-height: 100vh;
}

body.hpcairo-canvas-template img {
    max-width: 100%;
    height: auto;
}
