@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'); :root {
    --blue: #1769d2;
    --blue-dark: #1058b8;
    --ink: #182235;
    --muted: #68758a;
    --line: #e6eaf0;
    --soft: #f4f6fa;
    --white: #fff;
    --green: #159b68;
    --shadow: 0 16px 48px rgba(28,47,78,.08)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 15px;
    line-height: 1.55
}

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

.site-header {
    height: 76px;
    max-width: 1180px;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f2f5
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.8px
}

.brand b {
    color: var(--blue)
}

.brand-mark {
    width: 29px;
    height: 29px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 3px;
    padding: 3px;
    border: 2px solid var(--blue);
    border-radius: 7px
}

.brand-mark i {
    background: var(--blue);
    border-radius: 2px
}

.brand-mark i:nth-child(2) {
    opacity: .35
}

.brand-mark i:nth-child(3) {
    opacity: .55
}

.header-nav {
    display: flex;
    gap: 30px
}

.header-nav a,.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500
}

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

.language-switch {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 9px;
    padding: 8px 13px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer
}

.hero {
    max-width: 800px;
    margin: 66px auto 34px;
    padding: 0 22px;
    text-align: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #eef5ff;
    color: #2869bd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2b9d72
}

.hero h1 {
    font-size: clamp(36px,5.3vw,58px);
    line-height: 1.12;
    letter-spacing: -2.8px;
    margin: 21px 0 17px;
    font-weight: 800
}

.hero h1 span {
    color: var(--blue)
}

.hero-copy {
    max-width: 590px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75
}

.ad-slot {
    max-width: 970px;
    min-height: 76px;
    margin: 25px auto;
    border: 1px dashed #d9dee7;
    border-radius: 12px;
    background: #fbfcfe;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #a0a9b8;
    font-size: 12px
}

.ad-label {
    padding: 3px 7px;
    border-radius: 4px;
    background: #eef1f5;
    color: #8a94a4;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .7px
}

.workspace {
    max-width: 1050px;
    margin: 28px auto 0;
    padding: 0 22px;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
    gap: 20px;
    align-items: stretch
}

.generator-panel,.preview-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow)
}

.generator-panel {
    padding: 25px
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px
}

.section-kicker {
    font-size: 10px;
    letter-spacing: 1.25px;
    color: var(--blue);
    font-weight: 800
}

.panel-heading h2 {
    font-size: 22px;
    letter-spacing: -.8px;
    margin: 5px 0 0
}

.free-tag {
    background: #eaf7f1;
    color: #16845d;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700
}

.type-tabs {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 7px;
    margin-bottom: 22px
}

.type-tab {
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 10px 3px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #7a8799;
    cursor: pointer;
    transition: .2s
}

.type-tab .tab-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
}

.type-tab .tab-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.type-tab b {
    font-size: 10px;
    font-weight: 600
}

.type-tab.active {
    border-color: #a8c8f2;
    background: #f0f6ff;
    color: var(--blue)
}

.fields {
    display: grid;
    gap: 13px;
    min-height: 84px
}

.field {
    display: grid;
    gap: 6px
}

.field label,.color-control span,.select-control span {
    font-size: 12px;
    font-weight: 600;
    color: #46546a
}

.field input,.field textarea,.field select {
    width: 100%;
    border: 1px solid #dfe4ec;
    border-radius: 9px;
    padding: 12px 13px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: .2s
}

.field input:focus,.field textarea:focus,.field select:focus {
    border-color: #76a9ec;
    box-shadow: 0 0 0 3px #eaf3ff
}

.field textarea {
    min-height: 90px;
    resize: vertical
}

.field small {
    font-size: 10px;
    color: #8994a5
}

.customization {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4
}

.custom-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px
}

.color-control,.select-control {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0
}

.color-control input {
    width: 100%;
    height: 39px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px;
    background: #fff;
    cursor: pointer
}

.select-control select {
    height: 39px;
    min-width: 0;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 7px;
    color: var(--ink);
    background: #fff;
    font-size: 11px
}

.generate-button {
    width: 100%;
    margin-top: 19px;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

.generate-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px)
}

.generate-button span:last-child {
    font-size: 20px
}

.form-error {
    min-height: 0;
    margin: 8px 0 0;
    color: #c03945;
    font-size: 12px
}

.preview-panel {
    padding: 23px;
    display: flex;
    flex-direction: column;
    align-items: stretch
}

.preview-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: #8a95a5;
    font-weight: 800
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0;
    font-size: 10px;
    font-weight: 600;
    color: #8a95a5
}

.live-indicator i {
    width: 6px;
    height: 6px;
    background: #aeb7c4;
    border-radius: 50%
}

.live-indicator.ready {
    color: #16845d
}

.live-indicator.ready i {
    background: #19a36f
}

.qr-stage {
    margin: 22px 0 13px;
    min-height: 270px;
    border-radius: 14px;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative
}

.qr-placeholder {
    text-align: center;
    color: #a0a9b7;
    font-size: 12px
}

