:root {
    --hv-navy: #152e50;
    --hv-navy-light: #294d78;
    --hv-blue: #638cb5;
    --hv-cream: #f8f6f2;
    --hv-white: #fff;
    --hv-text: #253347;
    --hv-border: #d9e1e9;
}

/* All public styles are scoped to .hv-public to avoid affecting the admin UI. */
.hv-public {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--hv-text);
    background: var(--hv-cream);
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.hv-public .hv-main { flex: 1 0 auto; }
.hv-public .hv-site-header {
    position: relative;
    z-index: 10;
    background: var(--hv-white);
    box-shadow: 0 2px 16px rgba(21, 46, 80, 0.055);
}
.hv-public .hv-navbar { min-height: 92px; }
.hv-public .hv-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
    color: var(--hv-navy);
    white-space: normal;
}
.hv-public .hv-brand:hover { color: var(--hv-navy); }
.hv-public .hv-paw { width: 31px; height: 31px; fill: var(--hv-navy); flex: 0 0 auto; }
.hv-public .hv-brand-text {
    color: var(--hv-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -.04em;
}
.hv-public .hv-brand-divider {
    height: 31px;
    border-left: 1px solid var(--hv-border);
    margin-left: 2px;
}
.hv-public .hv-horse {
    width: 51px;
    height: 50px;
    stroke: #8da6c5;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hv-public .hv-nav-link {
    color: var(--hv-text);
    font-weight: 550;
    padding: .65rem 1rem !important;
    border-radius: 999px;
}
.hv-public .hv-nav-link:hover { color: var(--hv-navy); background: #edf2f8; }
.hv-public .hv-nav-link.active,
.hv-public .hv-nav-link.active:hover {
    background: var(--hv-navy);
    color: #fff;
}
.hv-public .hv-nav-coming-soon { cursor: default; }
.hv-public .hv-menu-toggle { border-color: var(--hv-border); }
.hv-public .hv-menu-toggle:focus { box-shadow: 0 0 0 .2rem #638cb54d; }

.hv-public .hv-hello {
    padding: clamp(4rem, 9vw, 7.5rem) 0;
    background: linear-gradient(120deg, var(--hv-cream) 5%, var(--hv-surface) 100%);
}
.hv-public .hv-eyebrow {
    color: var(--hv-navy-light);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hv-public .hv-hello h1 {
    color: var(--hv-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 7vw, 5.7rem);
    font-weight: 700;
    letter-spacing: -.045em;
}
.hv-public .hv-hello .lead { color: #536579; max-width: 670px; }
.hv-public .hv-hello-rule { width: 74px; height: 4px; background: var(--hv-blue); border-radius: 4px; }
.hv-public .hv-demo-note {
    display: inline-block;
    color: var(--hv-navy-light);
    background: white;
    border: 1px solid var(--hv-border);
    padding: .8rem 1.1rem;
    border-radius: 12px;
}

.hv-public .hv-footer { background: var(--hv-navy); color: #fff; }
.hv-public .hv-footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 700;
}
.hv-public .hv-footer-subtitle { color: #c8d6e7; font-size: .9rem; }
.hv-public .hv-footer-description { color: #dce5f0; line-height: 1.8; max-width: 480px; }
.hv-public .hv-footer-heading { font-weight: 700; }
.hv-public .hv-footer-link {
    display: block;
    width: fit-content;
    color: #e3ebf5;
    text-decoration: none;
    padding: .15rem 0;
}
.hv-public a.hv-footer-link:hover { color: white; text-decoration: underline; }
.hv-public .hv-footer-inactive { opacity: .7; }
.hv-public .hv-footer-rule { border-color: #7187a4; opacity: .4; }
.hv-public .hv-copyright { color: #c8d6e7; font-size: .82rem; }

@media (max-width: 991.98px) {
    .hv-public .hv-navbar { min-height: 75px; }
    .hv-public .hv-nav-link { border-radius: 9px; }
    .hv-public .hv-nav-link.active { background: var(--hv-navy); }
}
@media (max-width: 575.98px) {
    .hv-public .hv-brand { gap: 8px; }
    .hv-public .hv-brand-text { font-size: 1.28rem; }
    .hv-public .hv-paw { width: 27px; height: 27px; }
}

/* Shared site logo: preserve native proportions for either an SVG or uploaded WebP. */
.hv-public .hv-site-logo { width:38px; height:38px; object-fit:contain; flex:0 0 38px; }
.hv-public .hv-brand-text { overflow-wrap:anywhere; }
@media (max-width:575.98px) { .hv-public .hv-site-logo { width:32px; height:32px; flex-basis:32px; } }
