
.editorial-home .shell {width:var(--site-nav-width)}

.tour-hero, .tour-section {
    background: radial-gradient(ellipse at 80% 55%, rgba(146,107,216,.17), transparent 62%);
}
.tour-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}
.tour-hero {
    /* The sticky header occupies the first row of the opening screen. */
    --header-height:92px;
    --hero-dot-gap:24px;
    position:relative;
    isolation:isolate;
    display:grid;
    align-items:center;
    min-height:calc(100vh - var(--header-height));
    min-height:calc(100dvh - var(--header-height));
    padding-block:clamp(20px, 4svh, 64px);
}
.tour-hero::before, .tour-hero::after {
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background-image:radial-gradient(circle, var(--hero-dot-color) 1px, transparent 1.45px);
    background-size:var(--hero-dot-gap) var(--hero-dot-gap);
    background-position:center top;
}
.tour-hero::before {
    content:"";
    --hero-dot-color:color-mix(in srgb, var(--purple) 22%, transparent);
    mask-image:linear-gradient(#000 65%, transparent);
}
@media (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) {
    .tour-hero::after {
        content:"";
        --hero-dot-color:color-mix(in srgb, var(--purple) 75%, transparent);
        mask-image:radial-gradient(circle 220px at var(--hero-pointer-x, 50%) var(--hero-pointer-y, 50%), #000, transparent);
        opacity:0;
        transition:opacity .25s ease-out;
    }
    .tour-hero.is-pointer-active::after {opacity:1}
}
@media (max-width:1000px) { .tour-hero {--header-height:78px} }
@media (max-width:640px) { .tour-hero {--header-height:72px} }
.tour-hero h1 {font-size: clamp(44px, 5.5vw, 87px); text-wrap: balance}
.tour-hero .section-description, .send-controls .section-description {margin-top: 22px}
.tour-hero .button-row {margin-block: 26px 10px}
.hero-platforms {white-space:nowrap}
.hero-platforms svg {width:1em; height:1em; vertical-align:-.12em; margin-inline-end:.3em}
.tour-shot {display: block; min-width: 0}
.hero-media {display:grid; min-width:0}
.hero-media > * {grid-area:1/1; align-self:start}
.hero-visual {
    display:block;
    width:100%;
    height:auto;
    pointer-events:none;
}
.hero-visual-signal {opacity:0; stroke-dasharray:8 92}
.hero-visual-recipient {color:color-mix(in srgb, var(--purple) 70%, var(--line))}
.tour-shot img {display: block; width: 100%; border-radius: 9px; box-shadow: 0 12px 35px -13px rgba(42,25,64,.35)}
@media (prefers-reduced-motion:no-preference) {
    .hero-media {animation: tour-arrive .45s ease-out both}
    @keyframes tour-arrive {from {opacity: .8; transform: translateY(10px)}}
    .hero-visual-signal {animation:hero-mail-flow 3.6s linear infinite}
    @keyframes hero-mail-flow {
        0% {opacity:0; stroke-dashoffset:108}
        8% {opacity:1}
        57% {opacity:1}
        66%, 100% {opacity:0; stroke-dashoffset:0}
    }
    .hero-visual-recipient {animation:hero-mail-arrival 3.6s ease-out infinite}
    .hero-visual-recipient:nth-last-child(2) {animation-delay:.22s}
    .hero-visual-recipient:last-child {animation-delay:.44s}
    @keyframes hero-mail-arrival {
        56%, 76% {color:color-mix(in srgb, var(--purple) 70%, var(--line))}
        64% {color:var(--purple)}
    }
}
.tour-section h2 {max-width: 21ch; text-wrap: balance}
.tour-section .section-description {margin-top: 18px; max-width: 62ch}

/* One native horizontal snap per viewport. The page-scroll enhancement pins
   this same surface only when its content fits the available screen. */
.use-section {background:var(--site-paper)}
.use-screen {position:relative; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; min-height:100svh; background:radial-gradient(ellipse at 72% 55%, rgba(146,107,216,.18), transparent 66%), var(--site-tint)}
.use-screen::after {content:""; position:absolute; inset:auto 0 0; height:min(32px,3vh); background:linear-gradient(transparent,var(--site-paper)); pointer-events:none}
.use-section.is-pinned .use-screen, .has-rail-handoff .use-screen {position:sticky; top:0}
/* Keep the outgoing screen above the incoming title until the tint fades away. */
.use-section.has-rail-handoff {position:relative; z-index:1; background:transparent; pointer-events:none}
.has-rail-handoff .use-screen:not([inert]) {pointer-events:auto}
.has-rail-handoff .use-screen::after {display:none}
.use-heading {padding-block-start:clamp(72px, 10vh, 120px)}
.use-heading h2 {font-size:clamp(30px, 3.1vw, 62px); text-wrap:balance}
.use-track {width:100%; min-width:0; display:flex; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--line) transparent}
.is-pinned .use-track {scroll-snap-type:none; scrollbar-width:none; overflow-x:hidden}
.use-panel {flex:0 0 100%; min-width:0; display:grid; align-items:center; padding-block:clamp(22px, 4vh, 65px); scroll-snap-align:start}
.use-panel[inert]:not(.near-slide) .tour-shot img {display:none}
.use-panel-inner {display:grid; align-items:center; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(30px,5vw,150px)}
.use-panel h3 {font:400 clamp(48px,5.3vw,128px)/1.04 var(--serif); letter-spacing:-.047em; text-wrap:balance}
.use-panel p {font-size:clamp(1rem,1.3vw,1.6rem); max-width:46ch; margin-top:22px}
.use-panel .tour-shot {aspect-ratio:8/5; width:min(100%, 90svh); justify-self:center}
.use-panel .text-link {font-size:1rem; margin-top:24px}
.tour-chapters h3 {font:400 clamp(30px,3.2vw,56px)/1.14 var(--serif); letter-spacing:-.035em; text-wrap:balance}
.use-track {scrollbar-width:none; overflow-y:hidden}
.use-track::-webkit-scrollbar {display:none}
.use-track:focus-visible {outline:none}
.use-screen:has(.use-track:focus-visible) h2 {text-decoration:underline; text-decoration-color:var(--purple); text-decoration-thickness:2px; text-underline-offset:.16em}
.tour-section {border:0; padding-block-end:0}
.tour-intro {text-align:center}
.tour-intro > * {margin-inline:auto}
.tour-chapters {list-style:none; margin:clamp(20px,3vh,48px) 0 0; padding:0}
.tour-chapters li {
    display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr); align-items:center;
    gap:clamp(28px,4.5vw,96px); min-height:100svh; padding-block:clamp(46px,9svh,120px);
}
.tour-copy p {margin-top:16px; max-width:37ch}
.tour-percent {display:block; margin-top:16px; color:var(--purple); font:600 clamp(22px,2vw,34px)/1.1 Inter,sans-serif; font-variant-numeric:tabular-nums}
.tour-counter {display:block; color:var(--purple); font-size:.82rem; letter-spacing:.1em; font-variant-numeric:tabular-nums; margin-bottom:16px}
.tour-sequence {position:relative; margin:0; width:100%; aspect-ratio:8/5; align-self:center; overflow:hidden; border-radius:10px; box-shadow:0 12px 40px -22px rgba(38,23,62,.55)}
.tour-sequence picture, .tour-sequence img {display:block; width:100%; height:100%}
.tour-sequence .sequence-frame {position:absolute; inset:0}
.tour-sequence [hidden] {display:none}
.tour-section.has-story-motion {padding-block:0}
.tour-layout.is-pinned .tour-viewport {position:sticky; top:0; height:100svh; display:grid; align-items:center}
.tour-layout.is-pinned .tour-intro, .tour-layout.is-pinned .tour-chapters {grid-area:1/1; min-width:0}
.tour-layout.is-pinned .tour-intro {
    opacity:var(--intro-opacity,0); pointer-events:none;
    transform:scale(var(--intro-scale,1));
}
.tour-layout.is-pinned .tour-chapters {
    height:100%; margin:0; display:grid; opacity:var(--scene-opacity,0); transform:scale(var(--scene-scale,1));
}
.tour-section.has-story-motion + #contact-book {
    position:relative; min-height:200svh; margin-block-start:-200svh; padding-block:0; pointer-events:none;
}
.tour-section.has-story-motion + #contact-book .showcase-inner {
    position:sticky; top:0; min-height:100svh; align-content:center;
    opacity:var(--contact-opacity,0); transform:scale(var(--contact-scale,.86)); transition:none;
}
.tour-section.has-story-motion + #contact-book:not([inert]) .showcase-inner {pointer-events:auto}
.use-screen {opacity:var(--rail-opacity,1)}
.tour-layout.is-pinned li {grid-area:1/1; visibility:hidden; pointer-events:none; min-height:0}
.tour-layout.is-pinned li.is-current {visibility:visible; pointer-events:auto}
.tour-layout.is-pinned li:not(.is-current) .tour-sequence picture img,
.tour-layout.is-pinned .tour-chapters[inert] .tour-sequence picture img {display:none}
@media (prefers-reduced-motion:no-preference) {
    .tour-layout.is-pinned .tour-copy {
        opacity:0; visibility:hidden;
        transition:opacity .14s ease-out, visibility 0s linear .14s;
    }
    .tour-layout.is-pinned .is-current .tour-copy {
        opacity:1; visibility:visible;
        transition:opacity .24s ease-in .14s, visibility 0s;
    }
    .tour-layout.is-pinned #account.is-current .tour-copy {opacity:var(--account-copy,1); transition:none}
    .js-reveal [data-reveal] {
        opacity:0; transform:translateY(22px);
        transition:opacity .52s ease-out, transform .52s ease-out;
    }
    .js-reveal [data-reveal].is-visible, .js-reveal [data-reveal]:focus-within {
        opacity:1; transform:none;
    }
}
@media (max-width:760px) and (orientation:portrait), (max-width:760px) and (min-height:541px) {
    .tour-chapters li {grid-template-columns:minmax(0,1fr); align-content:center; gap:clamp(20px,4svh,36px)}
    .tour-copy p {max-width:46ch}
    /* The longest caption sets the shared text row. Every frame occupies the same row below it. */
    .tour-layout.is-pinned .tour-chapters {
        grid-template-rows:1fr auto auto 1fr;
    }
    .tour-layout.is-pinned li {
        grid-row:1 / -1; grid-template-rows:subgrid; row-gap:0; padding-block:0;
    }
    .tour-layout.is-pinned .tour-copy {grid-row:2; align-self:end}
    .tour-layout.is-pinned .tour-sequence {grid-row:3; margin-top:clamp(20px,4svh,36px)}

}
.inbox-captions {display:flex; justify-content: space-between; direction:ltr; margin-block-start: 12px; font-size:.9rem; color:var(--muted)}
.send-controls {background: rgba(146,107,216,.075)}
@media (min-width:1550px) {
    .hero-media {width:min(100%,120svh); justify-self:center}
    .tour-section .section-description, .tour-chapters li p {font-size:clamp(20px,1.1vw,28px)}
}
@media (max-width: 899px) {
    .tour-hero-inner, .use-panel-inner {grid-template-columns:minmax(0,1fr); gap:26px}
    .hero-media {width:min(100%,64svh); justify-self:center}
    .use-heading {padding-block-start:40px}
    .use-panel {align-items:center}
    .use-panel .tour-shot {width:min(100%,720px)}
    .use-panel h3 {font-size:clamp(40px,8vw,74px)}
}
@media (max-width:640px) {
    .tour-section h2, .use-section h2, .send-controls h2 {font-size:clamp(32px, 8vw, 44px)}
    .use-panel {padding-block:24px 38px}
    .use-panel p {margin-top:14px}
    .tour-hero {padding-block:16px}
    .tour-hero-inner {gap:18px}
    .tour-hero h1 {font-size:clamp(34px,9vw,44px)}
    .tour-hero .section-description {font-size:1rem; line-height:1.5; margin-top:14px}
    .tour-hero .button-row {gap:10px; margin-block:18px 8px}
    .tour-hero .fine-print {font-size:.875rem; line-height:1.45}
    .tour-hero h1, .tour-chapters h3, .use-panel h3 {overflow-wrap:anywhere}
    .use-heading {padding-block-start:28px}
}
@media (orientation:landscape) and (max-height:540px) {
    .use-heading {padding-block-start:14px}
    .use-heading h2 {font-size:clamp(24px,3.5vw,30px)}
    .use-panel-inner {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(16px,3vw,24px)}
    .use-panel {padding-block:14px}
    .use-panel h3 {font-size:clamp(26px,4vw,36px)}
    .use-panel .tour-shot {width:min(100%,88svh)}
    .use-panel p, .use-panel .text-link {margin-top:10px}
    .tour-layout.is-pinned li {padding-block:14px; gap:clamp(16px,3vw,32px); grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
    .tour-layout.is-pinned .tour-sequence {max-width:115svh; justify-self:end}
    .tour-counter {margin-bottom:8px}
    .tour-copy p, .tour-percent {margin-top:8px}
    .tour-section.has-story-motion + #contact-book .showcase-inner {grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(16px,3vw,32px)}
    .tour-section.has-story-motion + #contact-book .home-demo {grid-area:1/1; width:min(100%,115svh)}
    .tour-section.has-story-motion + #contact-book .showcase-copy {grid-area:1/2}
    #contact-book .showcase-copy h2 {font-size:clamp(28px,4vw,36px)}
    #contact-book .showcase-copy p {margin-top:10px}
}

.feature-showcase {padding-block:clamp(48px, 7vw, 112px)}
.feature-showcase + .feature-showcase {border-top:1px solid var(--line)}
.editorial-home main .showcase-inner {
    display:grid; align-items:center;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr); gap:clamp(32px,6vw,100px);
}
.showcase-copy h2 {font-size:clamp(34px,3.7vw,60px); text-wrap:balance}
.showcase-copy p {margin-top:18px; max-width:42ch}
@media (min-width:761px) {
    .tour-sequence {max-width:100svh; justify-self:end}
    .feature-showcase:nth-of-type(even) .showcase-inner {grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr)}
    .feature-showcase:nth-of-type(even) .home-demo {grid-area:1/1}
    .feature-showcase:nth-of-type(even) .showcase-copy {grid-area:1/2}
}
@media (max-width:760px) {
    .editorial-home main .showcase-inner {grid-template-columns:minmax(0,1fr);gap:24px}
}

@media (min-width:620px) and (max-width:899px) and (orientation:landscape) {
    .tour-hero-inner {grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
}
@media (max-height:730px) {
    .tour-hero {padding-block:16px}
    .tour-hero h1 {font-size:clamp(36px,4.6vw,64px)}
    .tour-hero .section-description {margin-top:12px}
    .tour-hero .button-row {margin-block:16px 8px}
}
@media (min-width:620px) and (max-height:540px) {
    .tour-hero {padding-block:12px}
    .tour-hero h1 {font-size:32px}
    .tour-hero .section-description {font-size:1rem; line-height:1.45}
    .tour-hero .fine-print {font-size:.875rem; line-height:1.4}
}
