/* NICE RIM — marketing site (white) */

:root {
    --bg: #ffffff;
    --soft: #f6f6f7;
    --ink: #121316;
    --muted: #6d6d74;
    --line: #e7e7e9;
    --line-strong: #d6d6da;
    --accent: #2563eb;
    --container: 80rem;
    --header-height: 4.642857rem;
    --shadow-xs: 0 0.071429rem 0.142857rem #1213160a;
    --shadow-sm: 0 0.071429rem 0.142857rem #1213160a, 0 0.571429rem 1.714286rem #1213160d;
    --shadow-md: 0 1.142857rem 4rem #1213161f;
    --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    color-scheme: light;
    font-size: 14px;
}

section[id],
.container[id] {
    scroll-margin-top: 6rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.142857rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 0.142857rem solid var(--accent);
    outline-offset: 0.214286rem;
}

::selection {
    background: var(--ink);
    color: #fff;
}

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

h1 {
    font-size: clamp(2.628571rem, 5.4vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 640;
}

h2 {
    font-size: clamp(1.771429rem, 2.8vw, 2.457143rem);
    line-height: 1.18;
    letter-spacing: -.025em;
    font-weight: 620;
}

h3 {
    font-size: 1.214286rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.01em;
}

.container {
    width: min(var(--container), calc(100% - 3.428571rem));
    margin-inline: auto;
}

.container--narrow {
    width: min(54.285714rem, calc(100% - 3.428571rem));
}

.skip-link {
    position: absolute;
    left: 1.142857rem;
    top: -3.428571rem;
    z-index: 100;
    padding: 0.714286rem 1.142857rem;
    border-radius: 0.571429rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.928571rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 1.142857rem;
    color: #fff;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(0.857143rem);
    -webkit-backdrop-filter: saturate(160%) blur(0.857143rem);
    border-bottom: 0.071429rem solid transparent;
    transition: border-color .2s ease;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-xs);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.714286rem;
    height: 4.571429rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.642857rem;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 26px;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    width: 26px;
    height: 26px;
}

.brand:hover {
    color: var(--ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    font-size: 1rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.285714rem 0;
    position: relative;
}

.site-nav a:hover,
.site-nav a[aria-current] {
    color: var(--accent);
}

.site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.071429rem;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current]::after {
    transform: scaleX(1);
}

.site-nav a.btn {
    padding: 0 1.142857rem;
    color: #fff;
}

.site-nav a.btn:hover {
    color: #fff;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.285714rem;
    color: var(--muted);
    font-size: 0.857143rem;
}

.lang-switch a {
    padding: 0;
    color: var(--muted);
    font-size: 0.857143rem;
}

.lang-switch a:hover {
    color: var(--accent);
}

.lang-switch a[aria-current] {
    color: var(--accent);
    font-weight: 650;
}

.lang-switch a::after {
    display: none;
}

.lang-switch span {
    color: var(--line-strong);
}

