/* triarch.ai Unified Portal - CursorV1 (Foundry Technical Light) */
.host-landing {
    --hl-bg: #f6fafe;
    --hl-on-surface: #171c1f;
    --hl-on-surface-variant: #584237;
    --hl-primary: var(--triarch-primary, #9d4300);
    --hl-primary-container: var(--triarch-accent, #f97316);
    --hl-primary-fixed: var(--triarch-primary-tint, #ffdbca);
    --hl-on-primary: #ffffff;
    --hl-tertiary: var(--triarch-tertiary, #785a00);
    --hl-on-tertiary: #ffffff;
    --hl-surface-low: var(--triarch-surface-soft, #f0f4f8);
    --hl-surface-lowest: var(--triarch-surface, #ffffff);
    --hl-surface-bright: var(--triarch-bg, #f6fafe);
    --hl-surface-container: var(--triarch-border, #eaeef2);
    --hl-surface-highest: var(--triarch-outline, #dfe3e7);
    --hl-outline-variant: var(--triarch-outline-warm, #e0c0b1);
    --hl-on-secondary-container: var(--triarch-text-soft, #57657a);
    --hl-inverse-surface: var(--triarch-inverse-surface, #2c3134);
    --hl-surface-dim: var(--triarch-surface-dim, #d6dade);
    --hl-primary-fixed-dim: var(--triarch-primary-dim, #ffb690);
    --hl-font-headline: var(--triarch-font-display, "Space Grotesk", system-ui, sans-serif);
    --hl-font-body: "Inter", system-ui, sans-serif;
    margin: 0;
    min-height: 100vh;
    font-family: var(--hl-font-body);
    background: var(--hl-bg);
    color: var(--hl-on-surface);
    -webkit-font-smoothing: antialiased;
}

.host-landing * {
    box-sizing: border-box;
}

.host-landing ::selection {
    background: var(--hl-primary-fixed);
    color: #341100;
}

.hl-material {
    font-family: "Material Symbols Outlined", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    vertical-align: middle;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* --- Utility classes replacing repeated inline styles --- */
/* .hl-label-xs  : 0.625rem, tracking 0.12em  (card bullets, footer links) */
.host-landing .hl-label-xs {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
}

/* .hl-label-xxs : 0.5625rem, tracking 0.15em (timeline, compliance, footer) */
.host-landing .hl-label-xxs {
    font-size: 0.5625rem;
    letter-spacing: 0.15em;
}

/* .hl-label-compliance : 0.5625rem, tracking 0.25em (compliance badges) */
.host-landing .hl-label-compliance {
    font-size: 0.5625rem;
    letter-spacing: 0.25em;
}

/* .hl-label-footer-stitch : 0.5625rem, tracking 0.35em, Inter font */
.host-landing .hl-label-footer-stitch {
    font-size: 0.5625rem;
    letter-spacing: 0.35em;
    font-family: Inter, system-ui, sans-serif;
}

/* .hl-label-ar-title : 0.625rem, tracking 0.2em (AR section headings) */
.host-landing .hl-label-ar-title {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
}

/* .hl-label-ar-desc : 0.7rem, tracking 0.08em, lh 1.5 (AR section descriptions) */
.host-landing .hl-label-ar-desc {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

/* .hl-label-coord : 0.5rem (AR coordinate overlay) */
.host-landing .hl-label-coord {
    font-size: 0.5rem;
}

/* .hl-footer-hq-text : 0.625rem, tracking 0.15em (footer HQ address) */
.host-landing .hl-footer-hq-text {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
}

/* Decorative skeleton shapes used in control-room card mockup */
.host-landing .hl-mock-bar-top {
    width: 4rem;
    height: 0.5rem;
    background: rgba(224, 192, 177, 0.35);
}
.host-landing .hl-mock-avatar {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(157, 67, 0, 0.2);
}
.host-landing .hl-mock-input-line {
    height: 2rem;
}
.host-landing .hl-mock-input-text {
    width: 5rem;
    height: 0.25rem;
    background: rgba(224, 192, 177, 0.25);
}
.host-landing .hl-mock-chip {
    height: 1.5rem;
    background: rgba(157, 67, 0, 0.1);
}


/* Smooth in-page nav; offset for fixed navbar */
html.hl-host-doc {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
}

@media (prefers-reduced-motion: reduce) {
    html.hl-host-doc {
        scroll-behavior: auto;
    }
}

/* --- Bootstrap + full Stitch layout (anonymous host page) --- */
.host-landing .hl-container-max {
    max-width: 1440px;
}

.host-landing .font-headline {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
}

.host-landing .hl-brand-wordmark {
   
    font-weight: 1000;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

.host-landing .hl-brand-tri  { color: var(--hl-on-surface); }
.host-landing .hl-brand-arch { color: var(--hl-primary); }


.host-landing .hl-navbar-glass {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(224, 192, 177, 0.35) !important;
    z-index: 1030;
}

.host-landing main {
    flex: 1 0 auto;
}

.host-landing .hl-nav-link {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    color: #515f74 !important;
}

.host-landing .hl-nav-link:hover {
    color: var(--hl-on-surface) !important;
}

.host-landing .hl-nav-link.active {
    color: var(--hl-primary) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--hl-primary);
    padding-bottom: 0.25rem;
    border-radius: 0;
}

.host-landing .hl-demo-link {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #515f74;
    text-decoration: none;
}

.host-landing .hl-demo-link:hover {
    color: var(--hl-primary);
}

.host-landing .hl-section-y {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .host-landing .hl-section-y {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.host-landing .hl-section-y-lg {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .host-landing .hl-section-y-lg {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.host-landing .hl-bg-surface-low {
    background: var(--hl-surface-low);
}

.host-landing .hl-bg-surface-lowest {
    background: var(--hl-surface-lowest);
}

.host-landing .hl-bg-inverse {
    background: var(--hl-inverse-surface);
    color: #dfe3e7;
}

.host-landing .hl-text-primary-custom {
    color: var(--hl-primary) !important;
}

.host-landing .hl-text-secondary-custom {
    color: #515f74;
}

.host-landing .hl-text-tertiary-custom {
    color: var(--hl-tertiary);
}

.host-landing .hl-text-surface-variant {
    color: var(--hl-on-surface-variant);
}

.host-landing .hl-kicker {
    font-size: 0.6875rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--hl-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.host-landing .hl-kicker-bar {
    width: 3rem;
    height: 2px;
    background: var(--hl-primary);
    flex-shrink: 0;
}

.host-landing .hl-kicker--tertiary {
    color: var(--hl-tertiary);
}

.host-landing .hl-kicker--tertiary .hl-kicker-bar {
    background: var(--hl-tertiary);
}

.host-landing .hl-hero-section {
    position: relative;
    padding-top: 5.5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.host-landing .hl-hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
}

.host-landing .hl-hero-inner {
    position: relative;
    z-index: 1;
}

.host-landing .hl-hero-accent {
    white-space: nowrap;
}

.host-landing .hl-display-hero {
    font-family: "Inter", var(--hl-font-headline), system-ui, sans-serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 720;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--hl-on-surface);
}

@media (min-width: 768px) {
    .host-landing .hl-display-hero {
        font-size: clamp(3.5rem, 8vw, 7rem);
    }
}

.host-landing .hl-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 2rem;
    background: #ffdf9a;
    color: #251a00;
    border-left: 4px solid var(--hl-tertiary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.host-landing .hl-badge-pill .hl-material {
    font-size: 0.75rem;
}

.host-landing .hl-ecosystem-viz {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 490px;
    margin-left: auto;
    min-height: min(620px, 70vh);
    background: transparent;
    overflow: hidden;
}

.host-landing .hl-blueprint-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
}

.host-landing .hl-blueprint-pattern--viz {
    opacity: 0.22;
}

/* Warm atmospheric glow — gives depth inside the viz space */
.host-landing .hl-ecosystem-viz::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 75% 55% at 80% 20%, rgba(157, 67, 0, 0.10) 0%, transparent 62%),
        radial-gradient(ellipse 50% 42% at 12% 82%, rgba(120, 90, 0, 0.07) 0%, transparent 56%);
}

/* Left-edge fade — blends viz seamlessly into hero section background */
.host-landing .hl-ecosystem-viz::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: clamp(2.5rem, 26%, 7.5rem);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        var(--hl-bg) 0%,
        rgba(246, 250, 254, 0.72) 42%,
        transparent 100%
    );
}

/* Engineering corner bracket reticles */
.host-landing .hl-eco-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background:
        /* top-left H */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) top left  / 2rem 1.5px no-repeat,
        /* top-left V */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) top left  / 1.5px 2rem no-repeat,
        /* top-right H */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) top right / 2rem 1.5px no-repeat,
        /* top-right V */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) top right / 1.5px 2rem no-repeat,
        /* bot-left H */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) bottom left  / 2rem 1.5px no-repeat,
        /* bot-left V */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) bottom left  / 1.5px 2rem no-repeat,
        /* bot-right H */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) bottom right / 2rem 1.5px no-repeat,
        /* bot-right V */ linear-gradient(rgba(157,67,0,0.45), rgba(157,67,0,0.45)) bottom right / 1.5px 2rem no-repeat;
}

.host-landing .hl-ecosystem-viz > * {
    position: relative;
    z-index: 1;
}

.host-landing .ecosystem-stage {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}

.host-landing .ecosystem-stage.active {
    opacity: 1;
    pointer-events: auto;
}

.host-landing .hl-ev-stage-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.25rem;
}

.host-landing .hl-ev-doc {
    width: min(100%, 300px);
    aspect-ratio: 1 / 1.41;
    background: #fff;
    border: 1px solid rgba(224, 192, 177, 0.35);
    box-shadow: 0 20px 48px -16px rgba(0,0,0,0.22), 0 2px 8px -2px rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
    font-size: 0.44rem;
    display: flex;
    flex-direction: column;
}

/* --- doc header --- */
.host-landing .hl-ev-doc-header {
    background: #faf8f6;
    border-bottom: 1.5px solid rgba(224, 192, 177, 0.4);
    padding: 0.65rem 0.7rem 0.5rem;
}

.host-landing .hl-ev-doc-logo-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.host-landing .hl-ev-doc-logo-mark {
    width: 1.1rem;
    height: 1.1rem;
    background: var(--hl-primary);
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.host-landing .hl-ev-doc-org {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--hl-on-surface);
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.host-landing .hl-ev-doc-ref {
    font-size: 0.38rem;
    color: #8ba0b5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.host-landing .hl-ev-doc-stamp {
    margin-left: auto;
    font-size: 0.38rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hl-primary);
    border: 1.5px solid var(--hl-primary);
    padding: 0.1rem 0.3rem;
    opacity: 0.85;
}

.host-landing .hl-ev-doc-title-block {
    padding-left: 1.55rem;
}

.host-landing .hl-ev-doc-category {
    font-size: 0.38rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hl-tertiary);
    margin-bottom: 0.18rem;
}

.host-landing .hl-ev-doc-project {
    font-size: 0.54rem;
    font-weight: 800;
    color: var(--hl-on-surface);
    line-height: 1.25;
}

.host-landing .hl-ev-doc-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--hl-primary) 0%, var(--hl-tertiary) 55%, transparent 100%);
    flex-shrink: 0;
}

/* --- doc body --- */
.host-landing .hl-ev-doc-body {
    padding: 0.55rem 0.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.host-landing .hl-ev-doc-section-label {
    font-size: 0.38rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8ba0b5;
    margin-bottom: 0.22rem;
}

.host-landing .hl-ev-doc-section-label.mt {
    margin-top: 0.4rem;
}

.host-landing .hl-ev-doc-tags {
    display: flex;
    gap: 0.28rem;
    flex-wrap: wrap;
}

.host-landing .hl-ev-doc-tag {
    font-size: 0.36rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.12rem 0.35rem;
    background: rgba(157, 67, 0, 0.08);
    color: var(--hl-primary);
    border: 1px solid rgba(157, 67, 0, 0.22);
}

.host-landing .hl-ev-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.41rem;
    padding: 0.22rem 0;
    border-bottom: 1px solid rgba(224, 192, 177, 0.22);
    color: #515f74;
}

.host-landing .hl-ev-doc-row--total {
    border-bottom: 0;
    border-top: 1.5px solid rgba(157, 67, 0, 0.25);
    margin-top: 0.1rem;
    padding-top: 0.3rem;
    font-weight: 800;
    font-size: 0.46rem;
    color: var(--hl-primary);
}

.host-landing .scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(157, 67, 0, 0.45);
    box-shadow: 0 0 12px rgba(157, 67, 0, 0.45);
    animation: hlScanline 2.5s linear infinite;
}

@keyframes hlScanline {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.host-landing .hl-ev-stage-wrap--vision {
    position: relative;
}

.host-landing .hl-ev-floor-wrap {
    width: 80%;
    height: 70%;
    border: 1px solid rgba(224, 192, 177, 0.3);
    position: relative;
    background: #fff;
}

.host-landing .hl-ev-floor-plan {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    color: #515f74;
}

.host-landing .detect-box {
    position: absolute;
    border: 1px solid rgba(157, 67, 0, 0.7);
    box-shadow: 0 0 0 2px rgba(157, 67, 0, 0.08);
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

.host-landing .detect-box.is-detected {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(157, 67, 0, 0.18), 0 0 10px rgba(157, 67, 0, 0.22);
}

.host-landing .detect-box.box-1 { top: 20%; left: 15%; width: 12%; height: 12%; }
.host-landing .detect-box.box-2 { top: 45%; left: 55%; width: 10%; height: 10%; }
.host-landing .detect-box.box-3 { top: 70%; left: 25%; width: 12%; height: 12%; }
.host-landing .detect-box.box-4 { top: 30%; left: 65%; width: 10%; height: 10%; }

/* Horizontal scan sweep line */
.host-landing .hl-ev-scan-sweep {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(157, 67, 0, 0.7) 50%, transparent 100%);
    box-shadow: 0 0 8px rgba(157, 67, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.host-landing .hl-ev-scan-sweep.is-scanning {
    animation: hlScanSweep 2.2s ease-in-out forwards;
}

@keyframes hlScanSweep {
    0%   { top:   0%; opacity: 0; }
    4%   { opacity: 1; }
    96%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.host-landing .tag-label {
    position: absolute;
    top: -1.1rem;
    left: 0;
    font-size: 0.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hl-primary);
    font-weight: 800;
    white-space: nowrap;
}

.host-landing .pulse-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: var(--hl-primary);
    animation: hlPulseSlow 1.5s ease-in-out infinite;
}

.host-landing .hl-ev-tally {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    background: var(--hl-on-surface);
    color: #fff;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--hl-primary);
    box-shadow: 0 20px 28px -14px rgba(0, 0, 0, 0.45);
}

.host-landing .hl-ev-tally-label {
    font-size: 0.45rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: #8ba0b5;
    font-weight: 700;
}

.host-landing .hl-ev-tally-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.58rem;
    text-transform: uppercase;
}

.host-landing .hl-ev-tally-row span:last-child {
    color: var(--hl-primary-container);
    font-weight: 800;
}

.host-landing .hl-ev-stage-copy {
    margin-top: 2rem;
}

.host-landing .hl-ev-stage-copy--top-left {
    position: absolute;
    top: 3rem;
    left: 3rem;
    margin: 0;
}

.host-landing .hl-ev-stage-copy--top-right {
    position: absolute;
    top: 3rem;
    right: 3rem;
    margin: 0;
    text-align: right;
}

.host-landing .hl-ev-kicker {
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--hl-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.host-landing .hl-ev-title {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hl-on-surface);
    margin: 0 0 0.5rem;
}

.host-landing .hl-ev-sub {
    margin: 0;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #515f74;
}

.host-landing .hl-ev-proposal {
    width: min(100%, 340px);
    background: #fff;
    border: 1px solid rgba(224, 192, 177, 0.3);
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.25);
    padding: 1.3rem;
}

.host-landing .hl-ev-proposal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(224, 192, 177, 0.3);
    padding-bottom: 0.6rem;
}

.host-landing .hl-ev-proposal-head span:first-child {
    font-size: 0.62rem;
    font-weight: 700;
}

.host-landing .hl-ev-proposal-head span:last-child {
    font-size: 0.45rem;
    color: #6c757d;
    background: var(--hl-surface-low);
    padding: 0.2rem 0.4rem;
}

.host-landing .hl-ev-proposal-row,
.host-landing .hl-ev-proposal-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(224, 192, 177, 0.2);
}

