.pw:has(> .ld-section) + .pw > .ld-section {
    padding-top: 0;
}

@media (min-width: 901px) {
    .pw:has(> .ld-hero) + .pw > .ld-section,
    .pw:has(> .ld-hero) + .pw-hide-d + .pw > .ld-section {
        padding-top: 0;
    }
}

@media (max-width: 900px) {
    .pw:has(> .ld-hero) + .pw > .ld-steps {
        position: relative;
        z-index: 3;
        margin-top: -56px;
        padding-top: 0;
    }
}

.pw-pt > * {
    padding-top: var(--pw-top) !important;
}

.pw-pb > * {
    padding-bottom: var(--pw-bottom) !important;
}

.ld-rich p,
.pb-rich p {
    margin: 0 0 18px;
    font-size: var(--read-size);
    line-height: var(--read-lead);
    font-weight: var(--read-weight);
    letter-spacing: var(--read-track);
    color: color-mix(in srgb, var(--text) var(--read-ink), transparent);
}

.ld-rich {
    max-width: 460px;
}

.ld-rich > :last-child,
.pb-rich > :last-child {
    margin-bottom: 0;
}

.ld-rich + .ld-btn {
    margin-top: 6px;
}

.pb-section {
    padding: clamp(32px, 5vw, 56px) 0;
}

.pw:has(> .pb-section) + .pw > .pb-section {
    padding-top: 0;
}

.pb-rich {
    max-width: 760px;
    font-size: var(--read-size);
    line-height: var(--read-lead);
    font-weight: var(--read-weight);
    letter-spacing: var(--read-track);
    color: color-mix(in srgb, var(--text) var(--read-ink), transparent);
}

.pb-legal {
    display: grid;
    gap: 14px;
    margin: 0;
}

.pb-legal > div {
    display: grid;
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
    gap: 4px 24px;
}

.pb-legal dt {
    color: var(--text-3);
    font-size: 14px;
}

.pb-legal dd {
    margin: 0;
    color: var(--text);
}

@media (max-width: 640px) {
    .pb-legal > div {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pb-rich.is-wide {
    max-width: none;
}

.pb-rich h2,
.pb-rich h3,
.pb-rich h4 {
    margin: 1.6em 0 0.6em;
    color: var(--text);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.pb-rich h2 {
    font-size: 1.6em;
}

.pb-rich h3 {
    font-size: 1.3em;
}

.pb-rich h4 {
    font-size: 1.1em;
}

.pb-rich > :first-child {
    margin-top: 0;
}

.pb-rich ul,
.pb-rich ol {
    margin: 0 0 16px;
    padding-left: 1.3em;
}

.pb-rich li + li {
    margin-top: 6px;
}

.pb-rich a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pb-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.pb-rich blockquote {
    margin: 0 0 16px;
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--border);
    color: var(--text);
}

.pb-rich hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.pb-rich table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
    font-size: 14px;
}

.pb-rich th,
.pb-rich td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.pb-rich th {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 640px) {
    .pb-rich table {
        display: block;
        overflow-x: auto;
    }

    .pb-rich th,
    .pb-rich td {
        min-width: 150px;
    }
}

.pb-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
}

.pb-split.is-left .pb-split-media {
    order: -1;
}

.pb-split-copy .pb-rich {
    margin-bottom: 20px;
}

.pb-split-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.pb-split-empty {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background: var(--surface-2);
    color: var(--text-3);
}

.pb-contact {
    padding: clamp(32px, 5vw, 56px) 0;
}

.pb-contact .contact-wrap {
    margin-top: 0;
}