.nav-toggle {
    display: none;
    width: 2.714286rem;
    height: 2.714286rem;
    margin-left: auto;
    padding: 0;
    border: 0.071429rem solid var(--line);
    border-radius: 0.571429rem;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 1.142857rem;
    height: 0.107143rem;
    margin-inline: auto;
    background: var(--ink);
    content: "";
    position: relative;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span::before {
    position: absolute;
    top: -0.357143rem;
}

.nav-toggle span::after {
    position: absolute;
    top: 0.357143rem;
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.571429rem;
    height: 3.142857rem;
    padding: 0 1.571429rem;
    border: 0.071429rem solid var(--ink);
    border-radius: 0.571429rem;
    background: var(--ink);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.btn:hover {
    background: #2b2c30;
    border-color: #2b2c30;
    color: #fff;
}

img.btn-icon{display:block;width:1.142857rem;height:1.142857rem;flex:none}
.btn .btn-icon{filter:brightness(0) invert(1)}

.btn--sm {
    height: 2.714286rem;
    padding: 0 1.142857rem;
    font-size: 0.928571rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(min(100vh, 85.714286rem) - var(--header-height));
    min-height: calc(min(100svh, 85.714286rem) - var(--header-height));
    padding-top: clamp(2.285714rem, 4vw, 3.428571rem);
    padding-bottom: clamp(2.285714rem, 4vw, 3.428571rem);
    overflow: hidden;
    text-align: center;
}

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

.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.hero-decor__item {
    position: absolute;
    display: block;
    opacity: .08;
    filter: grayscale(1) blur(0.021429rem);
    font-size: var(--size, 3.428571rem);
    line-height: 1;
    animation: hero-drift var(--duration, 26s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform;
}

.hero-decor__item--1 {
    left: 3.5%;
    top: 20%;
    --size: 4.571429rem;
    --duration: 20s;
    --delay: -6s;
    --dx: 1.285714rem;
    --dy: -2.571429rem;
    --rot: 3.5deg;
}

.hero-decor__item--2 {
    right: 4%;
    top: 17%;
    --size: 3.285714rem;
    --duration: 18s;
    --delay: -12s;
    --dx: -1.142857rem;
    --dy: -2.142857rem;
    --rot: -3.5deg;
}

.hero-decor__item--3 {
    left: 6%;
    bottom: 24%;
    --size: 2.428571rem;
    --duration: 23s;
    --delay: -3s;
    --dx: 0.857143rem;
    --dy: -3rem;
    --rot: 2.5deg;
}

.hero-decor__item--4 {
    right: 6.5%;
    bottom: 20%;
    --size: 3.857143rem;
    --duration: 19s;
    --delay: -9s;
    --dx: -1.285714rem;
    --dy: -2.428571rem;
    --rot: -2.5deg;
}

.hero-decor__item--5 {
    left: 15%;
    top: 11%;
    --size: 2rem;
    --duration: 24s;
    --delay: -15s;
    --dx: 0.714286rem;
    --dy: -2rem;
    --rot: 4deg;
}

.hero-decor__item--6 {
    right: 14%;
    top: 12%;
    --size: 1.857143rem;
    --duration: 22s;
    --delay: -4s;
    --dx: -0.857143rem;
    --dy: -2.285714rem;
    --rot: -4deg;
}

.hero-decor__item--7 {
    left: 2.5%;
    top: 58%;
    --size: 2.857143rem;
    --duration: 21s;
    --delay: -18s;
    --dx: 1.142857rem;
    --dy: -2.714286rem;
    --rot: 3deg;
}

@keyframes hero-drift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    45% {
        transform: translate3d(var(--dx, 1rem), var(--dy, -2rem), 0) rotate(var(--rot, 3deg)) scale(1.04);
    }
    75% {
        transform: translate3d(calc(var(--dx, 1rem) * -.3), calc(var(--dy, -2rem) * .45), 0) rotate(calc(var(--rot, 3deg) * -.6)) scale(1);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-ready [data-reveal] {
        opacity: 0;
        transform: translate3d(0, 2rem, 0);
        transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
        will-change: opacity, transform;
    }

    .reveal-ready [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
        will-change: auto;
    }
}

@media (min-width: 861px) and (max-height: 820px) {
    .hero {
        padding-top: 1.714286rem;
        padding-bottom: 1.714286rem;
    }

    .hero .app-ui {
        width: min(100%, 86vw, 71.428571rem);
    }
}

.hero h1 {
    max-width: 18em;
    margin-inline: auto;
}

.hero .lede {
    max-width: 54ch;
    margin: 1.285714rem auto 0;
    color: var(--muted);
    font-size: clamp(1.142857rem, 1.25vw, 1.257143rem);
    text-wrap: balance;
}

.app-ui {
    width: min(100%, 86vw, 80rem);
    margin: clamp(2.285714rem, 5vw, 3.714286rem) auto 0;
    text-align: left;
}

.app-ui .panel {
    padding: clamp(1.142857rem, 1.7vw, 1.714286rem);
    border: 0.071429rem solid #e8e8e8;
    border-radius: 0.857143rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.app-ui .fusion-uploads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.714286rem);
}

.app-ui .upload-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.571429rem, .85vw, 0.857143rem);
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0.071429rem dashed #bdbdbd;
    border-radius: 0.714286rem;
    background: #fafafa;
    color: #343434;
    font-size: clamp(0.785714rem, 1vw, 1rem);
    line-height: 1.4;
    overflow: hidden;
    cursor: pointer;
}

.app-ui .upload-zone:hover,
.app-ui .upload-zone:focus-within {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.app-ui .upload-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 2.285714rem;
    line-height: 1;
    opacity: 0.34;
    transition: opacity .15s ease;
}

.app-ui .upload-zone:hover .upload-emoji {
    opacity: 0.5;
}

.app-ui .upload-zone:has(.upload-preview img) .upload-emoji {
    opacity: 0;
}


.app-ui .upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.app-ui .upload-preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    background: #fff;
    pointer-events: none;
}

.app-ui .upload-zone.has-preview .upload-preview {
    display: block;
}

.app-ui .upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-ui .fusion-source:nth-child(2) .upload-preview img {
    object-fit: contain;
    background: #fff;
}

.app-ui .upload-hint {
    color: #8a8a8a;
    font-size: clamp(0.714286rem, .85vw, 0.857143rem);
}

.app-ui .sample-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) calc((100% - 2.857143rem) / 6);
    align-items: center;
    gap: clamp(0.357143rem, .55vw, 0.571429rem);
    margin: clamp(0.642857rem, .85vw, 0.857143rem) 0 clamp(1rem, 1.4vw, 1.428571rem);
}

