:root {
    --bg: #f3f6f5;
    --paper: #ffffff;
    --ink: #16201f;
    --muted: #66746f;
    --line: #d9e2df;
    --teal: #0f3b3a;
    --teal-deep: #0a2726;
    --teal-soft: #dce9e5;
    --sage: #789a8c;
    --amber: #d98f28;
    --amber-light: #e4a13f;
    --amber-dark: #8a5113;
    --shadow: 0 22px 70px rgba(15, 59, 58, 0.14);
    --shadow-soft: 0 12px 32px rgba(15, 59, 58, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px 520px at 12% -10%, rgba(15, 59, 58, 0.08), transparent 65%),
        radial-gradient(720px 460px at 110% 110%, rgba(217, 143, 40, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 246, 245, 0.8)),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.landing {
    width: min(1180px, calc(100vw - 48px));
    height: min(760px, calc(100dvh - 48px));
    margin: 24px auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.copy,
.catalog-preview {
    min-height: 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.copy {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 3.1vw, 42px);
    background: var(--paper);
    border: 1px solid rgba(15, 59, 58, 0.08);
    overflow: hidden;
}

.copy::before {
    content: "";
    position: absolute;
    inset: -40% -50% auto auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 143, 40, 0.12), transparent 70%);
    pointer-events: none;
}

