.product-page {
    overflow: clip;
    background: var(--fudi-color-page);
}

.product-eyebrow {
    margin: 0 0 var(--fudi-space-4);
    color: var(--fudi-color-brand-deep);
    font-size: var(--fudi-text-sm);
    font-weight: 850;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.product-hero {
    padding-block: clamp(4.5rem, 9vw, 8rem);
    background: var(--fudi-color-ink);
    color: var(--fudi-color-on-ink);
}

.product-hero--background {
    position: relative;
    display: grid;
    min-height: clamp(42rem, 82vh, 58rem);
    padding-block: 0;
    isolation: isolate;
}

.product-hero--how {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.product-hero--how::before {
    position: absolute;
    z-index: -1;
    width: clamp(30rem, 52vw, 52rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 144, 115, 0.38) 0%, rgba(18, 104, 84, 0.2) 38%, rgba(11, 11, 11, 0) 72%);
    content: "";
    inset: 50% clamp(-14rem, -8vw, -5rem) auto auto;
    transform: translateY(-50%);
}

.product-hero--how .product-hero__grid {
    position: relative;
    z-index: 1;
}

.product-hero__background-image,
.product-hero__background-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-hero__background-image {
    object-fit: cover;
}

.product-hero__background-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.99) 0%, rgba(11, 11, 11, 0.15) 68%, rgba(11, 11, 11, 0.55) 100%);
}

.product-hero__background-content {
    display: flex;
    align-items: center;
    padding-block: clamp(6rem, 12vw, 10rem);
}

.product-hero__background-copy {
    width: min(100%, 48rem);
}

.product-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.product-hero .product-eyebrow,
.product-final-cta .product-eyebrow {
    color: var(--fudi-color-accent);
}

.product-hero h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.product-hero__lede {
    max-width: 39rem;
    margin: var(--fudi-space-6) 0 0;
    color: #d9e1de;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.product-hero__media,
.product-media {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface-muted);
    box-shadow: var(--fudi-shadow-overlay);
}

.product-hero__media {
    aspect-ratio: 11 / 8;
    border: 1px solid var(--fudi-color-ink-border);
}

.product-hero__media img,
.product-media img,
.product-demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero__media--video {
    width: min(100%, 22.5rem);
    aspect-ratio: 9 / 20;
    justify-self: end;
    border: 0.55rem solid var(--fudi-color-ink);
    border-radius: 2.5rem;
    background: var(--fudi-color-ink-raised);
    box-shadow:
        0 0 0 1px rgba(79, 242, 209, 0.22),
        0 0 5rem rgba(22, 151, 121, 0.34),
        0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.product-media--video {
    min-height: 0;
    aspect-ratio: 4 / 5;
    background: var(--fudi-color-ink);
}

.product-demo-video {
    object-fit: contain;
}

.product-hero__media--video .product-demo-video {
    object-fit: cover;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--fudi-space-5);
    margin-top: var(--fudi-space-6);
}

.product-actions button {
    border: 0;
    cursor: pointer;
}

.product-text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--fudi-space-2);
    color: var(--fudi-color-brand-deep);
    font-weight: 800;
    text-decoration: none;
}

.product-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.product-text-link--light {
    color: var(--fudi-color-on-ink);
}

.product-section {
    padding-block: clamp(5rem, 9vw, 9rem);
}

.product-section--surface {
    background: var(--fudi-color-surface);
}

.product-section--dark {
    background: var(--fudi-color-ink-raised);
    color: var(--fudi-color-on-ink);
}

.product-section--redemption {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.product-section--redemption::before {
    position: absolute;
    z-index: -1;
    width: clamp(30rem, 52vw, 50rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 144, 115, 0.4) 0%, rgba(18, 104, 84, 0.2) 40%, rgba(17, 24, 22, 0) 72%);
    content: "";
    inset: 50% clamp(-13rem, -7vw, -4rem) auto auto;
    transform: translateY(-50%);
}

.product-section--redemption .product-split {
    position: relative;
    z-index: 1;
}

.product-section--brand {
    background: var(--fudi-color-brand-deep);
    color: var(--fudi-color-on-ink);
}

.product-section--dark .product-eyebrow,
.product-section--brand .product-eyebrow {
    color: var(--fudi-color-accent);
}