.app-ui .wheel-sample-options {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.app-ui .sample-option,
.app-ui .sample-more {
    display: block;
    margin: 0;
}

.app-ui .sample-option img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0.071429rem solid #e8e8e8;
    border-radius: clamp(0.428571rem, .55vw, 0.571429rem);
    background: #fafafa;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.app-ui .sample-option:hover img {
    transform: translateY(-0.071429rem);
}

.app-ui .wheel-sample-options .sample-option img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.app-ui .sample-option {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.app-ui .sample-option:hover img {
    border-color: #bdbdbd;
}

.app-ui .sample-option[aria-pressed="true"] img {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.071429rem var(--accent);
}

.app-ui .sample-dialog {
    width: min(54.285714rem, 92vw);
    max-height: 86vh;
    padding: 1.714286rem;
    border: 0.071429rem solid var(--line);
    border-radius: 0.857143rem;
    background: #fff;
    overflow: auto;
}

.app-ui .sample-dialog::backdrop {
    background: rgba(17, 18, 21, .45);
}

.app-ui .sample-dialog .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.428571rem;
}

.app-ui .sample-dialog h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.142857rem;
    font-weight: 500;
    letter-spacing: 0;
}

.app-ui .sample-dialog .dialog-close {
    display: grid;
    place-items: center;
    width: 2.285714rem;
    height: 2.285714rem;
    padding: 0;
    border: 0.071429rem solid var(--line);
    border-radius: 0.571429rem;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.app-ui .sample-dialog .dialog-close:hover {
    border-color: var(--line-strong);
}

.app-ui .sample-dialog .dialog-close svg {
    width: 1.142857rem;
    height: 1.142857rem;
}

.app-ui .sample-dialog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.571429rem;
}

.app-ui .sample-dialog__grid--wheels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-ui .sample-dialog__grid--wheels .sample-option img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.app-ui .sample-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0.071429rem solid #e8e8e8;
    border-radius: 0.571429rem;
    background: #fafafa;
    color: #525252;
    font: inherit;
    font-size: clamp(0.714286rem, .85vw, 0.857143rem);
    text-decoration: none;
    cursor: pointer;
}

.app-ui .sample-more:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}


.app-ui .muted {
    margin: 0;
    color: #737373;
    font-size: clamp(0.785714rem, .9vw, 0.928571rem);
    line-height: 1.6;
}

.app-ui .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.571429rem, .85vw, 0.857143rem);
    margin-top: clamp(1.142857rem, 1.7vw, 1.714286rem);
}

.app-ui .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.428571rem, .5vw, 0.571429rem);
    min-height: clamp(2.285714rem, 2.7vw, 2.714286rem);
    padding: clamp(0.5rem, .65vw, 0.642857rem) clamp(0.785714rem, 1.1vw, 1.142857rem);
    border: 0.071429rem solid #dedede;
    border-radius: 0.571429rem;
    background: #fff;
    color: #343434;
    font-size: clamp(0.785714rem, .9vw, 0.928571rem);
    font-weight: 500;
    line-height: clamp(1.142857rem, 1.3vw, 1.285714rem);
    text-decoration: none;
    white-space: nowrap;
}

.app-ui .button .button-icon {
    display: block;
    width: 1.142857rem;
    height: 1.142857rem;
    flex: none;
    align-self: center;
}

.app-ui .button.primary .button-icon {
    filter: brightness(0) invert(1);
}

.app-ui .button.primary {
    border-color: #292929;
    background: #292929;
    color: #fff;
}

.app-ui .button.primary:hover {
    border-color: #434343;
    background: #434343;
    color: #fff;
}
.app-ui .form-actions .button.primary {
    height: 2.857143rem;
    min-height: 2.857143rem;
    padding: 0 1.428571rem;
    font-size: 1.035714rem;
}

.app-ui .form-actions .button .button-icon {
    width: 1.142857rem;
    height: 1.142857rem;
}

/* ---------- Sections ---------- */
.section {
    padding-block: clamp(4.571429rem, 9vw, 7.428571rem);
}

.section--soft {
    background: var(--soft);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.714286rem;
    margin-bottom: 2rem;
}

.section-note {
    max-width: 36ch;
    color: var(--muted);
    font-size: 0.964286rem;
    text-align: right;
}

.about-copy {
    max-width: 46rem;
    color: var(--muted);
    font-size: 1.071429rem;
    line-height: 1.75;
}

.about-copy p {
    margin: 0 0 1rem;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-copy a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.about-copy a:hover {
    color: var(--accent);
}

/* Editorial */
.editorial {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2.285714rem, 6vw, 5.142857rem);
    align-items: center;
}

.editorial p {
    margin-top: 1.142857rem;
    max-width: 46ch;
    color: var(--muted);
    font-size: 1.071429rem;
    line-height: 1.75;
    text-wrap: pretty;
}

.editorial img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.857143rem;
}

