@import url('./fonts.css');

:root {
    --navy: #19266d;
    --blue: #2461c4;
    --lime: #8dc63f;
    --green: #6fa828;
    --text: #515e86;
    --muted: #8795b5;
    --line: #dfe5f1;
    --tint: #f5f8fd;
    --shadow: 0 16px 40px -20px #16256b40;
    --radius: 16px;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    line-height: 1.65;
    background: #fff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
summary,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

button,
a {
    touch-action: manipulation
}

a {
    color: inherit;
    text-decoration: none
}

button {
    cursor: pointer
}

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

h1,
h2,
h3 {
    font-family: Manrope, Inter, Arial, sans-serif;
    color: var(--navy);
    line-height: 1.18;
    letter-spacing: -.035em;
    margin: 0;
    font-weight: 800
}

p {
    margin: 0 0 16px
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px
}

[hidden] {
    display: none !important
}

.wrap {
    width: min(100% - 48px, 1160px);
    margin-inline: auto
}

.section {
    padding: 84px 0
}

.tint {
    background: var(--tint)
}

.eyebrow {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--blue);
    margin: 0 0 20px
}

.section-head {
    text-align: center;
    margin: 0 auto 50px;
    max-width: 820px
}

.section-head h1,
.section-head h2 {
    font-size: 36px
}

.section-head .lead {
    font-size: 18px;
    line-height: 1.6;
    max-width: 780px;
    margin: 14px auto 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 13px 23px;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    transition: background .2s, box-shadow .2s, transform .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px -10px #2461c4b3
}

.btn-primary:hover {
    background: #1c50a8
}

.btn-lime {
    background: var(--lime);
    color: var(--navy)
}

.btn-lime:hover {
    background: #a1d452
}

.btn-outline {
    background: #fff;
    color: var(--navy);
    border-color: #b8c5dd
}

.icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0
}

.skip {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 150;
    transform: translateY(-180%);
    background: white;
    padding: 12px;
    border: 2px solid var(--blue)
}

.skip:focus {
    transform: none
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fffffff5;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    flex-shrink: 0
}

.brand img {
    width: 176px;
    height: auto
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    font-weight: 600;
    font-size: 15px
}

.nav a:hover,
.footer a:hover {
    color: var(--blue)
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 18px
}

.icon-link {
    display: grid;
    place-items: center;
    width: 30px;
    min-height: 44px;
    color: var(--navy)
}

.language {
    position: relative
}

.language>summary {
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    min-height: 44px;
    padding: 8px 13px;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px
}

.language>summary::-webkit-details-marker {
    display: none
}

.language svg {
    width: 14px
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 7px;
    z-index: 42
}

.language-menu a {
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 14px
}

.language-menu a:hover,
.language-menu a[aria-current] {
    background: var(--tint);
    color: var(--blue)
}

.menu-toggle {
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--navy)
}

.comparison-section {
    padding-top: 12px;
    padding-bottom: 80px
}

.comparison-section .section-head {
    margin-bottom: 50px
}

.comparison {
    --position: 50%;
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 64px -22px #16256b47;
    user-select: none;
    touch-action: pan-y;
    cursor: ew-resize;
    background: #e7e7e7
}

.comparison>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none
}

.comparison .before-image {
    clip-path: inset(0 calc(100% - var(--position)) 0 0)
}

.tag {
    position: absolute;
    top: 15px;
    z-index: 2;
    padding: 5px 13px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: .04em;
    font-weight: 800;
    color: #fff;
    background: #303c80;
    pointer-events: none
}

.tag-before {
    left: 15px
}

.tag-after {
    right: 15px;
    background: var(--green)
}

.comparison-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none
}

.comparison-knob {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 2px 6px #17224c12
}

.comparison-knob svg {
    width: 21px
}

.comparison-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
    touch-action: pan-y
}

.comparison:focus-within {
    outline: 3px solid var(--blue);
    outline-offset: 5px
}

.image-note {
    font-size: 14px;
    text-align: center;
    color: #7786a7;
    margin: 18px auto 0;
    max-width: 900px;
    line-height: 1.5
}

.center-cta {
    text-align: center;
    margin-top: 27px
}

.photo-reading {
    background: var(--navy);
    padding: 84px 0;
    color: #e8edff
}

.photo-reading .eyebrow {
    color: var(--lime)
}

.photo-reading h2 {
    color: #fff
}

.photo-reading .section-head {
    max-width: 100%;
    margin-bottom: 48px
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px
}

.photo-reading-card {
    background: #213285;
    border: 1px solid #2b3d93;
    border-radius: 15px;
    padding: 28px 27px
}

