:root {
    --ink: #162027;
    --muted: #64727d;
    --line: #dbe3e7;
    --paper: #ffffff;
    --soft: #f6f8f7;
    --soft-green: #e8f6ef;
    --green: #0b7a53;
    --green-dark: #075f42;
    --blue: #2457a7;
    --amber: #b7791f;
    --red: #b42318;
    --shadow: 0 22px 60px rgba(22, 32, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 52px);
    border-bottom: 1px solid rgba(219, 227, 231, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.brand,
.header-nav,
.hero-actions,
.liqpay-line,
.site-footer {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    min-width: max-content;
    text-decoration: none;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--green);
}

.header-nav {
    gap: clamp(12px, 2vw, 28px);
    color: var(--muted);
    font-size: 15px;
}

.header-nav a,
.site-footer a {
    text-decoration: none;
}

.header-nav a:hover,
.site-footer a:hover {
    color: var(--green);
}

.header-cta {
    min-width: max-content;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    background: #fff;
}

.hero-section {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 78px clamp(18px, 4vw, 52px) 64px;
    background:
        linear-gradient(90deg, rgba(246, 248, 247, 0.98) 0%, rgba(246, 248, 247, 0.92) 42%, rgba(246, 248, 247, 0.68) 68%, rgba(246, 248, 247, 0.3) 100%),
        linear-gradient(135deg, #ecf6f0 0%, #f7f4ed 48%, #eef3f6 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 120px;
    background: linear-gradient(0deg, var(--soft), rgba(246, 248, 247, 0));
    pointer-events: none;
}

.hero-backdrop {
    position: absolute;
    top: 96px;
    right: clamp(-240px, -8vw, -70px);
    width: min(780px, 68vw);
    opacity: 0.92;
    transform: rotate(-2deg);
}

.dashboard-shell {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.dashboard-topline {
    display: flex;
    gap: 7px;
    padding: 0 0 14px;
}

.dashboard-topline span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c6d1d6;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
}

.dash-panel {
    min-height: 170px;
    padding: 18px;
    border: 1px solid rgba(219, 227, 231, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.dash-panel small,
.plan-label,
.eyebrow {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dash-panel strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
    line-height: 1.1;
}

.dash-panel > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.queue-panel,
.order-panel {
    grid-row: span 2;
}

.post-row,
.formula-line,
.formula-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f2f6f4;
}

.post-row.active {
    color: #fff;
    background: var(--green);
}

.post-row.muted,
.formula-line {
    color: var(--muted);
}

.formula-total {
    color: #fff;
    background: var(--blue);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 14px;
}

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

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(40px, 6vw, 82px);
    line-height: 1.02;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

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

.hero-copy {
    max-width: 650px;
    margin-bottom: 30px;
    color: #394852;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--green);
}

.button.primary:hover {
    background: var(--green-dark);
}

.button.secondary,
.price-button {
    border-color: var(--line);
    background: #fff;
}

.button.secondary:hover,
.price-button:hover,
.header-cta:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(860px, 100%);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.hero-stats div {
    min-height: 124px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.hero-stats dt {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 850;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: clamp(68px, 8vw, 116px) clamp(18px, 4vw, 52px);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
    gap: clamp(28px, 5vw, 72px);
    max-width: 1180px;
    margin: 0 auto 36px;
}

.section-heading.wide {
    display: block;
    max-width: 840px;
    margin-right: auto;
    margin-left: 0;
}

.section-heading.wide p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.text-grid,
.compliance-grid,
.terms-grid,
.pricing-grid,
.feature-grid {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    gap: 16px;
}

.text-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
}

.text-grid p,
.compliance-grid p,
.terms-grid article,
.feature-card,
.price-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.text-grid p {
    min-height: 190px;
    padding: 24px;
    color: var(--muted);
    font-size: 18px;
}

.text-grid .highlight-formula {
    color: var(--ink);
    background: var(--soft-green);
    font-weight: 850;
}

.process-section {
    background: #eef3f1;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(9, minmax(96px, 1fr));
    gap: 8px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}

.process-flow li {
    min-height: 78px;
    display: grid;
    place-items: center;
    padding: 12px;
    border: 1px solid #d6e0dc;
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
    text-align: center;
}

.features-section,
.terms-section {
    background: #fff;
}

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

.feature-card {
    min-height: 300px;
    padding: 24px;
}

.feature-index {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--green);
    font-weight: 900;
}

.feature-card p,
.price-card p,
.terms-grid p,
.operator-copy p,
.final-cta p,
.contact-copy p {
    color: var(--muted);
}

.operator-section,
.final-cta,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 1284px;
    margin: 0 auto;
}

.operator-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.operator-steps span {
    display: grid;
    min-height: 70px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 850;
}

.services-section {
    background: #f8faf9;
}

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

.price-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 24px;
}

.price-card.featured {
    border-color: rgba(11, 122, 83, 0.5);
    background: #f3fbf7;
}

.price-card strong {
    display: block;
    margin: auto 0 18px;
    font-size: 25px;
    line-height: 1.15;
}

.setup-card {
    background: #fffaf0;
}

.compliance-section {
    background: #eef3f1;
}

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

.compliance-grid p {
    min-height: 180px;
    padding: 24px;
}

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

.terms-grid article {
    min-height: 300px;
    padding: 24px;
}

.liqpay-line {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.liqpay-line img {
    width: 146px;
    height: auto;
}

.final-cta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
}

.final-cta .eyebrow {
    color: #8fe1bd;
}

.final-cta p {
    color: #d1dde1;
}

.contact-section {
    align-items: start;
}

.seller-info {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-style: normal;
}

.seller-info strong {
    color: var(--ink);
}

.seller-info a {
    color: var(--green);
}

.request-form {
    display: grid;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

label {
    margin: 14px 0 6px;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cbd6dc;
    border-radius: 8px;
    padding: 12px 13px;
    color: inherit;
    background: #fff;
    font: inherit;
}

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

input:focus,
textarea:focus {
    border-color: var(--green);
    outline: 3px solid rgba(11, 122, 83, 0.15);
}

[aria-invalid="true"] {
    border-color: var(--red);
}

.field-error {
    min-height: 18px;
    margin-top: 4px;
    color: var(--red);
    font-size: 13px;
}

.submit-button {
    width: 100%;
    margin-top: 18px;
}

button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-status {
    min-height: 22px;
    margin: 12px 0 0;
}

.form-status.success {
    color: var(--green);
}

.form-status.error {
    color: var(--red);
}

.site-footer {
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 24px clamp(18px, 4vw, 52px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
}

@media (max-width: 1120px) {
    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-backdrop {
        right: -330px;
        width: 780px;
    }
}

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

    .header-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 54px;
    }

    .hero-backdrop {
        position: relative;
        top: auto;
        right: auto;
        order: 2;
        width: 100%;
        margin-top: 34px;
        transform: none;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        order: 1;
    }

    .dashboard-grid,
    .hero-stats,
    .section-heading,
    .text-grid,
    .compliance-grid,
    .terms-grid,
    .operator-section,
    .final-cta,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .queue-panel,
    .order-panel {
        grid-row: auto;
    }

    .text-grid p,
    .compliance-grid p,
    .terms-grid article,
    .feature-card,
    .price-card {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .brand {
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    .hero-actions .button,
    .final-cta .button {
        width: 100%;
    }

    .feature-grid,
    .pricing-grid,
    .operator-steps {
        grid-template-columns: 1fr;
    }

    .dash-panel strong {
        font-size: 28px;
    }

    .request-form {
        padding: 20px;
    }
}