.placeholder-icon {
    width: 112px;
    height: 112px;
    border: 8px solid #dfe5ed;
    border-radius: 8px;
    margin: 0 auto 14px;
    position: relative;
    opacity: .65;
    background: repeating-linear-gradient(0deg,transparent 0 9px,#e0e5ec 9px 15px),repeating-linear-gradient(90deg,transparent 0 9px,#e0e5ec 9px 15px)
}

.placeholder-icon:before,.placeholder-icon:after,.placeholder-icon span:first-child {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    border: 6px solid #aab6c6;
    background: #f7f9fc;
    border-radius: 3px
}

.placeholder-icon:before {
    top: 0;
    left: 0
}

.placeholder-icon:after {
    top: 0;
    right: 0
}

.placeholder-icon span:first-child {
    bottom: 0;
    left: 0
}

.qr-canvas {
    display: none;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    max-width: 100%;
    overflow: hidden
}

.qr-canvas canvas,.qr-canvas svg {
    display: block;
    max-width: 100%;
    height: auto
}

.preview-hint {
    text-align: center;
    color: #8b96a6;
    font-size: 11px;
    line-height: 1.6;
    margin: 0 5px 17px
}

.download-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.download-button {
    border-radius: 9px;
    padding: 11px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.download-button span {
    font-size: 16px;
    margin-right: 5px
}

.download-button.primary {
    background: var(--blue);
    color: #fff;
    border: 1px solid var(--blue)
}

.download-button.secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid #dfe4ec
}

.download-button:disabled {
    opacity: .4;
    cursor: not-allowed
}

.privacy-note {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin: 18px 0 0;
    color: #8994a5;
    font-size: 10px;
    line-height: 1.5
}

.privacy-note span:first-child {
    color: #159b68;
    font-size: 15px
}

.ad-bottom {
    margin-top: 28px
}

.info-section,.faq-section {
    max-width: 1050px;
    margin: 85px auto 0;
    padding: 0 22px
}

.section-intro {
    text-align: center
}

.section-intro h2 {
    font-size: 30px;
    letter-spacing: -1.1px;
    margin: 8px 0 28px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px
}

.step-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    position: relative
}

.step-number {
    position: absolute;
    right: 18px;
    top: 17px;
    font-size: 11px;
    font-weight: 800;
    color: #c2cad5
}

.step-icon {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #edf4ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 18px
}

.step-card h3 {
    font-size: 15px;
    margin: 0 0 7px
}

.step-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0
}

.faq-section {
    margin-top: 78px;
    margin-bottom: 75px
}

.faq-list {
    max-width: 760px;
    margin: auto;
    border-top: 1px solid var(--line)
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 17px 3px
}

.faq-list summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 15px
}

.faq-list summary:after {
    content: "+";
    color: var(--blue);
    font-size: 18px
}

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

.faq-list details p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 12px 25px 0 0
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 27px 22px 22px;
    text-align: center
}

.footer-brand {
    font-size: 18px
}

.footer-brand .brand-mark {
    width: 25px;
    height: 25px
}

.site-footer>p {
    font-size: 11px;
    color: #8b96a6;
    margin: 9px 0 14px
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 17px
}

.footer-links a {
    font-size: 11px
}

.site-footer small {
    font-size: 10px;
    color: #a2aab7
}

@media(max-width: 760px) {
    .site-header {
        height:66px;
        padding: 0 18px
    }

    .header-nav {
        display: none
    }

    .hero {
        margin: 48px auto 27px
    }

    .hero h1 {
        letter-spacing: -1.8px
    }

    .hero-copy {
        font-size: 14px
    }

    .ad-slot {
        margin: 18px 18px;
        min-height: 62px
    }

    .workspace {
        grid-template-columns: 1fr;
        padding: 0 14px;
        gap: 13px
    }

    .generator-panel {
        padding: 19px
    }

    .preview-panel {
        padding: 19px
    }

    .qr-stage {
        min-height: 245px
    }

    .info-section,.faq-section {
        margin-top: 62px;
        padding: 0 17px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .step-card {
        padding: 18px
    }

    .section-intro h2 {
        font-size: 25px
    }

    .custom-grid {
        gap: 7px
    }

    .type-tab b {
        font-size: 9px
    }
}

@media(max-width: 390px) {
    .type-tabs {
        gap:4px
    }

    .type-tab {
        padding: 8px 1px
    }

    .type-tab b {
        font-size: 8px
    }

    .custom-grid {
        grid-template-columns: 1fr 1fr
    }

    .select-control {
        grid-column: span 2
    }

    .hero h1 {
        font-size: 35px
    }
}


/* Yandex advertising blocks */
.ad-slot {
    display: block;
    min-height: 90px;
    padding: 10px 14px;
    text-align: center;
}

.ad-label {
    display: block;
    width: max-content;
    margin: 0 auto 6px;
}

.ad-slot [id^="yandex_rtb_"] {
    width: 100%;
    min-height: 90px;
    margin: 0 auto;
}
