/* 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 (kept close to the bar's height
   so anchor jumps don't leave an extra sliver above the target section). */
html.hl-host-doc {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

@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;
    }
}

/* In-page anchor targets: trim only the TOP padding so jumping to a section
   doesn't leave a large empty band beneath the fixed navbar. Bottom padding
   (section separation) is unchanged. */
.host-landing #control-room,
.host-landing #build-room,
.host-landing #arch-ai,
.host-landing #pricing,
.host-landing #security,
.host-landing #about {
    padding-top: 2rem;
}

@media (min-width: 992px) {
    .host-landing #control-room,
    .host-landing #build-room,
    .host-landing #arch-ai,
    .host-landing #pricing,
    .host-landing #security,
    .host-landing #about {
        padding-top: 2.75rem;
    }
}

.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;
}

/* ── Persona switcher (Contractor / Agency) ─────────────────────────────── */
.host-landing .hl-persona-switch {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid var(--hl-surface-highest);
    background: var(--hl-surface-lowest);
    border-radius: 999px;
}

.host-landing .hl-persona-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hl-on-secondary-container);
    font-family: var(--hl-font-headline);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.host-landing .hl-persona-tab .hl-material {
    font-size: 1.15rem;
}

.host-landing .hl-persona-tab:hover {
    color: var(--hl-on-surface);
}

.host-landing .hl-persona-tab[aria-selected="true"] {
    background: var(--hl-primary);
    color: var(--hl-on-primary);
}

.host-landing .hl-persona-tab:focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: 2px;
}

/* Reorder the two module sections by selected persona.
   Default (no attribute / contractor) → BuildRoom first; agency → ControlRoom first. */
.host-landing .hl-modules-flex {
    display: flex;
    flex-direction: column;
}

.host-landing .hl-modules-flex > #build-room {
    order: 0;
}

.host-landing .hl-modules-flex > #control-room {
    order: 1;
}

.host-landing[data-persona="agency"] .hl-modules-flex > #control-room {
    order: 0;
}

.host-landing[data-persona="agency"] .hl-modules-flex > #build-room {
    order: 1;
}

/* ── Social proof — founder / advisor pedigree ──────────────────────────── */
.host-landing .hl-proof-pillar {
    padding: 1.25rem 1rem;
    border-top: 3px solid var(--hl-primary);
    background: var(--hl-surface-lowest);
    height: 100%;
}

.host-landing .hl-proof-value {
    font-family: var(--hl-font-headline);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    color: var(--hl-primary);
}

.host-landing .hl-proof-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--hl-on-secondary-container);
}

/* ── Competitive comparison ─────────────────────────────────────────────── */
.host-landing .hl-compare-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
    width: 100%;
}

/* Column headers */
.host-landing .hl-compare-table thead th {
    font-family: var(--hl-font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.76rem;
    color: var(--hl-on-secondary-container);
    text-align: left;
    vertical-align: bottom;
    padding: 0 1.5rem 1rem;
}

/* Body cells */
.host-landing .hl-compare-table tbody th,
.host-landing .hl-compare-table tbody td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.45;
    border-top: 1px solid var(--hl-surface-highest);
}

/* Row-label column */
.host-landing .hl-compare-table tbody th {
    font-family: var(--hl-font-headline);
    font-weight: 700;
    color: var(--hl-on-surface);
    width: 22%;
}

/* Plain value columns */
.host-landing .hl-compare-table tbody td {
    color: var(--hl-on-secondary-container);
}

/* ---- Featured TriArch column: card treatment ---- */
.host-landing .hl-compare-col--primary {
    border-left: 1px solid rgba(157, 67, 0, 0.22);
    border-right: 1px solid rgba(157, 67, 0, 0.22);
}

.host-landing .hl-compare-table thead th.hl-compare-col--primary {
    color: #fff;
    background: var(--hl-primary);
    border-top: 1px solid rgba(157, 67, 0, 0.22);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    text-align: center;
    letter-spacing: 0.14em;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 -12px 26px -20px rgba(157, 67, 0, 0.55);
}

.host-landing .hl-compare-table tbody td.hl-compare-col--primary {
    background: #fff5ef;
    border-top: 1px solid rgba(157, 67, 0, 0.12);
    color: var(--hl-on-surface);
    font-weight: 500;
}