.compare {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.857143rem;
    background: #f2f2f2;
    cursor: ew-resize;
    touch-action: pan-y;
    user-select: none;
}

.editorial .compare__image,
.editorial .compare__after img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0.857143rem;
    object-fit: cover;
}

.compare__after {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--pos, 50%));
}

.compare__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos, 50%);
    z-index: 2;
    width: 0.071429rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 0.071429rem rgba(0, 0, 0, .07);
    pointer-events: none;
}

.compare__handle {
    position: absolute;
    top: 50%;
    left: var(--pos, 50%);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.857143rem;
    height: 2.857143rem;
    margin: -1.428571rem 0 0 -1.428571rem;
    padding: 0;
    border: 0.071429rem solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #343434;
    box-shadow: 0 0.285714rem 1.142857rem rgba(0, 0, 0, .18);
    cursor: ew-resize;
    touch-action: none;
}

.compare__handle:hover {
    background: #fff;
}

.compare__handle:focus-visible {
    outline: 0.142857rem solid var(--accent);
    outline-offset: 0.214286rem;
}

.compare__handle svg {
    width: 1.285714rem;
    height: 1.285714rem;
}

.compare__label {
    position: absolute;
    bottom: 0.857143rem;
    z-index: 2;
    color: #fff;
    font-size: 0.714286rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-shadow: 0 0.071429rem 0.285714rem rgba(0, 0, 0, .6);
    pointer-events: none;
}

.compare__label--before {
    left: 1rem;
}

.compare__label--after {
    right: 1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.714286rem;
}

.step__media {
    box-shadow: var(--shadow-xs);
    margin: 0 0 1.142857rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.714286rem;
    overflow: hidden;
    background: var(--soft);
}

.step__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step__media--wheel {
    border: 0.071429rem solid var(--line);
    background: #fff;
}


.step__meta {
    display: flex;
    align-items: baseline;
    gap: 0.857143rem;
}

.step__meta span {
    color: var(--muted);
    font-size: 0.857143rem;
    letter-spacing: .04em;
}

.step__meta h3 {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-ready #how .step {
        opacity: 0;
        transform: translate3d(0, 1.25rem, 0);
        transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
    }

    .reveal-ready #how.is-revealed .step {
        opacity: 1;
        transform: none;
    }

    .reveal-ready #how.is-revealed .step:nth-child(2) {
        transition-delay: .12s;
    }

    .reveal-ready #how.is-revealed .step:nth-child(3) {
        transition-delay: .24s;
    }

    .reveal-ready #how .step__media img {
        transform: scale(1.035);
        transition: transform .9s cubic-bezier(.22, .61, .36, 1);
    }

    .reveal-ready #how.is-revealed .step__media img {
        transform: scale(1);
    }

    .reveal-ready #how.is-revealed .step:hover .step__media img {
        transform: scale(1.04);
    }

    .step__meta span {
        position: relative;
    }

    .step__meta span::after {
        position: absolute;
        left: 0;
        bottom: -.4rem;
        width: 0;
        height: .071429rem;
        background: var(--accent);
        content: "";
        transition: width .6s cubic-bezier(.22, .61, .36, 1);
    }

    .reveal-ready #how.is-revealed .step__meta span::after {
        width: 1.571429rem;
    }

    .reveal-ready #how.is-revealed .step:nth-child(2) .step__meta span::after {
        transition-delay: .12s;
    }

    .reveal-ready #how.is-revealed .step:nth-child(3) .step__meta span::after {
        transition-delay: .24s;
    }
}

.cta {
    padding-block: clamp(4.571429rem, 8vw, 6.857143rem);
    border-top: 0.071429rem solid var(--line);
    text-align: center;
}

.cta h2 {
    max-width: none;
    margin: 0 auto 1rem;
    font-size: clamp(2.171429rem, 3.4vw, 3.314286rem);
    white-space: nowrap;
}

.cta p {
    margin: 0 auto 2rem;
    color: var(--muted);
    font-size: 1.071429rem;
}

@media (max-width: 560px) {
    .cta h2 {
        font-size: clamp(1.125rem, 5.4vw, 2.171429rem);
    }
}

/* ---------- Gallery ---------- */
.page-head {
    padding-block: clamp(3.428571rem, 7vw, 5.714286rem) clamp(2rem, 4vw, 2.857143rem);
}

.page-head h1 {
    font-size: clamp(2.285714rem, 4.4vw, 3.885714rem);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.142857rem;
}

.shot {
    box-shadow: var(--shadow-xs);
    transition: box-shadow .2s ease;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0.714286rem;
    background: var(--soft);
    cursor: zoom-in;
    overflow: hidden;
}

.shot img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.shot:hover {
    box-shadow: var(--shadow-sm);
}

.shot:hover img {
    transform: scale(1.02);
}

/* ---------- Pricing ---------- */
.pricing-head {
    display: block;
    margin-bottom: 2rem;
}

