/* Lenis + scroll-reveal (parity with React template: Lenis + framer-motion + marquee gradient) */
html.lenis,
html.lenis body {
    height: auto;
}

/* Logo watermark: about + features heroes only */
#about-top > .site-watermark,
#features-top > .site-watermark {
    position: absolute;
    left: 50%;
    top: calc(var(--site-nav-offset, -4.25rem) + 50vh);
    z-index: 0;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    line-height: 0;
}

#about-top > .site-watermark img,
#features-top > .site-watermark img {
    display: block;
    width: clamp(30rem, 82vmin, 52rem);
    max-width: min(52rem, 96vw);
    height: auto;
    flex-shrink: 0;
    opacity: 0.1;
}

@media (max-width: 1023px) {
    #about-top > .site-watermark,
    #features-top > .site-watermark {
        display: none;
    }
}

/* Stack page content above the watermark. Exclude #mobile-menu (`fixed`) and nav (`sticky`) — `position: relative` would override them. */
body > :not(.site-watermark):not(#mobile-menu):not(nav) {
    position: relative;
    z-index: 1;
}

/* Sticky header: stays at top while scrolling; frosted white. Bottom border only after scroll (see .site-header--scrolled + script.js). */
body > nav.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgb(255 255 255 / 0.88);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: saturate(1.2) blur(12px);
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body > nav.site-header.site-header--scrolled {
    border-bottom-color: rgb(0 0 0 / 0.06);
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.04);
}

@supports not (backdrop-filter: blur(1px)) {
    body > nav.site-header:not(.site-header--home) {
        background-color: #fff;
    }
}

/* Full-screen mobile panel: body sibling; must stay `position: fixed` and above #top */
#mobile-menu.mobile-menu-overlay {
    z-index: 200;
    background-color: #093de3;
    color: rgb(255 255 255 / 0.94);
}

#mobile-menu.mobile-menu-overlay a {
    color: rgb(255 255 255 / 0.92);
}

#mobile-menu.mobile-menu-overlay a:hover {
    color: #fff;
}

#mobile-menu.mobile-menu-overlay #close-menu {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    border: 1px solid rgb(255 255 255 / 0.2);
}

#mobile-menu.mobile-menu-overlay #close-menu:hover {
    background: rgb(255 255 255 / 0.2);
}

/* Homepage nav: no full-width bar — only the pill is painted (all breakpoints) */
body > nav.site-header.site-header--home {
    z-index: 150;
    padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: 0.35rem;
    background-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
body > nav.site-header.site-header--home.site-header--scrolled {
    background-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.site-header--home .nav-home-pill {
    max-width: min(100%, 72rem);
    width: 100%;
    margin-inline: auto;
    border-radius: 9999px;
    padding: 0.45rem 1rem 0.45rem 1.1rem;
    backdrop-filter: saturate(1.2) blur(14px);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
}
body > nav.site-header.site-header--home.site-header--scrolled .nav-home-pill {
    border-color: rgb(0 0 0 / 0.1);
    box-shadow: 0 2px 14px rgb(0 0 0 / 0.08);
}
/* Homepage nav: show links + CTAs from tablet up (avoids Tailwind hidden/md:flex clashes in some builds) */
@media (max-width: 47.99rem) {
    /* Logo left, burger right (hidden nav links use full-screen menu) */
    .site-header--home .nav-home-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }
    .site-header--home .nav-desktop-inline {
        display: none;
    }
    .site-header--home .nav-home-menu-btn {
        display: block;
    }
    .site-header--home .nav-home-logo {
        padding-right: 0;
    }
}
@media (width >= 48rem) {
    .site-header--home .nav-home-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: clamp(1rem, 3vw, 2rem);
        row-gap: 0.5rem;
    }
    .site-header--home .nav-home-logo {
        justify-self: start;
        padding-right: 0;
    }
    .site-header--home .nav-home-links {
        justify-self: center;
    }
    .site-header--home .nav-home-auth {
        justify-self: end;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    .site-header--home .nav-desktop-inline {
        display: flex;
    }
    .site-header--home .nav-home-menu-btn {
        display: none;
    }
}

.site-header--home .nav-home-menu-btn {
    position: relative;
    z-index: 110;
}

/* ---------- Index homepage: blue hero + nav on hero ---------- */
#top.hero-home {
    --hero-home-accent: #ffb020;
    --hero-home-accent-hover: #ffc342;
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

#top.hero-home .hero-home-blue {
    position: relative;
    z-index: 2;
    background-color: #093de3;
    overflow: visible;
    display: flex;
    align-items: stretch;
    min-height: clamp(20rem, 45svh, 36rem);
    min-height: clamp(20rem, 45dvh, 36rem);
    flex: 0 0 auto;
}

#top.hero-home .hero-home-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding-block: clamp(0.75rem, 2.25vh, 1.75rem);
}

#top.hero-home .hero-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 2.5rem) 0;
    flex: 1 1 auto;
    min-height: 100%;
}

@media (width >= 48em) {
    #top.hero-home .hero-content-grid {
        grid-template-columns: minmax(0, 1fr) minmax(14rem, 36%);
        column-gap: clamp(1.25rem, 3.5vw, 2.5rem);
        row-gap: 0;
        align-items: center;
    }

    #top.hero-home .hero-home-main {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        min-height: clamp(17rem, 35vh, 27rem);
        padding-top: clamp(0.25rem, 1.2vh, 0.85rem);
    }

    #top.hero-home .hero-home-visual {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        justify-self: end;
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: flex-end;
        pointer-events: none;
    }
}

@media (max-width: 63.99rem) {
    #top.hero-home {
        min-height: auto;
    }

    #top.hero-home .hero-content-grid {
        gap: clamp(0.5rem, 1.5vh, 1rem);
        position: static !important;
    }

    #top.hero-home .hero-home-blue {
        min-height: auto;
        overflow: hidden;
    }

    #top.hero-home .hero-home-lower {
        display: none;
    }

    #top.hero-home .hero-home-trial {
        margin-bottom: clamp(0.15rem, 0.9vh, 0.45rem);
    }

    #top.hero-home .hero-home-visual {
        position: relative;
        right: auto;
        bottom: auto;
        width: clamp(16rem, 72vw, 30rem);
        justify-self: end;
        align-self: end;
        z-index: 7;
        margin-top: clamp(0.35rem, 1.5vh, 0.95rem);
        pointer-events: none;
        overflow: visible;
    }

    #top.hero-home .hero-home-seam-device__img {
        width: 100%;
        max-width: none;
        margin-right: 0;
        transform: translateY(0);
        transform-origin: right bottom;
    }
}

#top.hero-home .hero-home-title {
    line-height: 1.08;
}

@media (width >= 64em) {
    #top.hero-home .hero-home-title {
        font-size: 3.5rem;
        line-height: 1.06;
    }
}

#top.hero-home .hero-home-sub {
    color: rgb(255 255 255 / 0.85);
}

#top.hero-home .hero-home-trial {
    color: rgb(255 255 255 / 0.78);
}

#top.hero-home .hero-home-checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgb(255 255 255 / 0.95);
}

@media (width >= 40rem) {
    #top.hero-home .hero-home-checks {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 2rem;
        row-gap: 0.65rem;
    }
}

/* Photo strip: scales with viewport (vh/vw), capped — image stays cover-cropped, not letterboxed tall */
#top.hero-home .hero-home-lower {
    position: relative;
    z-index: 1;
    min-height: clamp(22rem, 56svh, 50rem);
    min-height: clamp(22rem, 56dvh, 50rem);
    flex: 1 1 auto;
}

#top.hero-home .hero-home-lower::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgb(9 61 227 / 0.28) 0%,
        rgb(9 61 227 / 0.12) 26%,
        rgb(9 61 227 / 0.05) 54%,
        rgb(9 61 227 / 0.12) 100%
    );
}

#top.hero-home .hero-product-toggle-block {
    position: relative;
    z-index: 3;
}

/* Home hero seam device: in right column, pushed down to straddle blue/photo seam */
#top.hero-home .hero-home-seam-device__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 18px 38px rgb(0 0 0 / 0.3));
}

@media (width >= 48em) {
    #top.hero-home .hero-home-seam-device__img {
        width: clamp(22rem, 46vw, 46rem);
        max-width: none;
        margin-right: clamp(-3rem, -8vw, -0.75rem);
        transform-origin: right bottom;
    }
}

@media (width >= 64em) and (max-width: 74.99rem) {
    #top.hero-home .hero-home-seam-device__img {
        width: clamp(20rem, 40vw, 32rem);
        margin-right: 0;
    }
}



@media (max-width: 47.99rem) {
    #top.hero-home .hero-home-blue {
        min-height: auto;
    }

    #top.hero-home .hero-home-main {
        padding-bottom: 0;
    }

    #top.hero-home .hero-home-trial {
        margin-bottom: clamp(0.35rem, 1.2vh, 0.8rem);
    }

    #top.hero-home .hero-home-visual {
        width: clamp(15.5rem, 90vw, 26rem);
        margin-left: auto;
        margin-right: 0;
    }

    #top.hero-home .hero-home-seam-device__img {
        transform: translateY(0);
    }
}