.host-landing .hl-ev-proposal-total {
    border-bottom: 0;
    font-size: 0.68rem;
    padding-top: 0.8rem;
}

.host-landing .hl-ev-proposal-total span {
    font-weight: 800;
    color: var(--hl-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.host-landing .hl-ev-proposal-progress {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.35rem;
}

.host-landing .hl-ev-proposal-progress span {
    display: block;
    height: 0.25rem;
}

.host-landing .hl-ev-proposal-progress span:first-child {
    width: 100%;
    background: var(--hl-primary);
}

.host-landing .hl-ev-proposal-progress span:last-child {
    width: 25%;
    background: rgba(224, 192, 177, 0.35);
}

/* === STAGE 4: COMPLIANCE SCAN PANEL === */
.host-landing .hl-ev-scan-panel {
    width: min(100%, 340px);
    background: #fff;
    border: 1px solid rgba(224, 192, 177, 0.35);
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
}

.host-landing .hl-ev-scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(224, 192, 177, 0.3);
    background: rgba(157, 67, 0, 0.03);
}

.host-landing .hl-ev-scan-title {
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hl-on-surface);
}

.host-landing .hl-ev-scan-status {
    font-size: 0.43rem;
    color: var(--hl-primary);
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: color 400ms ease;
}

.host-landing .hl-ev-scan-status.is-clear {
    color: #2a7d4f;
}

