:root {
    --ink: #172436;
    --ink-soft: #44546a;
    --muted: #66758a;
    --line: #d9e0e8;
    --line-strong: #c6d0dc;
    --paper: #ffffff;
    --surface: #f4f6f8;
    --surface-blue: #edf2f7;
    --brand: #25364d;
    --accent: #bd4318;
    --accent-hover: #9f3513;
    --accent-soft: #fff1e9;
    --focus-ring: #2767b0;
    --page: 1240px;
    --narrow: 1050px;
    --shadow: 0 22px 56px rgba(22, 36, 54, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.branding-pending {
    opacity: 0;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--focus-ring) 72%, white);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.page-shell {
    width: min(calc(100% - 48px), var(--page));
    margin-inline: auto;
}

.narrow-shell {
    width: min(calc(100% - 48px), var(--narrow));
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(198, 208, 220, 0.78);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 760;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand-mark {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 620;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-nav .nav-login {
    padding: 9px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
}

.nav-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    overflow: hidden;
    padding: 82px 0 94px;
    background:
        radial-gradient(circle at 86% 10%, rgba(37, 54, 77, 0.075), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.45fr);
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.use-case-intro h2,
.faq-intro h2,
.final-cta h2 {
    margin: 0;
    color: var(--ink);
    font-weight: 750;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(43px, 4.25vw, 68px);
    line-height: 1.02;
}

.hero-lede {
    max-width: 590px;
    margin: 25px 0 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 760;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 24px rgba(189, 67, 24, 0.2);
}

.button-primary:hover {
    background: var(--accent-hover);
}

.text-link {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-underline-offset: 4px;
}

.product-frame,
.tour-figure {
    margin: 0;
}

.product-frame {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
}

.product-frame picture {
    display: block;
    overflow: hidden;
    aspect-ratio: 1600 / 810;
}

.product-frame img {
    width: 100%;
    height: auto;
    transform: translateY(-5%);
}

.product-frame figcaption,
.tour-figure figcaption {
    padding: 11px 15px 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.product-frame figcaption strong {
    color: var(--ink-soft);
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading h2,
.use-case-intro h2,
.faq-intro h2,
.final-cta h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
}

.section-heading > p:last-child,
.use-case-intro > p:last-child {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.demo-section {
    background: var(--paper);
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1600 / 710;
    border: 1px solid var(--line-strong);
    border-radius: 14px 14px 0 0;
    background: #e9eef3;
    box-shadow: var(--shadow);
}

.video-shell video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-shell video::cue {
    color: #fff;
    background: rgba(13, 25, 40, 0.92);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

.video-load {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    border: 0;
    background: linear-gradient(180deg, rgba(18, 31, 48, 0.03), rgba(18, 31, 48, 0.16));
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 760;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.video-load:hover .play-icon {
    transform: scale(1.05);
}

.video-shell.is-loading .video-load,
.video-shell.is-ready .video-load {
    display: none;
}

.play-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    padding-left: 4px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: rgba(23, 36, 54, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
    transition: transform 160ms ease;
}

.tour-figure figcaption {
    border: 1px solid var(--line-strong);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: white;
    font-size: 13px;
}

.film-disclosure {
    display: block;
    margin-top: 7px;
    color: #5a6b7e;
    font-size: 12px;
    line-height: 1.5;
}

.tour-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0;
    margin: 42px 0 0;
    list-style: none;
}

.tour-steps li {
    min-width: 0;
    padding: 18px 19px 0 0;
    border-top: 2px solid var(--line-strong);
}

.tour-steps li + li {
    padding-left: 19px;
}

.tour-steps span,
.benefit-number {
    display: block;
    margin-bottom: 13px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tour-steps strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.tour-steps p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.benefits {
    background: var(--surface);
}

.compact-heading {
    max-width: 850px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
}

.benefit-grid article {
    padding-top: 23px;
    border-top: 1px solid var(--line-strong);
}

.benefit-grid h3,
.use-case-list h3 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.benefit-grid p,
.use-case-list p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.use-cases {
    background: white;
}

.use-case-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.45fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: start;
}

.use-case-intro {
    position: sticky;
    top: 108px;
}

.use-case-list {
    border-top: 1px solid var(--line-strong);
}

.use-case-list article {
    display: grid;
    grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1fr);
    gap: 30px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.use-case-list p {
    margin: 0;
}

.faq-section {
    padding-top: 72px;
    background: var(--surface);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(60px, 10vw, 140px);
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
    position: relative;
    padding: 23px 40px 23px 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span::before,
.faq-list summary span::after {
    position: absolute;
    top: 34px;
    right: 4px;
    width: 13px;
    height: 1.5px;
    background: var(--ink-soft);
    content: "";
}

.faq-list summary span::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
    transform: rotate(0);
}

.faq-list details p {
    max-width: 690px;
    padding: 0 46px 24px 0;
    margin: 0;
    color: var(--ink-soft);
}

.final-cta {
    padding: 72px 0;
    background: var(--brand);
    color: white;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.eyebrow-light {
    color: #f4d35e;
}

.final-cta h2 {
    max-width: 760px;
    color: white;
}

.final-cta p:last-child {
    margin: 15px 0 0;
    color: #cbd5e1;
}

.button-inverse {
    flex: 0 0 auto;
    border-color: white;
    background: white;
    color: var(--brand);
}

.button-inverse:hover {
    background: #f2f5f8;
}

.site-footer {
    padding: 27px 0;
    border-top: 1px solid var(--line);
    background: white;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.brand-footer .brand-mark {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
}

.site-footer nav {
    display: flex;
    gap: 22px;
}

.site-footer nav a,
.site-footer p {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.site-footer p {
    justify-self: end;
    margin: 0;
}

@media (max-width: 1080px) {
    .hero {
        padding-top: 66px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero-product {
        width: 100%;
    }

    .tour-steps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }

    .tour-steps li:nth-child(4) {
        padding-left: 0;
    }
}

@media (max-width: 820px) {
    .page-shell,
    .narrow-shell {
        width: min(calc(100% - 36px), var(--page));
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 18px;
        left: 18px;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line-strong);
        border-radius: 10px;
        background: white;
        box-shadow: 0 18px 46px rgba(22, 36, 54, 0.16);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a,
    .site-nav .nav-login {
        padding: 12px;
        border: 0;
        border-radius: 7px;
    }

    .site-nav a:hover {
        background: var(--surface);
    }

    .nav-toggle {
        display: block;
    }

    .section {
        padding: 84px 0;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .use-case-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .use-case-intro {
        position: static;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-layout {
        grid-template-columns: 1fr auto;
    }

    .site-footer nav {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
        gap: 4px 20px;
    }

    .site-footer nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (max-width: 620px) {
    .product-frame picture {
        aspect-ratio: auto;
    }

    .product-frame img {
        transform: none;
    }
    .page-shell,
    .narrow-shell {
        width: min(calc(100% - 28px), var(--page));
    }

    .header-inner {
        min-height: 62px;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-layout {
        gap: 38px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .hero-lede {
        font-size: 18px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .button-primary {
        width: 100%;
    }

    .text-link {
        align-self: flex-start;
        padding: 5px 0;
    }

    .hero-product {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .use-case-intro h2,
    .faq-intro h2,
    .final-cta h2 {
        font-size: 34px;
    }

    .section-heading > p:last-child,
    .use-case-intro > p:last-child {
        font-size: 16px;
    }

    .video-shell {
        border-radius: 10px 10px 0 0;
    }

    .video-load {
        gap: 9px;
        padding: 18px;
        font-size: 13px;
    }

    .play-icon {
        width: 50px;
        height: 50px;
    }

    .tour-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tour-steps li,
    .tour-steps li + li,
    .tour-steps li:nth-child(4) {
        padding: 15px 0 0;
    }

    .use-case-list article {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .faq-section {
        padding-top: 60px;
    }

    .final-cta {
        padding: 60px 0;
    }

    .button-inverse {
        width: 100%;
    }

    .footer-layout {
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