/* Legacy class retained with neutral layout for any reused markup */
#top.hero-home .hero-device-canvas__cutouts {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* How it works: headline row (bottom-aligned) → full-bleed image → bullets under title */
.solution-flow__intro .section-eyebrow {
    display: block;
}

.process-steps__intro {
    max-width: 54rem;
    margin-inline: auto;
}

.process-steps__cards {
    position: relative;
    margin-top: clamp(2rem, 5vw, 3.25rem);
    display: grid;
    gap: 0.85rem;
}

.process-step-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    max-width: 19.5rem;
    border: 1px solid rgb(0 0 0 / 0.07);
    border-radius: 1rem;
    background: #fafafa;
    padding: clamp(0.8rem, 1.5vw, 1.05rem) clamp(0.9rem, 1.6vw, 1.15rem);
    box-shadow:
        0 1px 0 rgb(0 0 0 / 0.02),
        0 10px 24px -22px rgb(15 23 42 / 0.3);
}

.process-step-card__index {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #093de4;
}

.process-step-card__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

.process-step-card__text {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.54);
}

.process-steps__arrow {
    display: none;
}

@media (width >= 64rem) {
    .process-steps__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(0.65rem, 1.2vw, 1rem);
        align-items: stretch;
    }

    .process-step-card {
        min-height: 15.5rem;
        justify-self: center;
    }

    .process-step-card__title {
        min-height: 3rem;
    }

    .process-step-card__text {
        margin-top: auto;
        padding-top: 0.65rem;
    }

    .process-steps__arrow {
        position: absolute;
        display: block;
        color: rgb(9 61 228 / 0.7);
        pointer-events: none;
        z-index: 2;
    }

    .process-steps__arrow svg {
        display: block;
        width: clamp(3.3rem, 5vw, 4.3rem);
        height: auto;
    }

    .process-steps__arrow path {
        stroke: #093de4;
    }

    .process-steps__arrow--top {
        left: calc(33.333% + 0.32rem);
        top: -2.15rem;
        transform: translateX(-50%);
    }

    .process-steps__arrow--bottom {
        left: calc(66.666% - 0.32rem);
        bottom: -2.35rem;
        transform: translateX(-50%);
    }
}

@media (width >= 64rem) {
    .process-step-card--left[data-reveal="up"] {
        transform: rotate(-1.25deg) translate3d(0, var(--reveal-dist, 42px), 0);
    }

    .process-step-card--right[data-reveal="up"] {
        transform: rotate(1.25deg) translate3d(0, var(--reveal-dist, 42px), 0);
    }

    .process-step-card--left[data-reveal].is-revealed {
        transform: rotate(-1.25deg) translate3d(0, 0, 0);
    }

    .process-step-card--right[data-reveal].is-revealed {
        transform: rotate(1.25deg) translate3d(0, 0, 0);
    }
}

.solution-flow__intro {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.solution-flow__intro-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0;
}

.solution-flow__lead {
    margin-top: 0.9rem;
    margin-bottom: 0;
    text-align: left;
    color: color-mix(in oklab, var(--color-black) 40%, transparent);
}

.solution-flow__body {
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.solution-flow__stagger {
    align-items: start;
}

.solution-flow__stagger-aside {
    max-width: 32rem;
    display: flex;
    flex-direction: column;
}

.solution-flow__stagger-aside > .solution-flow__list {
    margin-bottom: 0.5rem;
}

.solution-flow__stagger-visual {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: transparent;
}

.solution-flow__visual-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(56vh, 38rem);
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
}

@media (width >= 48em) {
    .solution-flow__visual-img {
        max-height: min(62vh, 42rem);
    }
}

@media (width >= 64em) {
    .solution-flow__stagger {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        column-gap: clamp(2rem, 5vw, 4rem);
    }

    .solution-flow__stagger-aside {
        margin-top: clamp(1.25rem, 3vw, 2.5rem);
    }

    .solution-flow__stagger-visual {
        justify-self: end;
        width: min(100%, 41rem);
        transform: translateY(clamp(-0.35rem, -0.8vw, -0.9rem));
    }
}

.solution-flow__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-flow__item {
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
    padding: 0.9rem 0;
}

.solution-flow__item:first-child {
    border-top: 0;
}

.solution-flow__item-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
}

.solution-flow__item-panel {
    padding-top: 0.5rem;
    padding-left: 0;
    max-width: 33rem;
}

.solution-flow__item-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

.solution-flow__item-text {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.5);
}

.solution-flow__item-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #093de4;
    text-decoration: none;
}

.solution-flow__item-cta:hover {
    color: #0733c0;
    text-decoration: none;
}

.solution-flow__cta {
    margin-top: 1.25rem;
    align-self: flex-start;
}

/* Buttons on white backgrounds: use requested stronger blue */
body :is(a, button).bg-brand {
    background-color: #083de4 !important;
}

body :is(a, button).bg-brand:hover {
    background-color: #0733c0 !important;
}

/* How it works → CTA band → Pocket office */
#solution.site-section + #cta-banner.site-section {
    margin-top: clamp(3.25rem, 7vw, 5.5rem);
}

#cta-banner.site-section + #app.mobile-app-showcase.site-section {
    margin-top: clamp(5.75rem, 11vw, 11.5rem);
}

#solution.site-section + #app.mobile-app-showcase.site-section {
    margin-top: clamp(4rem, 8vw, 6.5rem);
}

#how-it-works-steps.site-section + #solution.site-section {
    margin-top: clamp(3.75rem, 7vw, 6rem);
}

.home-mobile-trial-cta {
    background-color: #ffb020;
    color: rgb(20 20 20);
}

.home-mobile-trial-cta:hover {
    background-color: #ffc342;
}

#top.hero-home .hero-home-check-icon {
    color: var(--hero-home-accent);
}

#top.hero-home .hero-home-cta-trial {
    border: 2px solid transparent;
    font-weight: 600;
    background-color: var(--hero-home-accent);
    color: rgb(20 20 20);
}

#top.hero-home .hero-home-cta-trial:hover {
    background-color: var(--hero-home-accent-hover);
}

#top.hero-home .hero-home-cta-pricing {
    border: 2px solid #fff;
    color: #fff;
}

#top.hero-home .hero-home-cta-pricing:hover {
    background-color: rgb(255 255 255 / 0.1);
}

#top.hero-home #signup > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    line-height: 1.2;
}

#top.hero-home .hero-home-copy {
    gap: 0;
    padding-top: 0;
}

#top.hero-home .hero-home-sub {
    margin-top: 0.95rem;
}

#top.hero-home #signup {
    margin-top: 1.15rem;
    column-gap: 1rem;
    row-gap: 0.75rem;
}

#top.hero-home .hero-home-checks {
    margin-top: 1.8rem;
}

#top.hero-home .hero-home-trial {
    margin-top: 0.85rem;
    margin-bottom: clamp(1.75rem, 4.5vw, 3rem);
}

@media (width >= 48em) {
    #top.hero-home .hero-home-copy {
        padding-top: 0;
    }

    #top.hero-home .hero-home-sub {
        margin-top: 1rem;
    }

    #top.hero-home #signup {
        margin-top: 1.25rem;
    }

    #top.hero-home .hero-home-checks {
        margin-top: 2rem;
    }

    #top.hero-home .hero-home-trial {
        margin-top: 1rem;
        margin-bottom: clamp(2rem, 5vw, 3.5rem);
    }
}

/* Index hero nav: full-width bar — keep comfortable padding in both scroll states (no jump) */
body > nav.site-header.site-header--home.site-header--home-hero {
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.85rem;
    padding-left: 0;
    padding-right: 0;
}