.ld-hero-img {
    position: absolute;
    inset: -56px 0 -40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    --hero-fade: linear-gradient(180deg, #000 78%, transparent 100%);
    -webkit-mask-image: var(--hero-fade);
    mask-image: var(--hero-fade);
}

.ld-hero-img::before {
    content: "";
    position: absolute;
    inset: 8% 4% 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.ld-hero-img > :is(img, video) {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: contain;
    object-position: center bottom;
}

.ld-hero-img.has-video {
    --hero-fade: linear-gradient(180deg, transparent 0, #000 14%);
}

.ld-hero-img.has-video::before {
    display: none;
}

.ld-hero-img > img + .ld-hero-video {
    position: absolute;
}

@media (max-width: 900px) {
    .ld-hero.has-video {
        --hero-pb: 8px;
    }

    .ld-hero-visual.is-video {
        position: relative;
        inset: auto;
        opacity: 1;
        margin-top: -40px;
    }

    .ld-hero-visual.is-video .ld-hero-img {
        position: relative;
        inset: auto;
        width: auto;
        justify-content: center;
        --hero-fade: linear-gradient(180deg, transparent 0, transparent 6%, #000 34%);
    }

    .ld-hero-visual.is-video .ld-hero-img > :is(img, video) {
        width: var(--hero-media-w);
        rotate: 5deg;
        height: auto;
        max-height: none;
    }
}

.ld-hero-video {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.ld-hero-img.is-ready > .ld-hero-video {
    opacity: 1;
}

.ld-hero-img.is-ready > img {
    opacity: 0;
    transition: opacity 0s linear 0.45s;
}

.ld-hero-img.is-ready > .ld-hero-video {
    pointer-events: auto;
    touch-action: pan-y;
    user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .ld-hero-img.is-ready > .ld-hero-video {
        cursor: grab;
    }

    .ld-hero-img.is-grabbing > .ld-hero-video {
        cursor: grabbing;
    }
}

@media (max-width: 900px) {
    .ld-hero-img {
        inset: 0 -12% 0 auto;
        width: 70%;
        justify-content: flex-end;
    }

    .ld-hero-img::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .pb-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .pb-split.is-left .pb-split-media {
        order: 0;
    }
}

@media (max-width: 860px) {
    .pw-hide-m {
        display: none;
    }
}

@media (min-width: 861px) {
    .pw-hide-d {
        display: none;
    }
}

.ascii-scan {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.ld-about-figure.is-glitching .ld-about-img,
.ld-hero-img.is-glitching img {
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    [data-ascii] {
        pointer-events: auto;
    }
}

[data-ascii],
.ld-hero-img.has-video > :is(img, video) {
    animation: ld-hover-float 6.5s ease-in-out infinite;
}

@media (min-width: 901px) {
    .ld-hero-img.has-video {
        --hero-grow: 80px;
        --hero-lift: 60px;
        inset: calc(-1 * var(--hero-pt) - var(--hero-lift)) 14% calc(-1 * var(--hero-pb) - var(--hero-grow) + var(--hero-lift)) -34%;
        --hero-fade: linear-gradient(180deg, transparent 0, transparent var(--hero-lift), #000 calc(var(--hero-lift) + var(--hero-head) + 90px));
    }

    .ld-hero-img.has-video > :is(img, video) {
        max-width: none;
        max-height: none;
        flex-shrink: 0;
    }
}

@keyframes ld-hover-float {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -14px;
    }
}

.pw:has(> .ld-hero):has(+ .pw-dots) .ld-hero::after {
    background:
        linear-gradient(90deg, var(--bg), transparent 14%, transparent 86%, var(--bg)),
        var(--dot-pattern) left 0 bottom 1px / 18px 18px,
        var(--bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.pw-dots .ld-steps-big {
    color: color-mix(in srgb, var(--text) 7%, var(--bg));
    opacity: 1;
}

.legal-country-pick {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13.5px;
    color: var(--text-2);
}

.legal-country-pick summary {
    cursor: pointer;
    list-style: none;
}

.legal-country-pick summary::-webkit-details-marker {
    display: none;
}

.legal-country-pick summary span {
    margin-left: 6px;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
}

.pb-rich .legal-country-list a {
    color: var(--text-2);
    text-decoration: none;
}

.pb-rich .legal-country-list a[aria-current] {
    color: var(--text);
    font-weight: 600;
}

.legal-section {
    scroll-margin-top: 96px;
    border-radius: var(--radius);
}

.legal-section:target {
    margin-inline: -20px;
    padding: 18px 20px 20px 16px;
    border-left: 4px solid var(--danger);
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    border-radius: 0 var(--radius) var(--radius) 0;
    animation: legal-section-in 1.6s ease-out 2;
}

@media (max-width: 640px) {
    .legal-section:target {
        margin-inline: -10px;
        padding: 14px 12px 16px 10px;
    }
}

.legal-section:target > h2:first-child {
    margin-top: 0;
}

@keyframes legal-section-in {
    0%,
    30% {
        background: color-mix(in srgb, var(--danger) 32%, transparent);
    }
}
