* {
    border-color: rgb(24 35 28 / 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 2px solid #204b2d;
    outline-offset: 3px;
}

::selection {
    background: #bdd6c1;
    color: #18231c;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    transform: translateY(-6rem);
    border-radius: 0.375rem;
    background: white;
    padding: 0.75rem 1rem;
    color: #18231c;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transition: transform 200ms ease;
}

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

.nav-link {
    color: rgb(24 35 28 / 0.68);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: color 180ms ease;
}

.nav-link:hover,
.footer-link:hover {
    color: #204b2d;
}

.nav-link[aria-current='true'] {
    color: #204b2d;
}

.nav-link[aria-current='true']::after {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 0.35rem;
    border-radius: 9999px;
    background: #6b984b;
    content: '';
}

.scroll-progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 2px;
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
    background: #6b984b;
    pointer-events: none;
}

[data-site-header] nav {
    transition: height 220ms ease;
}

[data-site-header].is-scrolled nav {
    height: 4rem;
}

.mobile-nav-link {
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: #18231c;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease;
}

.mobile-nav-link:hover {
    background: #f4f7f2;
    color: #204b2d;
}

.btn-solid,
.btn-light,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-solid {
    min-height: 2.75rem;
    background: #204b2d;
    padding: 0.625rem 1.25rem;
    color: white;
}

.btn-solid:hover {
    background: #1c3d27;
}

.btn-light {
    min-height: 3rem;
    background: white;
    padding: 0.75rem 1.5rem;
    color: #204b2d;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-light:hover {
    background: #fbf9f5;
}

.btn-outline {
    min-height: 3rem;
    border: 1px solid rgb(24 35 28 / 0.16);
    padding: 0.75rem 1.5rem;
    color: #18231c;
}

.btn-outline:hover {
    border-color: #204b2d;
    color: #204b2d;
}

.btn-ghost {
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    color: #18231c;
}

.btn-ghost:hover {
    background: #f4f7f2;
}

.btn-solid:active,
.btn-light:active,
.btn-outline:active,
.btn-ghost:active,
.store-badge:active {
    transform: scale(0.98);
}

.store-badge {
    display: inline-flex;
    min-width: 9.5rem;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.75rem;
    background: #121512;
    padding: 0.55rem 0.9rem;
    color: white;
    text-align: left;
    box-shadow: 0 8px 18px -14px rgb(24 35 28 / 0.6);
    transition: transform 180ms ease, background-color 180ms ease;
}

.store-badge:hover {
    background: #204b2d;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.store-badge small {
    color: rgb(255 255 255 / 0.65);
    font-size: 0.5625rem;
    font-weight: 500;
}

.store-badge strong {
    margin-top: 0.22rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-section {
    background:
        radial-gradient(circle at 8% 12%, rgb(107 152 75 / 0.1), transparent 27rem),
        linear-gradient(180deg, #fbf9f4 0%, #f7f5ee 100%);
}

.hero-eyebrow {
    animation: hero-eyebrow-in 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-app-stage {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
    isolation: isolate;
    box-shadow: 0 34px 90px -48px rgb(24 35 28 / 0.62);
}

.hero-cinematic-media,
.hero-cinematic-media img,
.hero-cinematic-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-cinematic-media {
    z-index: -2;
    overflow: hidden;
}

.hero-cinematic-media img {
    object-fit: cover;
    object-position: 57% center;
    transform: scale(1.035) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.hero-cinematic-shade {
    z-index: -1;
    background:
        linear-gradient(180deg, rgb(13 25 17 / 0.08) 30%, rgb(13 25 17 / 0.4) 100%),
        linear-gradient(90deg, rgb(248 242 230 / 0.14), transparent 52%);
    pointer-events: none;
}

.hero-app-stage::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle 220px at var(--pointer-x) var(--pointer-y), rgb(255 255 255 / 0.22), transparent 72%);
    content: '';
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.hero-app-stage:hover::before {
    opacity: 1;
}

.hero-app-stage::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: inherit;
    content: '';
    pointer-events: none;
}

.hero-phone {
    animation: phone-float 6s ease-in-out infinite;
}

.hero-delivery-card {
    animation: delivery-float 5.25s ease-in-out infinite;
}

.hero-live-card,
.hero-savings-card,
.hero-delivery-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-live-card:hover,
.hero-savings-card:hover,
.hero-delivery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -26px rgb(24 35 28 / 0.62);
}

@keyframes hero-eyebrow-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes phone-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes delivery-float {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(5px) rotate(0.4deg);
    }
}

