:root {
    --ink: #17140f;
    --muted: #695f50;
    --line: #eadfca;
    --paper: #fffaf0;
    --paper-strong: #fff4d8;
    --surface: #ffffff;
    --surface-alt: #f7efe0;
    --brand: #ffc400;
    --brand-deep: #c98900;
    --dark: #11100d;
    --dark-soft: #252016;
    --green: #2f7d5b;
    --shadow: 0 24px 70px rgba(62, 45, 10, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.98)),
        url("../img/dma/pattern02-dma.svg");
    background-size: auto, 520px auto;
    opacity: 0.9;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px clamp(18px, 5vw, 72px);
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 240, 0.92);
    border-bottom: 1px solid rgba(234, 223, 202, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.02;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.brand span {
    display: block;
}

.top-nav,
.header-actions,
.hero-actions,
.cta-actions,
.site-footer div,
.site-footer nav {
    display: flex;
    align-items: center;
}

.top-nav {
    gap: 26px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.top-nav a,
.header-login,
.header-cta,
.btn,
.site-footer a {
    text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover {
    color: var(--brand-deep);
}

.header-actions {
    gap: 10px;
}

.header-login,
.header-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 900;
}

.header-login {
    color: var(--ink);
}

.header-cta {
    background: var(--ink);
    color: #fff;
}

.hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
    gap: clamp(24px, 4vw, 62px);
    align-items: center;
    padding: clamp(28px, 4vw, 44px) clamp(18px, 5vw, 72px) clamp(20px, 3.2vw, 32px);
}

.hero-copy {
    max-width: 780px;
    min-width: 0;
}

.eyebrow {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0 11px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--brand);
    color: #171100;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 660px;
    margin-bottom: 16px;
    font-size: clamp(38px, 4.6vw, 56px);
    line-height: 1;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4.3vw, 54px);
    line-height: 1.04;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.hero-copy p,
.split-section p,
.pricing-copy p,
.cta-section p {
    max-width: 670px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.52;
}

.hero-actions,
.cta-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 18px;
}

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 900;
}

.btn-primary {
    background: var(--brand);
    color: #151000;
    box-shadow: 0 18px 42px rgba(255, 196, 0, 0.28);
}

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

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
}

.trust-row div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.trust-row strong {
    display: block;
    color: var(--ink);
    font-size: 22px;
}

.trust-row span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.hero-product {
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product::before {
    content: "";
    width: min(86%, 500px);
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.28;
}

.phone-frame {
    width: min(78%, 390px);
    min-height: 360px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 16, 13, 0.15);
    border-radius: 8px;
    background: var(--dark);
    box-shadow: var(--shadow);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    z-index: 2;
    width: min(280px, 48%);
    padding: 16px;
    border: 1px solid rgba(17, 16, 13, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(41, 32, 9, 0.14);
}

.floating-card span,
.floating-card small {
    display: block;
    color: var(--muted);
}

.floating-card strong {
    display: block;
    margin: 5px 0;
    font-size: 22px;
}

.analytics-card {
    left: 0;
    bottom: 42px;
}

.qr-card {
    right: 0;
    top: 52px;
}

.proof-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    margin: 0 clamp(18px, 5vw, 72px) clamp(34px, 5vw, 68px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    overflow: hidden;
}

.proof-band div {
    min-height: 118px;
    padding: 22px;
    background: #fff;
}

.proof-band strong,
.proof-band span {
    display: block;
}

.proof-band strong {
    margin-bottom: 7px;
    font-size: 22px;
}

.proof-band span {
    color: var(--muted);
    line-height: 1.42;
}

.section {
    padding: clamp(58px, 7vw, 98px) clamp(18px, 5vw, 72px);
}

.section-heading {
    max-width: 840px;
    margin-bottom: 32px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
    gap: clamp(28px, 5vw, 78px);
    align-items: center;
    background: #fff;
}

.mini-list {
    display: grid;
    gap: 10px;
    max-width: 610px;
    margin-top: 24px;
}

.mini-list span {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    font-weight: 800;
}

.product-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    box-shadow: var(--shadow);
}

.browser-bar {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--line);
}

.product-panel img {
    width: 100%;
    display: block;
}

.problem-section,
.testimonials-section {
    background: var(--paper-strong);
}