@media (width >= 48em) {
    body > nav.site-header.site-header--home.site-header--home-hero {
        padding-top: max(1rem, env(safe-area-inset-top, 0px));
        padding-bottom: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
}

body > nav.site-header.site-header--home.site-header--home-hero .nav-home-pill {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    border-radius: 0;
    padding: 0.35rem 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (width >= 48em) {
    body > nav.site-header.site-header--home.site-header--home-hero .nav-home-pill {
        box-sizing: border-box;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) {
    background: #093de3 !important;
    background-color: #093de3 !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-links a {
    color: rgb(255 255 255 / 0.92);
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-links a:hover {
    color: #fff;
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-login {
    color: rgb(255 255 255 / 0.95);
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-login:hover {
    color: #fff;
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-trial-cta {
    background-color: var(--hero-home-accent, #ffb020);
    color: rgb(20 20 20);
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-trial-cta:hover {
    background-color: var(--hero-home-accent-hover, #ffc342);
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-menu-btn {
    color: #fff;
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-logo__mark--rolled {
    display: none !important;
}

body > nav.site-header.site-header--home.site-header--home-hero:not(.site-header--scrolled) .nav-home-logo__mark--hero {
    display: block !important;
}

/* Scrolled: same hero blue + light nav (no white bar) */
body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-logo__mark--hero {
    display: block !important;
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-logo__mark--rolled {
    display: none !important;
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-trial-cta {
    background-color: var(--hero-home-accent, #ffb020);
    color: rgb(20 20 20);
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-trial-cta:hover {
    background-color: var(--hero-home-accent-hover, #ffc342);
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled {
    background: #093de3 !important;
    background-color: #093de3 !important;
    border-bottom: 1px solid rgb(255 255 255 / 0.12) !important;
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.12) !important;
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-links a {
    color: rgb(255 255 255 / 0.92);
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-links a:hover {
    color: #fff;
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-login {
    color: rgb(255 255 255 / 0.95);
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-login:hover {
    color: #fff;
}

body > nav.site-header.site-header--home.site-header--home-hero.site-header--scrolled .nav-home-menu-btn {
    color: #fff;
}

/* Hero product screenshot: cap width so PNGs do not dominate the viewport */
.hero-product-frame {
    width: 100%;
    max-width: 17.5rem;
    margin-left: auto;
    margin-right: auto;
}
@media (width >= 48rem) {
    .hero-product-frame {
        max-width: 20rem;
    }
}
.hero-product-frame .hero-image-img,
#hero-product-shot {
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Stacked screenshots + opacity crossfade — stable height, no layout jump */
.hero-product-frame__inner {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    /* Tall enough for phone; web sits centered without shrinking the slot */
    min-height: clamp(17rem, 52vmin, 30rem);
    margin-inline: auto;
}
.hero-product-layer {
    grid-area: 1 / 1;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(56vh, 30rem);
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.hero-product-layer.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-product-frame--web .hero-product-layer--web {
    max-height: min(42vh, 22rem);
}
.hero-product-frame--web .hero-product-layer--mobile {
    max-height: min(56vh, 30rem);
}
.hero-product-frame:not(.hero-product-frame--web) .hero-product-layer--mobile {
    max-height: min(56vh, 30rem);
}
.hero-product-frame:not(.hero-product-frame--web) .hero-product-layer--web {
    max-height: min(42vh, 22rem);
}

/* Hero Mobile / Web App toggle */
.hero-app-toggle__btn {
    color: rgb(0 0 0 / 0.55);
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
}
.hero-app-toggle__btn:hover {
    color: rgb(0 0 0 / 0.75);
}
.hero-app-toggle__btn--active,
.hero-app-toggle__btn.hero-app-toggle__btn--active {
    color: #fff;
    background-color: var(--color-brand, #1e40af);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}
.hero-product-frame--web {
    max-width: min(100%, 42rem) !important;
}
.hero-product-frame--web .hero-image-img,
.hero-product-frame--web #hero-product-shot {
    max-width: 100%;
    max-height: min(48vh, 22rem);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
}
@media (width >= 48rem) {
    .hero-product-frame--web .hero-image-img,
    .hero-product-frame--web #hero-product-shot {
        max-height: min(52vh, 26rem);
    }
}

/* Hero: mobile — no extra grid padding-right; image bleeds to the right (cropped) with inset on the left like desktop. */
@media (max-width: 47.99rem) {
    .hero-content-grid {
        min-height: min-content;
        align-items: start;
        align-content: start;
        row-gap: 1.5rem;
    }

    #top:not(.hero-home) .hero-home-checks,
    #top:not(.hero-home) .hero-home-trial,
    #top:not(.hero-home) .hero-product-toggle-block {
        align-self: center;
    }

    #top.hero-home .hero-home-checks,
    #top.hero-home .hero-home-trial,
    #top.hero-home .hero-product-toggle-block {
        align-self: stretch;
    }

    /* pl-4 on grid (1rem) + 1rem margin = 2rem from viewport; width fills to right edge — image “cut off” on the right */
    #top .hero-image-column,
    #about-top .hero-image-column,
    #features-top .hero-image-column {
        margin-left: 1rem;
        width: calc(100vw - 2rem);
        max-width: none;
        justify-self: start;
    }

    #top .hero-image-column .hero-image-img,
    #features-top .hero-image-column .hero-image-img {
        width: 100%;
        height: 100%;
        min-height: min(42vh, calc(var(--spacing) * 154));
        object-fit: cover;
        object-position: left center;
    }

    /* About hero: phone asset — contain on mobile */
    #about-top .hero-image-column .hero-image-img {
        width: 100%;
        height: auto;
        min-height: unset;
        max-height: min(48vh, 26rem);
        object-fit: contain;
        object-position: center bottom;
    }

    /* About / Features: hero inside max-width shell — no full-bleed image strip */
    #about-top .about-features-hero-shell .hero-image-column,
    #features-top .about-features-hero-shell .hero-image-column {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    #features-top .about-features-hero-shell .hero-image-column .hero-image-img {
        min-height: min(38vh, 18rem);
        object-fit: contain;
        object-position: center;
    }
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* Match React layout: testimonials use max-w-7xl (not in default Tailwind build) */
.max-w-7xl {
    max-width: 80rem;
}

/* Even vertical rhythm between page sections (aligns with ~mt-42 / 10.5rem) */
.site-section {
    margin-top: clamp(5rem, 0vw, 10.5rem);
}

/* #cta-banner: hero blue; tighter top margin when it follows the hero (trade landings) */
#cta-banner.site-section {
    margin-top: clamp(2.25rem, 5.5vw, 5rem);
    background-color: #093de3;
    color: #fff;
}

#login.site-section,
#about-hero-cta-banner.site-section,
#features-hero-cta-banner.site-section {
    background-color: var(--color-brand, #093de4);
    color: #fff;
}

#cta-banner .section-heading,
#login .section-heading,
#about-hero-cta-banner .section-heading,
#features-hero-cta-banner .section-heading {
    color: #fff;
}

#cta-banner .title-accent {
    color: var(--hero-home-accent, #ffb020);
}

#login .title-accent,
#about-hero-cta-banner .title-accent,
#features-hero-cta-banner .title-accent {
    color: #79aee6;
}

#cta-banner button {
    background-color: #fff;
    color: #093de3;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

#cta-banner button:hover {
    background-color: rgb(255 255 255 / 0.92);
    color: #093de3;
}

#login button {
    background-color: #fff;
    color: var(--color-brand, #093de4);
    font-weight: 700;
    border: none;
    cursor: pointer;
}

#login button:hover {
    background-color: rgb(255 255 255 / 0.92);
    color: var(--color-brand, #093de4);
}

#about-hero-cta-banner a[href],
#features-hero-cta-banner a[href] {
    background-color: #fff;
    color: var(--color-brand, #093de4);
    font-weight: 700;
}

#about-hero-cta-banner a[href]:hover,
#features-hero-cta-banner a[href]:hover {
    background-color: rgb(255 255 255 / 0.92);
    color: var(--color-brand, #093de4);
}

@media (width >= 48rem) {
    #about-hero-cta-banner,
    #features-hero-cta-banner {
        margin: 0;
    }
}

/* Jobs map section (legacy id #jobs-map): plain screenshot */
.jobs-map-section__figure {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.jobs-map-section__figure img {
    display: block;
    max-width: 660px;
    height: auto;
    width: 100%;
    margin: 0 auto;
}

/* Home #platform: same podium + phone overlay as features job-management */
#platform.site-section {
    background: #f7f8fa;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

#platform .platform-flow {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

@media (width >= 64rem) {
    #platform .platform-flow {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    #platform .platform-flow__visual {
        order: 1;
    }

    #platform .platform-flow__copy {
        order: 2;
    }
}

#platform .platform-section-intro {
    max-width: 40rem;
    text-align: left;
    align-items: flex-start;
}

#platform .platform-section-intro h2 {
    max-width: 34rem;
}

#platform .platform-section-intro p {
    max-width: 32rem;
}

#platform .platform-flow__visual {
    width: 100%;
}

#platform .features-visual-podium {
    margin-top: 0;
}

#platform .features-visual-podium__stage {
    margin-inline: auto;
    max-width: min(100%, 48rem);
}

#platform .features-visual-podium__figure {
    display: flex;
    justify-content: center;
    margin: 0;
}

#platform .features-visual-podium__composite {
    position: relative;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
}

#platform .features-visual-podium__composite .features-screenshot--job-desktop {
    display: block;
    max-width: min(100%, 38rem);
    margin-inline: auto;
}

#platform .features-visual-podium__composite .features-screenshot--podium-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: min(34%, 10.5rem);
    transform: translate(2%, 8%);
    z-index: 2;
    pointer-events: none;
}

/* Phones: keep overlay (stacked column looked broken); room below + stronger phone scale */
@media (max-width: 47.99rem) {
    #platform .features-visual-podium__stage {
        padding-inline: 0;
    }

    #platform .features-visual-podium__composite {
        max-width: 100%;
        padding-bottom: clamp(2.25rem, 12vw, 3.25rem);
        overflow: visible;
    }

    #platform .features-visual-podium__composite .features-screenshot--job-desktop {
        max-width: 100%;
        width: 100%;
    }

    #platform .features-visual-podium__composite .features-screenshot--podium-overlay {
        max-width: min(44%, 10rem);
        transform: translate(6%, 16%);
        filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.22));
    }
}

#platform .platform-section-cta {
    margin-top: clamp(1.25rem, 2.6vw, 2rem);
}

@media (width >= 64rem) {
    #platform .platform-section-cta {
        justify-content: flex-start;
        margin-top: clamp(1.5rem, 2.8vw, 2.25rem);
    }
}

/* Hero Web/Mobile toggle: breathing room below (matches vertical rhythm above) */
.hero-product-toggle-block {
    padding-bottom: clamp(1.25rem, 3.5vw, 2.25rem);
}