.host-landing .hl-ev-check-list {
    flex: 1;
    padding: 0.2rem 0;
}

.host-landing .hl-ev-check-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.75rem;
    border-bottom: 1px solid rgba(224, 192, 177, 0.15);
    opacity: 0.28;
    transition: opacity 200ms ease;
}

.host-landing .hl-ev-check-item:last-child {
    border-bottom: 0;
}

.host-landing .hl-ev-check-item.is-scanning,
.host-landing .hl-ev-check-item.is-passed {
    opacity: 1;
}

.host-landing .hl-ev-check-badge {
    flex-shrink: 0;
    font-size: 0.37rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--hl-primary);
    background: rgba(157, 67, 0, 0.09);
    padding: 0.15rem 0.3rem;
    border-radius: 2px;
    width: 2.8rem;
    text-align: center;
}

.host-landing .hl-ev-check-badge--ibc {
    color: var(--hl-tertiary);
    background: rgba(120, 90, 0, 0.09);
}

.host-landing .hl-ev-check-rule {
    flex: 1;
    font-size: 0.44rem;
    color: #515f74;
    line-height: 1.3;
}

.host-landing .hl-ev-check-mark {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #c5c8cc;
    font-variation-settings: "FILL" 0;
    transition: color 280ms ease, font-variation-settings 280ms ease;
    user-select: none;
}

