/* The product landing shares its typography and brand accents with marketing.css. */
.marketing {
    --m-bg: #0b0a10;
    --m-panel: #16131e;
    --m-ink: #f7f5fc;
    --m-muted: #b3adbf;
    --m-line: #302b3c;
}

.marketing .m-header {
    position: sticky;
    top: 0;
    background: #0b0a10eb;
    backdrop-filter: blur(16px);
}

.marketing .header-inner { min-height: 74px; }
.marketing .product-nav a, .marketing .section-nav { font-size: 13px; }
.marketing .product-nav a[aria-current] { background: #262230; }

.landing-hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(490px, 71svh, 720px);
    padding-block: 60px 66px;
}

.landing-light {
    position: absolute;
    z-index: -1;
    inset: -7% -8% 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 17% 78%, #5834b18a, transparent 43%),
        radial-gradient(ellipse at 84% 19%, #3b26725c, transparent 40%),
        radial-gradient(ellipse at 50% 64%, #211938, transparent 61%);
}

.landing-light::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #e7ddff50 .65px, transparent .8px);
    background-size: 6px 6px;
    mask-image: radial-gradient(ellipse at 20% 77%, #000 0, transparent 45%);
    opacity: .36;
}

.landing-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}
.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #d9d4e5;
    font-size: 13px;
    font-weight: 600;
}