.host-landing .hl-compare-table tbody tr:first-child td.hl-compare-col--primary {
    border-top: 0;
}

.host-landing .hl-compare-table tbody tr:last-child td.hl-compare-col--primary {
    border-bottom: 1px solid rgba(157, 67, 0, 0.22);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: 0 18px 26px -22px rgba(157, 67, 0, 0.5);
}

.host-landing .hl-compare-table tbody tr:last-child th {
    border-bottom: 0;
}

/* Value + check-icon layout inside the featured column */
.host-landing .hl-compare-val {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.host-landing .hl-compare-check {
    color: var(--hl-primary);
    font-size: 1.2rem;
    line-height: 1.35;
    flex-shrink: 0;
}

/* =======================================================================
   ArchAI — AI code-compliance assistant + "Live Session" console
   Foundry Technical Light: warm primary, sharp frame, soft chat bubbles.
   ======================================================================= */
.host-landing .hl-archai-features strong {
    font-weight: 800;
}

.host-landing .hl-archai-console {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    background: var(--hl-surface-lowest);
    border: 1px solid rgba(224, 192, 177, 0.5);
    box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.28), 0 2px 10px -4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    isolation: isolate;
}

/* Warm corner glow — echoes the hero ecosystem viz */
.host-landing .hl-archai-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 45% at 88% 6%, rgba(157, 67, 0, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 6% 96%, rgba(120, 90, 0, 0.06) 0%, transparent 58%);
}

.host-landing .hl-archai-console > *:not(.hl-archai-glow) {
    position: relative;
    z-index: 1;
}

/* --- header bar --- */
.host-landing .hl-archai-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.1rem;
    background: var(--hl-inverse-surface);
    border-bottom: 2px solid var(--hl-primary);
}

.host-landing .hl-archai-brand {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}

.host-landing .hl-archai-brand .tri {
    color: #fff;
}

.host-landing .hl-archai-brand .arch {
    color: var(--hl-primary-fixed-dim);
}

.host-landing .hl-archai-session {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.6rem;
}

.host-landing .hl-archai-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6ee0a0;
}

.host-landing .hl-archai-live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #34d27b;
    box-shadow: 0 0 0 0 rgba(52, 210, 123, 0.55);
    animation: hlArchaiPulse 1.8s ease-out infinite;
}

@keyframes hlArchaiPulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 210, 123, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(52, 210, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 210, 123, 0); }
}

/* --- context chips --- */
.host-landing .hl-archai-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(224, 192, 177, 0.4);
    border-bottom: 1px solid rgba(224, 192, 177, 0.4);
}

.host-landing .hl-archai-chip {
    background: var(--hl-surface-low);
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.host-landing .hl-archai-chip span {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ba0b5;
}

.host-landing .hl-archai-chip strong {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hl-on-surface);
}

/* --- active code badges --- */
.host-landing .hl-archai-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgba(224, 192, 177, 0.35);
}

.host-landing .hl-archai-code {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.5rem;
    background: rgba(157, 67, 0, 0.05);
    border: 1px solid rgba(157, 67, 0, 0.18);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(4px);
    animation: hlArchaiCodeIn 0.5s ease forwards;
}

.host-landing .hl-archai-code:nth-child(1) { animation-delay: 0.05s; }
.host-landing .hl-archai-code:nth-child(2) { animation-delay: 0.13s; }
.host-landing .hl-archai-code:nth-child(3) { animation-delay: 0.21s; }
.host-landing .hl-archai-code:nth-child(4) { animation-delay: 0.29s; }
.host-landing .hl-archai-code:nth-child(5) { animation-delay: 0.37s; }
.host-landing .hl-archai-code:nth-child(6) { animation-delay: 0.45s; }

@keyframes hlArchaiCodeIn {
    to { opacity: 1; transform: none; }
}

