/* Hail-repair parallax hero — reusable signature canvas piece. Self-contained dark surface. */
.hail-hero {
    position: relative;
    width: 100%;
    height: clamp(340px, 42vh, 520px);
    border-radius: 16px;
    overflow: hidden;
    background: #0a0e1a;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -24px rgba(0, 0, 0, .6);
}

.hail-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

.hail-hero-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    font: 500 12px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: rgba(199, 210, 254, .62);
    letter-spacing: .02em;
    pointer-events: none;
}

.hail-hero-hint b { color: #c7d2fe; font-weight: 700; }

.hail-hero-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(129, 140, 248, .5); }

.hail-hero-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* page-specific sizing hooks */
/* dashboard: blend INTO the .oc-carmap panel (transparent base lets its gradient show through) */
.hail-hero--dashboard { height: 248px; min-height: 0; width: 100%; align-self: stretch; background: transparent; box-shadow: none; border-radius: 12px; }
.hail-hero--landing { height: clamp(360px, 46vh, 540px); }

@media (max-width: 560px) {
    .hail-hero { height: 320px; }
    .hail-hero-hint { font-size: 11px; gap: 8px; }
}