.kicker {
    position: relative;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 8px 11px;
    border-radius: 999px;
    color: var(--teal);
    background: var(--teal-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.kicker-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 0 rgba(120, 154, 140, 0.6);
    animation: pulseDot 2.2s ease-out infinite;
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(120, 154, 140, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(120, 154, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(120, 154, 140, 0); }
}

.kicker-meta {
    margin-left: 4px;
    padding-left: 9px;
    border-left: 1px solid rgba(15, 59, 58, 0.18);
    color: rgba(15, 59, 58, 0.7);
    font-size: 11px;
    font-weight: 600;
}

.headline-block {
    margin-top: clamp(20px, 3.2vh, 40px);
    position: relative;
}

h1 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(34px, min(4.2vw, 5.6vh), 54px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    font-weight: 800;
}

h1 em {
    font-style: normal;
    color: var(--teal);
    background: linear-gradient(180deg, transparent 64%, rgba(217, 143, 40, 0.32) 64%, rgba(217, 143, 40, 0.32) 92%, transparent 92%);
    padding: 0 0.05em;
}

.headline-block p {
    margin: 16px 0 0;
    max-width: 38ch;
    color: var(--muted);
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.5;
}

.saving-card {
    position: relative;
    margin-top: clamp(16px, 2.4vh, 26px);
    padding: 18px 20px;
    border-radius: 12px;
    color: #f7fbf9;
    background:
        radial-gradient(380px 180px at 100% 0%, rgba(217, 143, 40, 0.28), transparent 60%),
        linear-gradient(160deg, #134746, var(--teal) 60%, var(--teal-deep));
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.saving-text {
    min-width: 0;
}

.saving-text span {
    display: block;
    color: #cfe1dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.saving-text strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 800;
    line-height: 1.1;
}

.saving-percent {
    flex: 0 0 auto;
    font-size: clamp(36px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 18px rgba(217, 143, 40, 0.45);
}

.saving-percent i {
    font-style: normal;
    margin-left: 1px;
    font-size: 0.6em;
    color: var(--amber-light);
}

.trust-row {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.trust-row li {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fbfcfc;
    color: var(--teal);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.trust-row li:hover {
    border-color: rgba(15, 59, 58, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 59, 58, 0.06);
}

.trust-row svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex: 0 0 auto;
}

.trust-row span {
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.actions {
    margin-top: auto;
    padding-top: 14px;
    display: grid;
    gap: 10px;
}

.button {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    transition: transform 0.22s ease;
}

.button-arrow {
    width: 18px !important;
    height: 18px !important;
    margin-left: 2px;
    opacity: 0.85;
}

.button-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--amber-light), var(--amber));
    box-shadow: 0 16px 34px rgba(217, 143, 40, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.button-primary:hover::before {
    left: 130%;
}

.button-primary svg rect {
    fill: rgba(255, 255, 255, 0.2);
}

.button-primary svg path {
    fill: none;
    stroke: white;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-primary:hover .button-arrow {
    transform: translateX(3px);
}

.button-secondary {
    color: var(--teal);
    border: 1px solid rgba(15, 59, 58, 0.22);
    background: #fbfcfc;
}

.button-secondary svg {
    fill: currentColor;
}

.button-secondary:hover {
    border-color: var(--teal);
    background: #fff;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary:hover {
    box-shadow: 0 22px 44px rgba(217, 143, 40, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.catalog-preview {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: clamp(18px, 2.3vw, 28px);
    color: #f7fbf9;
    background:
        radial-gradient(700px 360px at 120% -10%, rgba(217, 143, 40, 0.16), transparent 60%),
        linear-gradient(160deg, #154948, var(--teal) 55%, var(--teal-deep));
    border: 1px solid rgba(15, 59, 58, 0.2);
    overflow: hidden;
}

.preview-header,
.preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.preview-title {
    min-width: 0;
}

.preview-title span {
    display: block;
    color: #b9cfca;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.preview-title strong {
    display: block;
    margin-top: 3px;
    font-size: 16px;
    font-weight: 800;
}

.live-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b6b;
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
    animation: pulseLive 1.6s ease-out infinite;
}

@keyframes pulseLive {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.photo-frame {
    min-height: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: var(--teal-deep);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.slider,
.slide {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.6s ease, transform 5s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.04);
}

.photo-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.photo-badges span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 11px 0 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 59, 58, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.photo-badges svg {
    width: 14px;
    height: 14px;
    color: var(--amber-light);
    flex: 0 0 auto;
}

.mini-proof {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dce9e5;
    flex: 1 1 auto;
}

.mini-proof p {
    margin: 0;
    max-width: 42ch;
    font-size: 12px;
    line-height: 1.35;
}

.check {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--teal);
    background: linear-gradient(180deg, #fff, #e8f1ee);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.check svg {
    width: 14px;
    height: 14px;
}

.dots {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 0.32s ease, background 0.22s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dot.active {
    width: 22px;
    background: var(--amber-light);
    box-shadow: 0 0 12px rgba(228, 161, 63, 0.6);
}

.dot:focus-visible {
    outline: 2px solid var(--amber-light);
    outline-offset: 3px;
}

.legal {
    grid-column: 1 / -1;
    color: #84918d;
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

@media (max-width: 860px) {
    .landing {
        width: min(460px, calc(100vw - 20px));
        height: calc(100dvh - 20px);
        margin: 10px auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 10px;
    }

    .copy {
        padding: 16px;
    }

    .copy::before {
        width: 220px;
        height: 220px;
        inset: -30% -40% auto auto;
    }

    .kicker {
        padding: 6px 12px 6px 10px;
        font-size: 11px;
    }

    .kicker-meta {
        font-size: 10px;
    }

    .headline-block {
        margin-top: 12px;
    }

    h1 {
        font-size: clamp(28px, 7.4vw, 36px);
        line-height: 1.04;
    }

    .headline-block p {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .saving-card {
        margin-top: 12px;
        padding: 14px 16px;
    }

    .saving-text span {
        font-size: 10px;
    }

    .saving-text strong {
        font-size: 16px;
    }

    .saving-percent {
        font-size: 34px;
    }

    .trust-row {
        margin-top: 10px;
        gap: 6px;
    }

    .trust-row li {
        padding: 8px 4px;
        gap: 4px;
    }

    .trust-row svg {
        width: 16px;
        height: 16px;
    }

    .trust-row span {
        font-size: 10px;
    }

    .actions {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 12px;
    }

    .button {
        min-height: 48px;
        padding: 0 12px;
        font-size: 13px;
        gap: 8px;
        border-radius: 10px;
    }

    .button svg {
        width: 18px;
        height: 18px;
    }

    .button-arrow {
        width: 16px !important;
        height: 16px !important;
    }

    .catalog-preview {
        padding: 12px;
        gap: 10px;
    }

    .preview-title span {
        font-size: 10px;
    }

    .preview-title strong {
        font-size: 13px;
    }

    .live-pill {
        padding: 5px 9px;
        font-size: 10px;
    }

    .photo-badges {
        left: 10px;
        top: 10px;
    }

    .photo-badges span {
        min-height: 26px;
        padding: 0 9px 0 7px;
        font-size: 10px;
    }

    .mini-proof p {
        font-size: 10.5px;
    }

    .check {
        width: 22px;
        height: 22px;
    }

    .dots {
        gap: 5px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 18px;
    }

    .legal {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px), (max-height: 620px) {
    .landing {
        width: calc(100vw - 16px);
        height: calc(100dvh - 16px);
        margin: 8px auto;
        gap: 8px;
    }

    .kicker-meta,
    .trust-row {
        display: none;
    }

    .copy,
    .catalog-preview {
        padding: 12px;
    }

    .headline-block {
        margin-top: 6px;
    }

    h1 {
        font-size: 26px;
        line-height: 1.05;
    }

    .headline-block p {
        font-size: 11px;
    }

    .saving-card {
        margin-top: 10px;
        padding: 12px 14px;
    }

    .saving-text strong {
        font-size: 15px;
    }

    .saving-percent {
        font-size: 30px;
    }

    .actions {
        padding-top: 10px;
    }

    .button {
        min-height: 44px;
        font-size: 12px;
    }

    .mini-proof p {
        display: none;
    }

    .mini-proof::after {
        content: "Документы и история — проверены";
        color: #dce9e5;
        font-size: 10px;
    }
}

@media (min-width: 861px) and (max-height: 800px) {
    .landing {
        height: calc(100dvh - 36px);
        margin: 18px auto;
    }

    .copy {
        padding: 24px 26px;
    }

    .catalog-preview {
        padding: 18px;
    }

    .headline-block {
        margin-top: 14px;
    }

    h1 {
        font-size: clamp(32px, 4vh, 44px);
        line-height: 1.04;
    }

    .headline-block p {
        margin-top: 10px;
        font-size: 13px;
    }

    .saving-card {
        margin-top: 14px;
        padding: 14px 16px;
    }

    .saving-text span {
        font-size: 10px;
    }

    .saving-text strong {
        font-size: 17px;
    }

    .saving-percent {
        font-size: 36px;
    }

    .trust-row {
        margin-top: 10px;
        gap: 6px;
    }

    .trust-row li {
        padding: 7px 4px;
        gap: 3px;
    }

    .trust-row svg {
        width: 16px;
        height: 16px;
    }

    .trust-row span {
        font-size: 10px;
    }

    .actions {
        padding-top: 12px;
        gap: 8px;
    }

    .button {
        min-height: 48px;
        font-size: 14px;
    }
}

@media (min-width: 861px) and (max-height: 720px) {
    .landing {
        height: calc(100dvh - 24px);
        margin: 12px auto;
    }

    .kicker-meta {
        display: none;
    }

    .trust-row li {
        padding: 6px 4px;
    }

    .button {
        min-height: 44px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .slide {
        transform: none !important;
    }
}