.product-heading {
    width: min(100%, 50rem);
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.product-heading--center {
    margin-inline: auto;
    text-align: center;
}

.product-heading h2,
.product-split__copy h2,
.product-final-cta h2 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.product-heading p:last-child,
.product-split__copy > p,
.product-final-cta__inner > p:not(.product-eyebrow) {
    max-width: 42rem;
    margin: var(--fudi-space-5) 0 0;
    color: var(--fudi-color-text-muted);
    font-size: var(--fudi-text-lg);
}

.product-section--dark .product-heading p:last-child,
.product-section--brand .product-heading p:last-child,
.product-section--dark .product-split__copy > p,
.product-section--brand .product-split__copy > p,
.product-final-cta__inner > p:not(.product-eyebrow) {
    color: var(--fudi-color-on-ink-muted);
}

.product-system-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: var(--fudi-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-system-flow__node {
    display: grid;
    min-height: 14rem;
    place-items: center;
    padding: var(--fudi-space-6);
    border: 1px solid var(--fudi-color-border);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface);
    text-align: center;
}

.product-system-flow__node strong {
    display: block;
    margin-top: var(--fudi-space-4);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.product-system-flow__node .site-icon,
.product-card .site-icon,
.product-qr-card .site-icon {
    width: 2rem;
    height: 2rem;
    color: var(--fudi-color-brand-deep);
}

.product-system-flow__arrow {
    display: grid;
    place-items: center;
    color: var(--fudi-color-brand-deep);
}

.product-system-flow__arrow .site-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fudi-space-5);
}

.product-card {
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid var(--fudi-color-border);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface);
    box-shadow: 0 1rem 3rem rgba(16, 24, 22, 0.05);
}

.product-card__number,
.product-step__number {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding-inline: var(--fudi-space-3);
    border-radius: var(--fudi-radius-pill);
    background: var(--fudi-color-accent);
    color: var(--fudi-color-ink);
    font-family: var(--fudi-font-mono);
    font-size: var(--fudi-text-sm);
    font-weight: 800;
}

.product-card h3,
.product-step h3,
.product-qr-card h3 {
    margin: var(--fudi-space-5) 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.product-card p,
.product-step p,
.product-qr-card p {
    margin: var(--fudi-space-4) 0 0;
    color: var(--fudi-color-text-muted);
}

.product-card ul,
.product-check-list,
.product-comparison ul {
    margin: var(--fudi-space-5) 0 0;
    padding-left: 1.2rem;
}

.product-card li + li,
.product-check-list li + li,
.product-comparison li + li {
    margin-top: var(--fudi-space-2);
}

.product-card .product-text-link {
    margin-top: auto;
    padding-top: var(--fudi-space-5);
}

.product-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.product-split--reverse .product-split__copy {
    order: 2;
}

.product-split__copy {
    padding-block: var(--fudi-space-5);
}

.product-media {
    min-height: 32rem;
    aspect-ratio: 10 / 8;
}

.product-media.product-media--video {
    min-height: 0;
    aspect-ratio: 4 / 5;
}

.product-media.product-media--phone-video {
    width: min(100%, 22.5rem);
    aspect-ratio: 9 / 20;
    justify-self: center;
    border: 0.55rem solid var(--fudi-color-ink);
    border-radius: 2.5rem;
    background: var(--fudi-color-ink);
    box-shadow:
        0 0 0 1px rgba(79, 242, 209, 0.22),
        0 0 5rem rgba(22, 151, 121, 0.34),
        0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.product-media--phone-video .product-demo-video {
    object-fit: cover;
}

.product-media--phone {
    display: grid;
    aspect-ratio: 4 / 5;
    place-items: center;
    padding: clamp(2rem, 6vw, 5rem);
    background: var(--fudi-color-brand-deep);
}

.product-media--phone img {
    width: min(100%, 22rem);
    border: 0.55rem solid var(--fudi-color-ink);
    border-radius: 2.25rem;
    box-shadow: var(--fudi-shadow-overlay);
}

.product-surface-grid,
.product-qr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fudi-space-5);
}

.product-surface {
    padding: clamp(1.75rem, 4vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.product-surface span {
    color: var(--fudi-color-accent);
    font-family: var(--fudi-font-mono);
    font-size: var(--fudi-text-sm);
}

.product-surface h3 {
    margin: var(--fudi-space-4) 0 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.product-surface p {
    margin: var(--fudi-space-4) 0 0;
    color: #d5dfdc;
}

.product-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fudi-space-5);
}

.product-comparison {
    overflow: hidden;
    border: 1px solid var(--fudi-color-border);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface);
}

.product-comparison__media {
    --comparison-media-inset: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    height: clamp(32rem, 52vw, 46rem);
    background: var(--fudi-color-surface-muted);
}

.product-comparison__media img {
    position: absolute;
    inset: var(--comparison-media-inset);
    width: calc(100% - (2 * var(--comparison-media-inset)));
    height: calc(100% - (2 * var(--comparison-media-inset)));
    border: 0;
    border-radius: 1rem;
    object-fit: contain;
}

.product-comparison__copy {
    padding: clamp(2rem, 5vw, 4rem);
}