/* Mobile App mode: extra space above + below mockup vs Web App */
#top .hero-product-toggle-block--mobile-view #hero-product-panel {
    margin-top: clamp(1.25rem, 4vw, 2.5rem);
}
#top .hero-product-toggle-block--mobile-view .hero-product-frame__inner {
    padding-bottom: clamp(0.5rem, 2vw, 1.25rem);
}
#top .hero-product-toggle-block--mobile-view .hero-app-toggle {
    margin-top: clamp(1.75rem, 5vw, 3.5rem);
}

/*.site-footer {
    margin-top: clamp(5rem, 10vw, 10.5rem);
}*/

/* Section titles: same visual weight as hero h1 (Tailwind font-bold) */
.section-heading {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Small uppercase label above section titles (home, about, features) */
.section-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-brand, #093de4);
}

/* Hero / section title: brand word, extra-bold vs surrounding heading */
.title-accent {
    display: inline;
    color: var(--color-brand, #093de4);
    font-weight: 800;
}

h1 .title-accent {
    font-weight: 900;
}

/* Brand text/icon color (pairs with --color-brand in output.css) */
.text-brand {
    color: var(--color-brand);
}

.fa-solid.text-brand,
.fa-regular.text-brand {
    color: var(--color-brand);
}

/* Testimonials: initials avatar (replaces stock photos) */
.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background-color: var(--color-brand, #093de4);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.lucide-star.fill-brand {
    fill: var(--color-brand);
    color: var(--color-brand);
}

/* Pricing cards — full layout in CSS so plans look correct even when Tailwind output omits newer utilities */
.pricing-intro-wide {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.pricing-intro-below {
    margin-top: 3rem;
}

.pricing-intro-below p + p {
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (width >= 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 1280px) {
    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid rgb(229 231 235);
    border-radius: 1rem;
    box-shadow:
        0 1px 3px 0 rgb(0 0 0 / 0.06),
        0 1px 2px -1px rgb(0 0 0 / 0.06);
}

.pricing-card--popular {
    border: 2px solid var(--color-brand, #093de4);
    box-shadow: 0 4px 22px rgb(9 61 228 / 0.14);
    padding-top: 1.75rem;
}

.pricing-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -50%;
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    background-color: var(--color-brand, #093de4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgb(17 24 39);
}

.pricing-card-price {
    margin-top: 0.5rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: rgb(17 24 39);
}

.pricing-card-meta {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.35;
    color: rgb(0 0 0 / 0.5);
}

.pricing-card-desc {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(0 0 0 / 0.4);
}

.pricing-card-features {
    margin: 1.5rem 0 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(0 0 0 / 0.5);
    list-style: none;
}

.pricing-card-features li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.pricing-card-features .fa-circle-check {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pricing-card-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgb(0 0 0 / 0.45);
}

.pricing-card-btn {
    display: block;
    margin-top: 2rem;
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.pricing-card--popular .pricing-card-btn {
    margin-top: 1.5rem;
}

.pricing-card-btn--outline {
    border: 1px solid rgb(0 0 0 / 0.12);
    color: inherit;
    background: transparent;
}

.pricing-card-btn--outline:hover {
    background-color: rgb(0 0 0 / 0.04);
}

.pricing-card-btn--primary {
    background-color: var(--color-brand, #093de4);
    color: #fff;
}

.pricing-card-btn--primary:hover {
    background-color: color-mix(in oklab, var(--color-brand, #093de4) 82%, black);
}

/* FAQ: bottom padding inside section; space before footer comes from .site-footer margin-top */
.faq-section {
    padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.faq-accordion {
    border: 1px solid rgb(229 231 235);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.faq-accordion details {
    border-bottom: 1px solid rgb(229 231 235);
}

.faq-accordion details:last-child {
    border-bottom: none;
}

.faq-accordion summary {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.faq-accordion details p {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Footer: rounded top; padding from utility classes (p-10 / md:p-14) */
footer.site-footer {
    border-radius: 0;
}

.site-footer-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Footer enquiry: multi-step, matches site inputs + brand buttons */
.footer-enquiry-form {
    max-width: 100%;
}

.footer-enquiry-step-label {
    margin: 0;
}

.footer-enquiry-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(0 0 0 / 0.55);
}

.footer-enquiry-input,
.footer-enquiry-textarea {
    box-sizing: border-box;
    border-radius: 0.5rem;
    border: 1px solid rgb(0 0 0 / 0.12);
    background: #fff;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(31 41 55);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.footer-enquiry-textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.footer-enquiry-input::placeholder,
.footer-enquiry-textarea::placeholder {
    color: rgb(0 0 0 / 0.35);
}

.footer-enquiry-input:hover,
.footer-enquiry-textarea:hover {
    border-color: rgb(0 0 0 / 0.18);
}

.footer-enquiry-input:focus,
.footer-enquiry-textarea:focus {
    outline: none;
    border-color: var(--color-brand, #093de4);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand, #093de4) 22%, transparent);
}

.footer-enquiry-field--error,
.footer-enquiry-field--error:hover {
    border-color: rgb(185 28 28);
}

.footer-enquiry-field--error:focus {
    border-color: rgb(153 27 27);
    box-shadow: 0 0 0 3px rgb(185 28 28 / 0.28);
}

.footer-enquiry-label.footer-enquiry-label--error {
    color: rgb(185 28 28);
}

.footer-enquiry-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-enquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.footer-enquiry-btn--primary {
    border: none;
    background-color: var(--color-brand, #093de4);
    color: #fff;
}

.footer-enquiry-btn--primary:hover {
    background-color: color-mix(in oklab, var(--color-brand, #093de4) 82%, black);
}

.footer-enquiry-btn--outline {
    border: 1px solid rgb(0 0 0 / 0.12);
    background: transparent;
    color: inherit;
}

.footer-enquiry-btn--outline:hover {
    background-color: rgb(0 0 0 / 0.04);
}

.footer-enquiry-btn:focus-visible {
    outline: 2px solid var(--color-brand, #093de4);
    outline-offset: 2px;
}

/* Footer layout + social (responsive; works without extra Tailwind breakpoints) */
.site-footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.site-footer-top {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.site-footer-aside {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.site-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer-social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.site-footer-bottom-end {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
    width: 100%;
}

.footer-social-link {
    box-sizing: border-box;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgb(0 0 0 / 0.1);
    background-color: rgb(255 255 255 / 0.92);
    color: rgb(0 0 0 / 0.55);
    text-decoration: none;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.footer-social-link:hover {
    color: rgb(0 0 0 / 0.82);
    border-color: rgb(0 0 0 / 0.14);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--color-brand, #093de4);
    outline-offset: 2px;
}

.footer-social-icon--sm {
    font-size: 0.9375rem;
}

.footer-social-icon--md {
    font-size: 1.0625rem;
}

.footer-social-icon {
    font-size: 1rem;
    line-height: 1;
}

.site-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border-top: 1px solid rgb(0 0 0 / 0.08);
    padding-top: 2rem;
}

.site-footer-bottom p {
    line-height: 1.625;
}

.site-footer-rights {
    margin: 0;
    white-space: nowrap;
}

@media (width >= 48rem) {
    .site-footer-content {
        gap: 3rem;
    }

    .site-footer-top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
    }

    .site-footer-aside {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        column-gap: 2.5rem;
        row-gap: 1.5rem;
        max-width: 40rem;
        flex: 1 1 auto;
    }

    .site-footer-cta {
        margin-left: auto;
        text-align: right;
    }

    .site-footer-cta-inner {
        align-items: flex-end;
    }

    .site-footer-cta-inner h2 {
        text-align: right;
    }

    .site-footer-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem 1.5rem;
        padding-top: 2.5rem;
    }

    .site-footer-bottom-end {
        justify-content: flex-end;
        width: auto;
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* Feature cards: custom SVG graphics in rounded panels (matches bg-black/4 blocks) */
.feature-card-graphic {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.feature-card-graphic svg {
    width: 100%;
    height: auto;
    max-width: 280px;
    max-height: 240px;
}

@media (width >= 48rem) {
    .feature-card-graphic {
        min-height: 280px;
        padding: 2rem;
    }
}

/* Platform section (#platform): map podium then supporting highlights (not heavy feature cards) */
#platform .platform-section-intro + .features-visual-podium {
    margin-top: clamp(3rem, 5vw, 4.5rem);
}

#platform .features-visual-podium + .platform-core-grid,
#platform .jobs-map-section__figure + .platform-core-grid {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.platform-core-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (width >= 48rem) {
    .platform-core-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* Below jobs map: compact summary highlights — no card chrome, no CTAs */
.platform-core-grid--highlights {
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (width >= 48rem) {
    .platform-core-grid--highlights {
        gap: 1.75rem;
    }
}

.platform-core-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 20rem;
    margin-inline: auto;
}

/* Match #solution “Built For How Trades Actually Work”: rounded-xl + p-4 + size-6 icon */
.platform-core-highlight__icon.platform-core-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-xl, 0.75rem);
    background-color: rgb(9 61 228);
}

.platform-core-highlight__icon .platform-core-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.platform-core-highlight__title.platform-core-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.platform-core-highlight__text.platform-core-desc {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgb(0 0 0 / 0.5);
}

.platform-core-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: #fff;
    padding: 1.5rem;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (width >= 48rem) {
    .platform-core-card {
        padding: 2rem;
        border-radius: 1rem;
    }
}

.platform-core-card.feature-card-hoverable {
    transition:
        transform 0.3s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .platform-core-card.feature-card-hoverable:hover {
        border-color: rgba(0, 0, 0, 0.12);
        box-shadow:
            0 8px 24px -6px rgba(0, 0, 0, 0.1),
            0 16px 40px -12px rgba(0, 0, 0, 0.08);
    }
}

.platform-core-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    background-color: rgb(9 61 228);
    margin-bottom: 1.25rem;
}

.platform-core-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.platform-core-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: rgb(31 41 55);
}

.platform-core-desc {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgb(107 114 128);
    hyphens: none;
    -webkit-hyphens: none;
}

.platform-core-divider {
    margin-top: auto;
    padding-top: 1.25rem;
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 0;
}

/* Hero trade badges: lighter overlap than Tailwind’s only bundled -space-x-4; initials stay readable */
.hero-trade-badge-row {
    display: flex;
    padding-right: 0.75rem;
    cursor: pointer;
}
.hero-trade-badge-row > * + * {
    margin-inline-start: -10px;
}

/* Framer Motion settled state wrapper (parity with motion.div around <Marquee />) */
.marquee-motion-layer {
    opacity: 1;
    transform: none;
}

/* react-fast-marquee — structure/classes from Marquee.scss (JS-driven scroll uses .rfm-marquee--js) */
.rfm-marquee-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    position: relative;
    width: var(--width, 100%);
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    transform: var(--transform, none);
}

.rfm-marquee-container:hover .rfm-marquee {
    animation-play-state: var(--pause-on-hover, running);
}

.rfm-marquee-container:active .rfm-marquee {
    animation-play-state: var(--pause-on-click, running);
}

.rfm-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.rfm-overlay::before,
.rfm-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: var(--gradient-width, 200px);
    z-index: 2;
    pointer-events: none;
    touch-action: none;
}

.rfm-overlay::before {
    left: 0;
    background: linear-gradient(to right, var(--gradient-color, #fff), rgba(255, 255, 255, 0));
}

.rfm-overlay::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
    background: linear-gradient(to right, var(--gradient-color, #fff), rgba(255, 255, 255, 0));
}

.rfm-marquee {
    flex: 0 0 auto;
    min-width: var(--min-width, 100%);
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    animation: rfm-scroll var(--duration, 40s) linear var(--delay, 0s) var(--iteration-count, infinite);
    animation-play-state: var(--play, running);
    animation-direction: var(--direction, normal);
}

@keyframes rfm-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Vanilla RAF marquee — disable CSS keyframes; inner track is translated in JS */
.rfm-marquee.rfm-marquee--js {
    animation: none !important;
    flex: 1 1 auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rfm-initial-child-container {
    flex: 0 0 auto;
    display: flex;
    min-width: auto;
    flex-direction: row;
    align-items: center;
}

.rfm-child {
    flex-shrink: 0;
    transform: var(--transform, none);
}

/* Match React `gap-6` / `mx-2` spacing between testimonial cards in the marquee track */
.testimonial-marquee-track {
    gap: 1.5rem;
    column-gap: 1.5rem;
}

/* Equal-height cards in the testimonial marquee (shorter quotes still match row height) */
.rfm-initial-child-container.testimonial-marquee-track {
    align-items: stretch;
}

.testimonial-marquee-track .rfm-child {
    display: flex;
    align-items: stretch;
}

.testimonial-marquee-track .rfm-child > .testimonial-card {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 100%;
}

/* Quote grows so avatar row lines up across cards in the same row */
.testimonial-card > p {
    flex: 1 1 auto;
    min-height: 0;
}

/* Keep legacy strips inside the centered content column */
.marquee-strip {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* react-fast-marquee-style edge fade */
.marquee-edge-fade {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

[data-reveal] {
    opacity: 0;
    transition: none;
}

[data-reveal="up"] {
    transform: translate3d(0, var(--reveal-dist, 50px), 0);
}

[data-reveal="up-lg"] {
    transform: translate3d(0, var(--reveal-dist, 100px), 0);
}

[data-reveal="right"] {
    transform: translate3d(var(--reveal-dist, 100px), 0, 0);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-property: opacity, transform;
    transition-duration: var(--reveal-dur, 0.85s);
    transition-timing-function: var(--reveal-ease, cubic-bezier(0.34, 1.25, 0.64, 1));
    transition-delay: var(--reveal-delay, 0s);
}

/* Feature cards: hover lift after entrance — matches Tailwind hover:-translate-y-1 duration-300 */
.feature-card-hoverable {
    transition: transform 0.3s ease;
}

.feature-card-hoverable:hover {
    transform: translateY(-0.25rem);
}

/* About hero: desktop sticky phone in right column; CTA is a separate full-width band below #about-top */
.about-hero-rail {
    display: none;
}

.about-hero-phone-sticky {
    display: none;
}

#about-hero-cta-banner,
#features-hero-cta-banner {
    margin-top: 0;
}

@media (width >= 48em) {
    #about-top {
        overflow: visible;
    }

    .about-hero-copy {
        display: flex;
        max-width: none;
        flex-direction: column;
        justify-content: center;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .about-hero-rail {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        min-width: 0;
    }

    .about-hero-rail-sticky-host {
        display: flex;
        flex: 1 1 0%;
        min-height: 0;
        flex-direction: column;
        justify-content: flex-end;
    }

    .about-hero-phone-sticky {
        position: sticky;
        bottom: 0;
        z-index: 10;
        display: flex;
        width: 100%;
        justify-content: flex-start;
        padding-left: clamp(0.25rem, 2vw, 1.25rem);
        padding-right: clamp(0.25rem, 2vw, 1rem);
        padding-bottom: 0;
        margin-bottom: clamp(-1.5rem, -3vw, -2rem);
        transition: padding-bottom 0.35s ease;
    }

    .about-hero-phone-sticky.is-above-cta {
        padding-bottom: 1.5rem;
    }

    .about-hero-sticky-img {
        display: block;
        width: auto;
        height: auto;
        max-height: min(72vh, 42rem);
        object-fit: contain;
        object-position: bottom left;
    }
}

/* Company: logo above copy, full-width centred text, no card frame */
.about-company-band__inner {
    display: flex;
    max-width: none;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    margin-inline: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.about-company-band__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.about-company-band__logo .about-company-logo {
    display: block;
    max-width: min(13rem, 72vw);
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (width >= 48em) {
    .about-company-band__logo .about-company-logo {
        max-width: 15rem;
    }
}

.about-company-band__body {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.about-company-band__body p {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.about-trades-grid {
    display: flex;
    max-width: 48rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.625rem;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

.about-trades-grid li {
    border-radius: 9999px;
    border: 1px solid rgb(0 0 0 / 0.1);
    background: #fff;
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    line-height: 1.35;
    color: rgb(31 41 55);
}

.about-trades-grid__any {
    border-color: color-mix(in oklab, var(--color-brand, #093de4) 40%, rgb(0 0 0 / 0.12));
    background: color-mix(in oklab, var(--color-brand, #093de4) 9%, white);
    font-weight: 600;
    color: var(--color-brand, #093de4);
}

/* ---------- Features page: product storytelling (editorial cards, spotlight band) ---------- */
#features-page .features-section-intro {
    max-width: 40rem;
}

#features-page .features-what-wrap {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

#features-page .features-what-wrap .about-trades-grid {
    max-width: 52rem;
    gap: 0.625rem 0.875rem;
}

#features-page .features-what-wrap .about-trades-grid li {
    padding: 0.5rem 1.15rem;
    font-size: 0.9375rem;
}

/* Light band behind select sections (suppliers / planning) */
#features-page .features-section-pop {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.025) 0%, transparent 45%);
}

/* Job: desktop screenshot with phone overlay (same idea as invoicing composite) */
#features-page .features-visual-podium {
    margin-top: clamp(2rem, 5vw, 3rem);
}

#features-page .features-visual-podium__stage {
    margin-inline: auto;
    max-width: min(100%, 48rem);
}

#features-page .features-visual-podium__figure {
    display: flex;
    justify-content: center;
    margin: 0;
}

#features-page .features-visual-podium__composite {
    position: relative;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
}

#features-page .features-visual-podium__composite .features-screenshot--job-desktop {
    display: block;
    max-width: min(100%, 38rem);
    margin-inline: auto;
}

#features-page .features-visual-podium__composite .features-screenshot--podium-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: min(34%, 10.5rem);
    transform: translate(2%, 8%);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 47.99rem) {
    #features-page .features-visual-podium__stage {
        padding-inline: clamp(0.15rem, 1.5vw, 0.5rem);
    }

    #features-page .features-visual-podium__composite {
        max-width: 100%;
        padding-bottom: clamp(2.25rem, 12vw, 3.25rem);
        overflow: visible;
    }

    #features-page .features-visual-podium__composite .features-screenshot--job-desktop {
        max-width: 100%;
        width: 100%;
    }

    #features-page .features-visual-podium__composite .features-screenshot--podium-overlay {
        max-width: min(44%, 10rem);
        transform: translate(6%, 16%);
        filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.22));
    }
}

#features-page .features-visual-podium__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding-top: clamp(1.35rem, 2.8vw, 1.85rem);
    border-top: 1px solid rgb(0 0 0 / 0.08);
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
}

#features-page .features-visual-podium__meta .features-showcase-kicker {
    margin: 0;
}

#features-page .features-visual-podium__meta .features-showcase-lead {
    margin: 0 0 clamp(1.25rem, 2.8vw, 1.75rem);
    max-width: 28rem;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.02em;
    color: rgb(0 0 0 / 0.72);
}

/* Block-level flex: keeps the button as a flex formatting context so spacing from the lead is predictable */
#features-page .features-visual-podium__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
}

@media (width >= 48rem) {
    #features-page .features-visual-podium__meta {
        align-items: center;
        text-align: center;
        margin-inline: 0;
        max-width: none;
        padding-inline: 0;
        border-top-color: rgb(0 0 0 / 0.06);
    }

    #features-page .features-visual-podium__meta .features-showcase-lead {
        max-width: 32rem;
    }
}

/* Team: two-column split, no rings or glows behind screenshots */
#features-page .features-team-spotlight {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: center;
    margin-top: clamp(2rem, 5vw, 3rem);
}

@media (width >= 56rem) {
    #features-page .features-team-spotlight {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 4vw, 3rem);
    }
}

#features-page .features-team-spotlight__visual {
    display: flex;
    justify-content: center;
    margin: 0;
}

#features-page .features-team-spotlight__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

#features-page .features-team-spotlight__aside > a {
    margin-top: 0.85rem;
}

@media (width >= 56rem) {
    #features-page .features-team-spotlight__aside {
        align-items: flex-start;
        text-align: left;
    }
}

#features-page .features-product-shot--wide {
    max-width: min(100%, 76rem);
}

