@font-face {
    font-family: "Instrument Serif";
    src: url("/assets/instrument-serif-italic-latin.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(body.landing) { scroll-behavior: smooth; }
}

.landing {
    --drive-dark: #101514;
    --drive-light: #fff9ed;
    --drive-accent: #e9bf85;
    --landing-header-height: 4.35rem;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
    background: var(--drive-dark);
}

.landing .marketing-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 4;
    border-color: #e9bf8529;
    background: #101514ed;
    backdrop-filter: blur(16px);
}
.landing .marketing-header .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: var(--landing-header-height);
    gap: clamp(.55rem, 2vw, 1.5rem);
}
.landing .marketing-header .brand { justify-self: start; }
.landing .marketing-header .header-actions { justify-self: end; justify-content: end; flex-wrap: nowrap; }
.landing .marketing-header :is(.brand, nav a, .login-link) { color: var(--drive-light); }
.landing .marketing-header nav {
    display: flex;
    gap: .15rem;
    padding: .22rem;
}
.landing .marketing-header nav a {
    display: grid;
    place-items: center;
    min-height: 2.3rem;
    padding: .32rem .72rem;
    border-radius: .56rem;
    color: #ede2d3;
    font-size: .875rem;
    text-align: center;
    white-space: nowrap;
}
.landing .marketing-header nav a:hover { background: #f6e6d011; }
.landing .marketing-header nav a[aria-current="location"] { color: #ffdaab; background: #e9bf8518; }
.nav-label-compact { display: none; }
.landing .marketing-header .button, .drive-button {
    background: linear-gradient(135deg, #f4d6ad, var(--drive-accent));
    border: 1px solid #fbe4c2;
    color: #231a0f;
    font-weight: 800;
}
.landing .marketing-header .button:hover, .drive-button:hover { background: #ffe0ad; color: #231a0f; }
.landing .landing-anchor, .landing-feature-list article { scroll-margin-top: calc(var(--header-size, var(--landing-header-height)) + .65rem); }

.landing-hero {
    color: var(--drive-light);
    padding-top: var(--header-size, var(--landing-header-height));
    background: radial-gradient(ellipse at 65% 30%, #1d2622, transparent 68%), var(--drive-dark);
}
.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    padding-block: clamp(2.75rem, 9vw, 7rem);
}
.landing-hero-copy { min-width: 0; }
.landing-hero h1 {
    color: var(--drive-light);
    font-size: clamp(2.5rem, 4.55vw, 4.9rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.landing-hero h1 em {
    display: block;
    font-family: "Instrument Serif", Georgia, serif;
    color: #f2d2a6;
    font-size: 1.07em;
    font-weight: 400;
    letter-spacing: -.035em;
}
.landing-hero p {
    color: #e1d7c8;
    max-width: 42ch;
    margin-top: 1.15rem;
    font-size: clamp(.98rem, 1.7vw, 1.12rem);
    line-height: 1.6;
    text-wrap: pretty;
}
.landing-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 32rem);
    margin-top: 1.65rem;
    gap: .7rem;
}
.landing-hero-actions .button { min-height: 3.2rem; }
.landing-hero-samples { display: flex; flex-wrap: wrap; column-gap: 1.05rem; row-gap: .2rem; margin-top: 1rem; }
.landing-hero-samples a { color: #f2d2a6; font-size: .88rem; padding: .28rem .56rem; border: 1px solid #e9bf8559; border-radius: .35rem; text-decoration: none; }
.landing-hero-samples a:hover { color: var(--drive-light); border-color: var(--drive-accent); text-decoration: none; }
@media (max-width: 52rem) { .landing-hero-samples { justify-content: center; } }
.landing-hero-photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 1px solid #e9bf853d;
    border-radius: clamp(.9rem, 2vw, 1.5rem);
    background: #191f1c;
    box-shadow: 0 22px 62px #070b086e;
}
.landing-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drive-button { padding: .72rem 1.05rem; }
.drive-explore { gap: .48rem; color: var(--drive-light); background: #15191680; border-color: #fff0d34f; }
.drive-explore:hover { color: var(--drive-accent); border-color: var(--drive-accent); }
.landing :is(.marketing-header, .landing-hero) :focus-visible { outline-color: var(--drive-accent); }
.landing-signup-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.landing-journey { position: relative; isolation: isolate; background: var(--drive-dark); color: var(--drive-light); }
.journey-backdrop { display: none; }
.landing-journey[data-journey-motion="on"] .journey-backdrop {
    display: block; position: sticky; top: 0; height: 100svh; margin-bottom: -100svh;
    overflow: clip; pointer-events: none; z-index: -1;
}
.journey-backdrop::after, .journey-layer, .journey-layer > * { position: absolute; inset: 0; }
.journey-layer:not(:first-child) { opacity: 0; }
.journey-layer > * { width: 100%; height: 100%; object-fit: cover; }
.journey-layer > * { transform: translateY(var(--journey-pan, 0)) scale(var(--journey-scale, 1)); }
.journey-backdrop::after {
    content: ""; background: linear-gradient(90deg, #0b100ff0, #0b100fb8 45%, #0b100f65);
}

.landing .journey-scene {
    position: relative;
    display: grid;
    align-items: center;
    
    padding-block: clamp(3rem, 7vw, 6rem);
    border-top: 1px solid #fff3d722;
    background: linear-gradient(90deg, #0b100ff2, #0b100fa8 48%, #0b100f55), var(--journey-poster) center / cover;
}
.landing .journey-scene:first-of-type { border-top: 0; }
.journey-scene[data-journey-scene="detail"] { --journey-poster: url("/assets/example-wellness.jpg"); }
.journey-scene[data-journey-scene="light"] { --journey-poster: url("/assets/landing-workspace.webp"); }
.journey-scene[data-journey-scene="rain"] { --journey-poster: url("/assets/example-hospitality.jpg"); }
.journey-scene[data-journey-scene="road"] { --journey-poster: url("/assets/landing-storefront.webp"); }
.landing-journey[data-journey-motion="on"] .journey-scene { background: transparent; }
.journey-scene p { color: #efe5d8; }
.journey-scene :focus-visible { outline-color: var(--drive-accent); }
.journey-scene .landing-kicker { color: var(--drive-accent); font-size: .875rem; font-weight: 800; margin-bottom: .45rem; }

.landing .feature-area h2 { max-width: 19ch; font-size: clamp(2.1rem, 4.45vw, 4.35rem); margin-bottom: 1.8rem; }
.landing-features { display: grid; gap: clamp(1.4rem, 5vw, 5rem); grid-template-columns: .95fr 1.05fr; align-items: start; }
.landing-feature-list { border-top: 1px solid #fff3d738; }
.landing-feature-list article { padding-block: 1.1rem; border-bottom: 1px solid #fff3d738; }
.landing-feature-list h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); margin-bottom: .3rem; }
.landing .hero-visual {
    min-height: auto;
    padding: clamp(.7rem, 1.7vw, 1.25rem);
    background: #171917b3;
    border: 1px solid #fff3d738;
    box-shadow: 0 12px 30px #05050466;
}
.landing .preview-card { background: #faf7ee; color: #1d2e28; }
.landing .preview-card p { color: #514b43; }
.landing .sample-event.accent { background: #f5dfb8; }
.landing .preview-header h3 { font-size: 1.45rem; margin-top: .2rem; }
.landing-assistant-row, .landing-faq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem clamp(2rem, 7vw, 7rem); align-items: start; }
.landing-assistant h2, .landing-faq h2, .landing-signup h2 { font-size: clamp(1.8rem, 3.65vw, 3.4rem); }
.landing-assistant h2 + p { margin-top: .65rem; max-width: 44ch; }
.landing-prompt { background: #131613e5; padding: 1.25rem; border-radius: .75rem; border: 1px solid #fff3d751; }
.landing-prompt strong { color: var(--drive-accent); }
.landing-prompt > p + p { margin-top: .35rem; }
.landing-faq details { border-top: 1px solid #fff3d751; padding: .8rem 1rem; background: #0d1412b3; }
.landing-faq details:last-child { border-bottom: 1px solid #fff3d751; }
.landing-faq summary { cursor: pointer; font-weight: 700; }
.landing-faq summary + p { margin-top: .5rem; }
.landing-signup > div { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.landing-signup h2 + p { margin-top: .6rem; }
.landing .site-footer { flex-wrap: wrap; gap: 1rem 1.5rem; border-top: 1px solid #fff3d738; }
.landing .site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.landing .site-footer a { color: var(--drive-light); }

@media (max-width: 52rem) {
    .landing-features, .landing-assistant-row, .landing-faq-row { grid-template-columns: 1fr; }
    .landing-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .landing-hero-copy { text-align: center; }
    .landing-hero p, .landing-hero-actions { margin-inline: auto; }
    .landing-hero-photo { width: min(100%, 37rem); justify-self: center; aspect-ratio: 16 / 9; }
}

@media (max-width: 38rem) {
    .landing-hero-grid { padding-block: 2.3rem 2.5rem; gap: 1.5rem; }
    .landing-hero h1 { font-size: clamp(2.3rem, 10vw, 3.45rem); }
    .landing-hero p { margin-top: .8rem; }
    .landing-hero-photo { aspect-ratio: 4 / 3; }
    .landing-hero-actions, .landing-signup-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 26rem);
        margin-inline: auto;
    }
    .landing-hero-actions { margin-top: 1.25rem; }
    .landing-signup > div, .examples-cta { justify-content: center; text-align: center; }
}