.host-landing .hl-ev-check-item.is-scanning .hl-ev-check-mark {
    color: var(--hl-primary);
    animation: hlCheckSpin 0.75s linear infinite;
}

.host-landing .hl-ev-check-item.is-passed .hl-ev-check-mark {
    color: #2a7d4f;
    font-variation-settings: "FILL" 1;
    animation: none;
}

@keyframes hlCheckSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.host-landing .hl-ev-scan-footer {
    padding: 0.55rem 0.75rem;
    background: rgba(157, 67, 0, 0.02);
    border-top: 1px solid rgba(224, 192, 177, 0.3);
    display: flex;
    justify-content: center;
}

.host-landing .hl-ev-compliant-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 380ms ease, transform 380ms ease;
}

.host-landing .hl-ev-compliant-badge.is-visible {
    opacity: 1;
    transform: scale(1);
}

.host-landing .hl-ev-compliant-badge .material-symbols-outlined {
    font-size: 0.9rem;
    color: #2a7d4f;
    font-variation-settings: "FILL" 1;
}

.host-landing .hl-ev-compliant-badge span:last-child {
    font-size: 0.44rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #2a7d4f;
}

.host-landing .hl-ev-hud {
    position: absolute;
    bottom: 1.35rem;
    left: 1.35rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.host-landing .hl-ev-dots {
    display: flex;
    gap: 0.25rem;
}

.host-landing .stage-dot {
    width: 0.25rem;
    height: 0.25rem;
    background: rgba(224, 192, 177, 0.35);
}

.host-landing .stage-dot.is-active {
    background: var(--hl-primary);
}

.host-landing .hl-ev-hud span {
    font-size: 0.44rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8ba0b5;
}

@keyframes hlPulseSlow {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.75;
    }
}

