.landing {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 79px);
    overflow: clip;
    padding-bottom: clamp(24px, 1.55vw, 28px);
    background: #dfe8ff;
}

.landing-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
}

.intro {
    padding: clamp(40px, 4.1vw, 63px) 24px 0;
    text-align: center;
}

.intro h1 {
    max-width: 1030px;
    margin-inline: auto;
    font-size: clamp(46px, 4.84vw, 74px);
    font-weight: 750;
    line-height: .99;
    letter-spacing: -.061em;
    text-wrap: balance;
}

.intro p {
    max-width: 1030px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: clamp(18px, 1.57vw, 24px);
    font-weight: 480;
    line-height: 1.36;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.google-name {
    display: inline-flex;
    align-items: center;
    gap: .22em;
    white-space: nowrap;
}

.google-name img {
    width: .84em;
    height: auto;
    border-radius: .15em;
}

.intro-actions {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2vw, 30px);
    margin-top: clamp(24px, 2.05vw, 31px);
}

.intro-actions .button, .booking-cta {
    min-height: clamp(50px, 4.55vw, 70px);
    padding-inline: clamp(20px, 2.35vw, 37px);
    border-radius: clamp(12px, 1.28vw, 20px);
    font-size: clamp(17px, 1.73vw, 26.5px);
    letter-spacing: -.035em;
}

.intro-actions .button-outline { min-width: clamp(134px, 14.7vw, 226px); }

.demo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.31fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(12px, 1.6vw, 25px);
    width: min(1348px, calc(100% - 76px));
    margin: clamp(28px, 2.7vw, 42px) auto 0;
    padding: clamp(15px, 1.9vw, 29px);
    border: clamp(4px, .58vw, 9px) solid rgb(255 255 255 / .95);
    border-radius: clamp(25px, 3.18vw, 49px);
    background: rgb(248 248 252 / .94);
    box-shadow: 0 12px 46px rgb(31 54 112 / .15), inset 0 2px 6px rgb(255 255 255 / .75);
    scroll-margin-top: 18px;
}

.demo:focus:not(:focus-visible) { outline: 0; }

.calendar {
    display: grid;
    align-items: center;
    padding-inline: clamp(8px, 1.55vw, 24px) clamp(12px, 2.05vw, 32px);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(2px, .24vw, 4px);
}

.calendar-slot { min-width: 0; }
.calendar-slot img { width: 100%; height: auto; }
.calendar-slot[data-tone="1"] img { opacity: .66; }
.calendar-slot[data-tone="2"] img { filter: saturate(1.3) brightness(.97); opacity: .88; }
.calendar-slot[data-tone="3"] img { filter: saturate(1.75) brightness(.92); }

.booking {
    position: relative;
    min-width: 0;
    padding: clamp(17px, 1.97vw, 30px);
    border: 1px solid rgb(255 255 255 / .95);
    border-radius: clamp(19px, 1.95vw, 30px);
    background: #fdfdff;
    box-shadow: 0 12px 29px rgb(39 48 99 / .12);
    scroll-margin-top: 20px;
}

.booking-profile {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 24px);
}

.studio-mark {
    flex: 0 0 auto;
    width: clamp(54px, 5.65vw, 87px);
    height: auto;
}

.booking-profile h2 {
    font-size: clamp(25px, 2.38vw, 37px);
    font-weight: 720;
    letter-spacing: -.055em;
    line-height: 1.06;
}

.booking-profile p {
    margin-top: 7px;
    color: var(--muted);
    font-size: clamp(16px, 1.66vw, 25px);
    font-weight: 480;
    letter-spacing: -.036em;
    line-height: 1.2;
}

.booking-fee, .booking-deposit {
    display: flex;
    align-items: center;
    gap: clamp(9px, 1.15vw, 18px);
    letter-spacing: -.04em;
}

.booking-fee {
    margin: clamp(14px, 1.65vw, 25px) 0 clamp(14px, 1.5vw, 23px);
    padding: 0 clamp(4px, .7vw, 11px);
    min-height: 42px;
    font-size: clamp(22px, 1.94vw, 30px);
    font-weight: 660;
}

.booking-icon {
    width: clamp(25px, 2.55vw, 39px);
    height: auto;
    flex: 0 0 auto;
    filter: invert(10%) sepia(37%) saturate(2165%) hue-rotate(198deg) brightness(84%) contrast(96%);
}

.stripe-mark {
    width: clamp(38px, 3.85vw, 59px);
    height: auto;
    margin-inline-start: auto;
}

.booking-deposit {
    min-height: clamp(48px, 4.4vw, 68px);
    padding: 7px clamp(10px, 1.25vw, 19px);
    border-radius: clamp(12px, 1.3vw, 20px);
    background: #d0f7fd;
    font-size: clamp(15px, 1.51vw, 23px);
    font-weight: 660;
    line-height: 1.24;
    transition: background-color .34s ease, box-shadow .34s ease;
}

.booking-cta {
    width: 100%;
    margin-top: clamp(15px, 1.62vw, 25px);
}

.motion-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.motion-path {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
}

.selected-tile, .flying-tile {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    display: block;
    visibility: hidden;
    border: 1px solid rgb(255 255 255 / .58);
    border-radius: clamp(9px, 1.4vw, 21px);
    background: #4136f6;
    box-shadow: inset 0 0 9px rgb(216 209 255 / .72), inset 0 -15px 25px rgb(22 11 197 / .23), 0 7px 24px rgb(67 58 255 / .38);
}

.selected-tile[data-positioned] {
    visibility: visible;
    box-shadow: inset 0 0 9px rgb(216 209 255 / .72), inset 0 -15px 25px rgb(22 11 197 / .23), 0 7px 24px rgb(67 58 255 / .38), -18px 14px 0 rgb(128 119 247 / .17), -35px 25px 0 rgb(128 119 247 / .1);
}

.demo[data-motion="assembling"] .selected-tile { visibility: hidden; }
.flying-tile { z-index: 5; }
.demo[data-motion="transfer"] .flying-tile[data-positioned] { visibility: visible; }
.demo[data-motion="transfer"] .selected-tile { opacity: .22; }
.demo[data-motion="assembling"] .booking-deposit,
.demo[data-motion="transfer"] .booking-deposit { background: #eff4fc; }
.demo[data-motion="arrival"] .booking-deposit { box-shadow: 0 0 28px rgb(84 228 254 / .5); }

@media (max-width: 1080px) {
    .demo { width: calc(100% - 48px); }
    .calendar { padding-inline: 3px; }
}

@media (max-width: 700px) {
    .landing-backdrop { object-position: center; }
    .intro { padding: 38px 18px 0; }
    .intro h1 { font-size: clamp(34px, 8.65vw, 53px); line-height: 1.04; }
    .desktop-break { display: none; }
    .intro p { margin-top: 18px; font-size: 16px; }
    .intro-actions { flex-wrap: wrap; margin-top: 24px; gap: 8px; }
    .intro-actions .button { min-height: 44px; padding-inline: 13px; font-size: 14px; }
    .intro-actions .button-outline { min-width: 0; }
    .demo { grid-template-columns: minmax(0, 1fr); width: calc(100% - 28px); padding: 12px; }
    .calendar { padding: 8px 14px 5px; }
    .calendar-grid { gap: 2px; }
    .booking { padding: 15px; }
    .booking-cta { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-path, .flying-tile { display: none; }
}