.comparison-grid,
.feature-grid,
.testimonial-grid,
.pricing-grid {
    display: grid;
    gap: 16px;
}

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

.comparison-card,
.feature-grid article,
.testimonial-grid figure,
.price-card,
.faq details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.comparison-card {
    padding: 28px;
}

.comparison-card ul,
.price-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparison-card li,
.price-card li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.46;
}

.comparison-card li::before,
.price-card li::before {
    content: "";
    width: 9px;
    height: 9px;
    position: absolute;
    left: 2px;
    top: 8px;
    border-radius: 99px;
    background: var(--brand);
}

.muted-card {
    background: #fbf7ee;
}

.highlight-card {
    border-color: rgba(47, 125, 91, 0.28);
    background: #f3fff8;
}

.highlight-card li::before {
    background: var(--green);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
    min-height: 250px;
    padding: 24px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.feature-grid p,
.testimonial-grid blockquote,
.testimonial-grid figcaption,
.price-card p,
.faq p {
    color: var(--muted);
    line-height: 1.58;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid figure {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
}

.testimonial-grid blockquote {
    margin: 0 0 22px;
    font-size: 18px;
}

.testimonial-grid figcaption {
    font-weight: 900;
}

.pricing-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    background: #fff;
}

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

.price-card {
    padding: 28px;
    box-shadow: var(--shadow);
}

.main-plan {
    border-color: rgba(255, 196, 0, 0.75);
}

.badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 7px;
    background: var(--ink);
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.badge.soft {
    background: var(--paper-strong);
    color: var(--ink);
}

.price-card h3 {
    margin-top: 18px;
    font-size: 28px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price strong {
    font-size: clamp(36px, 4vw, 46px);
}

.price span {
    color: var(--muted);
    font-weight: 800;
}

.price-card ul {
    margin: 22px 0;
}

.price-card .btn {
    width: 100%;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background:
        linear-gradient(135deg, rgba(17, 16, 13, 0.96), rgba(37, 32, 22, 0.94)),
        url("../img/dma/pattern01-dma.svg");
    background-size: auto, 460px auto;
    color: #fff;
}

.cta-section p {
    color: #eee3cf;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.faq {
    background: var(--paper);
}

.faq details {
    max-width: 980px;
    padding: 19px 21px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 900;
}

.faq p {
    margin: 12px 0 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px clamp(18px, 5vw, 72px);
    background: var(--dark);
    color: #fff;
}

.site-footer div,
.site-footer nav {
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer span,
.site-footer a {
    color: #ded2bc;
}

.legal-page {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
}

.legal-page h1 {
    margin: 18px 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.04;
}

.legal-page h2 {
    margin: 34px 0 10px;
    font-size: 24px;
}

.legal-page p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 1120px) {
    .hero,
    .split-section,
    .pricing-section {
        grid-template-columns: 1fr;
    }

    .hero-product {
        max-width: 760px;
        min-height: 520px;
    }

    .pricing-grid {
        max-width: 860px;
    }

    .proof-band,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .top-nav {
        width: 100%;
        order: 3;
        justify-content: space-between;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding-top: 34px;
        padding-bottom: 10px;
    }

    h1 {
        font-size: 39px;
    }

    h2 {
        font-size: 34px;
    }

    .hero-copy p,
    .split-section p,
    .pricing-copy p,
    .cta-section p {
        font-size: 17px;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .header-cta {
        width: 100%;
    }

    .header-actions {
        width: 100%;
    }

    .header-login,
    .header-cta {
        flex: 1;
    }

    .comparison-grid,
    .feature-grid,
    .testimonial-grid,
    .pricing-grid,
    .proof-band {
        grid-template-columns: 1fr;
    }

    .trust-row {
        display: flex;
        width: 100%;
        max-width: calc(100vw - 36px);
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .trust-row::-webkit-scrollbar {
        display: none;
    }

    .trust-row div {
        flex: 0 0 152px;
        padding: 11px;
    }

    .hero-product {
        display: none;
    }

    .proof-band {
        margin-bottom: 22px;
    }

    .feature-grid article,
    .testimonial-grid figure {
        min-height: auto;
    }

    .cta-section,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .site-header,
    .hero,
    .section,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .proof-band {
        margin-left: 18px;
        margin-right: 18px;
    }

    h1 {
        font-size: 38px;
    }

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