.landing-intro h1 {
    font-size: clamp(32px, 3.65vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 800;
}

.landing-intro h1 > span {
    display: block;
    overflow: clip;
    overflow-clip-margin: .11em;
    padding-block: .035em;
}

.landing-intro h1 > span > * { display: block; }
.landing-description {
    max-width: 470px;
    margin-top: 22px;
    color: #d3cde0;
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.55;
    text-wrap: pretty;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.landing-actions .m-button { min-height: 52px; padding: 13px 20px; gap: 12px; }
.marketing .m-button.primary { box-shadow: none; }
.landing-demo-link { border-color: #625872; background: #171320; }
.landing-demo-link .m-icon { width: 18px; height: 18px; color: #c6afff; }
.landing-demo-link:hover { background: #29213a; transform: translateY(-2px); }
.landing-actions .m-button:active { transform: scale(.97); }

.landing-preview { min-width: 0; margin: 0; }
.landing-preview-link {
    display: block;
    overflow: hidden;
    border: 1px solid #635676;
    border-radius: 14px;
    background: #131018;
    box-shadow: 0 20px 54px #07050c73;
    cursor: zoom-in;
}
.landing-preview-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #f5f1fb;
    background: #201a2b;
    font-size: 13px;
    font-weight: 600;
}
.landing-preview-zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d9c6ff;
}
.landing-preview-zoom .m-icon { width: 14px; height: 14px; }
.landing-preview-link:hover .landing-preview-zoom { color: var(--m-accent); }
.landing-preview-image { position: relative; display: block; aspect-ratio: 1.55; overflow: hidden; }
.landing-preview-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.landing-preview figcaption {
    margin-top: 10px;
    color: #c4b9d1;
    font-size: 13px;
}
.marketing .dialog-scroll:focus-visible { outline-offset: -3px; }

.marketing .module-strip { background: #100e16; }
.marketing .module-strip > div {
    justify-content: center;
    flex-wrap: wrap;
    column-gap: clamp(16px, 3vw, 48px);
    row-gap: 9px;
    padding-block: 17px;
    color: #d0cadb;
    font-size: 13px;
    font-weight: 500;
}
.marketing .module-strip span { gap: 9px; }
.marketing .module-strip span::before { content: "◆"; font-size: 7px; color: #b795ff; }

.product-tour { max-width: 1160px; }
.product-tour .section-heading > p { font-size: 15px; }
.product-tour .m-eyebrow { color: #c6afff; font-size: 13px; text-transform: none; letter-spacing: 0; }
.product-tour .tour-shell {
    border-color: #342d45;
    border-radius: 22px;
    background: radial-gradient(ellipse at 76% 30%, #31254d, transparent 67%), #15111e;
    overflow: visible;
}

.product-tour .demo-controls {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 12px;
    border-bottom-color: #ffffff16;
}
.product-tour [data-demo-ready] .demo-controls { display: grid; }
.product-tour .demo-controls button {
    min-height: 48px;
    padding: 10px 7px;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #c8c1d3;
    font-size: 13px;
    transition: background-color .18s, color .18s;
}
.product-tour .demo-controls button:hover { background: #ffffff0d; color: #fff; }
.product-tour .demo-controls button[aria-selected="true"] {
    background: #493368;
    border-color: #886ab5;
    color: #fff;
}
.product-tour .demo-controls button[aria-selected="true"]::after { content: none; }

.sales-journey .demo-controls { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sales-journey .demo-controls button { justify-content: flex-start; text-align: left; }
.journey-index {
    flex: none;
    color: #cab5f5;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.sales-journey .demo-controls button[aria-selected="true"] .journey-index { color: var(--m-accent); }
.journey-extra {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 12px;
    color: #dfcdff;
    font-size: 13px;
}
.journey-extra .m-icon { width: 15px; height: 15px; }
.journey-extra:hover { text-decoration: underline; }
.journey-event {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    margin-top: 14px;
    border-left: 2px solid var(--m-accent);
    background: #110e19;
    font-size: 13px;
}
.journey-event span { color: #bfb3d0; }
.sales-journey #demo-scene-0 .tour-image > img { object-position: 50% 39%; }

.tour-deck { display: grid; }
.product-tour .tour-scene {
    grid-area: 1 / 1;
    grid-template-columns: minmax(0, .95fr) minmax(0, 2.4fr);
    min-height: 0;
    gap: clamp(18px, 3vw, 42px);
    padding: 66px clamp(20px, 3vw, 38px) 36px;
    animation: none;
    pointer-events: none;
}
.product-tour .tour-scene:not([inert]) a { pointer-events: auto; }
.product-tour .tour-scene[inert] .tour-copy { visibility: hidden; }
.product-tour .tour-copy { min-width: 0; padding: 0; }
.product-tour .tour-copy h3 { font-size: clamp(23px, 2.35vw, 34px); }
.product-tour .tour-copy p { font-size: 15px; line-height: 1.58; }
.product-tour .scene-number { color: #c6afff; font-size: 12px; font-variant-numeric: tabular-nums; }
.product-tour .expand-link { display: inline-flex; align-items: center; gap: 8px; }

.product-tour .tour-image {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-self: center;
    width: 100%;
    min-width: 0;
    height: auto;
    border: 1px solid #544668;
    border-radius: 12px;
    background: #110e19;
    box-shadow: 0 10px 26px #08051050;
    transform: none;
    transform-origin: 50% 0;
    cursor: zoom-in;
}

.tour-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 34px;
    padding: 5px 12px;
    background: #211a2c;
    border-bottom: 1px solid #ffffff12;
    color: #d6cbeb;
    font-size: 12px;
}
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: #b99be9; }
.tour-dots i:nth-child(2) { opacity: .62; }
.tour-dots i:nth-child(3) { opacity: .36; }

.product-tour .tour-image > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
    object-position: top center;
}
.product-tour .tour-image-portrait > img {
    object-fit: contain;
    background: radial-gradient(ellipse at center, #352551, #191322 75%);
}
.product-tour .demo-footer {
    border-top-color: #ffffff16;
    border-radius: 0 0 22px 22px;
    background: #100e16;
    color: #bbb3c9;
    font-size: 12px;
}
.product-tour .demo-pause { display: none; font-size: 12px; }
.product-tour [data-demo-ready] .demo-pause { display: inline-flex; min-height: 36px; }

.marketing .story-steps article { border-color: var(--m-line); }
.marketing .story-steps p { font-size: 15px; }

@media (max-width: 900px) {
    .sales-journey .demo-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .landing-hero { min-height: 0; padding-block: 42px 34px; }
    .landing-layout { grid-template-columns: minmax(0, 1fr); max-width: 610px; }
    .landing-intro h1 { font-size: clamp(36px, 6.4vw, 58px); }
}

@media (max-width: 800px) {
    .product-tour .tour-scene {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 54px;
        align-content: end;
        padding: 24px 18px 22px;
    }
    .product-tour .tour-copy { display: block; }
    .product-tour .tour-copy h3 { max-width: none; margin: 8px 0; }
    .product-tour .tour-copy p { margin: 0; }
    .product-tour .expand-link { margin-top: 13px; }
}

@media (max-width: 600px) {
    .marketing .m-header { position: relative; backdrop-filter: none; }
    .marketing .header-inner { padding-block: 12px 8px; gap: 8px; }
    .marketing .product-nav a { font-size: 12px; }
    .landing-hero { padding-block: 30px 28px; }
    .landing-layout { gap: 22px; }
    .landing-kicker { margin-bottom: 12px; }
    .landing-intro h1 { font-size: clamp(32px, 9.6vw, 52px); }
    .landing-description { margin-top: 14px; }
    .landing-actions { margin-top: 17px; gap: 9px; }
    .landing-actions .m-button { min-height: 47px; padding: 10px 11px; font-size: 12px; gap: 7px; }
    .landing-actions .m-icon { width: 16px; height: 16px; }
    .landing-preview-bar { padding-inline: 9px; font-size: 12px; }
    .landing-preview-image img { left: -6%; width: 112%; max-width: none; }
    .product-booking .landing-preview-image img { left: -39%; width: 139%; }
    .marketing .module-strip > div { font-size: 11px; column-gap: 14px; }
    .product-tour .demo-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
    .product-tour .demo-controls button { min-height: 44px; font-size: 12px; }
    .product-tour .tour-scene { padding-inline: 12px; }
    .product-tour .demo-footer > span { max-width: none; }
    .marketing .m-footer { padding-bottom: max(35px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    .product-tour [data-demo-ready] .demo-pause { display: none; }
}

/* Sales uses the surface, type and accent colors of the booking landing. */
body.product-sales {
    --m-bg: #090b0d;
    --m-panel: #111417;
    --m-line: #1e2328;
    --m-ink: #fff;
    --m-muted: #a5b2c2;
    --m-accent: #c7f32c;
    --sales-elevated: #181c20;
    --sales-cyan: #00eefc;
    font-family: Inter, Arial, sans-serif;
}
.product-sales :is(h1, h2, h3, .m-brand) {
    font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
}
.product-sales .m-header { background: #090b0de0; }
.product-sales .product-nav { border-radius: 999px; background: var(--m-panel); }
.product-sales .product-nav a { border-radius: 999px; }
.product-sales .product-nav a[aria-current] { background: var(--m-accent); color: #1a2600; font-weight: 700; }
.product-sales .landing-light {
    background: radial-gradient(ellipse at 69% 51%, #c7f32c14, transparent 52%),
        radial-gradient(ellipse at 8% 100%, #00eefc0d, transparent 47%);
}
.product-sales .landing-light::after { opacity: .18; }
.product-sales .landing-kicker {
    border: 1px solid #c7f32c35;
    border-radius: 999px;
    background: var(--m-panel);
    color: var(--m-accent);
    padding: 6px 12px;
}
.product-sales .landing-description { color: var(--m-muted); }
.product-sales .m-button { border-radius: 12px; }
.product-sales .m-button.primary { color: #273500; box-shadow: 0 0 25px #c7f32c27; }
.product-sales .m-button.primary:hover { background: #d8ff42; }
.product-sales :is(.landing-demo-link, .landing-preview-bar, .tour-chrome) { background: var(--sales-elevated); }
.product-sales :is(.landing-demo-link, .landing-preview-link, .tour-image) { border-color: #303940; }
.product-sales .landing-demo-link .m-icon { color: var(--m-accent); }
.product-sales .landing-preview-zoom,
.product-sales .landing-preview figcaption { color: var(--m-muted); }
.product-sales .tour-shell { background: var(--m-panel); border-color: var(--m-line); }
.product-sales :is(.tour-image, .demo-footer, .journey-event) { background: var(--m-bg); }
.product-sales :is(.tour-chrome, .demo-footer, .journey-event span, .demo-controls button) { color: var(--m-muted); }
.product-sales :is(.section-heading .m-eyebrow, .scene-number, .journey-index, .journey-extra) { color: var(--sales-cyan); }
.product-sales .tour-dots i { background: var(--m-accent); }
.product-sales .demo-controls button[aria-selected="true"] {
    background: #c7f32c13;
    border-color: #c7f32c66;
    color: var(--m-ink);
}
.product-sales :is(.capability-card, .cross-product) { background: var(--m-panel); }
.sales-module-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 20px;
    margin-bottom: 16px;
    border: 1px solid var(--m-line);
    border-radius: 14px;
    background: var(--sales-elevated);
}
.sales-module-note .m-icon { color: var(--m-accent); margin-top: 2px; }
.sales-module-note strong { font-size: 16px; }
.sales-module-note p { margin-top: 4px; color: var(--m-muted); font-size: 14px; }
.product-sales .landing-demo-link:hover { background: #232a2d; }
.product-sales .control-banner { background: var(--m-accent); }