@media (min-width: 992px) {
    .host-landing .hl-stage-panel {
        max-width: none;
    }
}


.host-landing .hl-metric-box {
    padding: 1.5rem 2.5rem;
    border-left: 4px solid var(--hl-primary);
    background: var(--hl-inverse-surface);
    color: #dfe3e7;
}

.host-landing .hl-metric-box--tertiary {
    background: var(--hl-tertiary);
    color: #fff;
    border-left-color: #251a00;
}

.host-landing .hl-metric-box--tertiary .hl-metric-label {
    color: #5a4300;
}

.host-landing .hl-metric-value {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.host-landing .hl-metric-label {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8ba0b5;
}

.host-landing .card.hl-module-card {
    border-radius: 0;
    border-color: rgba(224, 192, 177, 0.35);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.host-landing .card.hl-module-card:hover {
    border-color: var(--hl-primary);
}

.host-landing .card.hl-module-card--tertiary:hover {
    border-color: rgba(120, 90, 0, 0.35);
}

.host-landing .card.hl-card-flagship {
    border-radius: 0;
    background: var(--hl-inverse-surface);
    color: #dfe3e7;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .host-landing .card.hl-card-flagship {
        margin-top: -3rem;
        margin-bottom: 3rem;
    }
}

.host-landing .hl-flag-label {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--hl-tertiary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.host-landing .hl-timeline {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(157, 67, 0, 0.2);
}

.host-landing .hl-timeline-item {
    position: relative;
    padding-bottom: 1rem;
}

.host-landing .hl-timeline-dot {
    position: absolute;
    left: -1.35rem;
    top: 0.35rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--hl-primary);
}

.host-landing .hl-timeline-dot--muted {
    background: var(--hl-outline-variant);
}

.host-landing .btn.hl-btn-cta-primary {
    background-color: var(--hl-primary);
    border-color: var(--hl-primary);
    color: #fff;
    border-radius: 0;
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.65rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(var(--lpx-primary-rgb, 157, 67, 0), 0.28);
}

.host-landing .btn.hl-btn-cta-primary:hover {
    background-color: var(--hl-primary-container);
    border-color: var(--hl-primary-container);
    color: #fff;
}

.host-landing .btn.hl-btn-cta-ghost {
    border-radius: 0;
    border-color: rgba(140, 113, 100, 0.22);
    background: var(--hl-surface-low);
    color: var(--hl-on-surface);
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.65rem;
    padding: 1rem 2.5rem;
}

.host-landing .btn.hl-btn-cta-ghost:hover {
    background: var(--hl-surface-highest);
    border-color: rgba(140, 113, 100, 0.35);
    color: var(--hl-on-surface);
}

.host-landing .btn.hl-btn-tertiary-block {
    width: 100%;
    border-radius: 0;
    background: var(--hl-tertiary);
    border-color: var(--hl-tertiary);
    color: #fff;
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 1.1rem;
}

.host-landing .btn.hl-btn-tertiary-block:hover {
    background: #c19300;
    border-color: #c19300;
    color: #fff;
}

.host-landing .btn.hl-btn-outline-light-custom {
    border-radius: 0;
    border-color: rgba(223, 227, 231, 0.35);
    color: #dfe3e7;
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 1rem 2.75rem;
}

.host-landing .btn.hl-btn-outline-light-custom:hover {
    border-color: var(--hl-primary-container);
    color: var(--hl-primary-container);
    background: transparent;
}

.host-landing .hl-ar-image-wrap {
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    overflow: hidden;
}

.host-landing .hl-ar-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.4;
    mix-blend-mode: screen;
    transform: scale(1.08);
    transition: transform 1s ease;
}