#features-page .features-customer-cta {
    margin-top: clamp(2.25rem, 5vw, 3.25rem);
    text-align: center;
}

#features-page .features-signup-nudge {
    display: flex;
    max-width: 52rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    margin-inline: auto;
}

#features-page .features-signup-nudge--center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#features-page .features-signup-nudge__copy {
    margin: 0;
    max-width: 28rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-signup-nudge--center .features-signup-nudge__copy {
    max-width: 36rem;
}

#features-page .features-card-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid rgb(0 0 0 / 0.08);
    background: #fff;
    padding: 1.65rem 1.5rem;
    box-shadow:
        0 1px 0 rgb(0 0 0 / 0.04),
        0 20px 50px -32px rgb(0 0 0 / 0.2);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#features-page .features-card-pro:hover {
    transform: translateY(-0.2rem);
    box-shadow:
        0 1px 0 rgb(0 0 0 / 0.06),
        0 28px 60px -28px rgb(0 0 0 / 0.22);
}

#features-page .features-card-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-card-body {
    margin: 0.65rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

#features-page .features-card-pro__row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

#features-page .features-icon-tile {
    display: flex;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--color-brand, #093de4);
    color: #fff;
    line-height: 0;
}

#features-page .features-icon-tile .fa-solid,
#features-page .features-icon-tile .fa-brands {
    font-size: 1.125rem;
    line-height: 1;
    color: #fff;
}