.photo-reading-card p {
    font-size: 17px;
    margin: 0 0 21px
}

.photo-reading-card h3 {
    color: #adbce8;
    font-size: 15px;
    letter-spacing: -.01em;
    line-height: 1.5;
    font-weight: 700
}

.purchase-section {
    padding: 72px 0
}

.purchase-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 30px
}

.purchase-card h2 {
    font-size: 25px;
    margin-bottom: 18px
}

.purchase-card p {
    font-size: 18px;
    margin: 0
}

.purchase-card .btn {
    flex-shrink: 0
}

.gallery-section .section-head {
    margin-bottom: 50px
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    box-shadow: var(--shadow);
    background: var(--tint)
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover
}

.gallery-card .tag {
    font-size: 12px;
    top: 12px
}

.gallery-card .tag-before {
    left: 12px
}

.gallery-card .tag-after {
    right: 12px
}

.gallery-note {
    margin-top: 18px
}

.faq-section .wrap {
    max-width: 860px
}

.faq-list {
    display: grid;
    gap: 12px
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 21px 22px;
    color: var(--navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.45
}

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

.faq-plus {
    font-family: Inter, sans-serif;
    color: var(--blue);
    font-size: 23px;
    line-height: 1;
    transition: transform .2s
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg)
}

.faq-item p {
    padding: 0 22px 22px;
    margin: 0;
    font-size: 16px
}

.newsletter {
    background: linear-gradient(115deg, #245ab6, var(--navy));
    color: #fff
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 42px;
    align-items: start;
    padding: 42px 0
}

.newsletter h2 {
    font-size: 27px;
    color: #fff
}

.newsletter p {
    color: #d7e1ff;
    margin: 9px 0 0;
    font-size: 16px
}

.newsletter-fields {
    display: flex;
    gap: 10px
}

.newsletter-fields input {
    min-width: 0;
    flex: 1;
    background: #fff
}

.newsletter-fields .btn {
    padding-inline: 22px
}

.newsletter .form-note {
    color: #d7e1ff
}

.newsletter .consent-line {
    color: #e4edff
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: start
}

.contact-copy h2 {
    font-size: 31px
}

.contact-copy>p {
    margin: 16px 0 27px;
    font-size: 17px
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 17px
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 14px
}

.contact-list svg {
    color: var(--blue);
    width: 18px
}

.contact-list a:hover {
    color: var(--blue)
}

.contact-form {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

input:not([type=checkbox]):not([type=range]),
textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--tint);
    padding: 14px 15px;
    font-size: 15px;
    color: var(--navy)
}

input::placeholder,
textarea::placeholder {
    color: #727987;
    opacity: 1
}

textarea {
    resize: vertical;
    min-height: 148px
}

.form-note {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #697695
}

.form-note a,
.consent-line a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.form-status {
    font-size: 14px;
    line-height: 1.5;
    margin: 0
}

.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px
}

.consent-line input {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    flex-shrink: 0;
    margin: 2px 0 0
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.honeypot {
    display: none
}

.footer {
    background: var(--tint);
    border-top: 1px solid var(--line);
    padding: 55px 0 24px;
    font-size: 14px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 36px
}

.footer .brand img {
    width: 156px;
    margin-bottom: 20px
}

.footer h3 {
    font-size: 16px;
    margin-bottom: 17px;
    letter-spacing: -.01em
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px
}

.footer p {
    font-size: 14px;
    line-height: 1.6
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px
}

.text-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--blue);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer-languages {
    display: flex;
    gap: 15px;
    margin-top: 18px
}

.footer-languages [aria-current] {
    font-weight: 800;
    color: var(--blue)
}

.legal-main {
    min-height: 65vh;
    padding: 56px 0 80px
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.breadcrumbs a {
    color: var(--blue)
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 50px
}

.legal-nav {
    align-self: start;
    position: sticky;
    top: 110px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--tint)
}

.legal-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5
}

.legal-nav a[aria-current] {
    background: #fff;
    color: var(--blue);
    font-weight: 700
}

.legal-article {
    max-width: 850px
}

.legal-article h1 {
    font-size: 38px;
    margin-bottom: 16px
}

.legal-article .legal-intro {
    font-size: 18px
}

.legal-article h2 {
    font-size: 22px;
    margin: 32px 0 14px;
    letter-spacing: -.02em
}

.legal-article p {
    margin: 0 0 17px
}

.legal-article a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px
}

.legal-article ul {
    padding-left: 22px
}

.legal-article .updated {
    font-size: 13px;
    color: #7885a3;
    margin-bottom: 26px
}

