/* Shared presentation for the homepage and Premium Access platform tour. */
.dashboard-preview.hero-tour {
    container: hero-tour / inline-size;
    border-radius: 18px;
    background: var(--surface-card);
    color: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    text-align: left;
}
.hero-tour .dashboard-chrome {
    min-height: 64px;
    padding: 14px 24px;
    gap: 20px;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-light);
}
.hero-tour .tour-logo { display: block; width: 106px; height: auto; flex-shrink: 0; }
.hero-tour .tour-product { font-size: 14px; font-weight: 600; color: var(--white); border-left: 1px solid var(--border-light); padding-left: 20px; }
.hero-tour .tour-preview-label { margin-left: auto; font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.hero-tour .dashboard-body { height: 564px; }
.hero-tour .dashboard-sidebar { width: 158px; padding: 20px 10px; gap: 5px; background: var(--surface-card); }
.hero-tour .sidebar-menu-label { padding: 0 12px 12px; opacity: 1; font-size: 10px; color: var(--text-faint); }
.hero-tour .sidebar-icon { height: 39px; padding: 0 12px; gap: 10px; font-size: 12px; color: var(--text-light); border-radius: 7px; }
.hero-tour .sidebar-icon.active { background: var(--blue-light); color: var(--blue-ink); font-weight: 600; }
.hero-tour .sidebar-icon:hover { background: var(--navy-light); color: var(--blue-ink); }
.hero-tour .sidebar-icon svg { width: 16px; height: 16px; }
.hero-tour .sidebar-progress { display: none; }
.hero-tour .dashboard-main { padding: 22px 26px; background: var(--navy-light); }
.hero-tour .dash-cursor-ring { background: radial-gradient(circle, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%); } /* theme-guardrail-allow: translucent accents derived from semantic theme tokens */
.hero-tour .dash-cursor-arrow { filter: drop-shadow(0 1px 2px var(--border-mid)); }
.hero-tour .dash-cursor-ripple { border-color: var(--blue); }

/* A calmer map lets the selected ecosystem carry the emphasis. */
.hero-tour .gmap {
    --gmap-ocean1: var(--surface-card);
    --gmap-ocean2: var(--navy-light);
    --gmap-land: var(--surface-data);
    --gmap-land-stroke: color-mix(in srgb, var(--text-cool) 22%, var(--surface-data)); /* theme-guardrail-allow: translucent accents derived from semantic theme tokens */
    --gmap-accent: var(--blue);
    --gmap-accent2: var(--orange-accent);
    gap: 16px;
}
.hero-tour .gmap-head { display: grid; grid-template-columns: 1fr auto; gap: 3px 24px; align-items: center; }
.hero-tour .gmap-head .sec-badge { grid-column: 1; justify-self: start; padding: 0; background: none; color: var(--eyebrow); font-size: 10px; letter-spacing: .08em; }
.hero-tour .gmap-title { grid-column: 1; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.hero-tour .gmap-meta { display: none; }
.hero-tour .gmap-kpis { grid-column: 2; grid-row: 1 / 3; gap: 24px; margin: 0; }
.hero-tour .gmap-kpi strong { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.hero-tour .gmap-kpi span { display: block; margin-top: 5px; font-size: 9px; color: var(--text-faint); letter-spacing: .025em; }
.hero-tour .gmap-wrap { flex: 1; }
.hero-tour .gmap-canvas { aspect-ratio: 760 / 310; max-height: none; border: 1px solid var(--border-light); border-radius: 10px; box-shadow: none; }
.hero-tour .gmap-canvas::after { box-shadow: none; }
.hero-tour .gmap-grat { stroke: var(--border-light); opacity: .35; }
.hero-tour .gmap-hot.t1 { width: 5px; height: 5px; }
.hero-tour .gmap-hot.t2 { width: 8px; height: 8px; }
.hero-tour .gmap-hot .gmap-dot { box-shadow: 0 0 0 1.5px var(--surface-card); }
.hero-tour .gmap-hot:not(.is-hero) .gmap-glow { display: none; }
.hero-tour .gmap-hot.is-hero { width: 16px; height: 16px; }
.hero-tour .gmap-hot.is-hero .gmap-dot { box-shadow: 0 0 0 3px var(--surface-card), 0 0 0 5px color-mix(in srgb, var(--gmap-accent2) 20%, transparent); } /* theme-guardrail-allow: translucent accents derived from semantic theme tokens */
.hero-tour .gmap-hot.is-hero .gmap-glow { width: 46px; height: 46px; opacity: .32; }
.hero-tour .gmap-lbl { font-size: 10px; font-weight: 500; color: var(--text-light); background: var(--surface-card); box-shadow: none; padding: 2px 5px; border-radius: 4px; margin-top: 5px; }
.hero-tour .gmap-hot.is-hero .gmap-lbl { font-size: 11px; font-weight: 700; padding: 3px 7px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--gmap-accent2) 30%, transparent); } /* theme-guardrail-allow: translucent accents derived from semantic theme tokens */
.hero-tour .gmap-hot[aria-label="London"]:not(.is-hero) .gmap-lbl { left: -8px; transform: translateX(-100%); top: 0; }
.hero-tour .gmap-hot[aria-label="Stockholm"]:not(.is-hero) .gmap-lbl { top: auto; bottom: calc(100% + 5px); }
.hero-tour .gmap-hot[aria-label="Munich"]:not(.is-hero) .gmap-lbl { left: calc(100% + 5px); top: 5px; transform: none; }
.hero-tour .gmap-hot[aria-label="Boston"]:not(.is-hero) .gmap-lbl { left: calc(100% + 5px); top: -20px; transform: none; }
.hero-tour .gmap-hot[aria-label="Seattle"]:not(.is-hero) .gmap-lbl { left: -6px; transform: translateX(-100%); top: -12px; }
.hero-tour .gmap-foot { gap: 8px; }
.hero-tour .gmap-live { display: none; }
.hero-tour .gmap-hint { color: var(--text-faint); font-size: 11px; }

/* Keep the takeaway and controls outside the moving data canvas. */
.hero-tour .tour-footer { display: flex; align-items: center; gap: 24px; min-height: 96px; padding: 20px 24px; border-top: 1px solid var(--border-light); background: var(--surface-card); }
.hero-tour .tour-takeaway { flex: 1; min-width: 0; }
.hero-tour .tour-title { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--white); }
.hero-tour .tour-description { margin: 5px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-light); }
.hero-tour .tour-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.hero-tour .dash-fwd { position: static; opacity: 1; gap: 10px; }
.hero-tour .tour-count { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--text-faint); white-space: nowrap; }
.hero-tour .tour-pause, .hero-tour .dash-fwd-btn { height: 34px; padding: 0 10px; border: 1px solid var(--border-light); border-radius: 6px; background: var(--surface-card); box-shadow: none; color: var(--text-light); font: inherit; font-size: 12px; cursor: pointer; }
.hero-tour .tour-pause { width: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hero-tour .tour-pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero-tour .tour-pause .tour-play-icon { display: none; }
.hero-tour .tour-pause[aria-pressed="true"] .tour-play-icon { display: block; }
.hero-tour .tour-pause[aria-pressed="true"] .tour-pause-icon { display: none; }
.hero-tour .tour-pause:hover, .hero-tour .dash-fwd-btn:hover { background: var(--navy-light); color: var(--blue-ink); transform: none; box-shadow: none; }
.hero-tour .tour-access { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 0 16px; border-radius: 7px; color: var(--text-on-inverse); background: var(--blue); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hero-tour .tour-access:hover { background: var(--blue-hover); }
.hero-tour :is(button, a):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* The premium page embeds this same tour in a narrower column. */
@container hero-tour (max-width: 850px) {
    .hero-tour .dashboard-chrome { padding: 14px 18px; gap: 14px; }
    .hero-tour .tour-product { font-size: 12px; padding-left: 14px; }
    .hero-tour .tour-preview-label { font-size: 10px; }
    .hero-tour .dashboard-sidebar { width: 126px; padding: 18px 8px; }
    .hero-tour .sidebar-icon { padding: 0 8px; gap: 8px; font-size: 11px; }
    .hero-tour .dashboard-main { padding: 20px 18px; }
    .hero-tour .gmap-kpis { gap: 14px; }
    .hero-tour .gmap-kpi strong { font-size: 16px; }
    .hero-tour .gmap-title { font-size: 19px; }
    .hero-tour .tour-footer { flex-wrap: wrap; gap: 16px; padding: 18px; }
    .hero-tour .tour-takeaway { flex-basis: 100%; }
    .hero-tour .tour-actions { width: 100%; justify-content: space-between; }
    .hero-tour .tour-title { font-size: 20px; }
    .hero-tour .gmap-hot[aria-label="Munich"]:not(.is-hero) .gmap-lbl,
    .hero-tour .gmap-hot[aria-label="Seattle"]:not(.is-hero) .gmap-lbl { display: none; }
}
@media (max-width: 768px) {
    .hero-tour .dashboard-body { height: 480px; }
    .hero-tour .dashboard-sidebar { width: 100%; padding: 8px; gap: 2px; border-right: 0; border-bottom: 1px solid var(--border-light); }
    .hero-tour .sidebar-icon { height: 36px; padding: 0; }
    .hero-tour .dashboard-main { padding: 18px 14px; mask-image: none; -webkit-mask-image: none; }
    .hero-tour .dash-view[data-view-body="map"] .gmap { justify-content: center; gap: 18px; }
    .hero-tour .dash-view[data-view-body="map"] .gmap-head { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .hero-tour .dash-view[data-view-body="map"] .gmap-kpis { grid-column: 1; grid-row: auto; margin: 6px 0 0; gap: 10px; width: 100%; }
    .hero-tour .gmap-kpi { text-align: left; }
    .hero-tour .dash-view[data-view-body="map"] .gmap-canvas { width: 100%; margin: 0; max-height: none; box-shadow: none; }
    .hero-tour .gmap-lbl { font-size: 8px; padding: 1px 3px; }
    .hero-tour .gmap-hot.is-hero .gmap-lbl { font-size: 10px; }
    .hero-tour .gmap-hot[aria-label="Boston"]:not(.is-hero) .gmap-lbl,
    .hero-tour .gmap-hot[aria-label="Stockholm"]:not(.is-hero) .gmap-lbl,
    .hero-tour .gmap-hot[aria-label="Beijing"]:not(.is-hero) .gmap-lbl { display: none; }
    .hero-tour .tour-product { border: 0; padding: 0; margin-left: auto; font-size: 11px; max-width: 150px; text-align: right; }
    .hero-tour .dashboard-chrome { display: grid; grid-template-columns: 106px 1fr; gap: 2px 12px; }
    .hero-tour .tour-logo { grid-row: 1 / 3; }
    .hero-tour .tour-product { grid-column: 2; }
    .hero-tour .tour-preview-label { grid-column: 2; font-size: 9px; text-align: right; }
    .hero-tour .tour-footer { gap: 14px; }
}
@container hero-tour (max-width: 480px) {
    .hero-tour .tour-count { display: none; }
    .hero-tour .tour-actions { gap: 10px; flex-wrap: wrap; }
    .hero-tour .dash-fwd { gap: 6px; }
    .hero-tour .tour-access { padding: 0 14px; flex-grow: 1; }
    .hero-tour .dashboard-chrome { grid-template-columns: 90px minmax(0, 1fr); padding: 12px 14px; gap: 4px 10px; }
    .hero-tour .tour-logo { width: 90px; }
    .hero-tour .tour-preview-label { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-tour *, .hero-tour *::before, .hero-tour *::after { animation: none !important; transition: none !important; }
    .hero-tour .dash-cursor { display: none; }
}