.host-landing .hl-archai-code-name {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--hl-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.host-landing .hl-archai-code-yr {
    font-size: 0.5rem;
    font-weight: 700;
    color: #8ba0b5;
}

.host-landing .hl-archai-code-on {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2a7d4f;
}

.host-landing .hl-archai-code-on::before {
    content: "";
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #2a7d4f;
}

/* --- transcript feed --- */
.host-landing .hl-archai-feed-label {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8ba0b5;
    padding: 0.7rem 1rem 0.35rem;
}

.host-landing .hl-archai-feed {
    height: 250px;
    overflow: hidden;
    padding: 0.3rem 1rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20px);
            mask-image: linear-gradient(180deg, transparent 0, #000 20px);
}

.host-landing .hl-archai-msg {
    display: flex;
    max-width: 88%;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.host-landing .hl-archai-msg.is-collapsed {
    display: none;
}

.host-landing .hl-archai-msg:not(.is-in) {
    opacity: 0;
    transform: translateY(10px);
}

.host-landing .hl-archai-msg.is-in {
    opacity: 1;
    transform: none;
}

.host-landing .hl-archai-msg--user {
    align-self: flex-end;
    justify-content: flex-end;
}

.host-landing .hl-archai-msg--ai {
    align-self: flex-start;
}

.host-landing .hl-archai-bubble {
    padding: 0.55rem 0.72rem;
    font-size: 0.72rem;
    line-height: 1.45;
    border-radius: 10px;
}

.host-landing .hl-archai-msg--user .hl-archai-bubble {
    background: var(--hl-primary);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.host-landing .hl-archai-msg--ai .hl-archai-bubble {
    background: var(--hl-surface-low);
    color: var(--hl-on-surface);
    border: 1px solid rgba(224, 192, 177, 0.5);
    border-bottom-left-radius: 3px;
}

.host-landing .hl-archai-answer-head {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hl-primary);
    margin-bottom: 0.4rem;
}

.host-landing .hl-archai-points {
    margin: 0 0 0.45rem;
    padding-left: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.host-landing .hl-archai-points li {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #3a4658;
}

.host-landing .hl-archai-points li::marker {
    color: var(--hl-primary);
}

.host-landing .hl-archai-points strong {
    color: var(--hl-on-surface);
    font-weight: 800;
}

.host-landing .hl-archai-refs {
    font-size: 0.6rem;
    font-weight: 600;
    color: #8ba0b5;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(224, 192, 177, 0.6);
}

/* typing indicator */
.host-landing .hl-archai-typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.72rem;
    background: var(--hl-surface-low);
    border: 1px solid rgba(224, 192, 177, 0.5);
    border-radius: 10px;
    border-bottom-left-radius: 3px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.host-landing .hl-archai-typing.is-collapsed {
    display: none;
}

.host-landing .hl-archai-typing:not(.is-in) {
    opacity: 0;
    transform: translateY(8px);
}

.host-landing .hl-archai-typing.is-in {
    opacity: 1;
    transform: none;
}

.host-landing .hl-archai-typing span {
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: var(--hl-primary);
    opacity: 0.35;
    animation: hlArchaiDot 1.1s ease-in-out infinite;
}

.host-landing .hl-archai-typing span:nth-child(2) { animation-delay: 0.18s; }
.host-landing .hl-archai-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes hlArchaiDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1; transform: translateY(-2px); }
}

/* --- footer --- */
.host-landing .hl-archai-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: var(--hl-inverse-surface);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.host-landing .hl-archai-foot-arrow {
    font-size: 0.85rem;
    color: var(--hl-primary-fixed-dim);
}

.host-landing .hl-archai-foot-ai {
    color: #6ee0a0;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .host-landing .hl-archai-feed { height: 232px; }
    .host-landing .hl-archai-codes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .host-landing .hl-archai-code {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .host-landing .hl-archai-live-dot { animation: none; }
    .host-landing .hl-archai-typing { display: none !important; }
    .host-landing .hl-archai-msg { transition: none; }
}

/* =======================================================================
   ControlRoom — "One Window" platform card: 2x2 module tiles
   ======================================================================= */
.host-landing .hl-ctrl-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.host-landing .hl-ctrl-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.65rem 0.7rem;
    background: var(--hl-surface-low);
    border: 1px solid rgba(224, 192, 177, 0.5);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.host-landing .hl-ctrl-tile:hover {
    border-color: rgba(157, 67, 0, 0.4);
    background: var(--hl-surface-lowest);
    transform: translateY(-2px);
}

.host-landing .hl-ctrl-tile .hl-material {
    font-size: 1.2rem;
    color: var(--hl-primary);
}

.host-landing .hl-ctrl-tile-label {
    font-family: var(--hl-font-headline), system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--hl-on-surface);
}