#features-page .features-grid-3 {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (width >= 40rem) {
    #features-page .features-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width >= 64rem) {
    #features-page .features-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#features-page .features-grid-2 {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (width >= 40rem) {
    #features-page .features-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#features-page .features-integration-strip {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 40rem;
    margin-inline: auto;
    border-top: 1px solid rgb(0 0 0 / 0.08);
}

#features-page .features-integration-strip__row {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
    background: transparent;
    box-shadow: none;
}

#features-page .features-integration-strip__copy {
    min-width: 0;
    padding-top: 0.15rem;
}

#features-page .features-integration-strip__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-integration-strip__desc {
    margin: 0.4rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgb(0 0 0 / 0.45);
}

#features-page #customer-experience {
    position: relative;
    padding-top: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
    border-radius: 0;
    background: linear-gradient(
        180deg,
        color-mix(in oklab, var(--color-brand, #093de4) 5%, white) 0%,
        #fff 55%
    );
    box-shadow: none;
}

/* Customer: checkmark lines, no card boxes */
#features-page .features-customer-flow {
    display: grid;
    gap: 1.5rem 2.5rem;
    margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

@media (width >= 56rem) {
    #features-page .features-customer-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#features-page .features-flow-line {
    display: grid;
    grid-template-columns: 1.125rem minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

#features-page .features-flow-line__check {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    line-height: 1;
}

#features-page .features-flow-line__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-flow-line__desc {
    margin: 0.4rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

/* Payments: one panel, quadrant cells (not four floating cards) */
#features-page .features-payments-panel {
    display: grid;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    border-radius: 0.85rem;
    border: 1px solid rgb(0 0 0 / 0.1);
    overflow: hidden;
    background: #fff;
}

@media (width >= 40rem) {
    #features-page .features-payments-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#features-page .features-payments-panel__cell {
    margin: 0;
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
    background: #fff;
    box-shadow: none;
    border-radius: 0;
}

@media (width >= 40rem) {
    #features-page .features-payments-panel__cell:nth-child(odd) {
        border-right: 1px solid rgb(0 0 0 / 0.08);
    }

    #features-page .features-payments-panel__cell:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 39.98rem) {
    #features-page .features-payments-panel__cell:last-child {
        border-bottom: none;
    }
}

#features-page .features-payments-panel__row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

#features-page .features-payments-panel__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-payments-panel__desc {
    margin: 0.45rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(0 0 0 / 0.45);
}

/* Suppliers: magazine columns, no cards */
#features-page .features-editorial-columns {
    display: grid;
    gap: 1.75rem 2.75rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (width >= 48rem) {
    #features-page .features-editorial-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#features-page .features-editorial-block {
    margin: 0;
    padding: 0 0 0 1rem;
    border: none;
    border-left: 3px solid color-mix(in oklab, var(--color-brand, #093de4) 55%, rgb(0 0 0 / 0.12));
    background: none;
    box-shadow: none;
}

#features-page .features-editorial-block__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-editorial-block__desc {
    margin: 0.45rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

/* Branding shell: typographic tiles, no card chrome */
#features-page .features-brand-grid {
    display: grid;
    gap: 1.75rem 2rem;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

@media (width >= 40rem) {
    #features-page .features-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#features-page .features-brand-tile {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    text-align: left;
}

#features-page .features-brand-tile__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-brand-tile__title::after {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-top: 0.5rem;
    margin-bottom: 0.65rem;
    background: var(--color-brand, #093de4);
    border-radius: 1px;
}

#features-page .features-brand-tile__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

/* Team: lighter grid (still icon-friendly) without heavy card lift */
#features-page #team-management .features-card-pro {
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.05);
    border-color: rgb(0 0 0 / 0.07);
    background: rgb(255 255 255 / 0.85);
}

#features-page #team-management .features-card-pro:hover {
    transform: translateY(-0.08rem);
    box-shadow: 0 12px 36px -28px rgb(0 0 0 / 0.18);
}

#features-page #customer-experience .js-features-section-header .section-eyebrow {
    margin-bottom: 0.45rem;
}

#features-page #customer-experience .js-features-section-header > p {
    margin-top: 0.75rem;
}

#features-page .features-band {
    padding-top: clamp(2.75rem, 6vw, 4rem);
    padding-bottom: clamp(2.75rem, 6vw, 4rem);
    background: rgb(0 0 0 / 0.04);
}

/* In-page anchors: clear fixed header when jumping between sections */
#features-page main > section[id] {
    scroll-margin-top: clamp(4rem, 12vw, 5.5rem);
}

/* Left-aligned section intros (editorial); centred on small screens */
#features-page main .js-features-section-header.features-section-header--start {
    margin-inline: auto;
    max-width: 40rem;
}

@media (width >= 48rem) {
    #features-page main .js-features-section-header.features-section-header--start {
        margin-inline: 0;
        align-items: flex-start;
        text-align: left;
    }
}

#features-page main .js-features-section-header.features-section-header--start .section-eyebrow::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.1875rem;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: var(--color-brand, #093de4);
    margin-inline: auto;
}

@media (width >= 48rem) {
    #features-page main .js-features-section-header.features-section-header--start .section-eyebrow::after {
        margin-inline: 0;
    }
}

/* Right-aligned section intros (mirror of --start) */
#features-page main .js-features-section-header.features-section-header--end {
    margin-inline: auto;
    max-width: 42rem;
}

@media (width >= 48rem) {
    #features-page main .js-features-section-header.features-section-header--end {
        margin-left: auto;
        margin-right: 0;
        align-items: flex-end;
        text-align: right;
    }
}

#features-page main .js-features-section-header.features-section-header--end .section-eyebrow::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.1875rem;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: var(--color-brand, #093de4);
    margin-inline: auto;
}

@media (width >= 48rem) {
    #features-page main .js-features-section-header.features-section-header--end .section-eyebrow::after {
        margin-left: auto;
        margin-right: 0;
    }
}