.host-landing .hl-ar-image-wrap:hover img {
    transform: scale(1);
}

.host-landing .hl-watermark {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3rem;
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-size: clamp(4rem, 15vw, 11rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.host-landing .hl-trust-row {
    opacity: 0.4;
    filter: grayscale(1) contrast(1.15);
}

.host-landing footer.hl-footer-dark {
    background: var(--hl-inverse-surface);
    color: #dfe3e7;
}

.host-landing footer.hl-footer-dark a {
    color: rgba(223, 227, 231, 0.75);
    text-decoration: none;
}

.host-landing footer.hl-footer-dark a:hover {
    color: var(--hl-primary);
}

.host-landing .hl-footer-heading {
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--hl-primary);
    margin-bottom: 2rem;
}

.host-landing .hl-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.host-landing .hl-social-btn:hover {
    border-color: var(--hl-primary);
    color: var(--hl-primary);
}

.host-landing .hl-check-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 67, 0, 0.1);
    color: var(--hl-primary);
    flex-shrink: 0;
}

.host-landing .hl-check-icon .hl-material {
    font-size: 0.625rem;
}

/* Border + layout tokens (replaces scattered inline styles) */
.host-landing .border-hl-soft {
    border-color: rgba(224, 192, 177, 0.35) !important;
}