.journey-stage {
    position: relative;
    display: grid;
    min-height: 38rem;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.12fr) minmax(25rem, 0.88fr);
    background: #f3eee4;
}

.journey-media {
    position: relative;
    min-height: 38rem;
    overflow: hidden;
}

.journey-media img,
.journey-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.journey-media img {
    object-fit: cover;
    object-position: 58% center;
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journey-stage:hover .journey-media img {
    transform: scale(1.018);
}

.journey-shade {
    background: linear-gradient(90deg, transparent 72%, rgb(243 238 228 / 0.34));
    pointer-events: none;
}

.journey-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.25rem, 5vw, 5rem);
    background: #f3eee4;
}

.journey-number {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    z-index: 2;
    color: rgb(32 75 45 / 0.24);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.journey-tabs {
    display: inline-flex;
    align-self: flex-start;
    gap: 0.25rem;
    border: 1px solid rgb(24 35 28 / 0.1);
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.7);
    padding: 0.25rem;
}

.impact-section {
    background:
        linear-gradient(90deg, transparent 0 50%, rgb(239 233 221 / 0.42) 50% 100%),
        #fbfaf7;
}

.impact-visual {
    border-radius: 0 8rem 0 0;
}

.impact-workspace {
    position: relative;
}

.impact-workspace::before {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 4.5rem;
    height: 1px;
    background: rgb(32 75 45 / 0.28);
    content: '';
}

.impact-results {
    border-top: 1px solid rgb(24 35 28 / 0.14);
    border-bottom: 1px solid rgb(24 35 28 / 0.14);
}

.impact-result + .impact-result {
    border-left: 1px solid rgb(24 35 28 / 0.14);
}

.merchant-stage {
    position: relative;
    box-shadow: 0 28px 80px -52px rgb(24 35 28 / 0.75);
}

.merchant-copy {
    position: relative;
}

.merchant-copy::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgb(255 255 255 / 0.12);
    content: '';
}