@media (width >= 48rem) {
    #features-page #planning .features-planning-caption {
        margin-inline: auto;
        text-align: center;
    }
}

/* Integrations: headline first on mobile; diagram left + copy + list on desktop */
#features-page .features-integrations-split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.25rem);
}

@media (width >= 64rem) {
    #features-page .features-integrations-split {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.14fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "figure intro"
            "figure strip";
        column-gap: clamp(2rem, 4vw, 3.25rem);
        row-gap: 1.25rem;
        align-items: start;
    }

    #features-page .features-integrations-split__intro {
        grid-area: intro;
        padding-top: 0.15rem;
    }

    #features-page .features-integrations-split__figure {
        grid-area: figure;
        align-self: center;
    }

    #features-page .features-integrations-split__strip {
        grid-area: strip;
    }
}

#features-page .features-integrations-split .features-integrations-visual {
    margin-top: 0;
}

@media (max-width: 63.98rem) {
    #features-page .features-integrations-split .features-integrations-split__figure {
        margin-top: clamp(0.25rem, 1vw, 0.5rem);
    }
}

#features-page .features-integration-strip--in-split {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}

#features-page .features-spotlight-invoice {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgb(9 61 228) 0%, rgb(30 64 175) 42%, rgb(15 23 42) 100%);
    color: #fff;
    padding: clamp(2rem, 5vw, 3.5rem);
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    box-shadow: 0 24px 60px -28px rgb(9 61 228 / 0.55);
}

#features-page .features-spotlight-invoice__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (width >= 56rem) {
    #features-page .features-spotlight-invoice__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 3rem;
    }
}

/* Invoicing: composite leads on large screens (previous layout you preferred) */
@media (width >= 56rem) {
    #features-page .features-spotlight-invoice--reverse .features-spotlight-invoice__grid > :first-child {
        order: 2;
    }

    #features-page .features-spotlight-invoice--reverse .features-spotlight-invoice__grid > :last-child {
        order: 1;
    }
}

#features-page .features-spotlight-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.72);
}

#features-page .features-spotlight-invoice .section-heading {
    color: #fff;
}

#features-page .features-spotlight-invoice .features-kicker {
    margin: 0.75rem 0 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(255 255 255 / 0.92);
}

#features-page .features-spotlight-lead {
    margin: 1.1rem 0 0;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 0.78);
}

#features-page .features-spotlight-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 1.75rem;
}

#features-page .features-spotlight-invoice__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-top: clamp(1.75rem, 3.5vw, 2.35rem);
}

#features-page .features-spotlight-stat {
    border-radius: 0.65rem;
    border: 1px solid rgb(255 255 255 / 0.22);
    background: rgb(255 255 255 / 0.1);
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Feature screenshots: no frames, only max-width (assets include their own design) */
#features-page .features-screenshot,
#app .features-screenshot {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

/*#features-page .features-screenshot--phone,
#app .features-screenshot--phone {
    max-width: 17.5rem;
}*/

#features-page .features-screenshot--wide {
    max-width: min(100%, 72rem);
}

#features-page .features-screenshot--invoice-desktop {
    max-width: min(100%, 36rem);
}

#features-page .features-screenshot--invoice-phone {
    max-width: min(100%, 12rem);
}

/* Desktop invoice + phone layered (phone sits over bottom-right of invoice) */
#features-page .features-spotlight-invoice-composite {
    position: relative;
    width: 100%;
    max-width: 38rem;
    margin-inline: auto;
}

#features-page .features-spotlight-invoice-composite .features-screenshot--invoice-desktop {
    display: block;
    max-width: min(100%, 34rem);
    margin-inline: auto;
}

#features-page .features-spotlight-invoice-composite .features-screenshot--invoice-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: min(34%, 10.5rem);
    transform: translate(2%, 8%);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 47.99rem) {
    #features-page .features-spotlight-invoice-composite {
        max-width: 100%;
        padding-bottom: clamp(2.25rem, 12vw, 3.25rem);
        overflow: visible;
    }

    #features-page .features-spotlight-invoice-composite .features-screenshot--invoice-desktop {
        max-width: 100%;
        width: 100%;
    }

    #features-page .features-spotlight-invoice-composite .features-screenshot--invoice-overlay {
        max-width: min(44%, 10rem);
        transform: translate(6%, 16%);
        filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.22));
    }
}

#features-page .features-screenshot--integrations {
    max-width: min(100%, 20rem);
}

@media (width >= 64rem) {
    #features-page .features-integrations-split__figure .features-screenshot--integrations {
        max-width: min(100%, 20rem);
    }
}

/* Phone + copy: flex band, larger type, less empty grid space (#app pocket office uses same pattern) */
/* Mobile: column-reverse so screenshot sits above copy (DOM is copy → visual everywhere) */
#features-page .features-showcase-split,
#app .features-showcase-split {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}

/* Pocket office: stack rows (Tailwind build has no gap-14/gap-20 — gap must live here) */
#app .app-pocket-splits {
    display: flex;
    flex-direction: column;
    margin-top: clamp(2rem, 5vw, 3.25rem);
    gap: clamp(2rem, 5vw, 3rem);
}

@media (width >= 48rem) {
    #app .app-pocket-splits {
        margin-top: clamp(2.5rem, 6vw, 4rem);
        gap: clamp(2.25rem, 5vw, 3.75rem);
    }
}

#app .app-pocket-splits .features-showcase-split {
    margin-top: 0;
    gap: clamp(1.25rem, 3vw, 1.9rem);
}

#app .app-pocket-intro {
    max-width: 38rem;
    margin-inline: auto;
}

@media (width >= 64rem) {
    #app .app-pocket-intro {
        align-items: flex-start;
        text-align: left;
        margin-inline: 0;
    }
}

#app .features-showcase-split__copy > p {
    margin: 0;
}

#app .features-showcase-split__copy > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}

#features-page .features-showcase-split__copy,
#app .features-showcase-split__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: clamp(1.1rem, 2.4vw, 1.5rem);
    width: 100%;
    max-width: 36rem;
    position: relative;
    z-index: 2;
}

#features-page .features-showcase-split__copy .features-showcase-kicker,
#features-page .features-showcase-split__copy .features-showcase-lead,
#app .features-showcase-split__copy .features-showcase-lead {
    margin: 0;
}

#features-page .features-showcase-split__copy > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}

#features-page .features-showcase-split__visual,
#app .features-showcase-split__visual {
    flex-shrink: 0;
    width: 100%;
    max-width: min(17.5rem, 92vw);
    margin-inline: auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

@media (width >= 56rem) {
    #features-page .features-showcase-split,
    #app .features-showcase-split {
        flex-direction: row;
        /*align-items: flex-end;*/
        /*justify-content: space-between;*/
        justify-content: center;
        gap: clamp(1.25rem, 3vw, 2.25rem);
        text-align: left;
    }

    #features-page .features-showcase-split__copy,
    #app .features-showcase-split__copy {
        flex: 1 1 0;
        min-width: 0;
        max-width: min(34rem, 52%);
        margin-inline: 0;
        padding-bottom: 0.35rem;
        align-items: flex-start;
    }

    #features-page .features-showcase-split__visual,
    #app .features-showcase-split__visual {
        flex: 0 0 auto;
        width: auto;
        max-width: 17.5rem;
        margin-inline: 0;
        overflow: hidden;
    }

    #features-page .features-showcase-split--reverse,
    #app .features-showcase-split--reverse {
        flex-direction: row-reverse;
    }

    #features-page .features-showcase-split--reverse .features-showcase-split__copy,
    #app .features-showcase-split--reverse .features-showcase-split__copy {
        text-align: left;
    }

    #app .app-pocket-splits .features-showcase-split {
        align-items: center;
        gap: clamp(2.25rem, 5vw, 3.5rem);
    }

    /* Pocket row 2 (copy left, phone right): tuck copy toward the handset */
    #app .app-pocket-splits .features-showcase-split:not(.features-showcase-split--reverse) .features-showcase-split__copy {
        align-items: flex-end;
        text-align: right;
    }
}

/* App section flow: intro block + two split story bands */
#app.mobile-app-showcase .app-pocket-intro-section {
    max-width: 72rem;
}

#app .app-pocket-intro {
    max-width: 100%;
    margin-inline: 0;
}

#app .app-pocket-intro .section-heading {
    width: 100%;
    max-width: none;
}

#app .app-pocket-intro > p {
    max-width: 36rem;
}

#app .app-pocket-story {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

#app .app-pocket-band {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

#app .app-pocket-band--blue {
    background-color: #093de3;
    color: #fff;
}

#app .app-pocket-band--light {
    background-color: #fff;
    color: rgb(17 24 39);
}

#app .app-pocket-band__inner {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem;
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

@media (width >= 48rem) {
    #app .app-pocket-band__inner {
        padding-inline: 1.5rem;
    }
}

@media (width >= 64rem) {
    #app .app-pocket-band__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        min-height: clamp(28rem, 92vh, 42rem);
        gap: clamp(2rem, 4vw, 3.25rem);
    }
}

#app .app-pocket-band--reverse .app-pocket-band__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

#app .app-pocket-band__visual {
    display: flex;
    justify-content: center;
}