.pricing-head .section-note {
    max-width: 42rem;
    margin-top: 0.5rem;
    text-align: left;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.285714rem;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.714286rem;
    border: 0.071429rem solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pricing-card:hover {
    transform: translateY(-0.142857rem);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.pricing-card--featured {
    border-color: var(--accent-line);
    background: linear-gradient(180deg, var(--accent-soft), #fff 48%);
    box-shadow: var(--shadow-sm);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.285714rem 0.571429rem;
    border-radius: 71.357143rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.714286rem;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card__top {
    display: flex;
    align-items: center;
    gap: 0.571429rem;
    margin-bottom: 1.714286rem;
}

.price-row__emoji,
.cta-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.price-row__emoji {
    display: inline-block;
    margin-right: 0;
    font-size: 1.571429rem;
    line-height: 1;
}

.pricing-credits {
    font-size: 1.142857rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.428571rem;
    margin-bottom: 1.428571rem;
}

.pricing-amount {
    font-size: 2.571429rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
}

.pricing-unit {
    color: var(--muted);
    font-size: 0.928571rem;
}

.pricing-features {
    display: grid;
    gap: 0.571429rem;
    margin: 0 0 1.714286rem;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    position: relative;
    padding-left: 1.142857rem;
    color: #55565c;
    font-size: 0.928571rem;
    line-height: 1.5;
}

.pricing-features li::before {
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 0.428571rem;
    height: 0.428571rem;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
}

.cta-emoji {
    display: inline-block;
    margin-right: 0.428571rem;
    font-size: 0.85em;
    line-height: 1;
    vertical-align: 0.04em;
}

@media (max-width: 860px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 1.571429rem;
    }
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 54.285714rem;
}

.faq-list {
    border-top: 0.071429rem solid var(--line);
}

.faq-item {
    border-bottom: 0.071429rem solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.714286rem;
    padding: 1.428571rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.107143rem;
    font-weight: 500;
}

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

.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 1.571429rem;
    height: 1.571429rem;
    border: 0.071429rem solid var(--line-strong);
    border-radius: 50%;
    background-color: transparent;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 0.571429rem 0.071429rem, 0.071429rem 0.571429rem;
    background-position: center, center;
    background-repeat: no-repeat;
    color: var(--muted);
}

.faq-item[open] summary::after {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0.571429rem 0.071429rem;
}

.faq-item[open] p {
    animation: fade-in .2s ease-out;
}

.faq-item p {
    max-width: 68ch;
    padding: 0 0 1.571429rem;
    color: var(--muted);
    font-size: 1.035714rem;
    text-wrap: pretty;
}

/* ---------- Prose (legal) ---------- */
.prose {
    max-width: 51.428571rem;
    padding-bottom: clamp(4.571429rem, 9vw, 7.428571rem);
}

.prose h2 {
    margin: 2.571429rem 0 0.714286rem;
    font-size: 1.371429rem;
    letter-spacing: -.01em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: #3f4046;
    font-size: 1.035714rem;
    line-height: 1.8;
    text-wrap: pretty;
}

.prose p {
    margin-top: 0.714286rem;
}

.prose ul {
    margin: 0.714286rem 0 0;
    padding-left: 1.428571rem;
}

.prose li + li {
    margin-top: 0.428571rem;
}

.prose a {
    color: #1c4fae;
}

.prose .updated {
    margin-top: 2.571429rem;
    color: var(--muted);
    font-size: 0.892857rem;
}

/* ---------- Lightbox ---------- */
.auth-dialog {
    width: min(30rem, calc(100vw - 2.285714rem));
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.auth-dialog::backdrop {
    background: rgba(10, 11, 13, .55);
}

.auth-dialog__card {
    position: relative;
    padding: 2.285714rem;
    border: 0.071429rem solid #e8e8e8;
    border-radius: 0.857143rem;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.auth-dialog__card .login-title {
    margin: 0 0 1.428571rem;
    font-size: 1.714286rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.auth-dialog__card .login-unavailable {
    margin: 1.142857rem 0 0;
    color: var(--muted);
    font-size: 0.928571rem;
}

.auth-dialog__card form {
    margin-top: 0;
}

.google-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.571429rem;
    width: 100%;
    min-height: 2.714286rem;
    padding: 0.642857rem 1.142857rem;
    border: 0.071429rem solid #dedede;
    border-radius: 0.571429rem;
    background: #fff;
    color: #343434;
    font: inherit;
    font-size: 0.928571rem;
    font-weight: 500;
    line-height: 1.285714rem;
    cursor: pointer;
}

.google-login-button:hover {
    background: #f5f5f5;
    border-color: #cecece;
}

.google-icon {
    display: block;
    width: 1.142857rem;
    height: 1.142857rem;
    flex: none;
}


.auth-dialog__close {
    position: absolute;
    top: 0.857143rem;
    right: 0.857143rem;
    display: grid;
    place-items: center;
    width: 2.285714rem;
    height: 2.285714rem;
    padding: 0;
    border: 0;
    border-radius: 0.571429rem;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.auth-dialog__close:hover {
    background: var(--soft);
    color: var(--ink);
}

.auth-dialog__close svg {
    width: 1.142857rem;
    height: 1.142857rem;
}

.login-consent {
    margin: 1.142857rem 0 0;
    color: #a3a3a3;
    font-size: 0.857143rem;
    line-height: 1.55;
    white-space: nowrap;
}

.login-consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.lightbox {
    width: min(84.285714rem, calc(100vw - 2.285714rem));
    max-width: 84.285714rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.lightbox::backdrop {
    background: rgba(10, 11, 13, .9);
}

.lightbox img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.714286rem;
}

.lightbox__close,
.lightbox__nav {
    position: fixed;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3.142857rem;
    height: 3.142857rem;
    padding: 0;
    border: 0.071429rem solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(20, 21, 24, .6);
    color: #fff;
    cursor: pointer;
}

.lightbox__close {
    top: 1.714286rem;
    right: 1.714286rem;
    border-radius: 0.571429rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 1.714286rem;
}

.lightbox__nav--next {
    right: 1.714286rem;
}

.lightbox svg {
    width: 1.285714rem;
    height: 1.285714rem;
}

/* ---------- Auth dialog ---------- */
/* ---------- Details ---------- */
.to-top {
    position: fixed;
    right: 1.714286rem;
    bottom: 1.714286rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 2.857143rem;
    height: 2.857143rem;
    border: 0.071429rem solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 0.714286rem 2.142857rem rgba(17, 18, 21, .08);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.428571rem);
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease, visibility .2s ease;
}

.to-top.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.to-top:hover {
    border-color: var(--line-strong);
    color: var(--ink);
}

.to-top svg {
    width: 1.142857rem;
    height: 1.142857rem;
}

@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(0.571429rem) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.app-ui .sample-dialog[open] {
    animation: dialog-in .2s ease-out;
}

.app-ui .sample-dialog::backdrop,
.lightbox::backdrop {
    animation: fade-in .2s ease-out;
}

.lightbox[open] {
    animation: fade-in .2s ease-out;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 0.071429rem solid var(--line);
    background: var(--soft);
    color: var(--muted);
    font-size: 0.928571rem;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
    gap: 3rem 4rem;
    padding-bottom: 2.571429rem;
}

.footer-brand {
    max-width: 26rem;
}

.footer-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 0.642857rem;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0.02em;
    line-height: 26px;
    text-decoration: none;
}

.footer-brand__link img {
    display: block;
    width: 26px;
    height: 26px;
}

.footer-brand__tagline {
    margin: 1rem 0 0;
    line-height: 1.7;
    color: var(--muted);
    text-wrap: pretty;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-col__title {
    margin: 0 0 0.857143rem;
    font-size: 0.785714rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.642857rem;
}

.footer-col a {
    display: inline-block;
    color: var(--ink);
    font-size: 0.928571rem;
    line-height: 1.5;
    text-decoration: none;
    border-bottom: 0.071429rem solid transparent;
    padding-bottom: 0.071429rem;
}

.footer-col a:hover {
    color: var(--accent);
    border-bottom-color: currentColor;
}

.footer-col a:focus-visible,
.footer-top:focus-visible,
.footer-brand__link:focus-visible {
    outline: 0.142857rem solid var(--accent);
    outline-offset: 0.214286rem;
    border-radius: 0.142857rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.857143rem 1.714286rem;
    padding-top: 1.428571rem;
    border-top: 0.071429rem solid var(--line);
    font-size: 0.857143rem;
}

.footer-bottom__meta {
    margin: 0;
}

.footer-bottom__end {
    display: flex;
    align-items: center;
    gap: 1.714286rem;
    margin-left: auto;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.428571rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 0.071429rem solid transparent;
    padding-bottom: 0.071429rem;
}

.footer-top__icon {
    width: 0.928571rem;
    height: 0.928571rem;
    flex: none;
    transition: transform .2s ease;
}

.footer-top:hover {
    color: var(--accent);
    border-bottom-color: currentColor;
}

.footer-top:hover .footer-top__icon {
    transform: translateY(-0.071429rem);
}

/* ---------- SEO landing pages ---------- */
.breadcrumbs {
    padding-top: 1.428571rem;
    color: var(--muted);
    font-size: 0.857143rem;
}

.breadcrumbs .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.428571rem;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

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

.breadcrumbs span[aria-hidden] {
    color: #c2c2c8;
}

.seo-hero {
    padding: clamp(2rem, 4vw, 3.714286rem) 0 clamp(2.714286rem, 5vw, 4.571429rem);
}

.seo-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(2rem, 5vw, 4.571429rem);
    align-items: center;
}

.seo-kicker {
    margin: 0 0 0.857143rem;
    color: var(--muted);
    font-size: 0.821429rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.seo-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.428571rem, 4.8vw, 4.142857rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.seo-hero .lede {
    max-width: 52ch;
    margin: 1.214286rem 0 0;
    color: var(--muted);
    font-size: clamp(1.035714rem, 1.35vw, 1.178571rem);
    line-height: 1.7;
}

.seo-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.285714rem 0.571429rem;
    margin: 0.857143rem 0 0;
    color: var(--muted);
    font-size: 0.892857rem;
}

.seo-byline a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.seo-byline a:hover {
    color: var(--accent);
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.714286rem;
    margin-top: 1.714286rem;
}

.btn--line {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn--line:hover {
    background: var(--soft);
    color: var(--ink);
    border-color: var(--ink);
}

.seo-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.571429rem 1.142857rem;
    margin: 1.714286rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.892857rem;
}

.seo-points li {
    position: relative;
    padding-left: 1.142857rem;
}

.seo-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.428571rem;
    height: 0.428571rem;
    border-radius: 50%;
    background: var(--ink);
}

.seo-hero__media {
    margin: 0;
}

.seo-hero__media > img {
    display: block;
    width: 100%;
    height: auto;
    border: 0.071429rem solid var(--line);
    border-radius: 0.857143rem;
    background: var(--soft);
}

.seo-hero__media figcaption {
    margin-top: 0.857143rem;
    color: var(--muted);
    font-size: 0.821429rem;
    line-height: 1.6;
}

.seo-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.571429rem;
}

.seo-compare__item {
    position: relative;
    min-width: 0;
}

.seo-compare__item img {
    display: block;
    width: 100%;
    height: auto;
    border: 0.071429rem solid var(--line);
    border-radius: 0.642857rem;
    background: var(--soft);
}

.seo-compare__label {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.285714rem 0.571429rem;
    border-radius: 0.285714rem;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    font-size: 0.714286rem;
    font-weight: 600;
}

.seo-section {
    padding: clamp(2.714286rem, 5vw, 4.571429rem) 0;
    border-top: 0.071429rem solid var(--line);
}

.seo-prose {
    max-width: 48rem;
    margin-inline: auto;
}

.seo-prose h2 {
    margin: 0 0 1.142857rem;
    font-size: clamp(1.428571rem, 2.4vw, 1.928571rem);
    line-height: 1.22;
    letter-spacing: -.025em;
}

.seo-prose h3 {
    margin: 1.714286rem 0 0.571429rem;
    font-size: 1.142857rem;
}

.seo-prose p {
    margin: 0.857143rem 0 0;
    color: #45464c;
    font-size: 1.035714rem;
    line-height: 1.8;
    text-wrap: pretty;
}

.seo-prose p:first-of-type {
    margin-top: 0;
}

.seo-list {
    margin: 1rem 0 0;
    padding-left: 1.285714rem;
    color: #45464c;
    font-size: 1.035714rem;
    line-height: 1.8;
}

.seo-sources li a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.seo-sources li a:hover {
    color: var(--accent);
}

.seo-sources li span {
    display: block;
    margin-top: 0.142857rem;
    color: var(--muted);
    font-size: 0.928571rem;
}

.seo-list li + li {
    margin-top: 0.428571rem;
}

.seo-steps {
    display: grid;
    gap: 1.714286rem;
    margin: 1.285714rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: seo-step;
}

.seo-steps li {
    position: relative;
    padding-left: 2.714286rem;
    color: #45464c;
    font-size: 1.035714rem;
    line-height: 1.7;
}

.seo-steps li::before {
    counter-increment: seo-step;
    content: counter(seo-step);
    position: absolute;
    left: 0;
    top: 0.071429rem;
    display: grid;
    place-items: center;
    width: 1.857143rem;
    height: 1.857143rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.785714rem;
    font-weight: 600;
}

.seo-steps strong {
    display: block;
    margin-bottom: 0.142857rem;
    color: var(--ink);
    font-weight: 600;
}

.seo-table-wrap {
    margin-top: 1.285714rem;
    overflow-x: auto;
    border: 0.071429rem solid var(--line);
    border-radius: 0.642857rem;
}

.seo-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 38rem;
    font-size: 0.928571rem;
}