.merchant-visual {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.merchant-caption {
    background: linear-gradient(180deg, transparent, rgb(10 18 12 / 0.82));
}

.journey-tab {
    border-radius: 9999px;
    padding: 0.65rem 1rem;
    color: rgb(24 35 28 / 0.58);
    font-size: 0.75rem;
    font-weight: 700;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.journey-tab.is-active {
    background: #204b2d;
    color: white;
    box-shadow: 0 6px 16px -10px rgb(32 75 45 / 0.8);
}

.journey-content {
    margin-top: 1.4rem;
    color: rgb(24 35 28 / 0.68);
    font-size: 0.875rem;
    line-height: 1.65rem;
}

.journey-content:not([hidden]) {
    animation: journey-panel-in 220ms ease-out;
}

.journey-content ul {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.journey-content li {
    display: flex;
    gap: 0.65rem;
}

.journey-content li::before {
    flex: 0 0 auto;
    width: 0.4rem;
    height: 0.4rem;
    margin-top: 0.62rem;
    border-radius: 9999px;
    background: #6b984b;
    content: '';
}

.journey-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: #204b2d;
    font-weight: 700;
}

.journey-link span {
    transition: transform 180ms ease;
}

.journey-link:hover span {
    transform: translateX(0.2rem);
}

@keyframes journey-panel-in {
    from {
        transform: translateY(5px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.eyebrow {
    color: #204b2d;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    color: #18231c;
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.section-copy {
    color: rgb(24 35 28 / 0.6);
    font-size: 0.875rem;
    line-height: 1.75rem;
}

.product-card {
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: 1rem;
    background: white;
    box-shadow: 0 12px 32px -24px rgb(24 35 28 / 0.3);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.product-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 18px 50px -28px rgb(24 35 28 / 0.28);
}

.product-dialog {
    width: min(58rem, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    border: 0;
    border-radius: 1.75rem;
    background: transparent;
    padding: 0;
    color: #18231c;
    box-shadow: 0 32px 90px -30px rgb(9 20 12 / 0.55);
}

.product-dialog[open] {
    animation: dialog-enter 240ms ease-out;
}

.product-dialog::backdrop {
    background: rgb(13 24 16 / 0.7);
    backdrop-filter: blur(8px);
}

.product-dialog > div {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
}

@keyframes dialog-enter {
    from {
        transform: translateY(14px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.category-chip {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 9999px;
    background: white;
    padding: 0.625rem 1rem;
    color: rgb(24 35 28 / 0.65);
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.category-chip:hover {
    border-color: rgb(32 75 45 / 0.3);
    color: #204b2d;
}

.category-chip.is-active {
    border-color: #204b2d;
    background: #204b2d;
    color: white;
}

.footer-heading {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-link {
    transition: color 180ms ease;
}

footer .footer-link:hover {
    color: white;
}

.toast {
    pointer-events: none;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    z-index: 100;
    display: flex;
    width: calc(100% - 2.5rem);
    max-width: 28rem;
    transform: translate(-50%, 2rem);
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgb(0 0 0 / 0.08);
    border-radius: 1rem;
    background: white;
    padding: 0.75rem 1rem;
    color: #18231c;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    box-shadow: 0 18px 50px -28px rgb(24 35 28 / 0.28);
    transition: opacity 300ms ease, transform 300ms ease;
}

.toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.brand-mark-light {
    filter: brightness(0) invert(1);
}

.text-balance {
    text-wrap: balance;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }

    .section-copy {
        font-size: 1rem;
    }

    .toast {
        right: 1.5rem;
        left: auto;
        width: auto;
        transform: translateY(2rem);
    }

    .toast.is-visible {
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-app-stage {
        min-height: 31rem;
        border-radius: 1.5rem;
    }

    .hero-cinematic-media img {
        object-position: 61% center;
    }

    .hero-live-card {
        max-width: calc(100% - 2rem);
    }

    .hero-delivery-card {
        max-width: calc(100% - 2rem);
    }

    .journey-stage {
        display: block;
        min-height: auto;
        overflow: hidden;
        grid-template-columns: none;
    }

    .journey-media {
        position: relative;
        display: block;
        min-height: 0;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }

    .journey-media img {
        object-position: 67% center;
    }

    .journey-shade {
        display: none;
    }

    .journey-panel {
        position: relative;
        width: 100%;
        padding: 2rem 1.35rem 2.25rem;
    }

    .journey-number {
        top: auto;
        right: 1.35rem;
        bottom: 1.25rem;
    }

    .impact-section {
        background: #fbfaf7;
    }

    .impact-visual {
        border-radius: 0 4rem 0 0;
    }

    .impact-workspace::before {
        display: none;
    }

    .merchant-copy::after {
        display: none;
    }

    .merchant-visual {
        clip-path: none;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-phone,
    .hero-delivery-card,
    .hero-eyebrow,
    .product-dialog[open],
    .journey-content:not([hidden]) {
        animation: none;
    }

    .hero-cinematic-media img {
        transform: none;
        transition: none;
    }

    .hero-app-stage::before {
        display: none;
    }

    .product-card:hover,
    .btn-solid:active,
    .btn-light:active,
    .btn-outline:active,
    .btn-ghost:active,
    .store-badge:active {
        transform: none;
    }
}