@media (width >= 64rem) {
    #app .app-pocket-band__visual {
        justify-content: flex-start;
    }

    #app .app-pocket-band--reverse .app-pocket-band__visual {
        justify-content: flex-end;
        order: 2;
    }
}

#app .app-pocket-band__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1rem;
    text-align: left;
}

@media (width >= 64rem) {
    #app .app-pocket-band__copy {
        position: sticky;
        top: clamp(6rem, 10vh, 7.25rem);
        align-self: start;
        padding-top: clamp(0.4rem, 1.1vh, 0.9rem);
    }

    #app .app-pocket-band--reverse .app-pocket-band__copy {
        order: 1;
    }
}

#app .app-pocket-band__eyebrow {
    display: block;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#app .app-pocket-band--blue .app-pocket-band__eyebrow {
    color: rgb(255 255 255 / 0.72);
}

#app .app-pocket-band--light .app-pocket-band__eyebrow {
    color: #093de4;
}

#app .app-pocket-band__copy .features-showcase-lead {
    margin: 0;
    max-width: 32rem;
}

#app .app-pocket-band__copy p {
    margin: 0;
}

#app .app-pocket-band--blue .features-showcase-lead,
#app .app-pocket-band--blue p {
    color: rgb(255 255 255 / 0.92);
}

#app .app-pocket-band__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.625rem 1.1rem;
    border-radius: 0.625rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

#app .app-pocket-band--blue .app-pocket-band__cta {
    background-color: #fff;
    color: #093de4;
}

#app .app-pocket-band--blue .app-pocket-band__cta:hover {
    background-color: rgb(255 255 255 / 0.9);
    color: #0837cb;
}

#app .app-pocket-band--light .app-pocket-band__cta {
    background-color: #093de4;
    color: #fff;
}

#app .app-pocket-band--light .app-pocket-band__cta:hover {
    background-color: #0837cb;
    color: #fff;
}

#features-page .features-showcase-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-brand, #093de4);
}

#features-page .features-showcase-lead,
#app .features-showcase-lead {
    margin: 0;
    font-size: clamp(1.25rem, 2.8vw, 1.875rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.035em;
    color: rgb(29 41 56);
}

#features-page .features-screenshot-figure {
    margin: 0;
}

/* Planning: section padding so space above the map is not lost to margin collapse with #ai section */
#features-page #planning {
    padding-top: clamp(2.75rem, 6vw, 4rem);
}

#features-page figure.features-screenshot-figure.features-planning-map--hero {
    margin: 0;
}

#features-page .features-planning-map,
#features-page .features-planning-map--hero {
    margin-top: 0;
}

#features-page .features-screenshot--planning-map {
    display: block;
    width: auto;
    max-width: min(100%, 48rem);
    height: auto;
    margin-inline: auto;
}

#features-page .features-planning-intro {
    margin-top: clamp(1.65rem, 4vw, 2.5rem);
}

#features-page .features-integrations-visual {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

#features-page .features-planning-points-wrap {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    width: 100%;
    max-width: 52rem;
    margin-inline: auto;
    padding-inline: 0.25rem;
}

#features-page .features-planning-points-wrap--center {
    display: flex;
    justify-content: center;
}

#features-page .features-planning-points-wrap--center .features-planning-points {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

#features-page .features-planning-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 2.25rem;
}

@media (width >= 40rem) {
    #features-page .features-planning-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 2.5rem;
    }
}

#features-page .features-planning-points li {
    display: grid;
    grid-template-columns: 1.125rem minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0;
    align-items: start;
}

#features-page .features-planning-points__check {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    line-height: 1;
}

#features-page .features-planning-points__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

#features-page .features-planning-points__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

#features-page .features-planning-points__desc {
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(0 0 0 / 0.48);
}

#features-page .features-brand-shell {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Contact page ---------- */
#contact-page .contact-thanks-banner {
    display: none;
    margin: clamp(1.5rem, 4vw, 2rem) auto 0;
    max-width: 42rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(22 101 52 / 0.25);
    background: rgb(240 253 244);
    padding: 0.85rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(22 101 52);
}

#contact-page .contact-thanks-banner:target {
    display: block;
}

#contact-page .contact-page-layout {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: start;
}

@media (width >= 48rem) {
    #contact-page .contact-page-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        column-gap: clamp(2rem, 5vw, 3.5rem);
    }
}

#contact-page .contact-details {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 0.75rem;
    border: 1px solid rgb(0 0 0 / 0.08);
    background: rgb(0 0 0 / 0.02);
}

#contact-page .contact-form-panel {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 0.75rem;
    border: 1px solid rgb(0 0 0 / 0.08);
    background: #fff;
}

#contact-page .contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-page .contact-form-field {
    margin: 0;
}

#contact-page .contact-required-asterisk {
    color: rgb(220 38 38);
    font-weight: 700;
}

#contact-page .contact-form-status:empty {
    display: none;
}

#contact-page .contact-form-status.contact-form-status--success {
    display: block;
    color: rgb(22 101 52);
}

#contact-page .contact-form-status.contact-form-status--error {
    display: block;
    color: rgb(185 28 28);
}

/* 404 */
body.page-404-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.page-404-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 4vw, 2rem) 1rem clamp(2rem, 6vw, 3rem);
    box-sizing: border-box;
}

.page-404-panel {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
    text-align: center;
}

.page-404-lead {
    margin-top: 1rem;
    margin-inline: auto;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

.page-404-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: clamp(1.75rem, 4vw, 2rem);
}

.page-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    border-radius: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.page-404-btn--primary {
    border: 1px solid transparent;
    background-color: var(--color-brand, #093de4);
    color: #fff;
}

.page-404-btn--primary:hover {
    background-color: color-mix(in oklab, var(--color-brand, #093de4) 82%, black);
    color: #fff;
}

.page-404-btn--secondary {
    border: 1px solid rgb(0 0 0 / 0.12);
    background-color: #fff;
    color: rgb(31 41 55);
}

.page-404-btn--secondary:hover {
    border-color: rgb(0 0 0 / 0.2);
    background-color: rgb(0 0 0 / 0.04);
    color: rgb(17 24 39);
}

/* Legal, terms, privacy, security, help (document layout) */
.legal-doc-page {
    padding: 0;
}

.legal-doc-hero {
    border-bottom: 1px solid rgb(0 0 0 / 0.06);
    background: linear-gradient(
        180deg,
        color-mix(in oklab, var(--color-brand, #093de4) 7%, white) 0%,
        #fff 78%
    );
    padding-top: clamp(2.75rem, 6vw, 4rem);
    padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.legal-doc-hero__inner {
    margin-inline: auto;
    max-width: 38rem;
    text-align: center;
}

.legal-doc-hero__lead {
    margin-top: 1rem;
    margin-inline: auto;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgb(0 0 0 / 0.45);
}

.legal-doc-hero .legal-doc-meta {
    margin-top: 1rem;
}

.legal-doc-hero__company {
    margin-top: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(0 0 0 / 0.52);
}

.legal-doc-body {
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(4rem, 8vw, 5.5rem);
}

.legal-doc-page .legal-doc-inner {
    max-width: 44rem;
    margin-inline: auto;
}

.legal-doc-meta {
    font-size: 0.875rem;
    color: rgb(0 0 0 / 0.45);
}

.legal-doc-page h2 {
    margin-top: 0;
    margin-bottom: 0.65rem;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgb(17 24 39);
}

.legal-doc-body .legal-doc-inner > h2:not(:first-of-type) {
    margin-top: clamp(2.25rem, 5vw, 3.25rem);
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
    border-top: 1px solid rgb(0 0 0 / 0.07);
}

.help-toc + h2 {
    margin-top: 0.5rem;
}

.legal-doc-page h3 {
    margin-top: 1.15rem;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(31 41 55);
}

.legal-doc-page p {
    margin: 0;
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgb(0 0 0 / 0.62);
}

.legal-doc-page ul,
.legal-doc-page ol {
    margin: 0.6rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgb(0 0 0 / 0.62);
}

.legal-doc-page li + li {
    margin-top: 0.45rem;
}

.legal-doc-page a {
    color: var(--color-brand, #093de4);
    text-underline-offset: 2px;
}

.legal-doc-page a:hover {
    color: color-mix(in oklab, var(--color-brand, #093de4) 78%, black);
}

.legal-doc-page strong {
    font-weight: 600;
    color: rgb(31 41 55);
}

.help-toc {
    margin-top: 0;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.help-toc a {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid rgb(0 0 0 / 0.1);
    background: rgb(0 0 0 / 0.02);
    padding: 0.4rem 0.7rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    color: rgb(31 41 55);
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.help-toc a:hover {
    border-color: color-mix(in oklab, var(--color-brand, #093de4) 40%, rgb(0 0 0 / 0.12));
    background: color-mix(in oklab, var(--color-brand, #093de4) 6%, white);
    color: var(--color-brand, #093de4);
}

.legal-doc-page h2[id],
.legal-doc-page h3[id] {
    scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-edge-fade {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .pricing-popular-badge {
        translate: -50% 0;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .feature-card-hoverable:hover {
        transform: none;
    }

    #features-page .features-card-pro:hover {
        transform: none;
    }

    .about-hero-phone-sticky {
        transition: none;
    }
}
