/* SantoHost actions: a warm gold face, a defined lower edge and restrained depth.
   Explicit action selectors keep navigation, disclosure rows and widget controls independent. */
body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
    .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
    .searchbar > :where([id="spin"]), .morebtn) {
    --sh-face: #ffc76a;
    --sh-highlight: #ffe1a1;
    --sh-edge: #a66b25;
    --sh-border: #e7aa4c;
    --sh-ink: #172b3a;
    --sh-shine: rgba(255, 255, 255, .65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    box-sizing: border-box;
    min-height: 46px;
    max-width: 100%;
    border: 1px solid var(--sh-border) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, var(--sh-highlight), var(--sh-face)) !important;
    color: var(--sh-ink) !important;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .005em;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: inset 0 1px 0 var(--sh-shine), inset 0 -1px 0 rgba(0, 0, 0, .06),
        0 3px 0 var(--sh-edge), 0 7px 12px rgba(8, 19, 30, .23) !important;
    cursor: pointer;
    touch-action: manipulation;
    vertical-align: middle;
    transform: none;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

/* A pale secondary face stays legible on the slate sections. */
body :is(.sh-button-secondary, .btn-secondary, .btn-light) {
    --sh-face: #d9e3eb;
    --sh-highlight: #f6f9fc;
    --sh-edge: #8295a5;
    --sh-border: #c2cfd9;
    --sh-ink: #243a4a;
}

/* Quiet slate actions for supporting choices and compact tools. */
body :is(.btc-button.secondary, .vps-button-outline, .btn-outline-primary,
    .btn-outline-light, .btn-outline-secondary, .morebtn) {
    --sh-face: #253e50;
    --sh-highlight: #365164;
    --sh-edge: #102433;
    --sh-border: #5d7588;
    --sh-ink: #f5f8fc;
    --sh-shine: rgba(255, 255, 255, .14);
}

/* Pricing actions blend with the slate cards, with soft white lettering. */
body .cta-get-started {
    --sh-face: #40576a;
    --sh-highlight: #50677a;
    --sh-edge: #2c4051;
    --sh-border: #758b9c;
    --sh-ink: #f2f6fa;
    --sh-shine: rgba(255, 255, 255, .22);
}

/* Keep the pale hero finishes; use softer, readable lettering instead of near-black. */
body .sh-button { --sh-ink: #714a24; }
body .sh-button-secondary { --sh-ink: #4b6375; }

body .sh-button {
    padding: 16px 28px;
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    min-height: 58px;
}
body .sh-hero-cta { padding: 16px 30px; }
body .sh-hero-cta-arrow { color: inherit !important; font-size: 1.6em; }
body .sh-button > span { color: inherit; }
body .wsf-button-primary { padding: 13px 24px; }
body .morebtn { padding: 10px 18px; }

@media (hover: hover) and (pointer: fine) {
    body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
        .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
        .searchbar > :where([id="spin"]), .morebtn):not(:disabled, .disabled, [aria-disabled="true"]):hover {
        filter: brightness(1.035);
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 var(--sh-shine), inset 0 -1px 0 rgba(0, 0, 0, .06),
            0 5px 0 var(--sh-edge), 0 11px 18px rgba(8, 19, 30, .28) !important;
    }
}

body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
    .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
    .searchbar > :where([id="spin"]), .morebtn):not(:disabled, .disabled, [aria-disabled="true"]):active {
    filter: brightness(.98);
    transform: translateY(2px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12),
        0 1px 0 var(--sh-edge), 0 3px 6px rgba(8, 19, 30, .2) !important;
}

/* A two-tone ring works against both the dark site and white form panels. */
body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
    .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
    .searchbar > :where([id="spin"]), .morebtn, .tbtn, .bf-copy, .navbar-toggler):focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 5px;
    box-shadow: 0 0 0 5px #172b3a, 0 0 0 8px #fff !important;
}
body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
    .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
    .searchbar > :where([id="spin"]), .morebtn):is(:disabled, .disabled, [aria-disabled="true"]) {
    opacity: .55;
    cursor: not-allowed;
    filter: saturate(.55);
    transform: none;
    box-shadow: inset 0 1px 0 var(--sh-shine), 0 1px 0 var(--sh-edge) !important;
}

/* Billing remains a segmented control, with a recessed track and raised selection. */
body .pricing-billing-toggle {
    background: rgba(8, 22, 34, .45);
    border-color: rgba(184, 208, 227, .24);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .22), 0 1px 0 rgba(255, 255, 255, .08);
}
body .pricing-billing-toggle .toggle-pill {
    background: linear-gradient(180deg, #ffe1a1, #ffc76a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 2px 0 #a66b25, 0 3px 7px rgba(0, 0, 0, .2);
}
body .pricing-billing-toggle .tbtn { min-height: 44px; color: #d4dfe7; }
body .pricing-billing-toggle .tbtn.active { color: #172b3a; }
body .pricing-billing-toggle .tbtn:not(.active):hover { color: #fff; }

/* Give the small menu controls a subtle surface without treating links as CTAs. */
body :is(.navbar-toggler, .santohost-preferences > summary) {
    border: 1px solid #5d7588;
    background: linear-gradient(180deg, #365164, #253e50);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 0 #102433, 0 4px 8px rgba(8, 19, 30, .2);
}
body .searchbar > :where([id="spin"])::after { display: none; }

@media (max-width: 575.98px) {
    body .sh-button { padding: 15px 22px; }
    body .sh-hero-cta { padding: 15px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
        .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
        .searchbar > :where([id="spin"]), .morebtn, .toggle-pill, .sh-hero-cta-arrow,
        .santohost-sign-in) { transition: none !important; }
    body :is(.sh-button, .btn:where(:not(.btn-link)), .sh-hero-cta, .btc-button, .bf-btn,
        .vps-button, .wsf-button-primary, .santohost-preferences__panel :where(button),
        .searchbar > :where([id="spin"]), .morebtn, .sh-hero-cta-arrow,
        .santohost-sign-in):is(:hover, :active) { transform: none !important; }
}