.legal-article table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    overflow-wrap: anywhere
}

.legal-article th,
.legal-article td {
    padding: 13px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

.legal-article th {
    background: var(--tint)
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 24px;
    right: 24px;
    z-index: 80;
    max-width: 1180px;
    margin: auto;
    background: #fff;
    border: 1px solid #cbd6e8;
    border-radius: 18px;
    box-shadow: 0 12px 60px #17224c38;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    gap: 32px
}

.cookie-copy {
    flex: 1
}

.cookie-copy h2 {
    font-size: 22px;
    margin-bottom: 8px
}

.cookie-copy p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0
}

.cookie-copy a {
    color: var(--blue);
    text-decoration: underline
}

.cookie-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.cookie-actions .btn {
    font-size: 14px;
    padding: 11px 15px;
    border-color: #aebed9;
    color: var(--navy);
    background: #f5f8fd;
    box-shadow: none;
    min-height: 46px
}

.cookie-actions .btn:hover {
    background: #e5edfa;
    transform: none
}

.cookie-dialog {
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    max-width: 620px;
    width: calc(100% - 32px);
    padding: 28px;
    max-height: 90dvh;
    overflow: auto;
    box-shadow: 0 20px 80px #17224c40
}

.cookie-dialog::backdrop {
    background: #1220546b;
    backdrop-filter: blur(4px)
}

.dialog-head {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px
}

.dialog-head h2 {
    font-size: 25px
}

.dialog-close {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 42px;
    height: 42px;
    color: var(--navy);
    font-size: 25px
}

.cookie-dialog>p {
    font-size: 15px
}

.cookie-option {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 19px 0
}

.cookie-option strong {
    color: var(--navy);
    font-size: 16px
}

.cookie-option p {
    font-size: 14px;
    margin: 5px 0 0
}

.cookie-option input {
    accent-color: var(--blue);
    width: 21px;
    height: 21px;
    flex-shrink: 0
}

.cookie-option small {
    font-size: 13px;
    color: var(--blue);
    text-align: right
}

.cookie-dialog .cookie-actions {
    margin-top: 16px;
    justify-content: stretch
}

.cookie-dialog .cookie-actions .btn {
    flex: 1
}

.cookie-notice {
    font-size: 13px;
    margin: 0
}

.no-js-note {
    padding: 12px 24px;
    background: var(--tint);
    text-align: center;
    font-size: 14px
}

@media(min-width:1600px) {
    .wrap {
        width: min(100% - 64px, 1390px)
    }

    .section {
        padding: 100px 0
    }

    .header-inner {
        min-height: 86px
    }

    .brand img {
        width: 200px
    }

    .nav {
        font-size: 17px;
        gap: 30px
    }

    .section-head h1,
    .section-head h2 {
        font-size: 42px
    }

    .section-head .lead {
        font-size: 20px;
        max-width: 850px
    }

    .section-head {
        max-width: 900px
    }

    .comparison {
        max-width: 800px
    }

    .comparison-section {
        padding-top: 10px;
        padding-bottom: 90px
    }

    .photo-reading {
        padding: 100px 0
    }

    .photo-reading-card {
        padding: 32px
    }

    .photo-reading-card p {
        font-size: 19px
    }

    .purchase-section {
        padding: 85px 0
    }

    .faq-section .wrap {
        max-width: 1000px
    }
}

@media(max-width:1100px) {
    .nav {
        gap: 16px
    }

    .header-inner {
        gap: 20px
    }

    .header-tools {
        gap: 10px
    }

    .brand img {
        width: 160px
    }

    .newsletter-inner {
        grid-template-columns: 1fr 1fr;
        gap: 26px
    }

    .newsletter h2 {
        font-size: 24px
    }

    .newsletter-fields {
        flex-wrap: wrap
    }

    .newsletter-fields input {
        flex-basis: 190px
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 28px
    }

    .footer-col:last-child {
        grid-column: 2/4
    }

    .contact-grid {
        gap: 28px
    }

    .cookie-banner {
        align-items: flex-start;
        gap: 18px
    }

    .cookie-actions {
        max-width: 310px
    }

    .cookie-dialog .cookie-actions {
        max-width: none
    }
}