.product-comparison h3 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.product-comparison p {
    color: var(--fudi-color-text-muted);
}

.product-comparison__summary {
    max-width: 27rem;
    font-size: var(--fudi-text-xl);
    line-height: 1.4;
}

.product-comparison h4 {
    margin: var(--fudi-space-6) 0 0;
    font-size: var(--fudi-text-lg);
    letter-spacing: -0.02em;
}

.product-comparison h4 + ul,
.product-comparison h4 + p {
    margin-top: var(--fudi-space-3);
}

.product-quote {
    overflow: hidden;
}

.product-quote__inner {
    position: relative;
    min-height: clamp(25rem, 45vw, 40rem);
    display: flex;
    align-items: center;
}

.product-quote__mark {
    position: absolute;
    top: -0.18em;
    right: 0;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: clamp(18rem, 42vw, 40rem);
    line-height: 1;
    pointer-events: none;
}

.product-quote h2 {
    position: relative;
    max-width: 66rem;
    margin: 0;
    color: var(--fudi-color-surface);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.product-state-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fudi-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-state-list li {
    padding: var(--fudi-space-6);
    border-left: 0.25rem solid var(--fudi-color-accent);
    background: rgba(255, 255, 255, 0.06);
}

.product-state-list strong {
    display: block;
    font-size: var(--fudi-text-xl);
}

.product-state-list span {
    display: block;
    margin-top: var(--fudi-space-2);
    color: #d5dfdc;
}

.product-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fudi-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-step {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid var(--fudi-color-border);
}

.product-step p {
    max-width: 25rem;
}

.product-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-qr-card {
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid var(--fudi-color-border);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-surface);
}

.product-callout {
    margin-top: var(--fudi-space-6);
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: var(--fudi-radius-lg);
    background: var(--fudi-color-accent);
    color: var(--fudi-color-ink);
}

.product-callout h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.product-callout p {
    max-width: 55rem;
    margin: var(--fudi-space-3) 0 0;
}

.product-final-cta {
    padding-block: clamp(5rem, 10vw, 9rem);
    background: var(--fudi-color-ink);
    color: var(--fudi-color-on-ink);
}

.product-final-cta__inner {
    width: min(100% - (2 * var(--fudi-gutter)), 62rem);
}

.product-faqs {
    padding-block: clamp(5rem, 9vw, 8rem);
    border-top: 1px solid var(--fudi-color-border);
    background: var(--fudi-color-surface);
}

.product-faqs__grid {
    display: grid;
    grid-template-columns: minmax(14rem, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(2.5rem, 7vw, 6rem);
}

.product-faqs__heading h2 {
    margin: 0 0 var(--fudi-space-5);
    font-size: clamp(2.25rem, 4vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.product-faqs__items details {
    border-top: 1px solid var(--fudi-color-border);
}

.product-faqs__items details:last-child {
    border-bottom: 1px solid var(--fudi-color-border);
}

.product-faqs__items summary {
    padding-block: var(--fudi-space-5);
    cursor: pointer;
    font-size: var(--fudi-text-lg);
    font-weight: 780;
    line-height: 1.4;
}

.product-faqs__items details p {
    margin: 0 0 var(--fudi-space-4);
    color: var(--fudi-color-text-muted);
}

.product-faqs__items details > a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    margin-bottom: var(--fudi-space-5);
    color: var(--fudi-color-brand-deep);
    font-size: var(--fudi-text-sm);
    font-weight: 750;
    text-underline-offset: 0.2em;
}

@media (max-width: 64rem) {
    .product-card-grid,
    .product-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 52rem) {
    .product-hero__grid,
    .product-split,
    .product-comparison-grid,
    .product-faqs__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-hero__media {
        min-height: 22rem;
    }

    .product-hero__media--video {
        width: min(100%, 30rem);
        min-height: 0;
        justify-self: center;
    }

    .product-hero--how::before {
        width: 46rem;
        inset: auto 50% -16rem auto;
        transform: translateX(50%);
    }

    .product-split--reverse .product-split__copy {
        order: initial;
    }

    .product-system-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-system-flow__arrow {
        transform: rotate(90deg);
    }

    .product-card-grid,
    .product-steps,
    .product-surface-grid,
    .product-state-list,
    .product-qr-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card {
        min-height: auto;
    }

    .product-media {
        min-height: 23rem;
    }

    .product-media--video {
        min-height: 0;
    }

    .product-section--redemption::before {
        width: 46rem;
        inset: auto 50% -16rem auto;
        transform: translateX(50%);
    }
}

@media (max-width: 34rem) {
    .product-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .product-hero__media {
        min-height: 18rem;
    }

    .product-comparison__media {
        height: 30rem;
    }
}