.host-landing .border-hl-strong {
    border-color: rgba(224, 192, 177, 0.5) !important;
}

.host-landing .border-hl-ar {
    border-color: rgba(249, 115, 22, 0.35) !important;
}

.host-landing .border-hl-inverse-hairline {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.host-landing .text-hl-ar-accent {
    color: #f97316 !important;
}

.host-landing .hl-z-front {
    z-index: 2;
}

.host-landing .hl-prose-hero {
    max-width: 32rem;
}

.host-landing .hl-prose-ar {
    max-width: 32rem;
}

.host-landing .hl-container-cta {
    max-width: 56rem;
}

.host-landing .hl-prose-final {
    max-width: 42rem;
}

.host-landing .hl-prose-tenant-hint {
    max-width: 48rem;
    font-size: 0.625rem;
    line-height: 1.6;
}

.host-landing .hl-prose-footer {
    max-width: 16rem;
}

.host-landing .hl-brand-icon {
    width: 28px;
    height: 28px;
}

.host-landing .hl-material--cta {
    font-size: 0.9rem;
}

.host-landing .hl-material--card {
    font-size: 2.25rem;
}

.host-landing .hl-material--trust {
    font-size: 1.75rem;
}

.host-landing .hl-material--compliance {
    font-size: 0.875rem;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.host-landing .hl-svg-hero-grid {
    width: 12rem;
    height: 12rem;
}

.host-landing .hl-img-living {
    height: 11rem;
    object-fit: cover;
    filter: grayscale(1);
    border-color: rgba(223, 227, 231, 0.2) !important;
}

.host-landing .hl-trust-row .col {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .host-landing .hl-trust-row .col {
        justify-content: flex-start;
    }
}

/* Keyboard focus (Bootstrap reset-safe) */
.host-landing :where(a, button, .btn):focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: 2px;
}

.host-landing .navbar-toggler:focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: 2px;
    box-shadow: none;
}

/* Respect OS “reduce motion” */
@media (prefers-reduced-motion: reduce) {
    .host-landing .scanning-line {
        display: none;
    }

    .host-landing .ecosystem-stage {
        transition: none !important;
        opacity: 0;
    }

    .host-landing .ecosystem-stage#stage-1 {
        opacity: 1;
        transform: none;
    }

    .host-landing .hl-ar-image-wrap img {
        transition: none;
    }
}

/* About Us (after AR / Future section) */
.host-landing .hl-about-section {
    --hl-about-bg: #1a1d21;
    --hl-about-accent: #c4622a;
    --hl-about-text: #e8eaed;
    --hl-about-muted: rgba(232, 234, 237, 0.72);
    background: var(--hl-about-bg);
    color: var(--hl-about-text);
}

.host-landing .hl-about-page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.host-landing .hl-about-icon {
    font-size: 2rem;
    color: var(--hl-about-accent);
    flex-shrink: 0;
    line-height: 1;
}

.host-landing .hl-about-block-title {
    font-weight: 700;
    color: #fff;
}

.host-landing .hl-about-body {
    color: var(--hl-about-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.host-landing .hl-about-team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
}

.host-landing .hl-about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(196, 98, 42, 0.45);
}

.host-landing .hl-about-name {
    color: #fff;
    font-weight: 700;
}

.host-landing .hl-about-role {
    color: var(--hl-about-accent);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.host-landing .hl-about-bio-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.host-landing .hl-about-quote {
    margin: 0;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    border-left: 4px solid var(--hl-about-accent);
    background: rgba(74, 158, 255, 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: rgba(232, 234, 237, 0.92);
    font-size: 1.05rem;
    line-height: 1.6;
}