@media(max-width:800px) {
    html {
        scroll-padding-top: 90px
    }

    .wrap {
        width: calc(100% - 36px)
    }

    .header-inner {
        min-height: 70px;
        gap: 12px
    }

    .brand img {
        width: 147px
    }

    .header-tools {
        margin-left: auto;
        gap: 7px
    }

    .icon-link {
        width: 30px
    }

    .menu-toggle {
        display: flex
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 16px 22px;
        margin: 0;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav.is-open {
        display: flex
    }

    .nav a {
        padding: 12px
    }

    .section,
    .photo-reading {
        padding: 64px 0
    }

    .comparison-section {
        padding-top: 33px;
        padding-bottom: 58px
    }

    .section-head {
        margin-bottom: 32px
    }

    .section-head h1,
    .section-head h2 {
        font-size: 30px
    }

    .section-head .lead {
        font-size: 16px
    }

    .eyebrow {
        font-size: 12px;
        margin-bottom: 15px
    }

    .comparison-section .section-head {
        margin-bottom: 32px
    }

    .comparison {
        border-radius: 15px
    }

    .photo-reading .section-head {
        margin-bottom: 32px
    }

    .card-grid {
        gap: 15px
    }

    .photo-reading-card {
        padding: 22px 18px
    }

    .photo-reading-card p {
        font-size: 15px
    }

    .photo-reading-card h3 {
        font-size: 14px
    }

    .purchase-section {
        padding: 52px 0
    }

    .purchase-card {
        gap: 23px;
        padding: 26px
    }

    .purchase-card h2 {
        font-size: 23px
    }

    .purchase-card p {
        font-size: 16px
    }

    .gallery-section .section-head {
        margin-bottom: 32px
    }

    .gallery-card .tag {
        font-size: 10px;
        padding: 4px 8px;
        top: 9px
    }

    .gallery-card .tag-before {
        left: 8px
    }

    .gallery-card .tag-after {
        right: 8px
    }

    .image-note {
        font-size: 13px
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 35px 0
    }

    .newsletter-fields {
        flex-wrap: nowrap
    }

    .newsletter-fields input {
        flex-basis: auto
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .contact-copy h2 {
        font-size: 28px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .footer-col:last-child {
        grid-column: auto
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .legal-nav {
        position: static;
        display: flex;
        overflow: auto;
        gap: 6px;
        padding: 10px;
        max-width: 100%
    }

    .legal-nav a {
        flex: 0 0 auto;
        padding: 9px
    }

    .legal-article h1 {
        font-size: 31px
    }

    .cookie-banner {
        flex-direction: column;
        padding: 22px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        gap: 17px;
        max-height: 65dvh;
        overflow: auto
    }

    .cookie-actions {
        max-width: none;
        width: 100%;
        justify-content: stretch
    }

    .cookie-actions .btn {
        flex: 1
    }

    .cookie-copy h2 {
        font-size: 21px
    }
}

@media(max-width:540px) {
    .wrap {
        width: calc(100% - 32px)
    }

    .header-inner {
        gap: 8px
    }

    .brand img {
        width: 130px
    }

    .header-tools {
        gap: 5px
    }

    .header-tools .account-link {
        display: none
    }

    .language>summary {
        padding: 7px 9px;
        gap: 7px;
        font-size: 13px
    }

    .menu-toggle {
        width: 38px;
        height: 42px
    }

    .section-head h1,
    .section-head h2 {
        font-size: 28px;
        line-height: 1.22
    }

    .section-head .lead {
        font-size: 16px
    }

    .comparison .tag {
        font-size: 11px;
        padding: 4px 10px;
        top: 10px
    }

    .comparison .tag-before {
        left: 10px
    }

    .comparison .tag-after {
        right: 10px
    }

    .comparison-knob {
        width: 42px;
        height: 42px
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .photo-reading-card {
        padding: 25px
    }

    .photo-reading-card p {
        font-size: 16px
    }

    .photo-reading-card h3 {
        font-size: 14px
    }

    .purchase-card {
        flex-direction: column;
        align-items: stretch;
        padding: 25px
    }

    .purchase-card h2 {
        font-size: 23px;
        margin-bottom: 12px
    }

    .purchase-card .btn {
        width: 100%
    }

    .gallery-grid {
        gap: 23px
    }

    .gallery-card .tag {
        font-size: 12px;
        top: 12px;
        padding: 5px 12px
    }

    .gallery-card .tag-before {
        left: 12px
    }

    .gallery-card .tag-after {
        right: 12px
    }

    .faq-item summary {
        padding: 19px 18px;
        font-size: 16px
    }

    .faq-item p {
        padding: 0 18px 20px;
        font-size: 15px
    }

    .newsletter h2 {
        font-size: 25px
    }

    .newsletter p {
        font-size: 15px
    }

    .newsletter-fields {
        flex-wrap: wrap
    }

    .newsletter-fields input {
        flex-basis: 100%
    }

    .newsletter-fields .btn {
        width: 100%
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .contact-form {
        padding: 20px;
        gap: 12px
    }

    .contact-copy h2 {
        font-size: 27px
    }

    .contact-copy>p {
        font-size: 16px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px
    }

    .footer-brand {
        grid-column: 1/-1
    }

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

    .footer-languages {
        gap: 18px
    }

    .cookie-banner {
        padding: 18px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: 72dvh
    }

    .cookie-copy p {
        font-size: 13px
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px
    }

    .cookie-actions .btn {
        width: 100%;
        padding: 9px 12px;
        min-height: 42px
    }

    .cookie-dialog {
        padding: 22px
    }

    .cookie-dialog .cookie-actions {
        display: grid
    }

    .cookie-dialog .cookie-option {
        gap: 14px
    }

    .legal-main {
        padding-top: 32px
    }

    .legal-article h1 {
        font-size: 28px
    }

    .legal-article h2 {
        font-size: 21px
    }

    .legal-article table {
        font-size: 12px
    }

    .legal-article th,
    .legal-article td {
        padding: 9px
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }
}

.legal-draft {
    padding: 16px 18px;
    background: #fff8e7;
    border: 1px solid #ecdbab;
    border-radius: 11px;
    color: #6e541c;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0 28px
}

.newsletter .newsletter-fields input[type=email] {
    background: #fff;
    border-color: #fff
}

.information-note {
    max-width: 800px;
    margin: 26px auto 0;
    padding: 22px 25px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--tint)
}

.information-note h2 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -.01em
}

.information-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7
}

.external-note {
    margin: 10px auto 0;
    color: var(--text);
    font-size: 13px
}

.purchase-card .catalog-note {
    font-size: 14px;
    line-height: 1.65;
    max-width: 770px;
    margin: 12px 0 0
}

.reading-guide {
    max-width: 880px;
    margin: 38px auto 0;
    padding: 26px 30px;
    border-left: 3px solid var(--blue);
    border-radius: 0 14px 14px 0;
    background: var(--tint)
}

.reading-guide h3 {
    font-size: 23px;
    margin-bottom: 14px
}

.reading-guide p {
    font-size: 16px;
    line-height: 1.75
}

.reading-guide a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 4px
}

.legal-article {
    overflow-wrap: anywhere
}

@media(max-width:540px) {
    .information-note {
        padding: 19px
    }

    .reading-guide {
        padding: 22px
    }

    .reading-guide h3 {
        font-size: 21px
    }

    .reading-guide p {
        font-size: 15px
    }

    .external-note {
        max-width: 290px
    }
}
/* Бесконечная лента фотографий */
.otx-photos {
  --photo-size: 190px;
  --photo-gap: 28px;
  --photo-duration: 70s;

  width: min(calc(100% - 32px), 1390px);
  margin: 28px auto 38px;
  padding: 12px 0;
  overflow-x: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.otx-photos.is-ready {
  overflow: hidden;
  cursor: pointer;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );

  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.otx-photos__track {
  display: flex;
  width: max-content;
}

/* Отступ справа входит в ширину каждой копии.
   Благодаря этому на стыке не возникает скачка. */
.otx-photos__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--photo-gap);
  padding-right: var(--photo-gap);
}

.otx-photos__group > img {
  display: block;
  flex: 0 0 var(--photo-size);
  width: var(--photo-size);
  height: var(--photo-size);
  max-width: none;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}

.otx-photos.is-ready .otx-photos__track {
  animation: otx-photo-loop var(--photo-duration) linear infinite;
  will-change: transform;
}

.otx-photos.is-paused .otx-photos__track {
  animation-play-state: paused;
}

.otx-photos:focus-visible {
  outline: 3px solid #2461c4;
  outline-offset: 4px;
}

@media (hover: hover) {
  .otx-photos:hover .otx-photos__track {
    animation-play-state: paused;
  }
}

@keyframes otx-photo-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 600px) {
  .otx-photos {
    --photo-size: 140px;
    --photo-gap: 18px;

    margin-top: 18px;
    margin-bottom: 24px;
  }
}

/* При системном ограничении анимации — обычная прокрутка. */
@media (prefers-reduced-motion: reduce) {
  .otx-photos.is-ready {
    overflow-x: auto;
    cursor: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .otx-photos.is-ready .otx-photos__track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .otx-photos__group[data-carousel-copy] {
    display: none;
  }
}
/* Leave room for the language switch and longer translated navigation. */
@media (min-width: 801px) and (max-width: 1100px) {
  .header-tools { margin-left: auto; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 22px;
    margin: 0;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
}