.seo-table-wrap th,
.seo-table-wrap td {
    padding: 0.785714rem 0.928571rem;
    border-bottom: 0.071429rem solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.seo-table-wrap th {
    background: var(--soft);
    color: var(--ink);
    font-weight: 600;
}

.seo-table-wrap tr:last-child td {
    border-bottom: 0;
}

.seo-note {
    padding: 0.928571rem 1.142857rem;
    border-left: 0.142857rem solid var(--ink);
    background: var(--soft);
    color: var(--muted);
    font-size: 0.928571rem;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.571429rem 1.142857rem;
    margin-top: 1.285714rem;
}

.seo-links a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.214286rem;
}

.seo-faq details {
    border-top: 0.071429rem solid var(--line);
}

.seo-faq details:last-child {
    border-bottom: 0.071429rem solid var(--line);
}

.seo-faq summary {
    position: relative;
    padding: 1.142857rem 2rem 1.142857rem 0;
    color: var(--ink);
    font-size: 1.035714rem;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

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

.seo-faq summary::after {
    content: "+";
    position: absolute;
    right: 0.214286rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.285714rem;
    font-weight: 400;
}

.seo-faq details[open] summary::after {
    content: "−";
}

.seo-faq details p {
    max-width: 44rem;
    padding: 0 2rem 1.285714rem 0;
    margin: 0;
}

.seo-related {
    background: var(--soft);
}

.seo-related__head {
    margin-bottom: 1.571429rem;
}

.seo-related__head h2 {
    margin: 0;
    font-size: clamp(1.428571rem, 2.4vw, 1.928571rem);
}

.seo-related__head p {
    margin: 0.428571rem 0 0;
    color: var(--muted);
    font-size: 0.964286rem;
}

.seo-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: 0.857143rem;
}

.seo-related__card {
    display: block;
    padding: 1.285714rem;
    border: 0.071429rem solid var(--line);
    border-radius: 0.642857rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.seo-related__card:hover {
    border-color: var(--line-strong);
    transform: translateY(-0.071429rem);
}

.seo-related__card span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.seo-related__card p {
    margin: 0.428571rem 0 0;
    color: var(--muted);
    font-size: 0.857143rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.571429rem;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-top: 3rem;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-col:last-child ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.642857rem 1.714286rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom__end {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 4.571429rem;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 0.428571rem 1.714286rem 1.285714rem;
        background: #fff;
        border-bottom: 0.071429rem solid var(--line);
        box-shadow: 0 1.428571rem 2.857143rem rgba(17, 18, 21, .06);
    }

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

    .site-nav a {
        padding: 0.928571rem 0;
        border-bottom: 0.071429rem solid var(--line);
        font-size: 1.071429rem;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav .lang-switch {
        align-self: flex-start;
        padding-top: 0.857143rem;
        gap: 0.285714rem;
    }

    .site-nav .lang-switch a {
        padding: 0;
        border-bottom: 0;
        font-size: 0.928571rem;
    }

    .header-inner {
        position: relative;
    }

    .site-nav .btn {
        margin-top: 1rem;
        border-bottom: 0;
        color: #fff;
    }

    .app-ui .fusion-uploads {
        grid-template-columns: 1fr;
        gap: 1.428571rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .editorial {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.571429rem;
    }

    .section-note {
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 4.357143rem;
    }

    .container,
    .container--narrow {
        width: calc(100% - 2.285714rem);
    }

    .header-inner {
        height: 4.285714rem;
    }

    .site-nav {
        top: 4.285714rem;
        padding-inline: 1.142857rem;
    }

    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 6.4vw, 2rem);
    }

    .hero-decor {
        display: none;
    }

    .hero .lede {
        margin-left: auto;
    }

    .app-ui {
        margin-top: 2rem;
    }

    .app-ui .panel {
        padding: 1.285714rem;
    }

    .app-ui .sample-options {
        margin: 0.714286rem 0 1.142857rem;
    }

    .app-ui .sample-dialog {
        padding: 1.285714rem;
    }

    .app-ui .sample-dialog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-ui .sample-dialog__grid--wheels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-inner {
        align-items: flex-start;
    }

    .footer-links {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .lightbox__nav {
        display: none;
    }

    .to-top {
        right: 1.142857rem;
        bottom: 1.142857rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .shot:hover img,
    .app-ui .sample-option:hover img {
        transform: none;
    }

    .hero-decor__item {
        animation: none;
    }
}

@media (max-width: 860px) {
    .seo-hero {
        padding-top: 1.714286rem;
    }

    .seo-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.714286rem;
    }

    .seo-hero h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.857143rem);
    }

    .seo-hero .lede {
        margin-top: 0.928571rem;
    }

    .seo-related__grid {
        grid-template-columns: 1fr;
    }

    .seo-section {
        padding: 2.285714rem 0;
    }

    .seo-prose h2 {
        font-size: 1.428571rem;
    }
}

@media (max-width: 560px) {
    .seo-points {
        grid-template-columns: 1fr;
    }

    .seo-actions .btn {
        flex: 1 1 auto;
    }

    .seo-compare {
        gap: 0.428571rem;
    }

    .seo-compare__label {
        left: 0.357143rem;
        bottom: 0.357143rem;
    }

    .seo-table-wrap table {
        min-width: 32rem;
    }
}

@media (max-width:480px){.login-consent{white-space:normal}}
