    :root {
        --bg: #f7f8fb;
        --text: #0b0f1a;
        --muted: rgba(11, 15, 26, .62);
        --border: rgba(11, 15, 26, .10);
        --glass: rgba(255, 255, 255, .62);
        --shadow: 0 18px 60px rgba(0, 0, 0, .10);
        --shadow-soft: 0 10px 30px rgba(0, 0, 0, .08);
        --radius-xl: 30px;
        --radius-lg: 22px;
        --radius-md: 16px;
        --accent: #FFDE59;
        --focus: rgba(255, 222, 89, .28);
        --blur: 18px;
        --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    }

    * {
        box-sizing: border-box;
    }

    html,
    body {
        height: 100%;
    }

    body {
        margin: 0;
        font-family: var(--font);
        color: var(--text);
        background: var(--bg);
    }


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

    .container {
        width: min(1140px, 92vw);
        margin: 0 auto;
    }

    /* Top bar */
    .topbar {
        position: sticky;
        z-index: 60;
        top: 0;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        background: rgba(247, 248, 251, .70);
        border-bottom: 1px solid rgba(11, 15, 26, .06);
    }

    .topbar-inner {
        height: 74px;
        position: relative;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 720;
        letter-spacing: -0.3px;
        min-width: 0;
        flex: 0 0 auto;
    }

    .brand img {
        display: block;
        height: 28px;
        width: auto;
        filter: drop-shadow(0 10px 24px rgba(255, 222, 89, .15));
    }

    .brand span {
        display: none;
        color: rgba(11, 15, 26, .70);
        font-size: 14px;
        letter-spacing: -0.1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-wrap {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .nav {
        display: flex;
        align-items: center;
        gap: 22px;
        color: var(--muted);
        font-size: 14px;
    }

    .nav a {
        padding: 8px 10px;
        border-radius: 12px;
    }

    .nav a:hover {
        background: transparent;
        color: rgba(11, 15, 26, .82);
    }

    .nav a:active {
        background: transparent;
    }

    .actions-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .menu-btn {
        display: none;
        width: 44px;
        height: 44px;
        border-radius: 16px;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    /* Mobile menu panel */
    .mobile-menu {
        position: absolute;
        top: 74px;
        right: 20px;
        width: min(230px, calc(100vw - 40px));
        max-width: 230px;
        border-radius: 18px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        box-shadow: 0 18px 46px rgba(0, 0, 0, .14);
        padding: 10px;
        display: none;
        z-index: 90;
    }

    .mobile-menu a {
        display: block;
        padding: 12px 12px;
        border-radius: 14px;
        color: rgba(11, 15, 26, .84);
        text-decoration: none;
    }

    .mobile-menu a:hover,
    .mobile-menu a:active {
        background: transparent;
    }

    .mobile-menu.open {
        display: block;
    }

    .top-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    /* Buttons */
    .btn {
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .65);
        color: rgba(11, 15, 26, .86);
        padding: 11px 14px;
        border-radius: 16px;
        cursor: pointer;
        font-size: 14px;
        transition: transform .14s ease, box-shadow .20s ease, background .20s ease, border-color .20s ease;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        position: relative;
        overflow: hidden;
        will-change: transform;
        gap: 10px;
    }

    .btn:hover {
        background: rgba(255, 255, 255, .82);
        transform: translateY(-1px);
        box-shadow: 0 14px 26px rgba(0, 0, 0, .08);
    }

    .btn:active {
        transform: translateY(0px) scale(.99);
    }

    .btn:focus {
        outline: none;
        box-shadow: 0 0 0 4px var(--focus), 0 14px 26px rgba(0, 0, 0, .08);
    }

    .btn::after {
        content: "";
        position: absolute;
        inset: -40% -60% auto -60%;
        height: 140%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
        transform: translateX(-60%) rotate(10deg);
        opacity: 0;
        transition: opacity .2s ease;
        pointer-events: none;
    }

    .btn:hover::after {
        opacity: .7;
        animation: sheen .8s ease;
    }

    @keyframes sheen {
        0% {
            transform: translateX(-60%) rotate(10deg);
        }

        100% {
            transform: translateX(140%) rotate(10deg);
        }
    }

    .btn.primary {
        border-color: rgba(255, 222, 89, .55);
        background:
            radial-gradient(14px 14px at 30% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)),
            linear-gradient(180deg, rgba(255, 222, 89, 1), rgba(255, 222, 89, .82));
        color: rgba(11, 15, 26, .92);
        box-shadow: 0 16px 34px rgba(255, 222, 89, .28);
        font-weight: 650;
    }

    .btn.primary:hover {
        border-color: rgba(255, 222, 89, .80);
        box-shadow: 0 18px 44px rgba(255, 222, 89, .34);
        transform: translateY(-1px) scale(1.01);
    }

    .btn.on-accent {
        border-color: rgba(255, 255, 255, .65);
        background: rgba(11, 15, 26, .86);
        color: rgba(255, 255, 255, .92);
        box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
    }

    .btn.on-accent:hover {
        background: rgba(11, 15, 26, .92);
        border-color: rgba(255, 255, 255, .78);
        box-shadow: 0 18px 44px rgba(0, 0, 0, .20);
    }

    #recognizeBtn {
        justify-content: center;
        text-align: center;
    }

    /* Page spacing */
    .hero {
        padding: 84px 0 42px;
        background:
            radial-gradient(1200px 700px at 20% 10%, rgba(255, 222, 89, .22), transparent 60%),
            radial-gradient(900px 600px at 75% 25%, rgba(255, 222, 89, .10), transparent 62%),
            radial-gradient(700px 420px at 55% 82%, rgba(0, 0, 0, .022), transparent 72%),
            var(--bg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .headline {
        text-align: center;
        margin: 8px auto 30px;
        width: min(920px, 100%);
    }

    .headline h1 {
        margin: 0 0 12px;
        font-size: clamp(33px, 4.6vw, 53px);
        line-height: 1.06;
        letter-spacing: -1px;
    }

    .headline p {
        margin: 0;
        color: var(--muted);
        font-size: clamp(15px, 2.0vw, 20px);
        line-height: 1.7;
    }

    .mini-points {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 18px auto 0;
        width: min(980px, 100%);
    }

    .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
        /*border-radius: 999px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .55);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
        */
        color: rgba(11, 15, 26, .82);
        font-size: 13.2px;
        letter-spacing: -0.1px;
    }

    /* Icons */
    .ico {
        width: 18px;
        height: 18px;
        opacity: .86;
    }

    /* Cards */
    .card {
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, .62);
        border: 1px solid rgba(11, 15, 26, .10);
        box-shadow: 0 18px 60px rgba(0, 0, 0, .10);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        overflow: hidden;
        transition: box-shadow .22s ease, transform .12s ease;
    }

    .card:hover {
        box-shadow: 0 22px 78px rgba(0, 0, 0, .12);
    }

    .card-inner {
        padding: 30px;
    }

    .card-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .card-title .left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 720;
        letter-spacing: -0.2px;
    }

    .stage {
        width: min(860px, 100%);
        margin: 0 auto;
        display: grid;
        gap: 26px;
    }

    /* Upload block redesign */
    .upload-zone {
        border-radius: var(--radius-xl);
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .62);
        box-shadow: var(--shadow);
        overflow: hidden;
        position: relative;
        outline: none;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    .upload-zone:hover {
        box-shadow: 0 22px 70px rgba(0, 0, 0, .12);
    }

    .upload-inner {
        padding: 30px;
    }

    /* afterPick: below dropbox, centered and with side paddings */
    #afterPick {
        width: 100%;
        max-width: 760px;
        margin: 14px auto 0;
        padding: 0 28px;
        box-sizing: border-box;
    }


    .dropbox {
        margin-top: 12px;
        border: 2px dashed rgba(11, 15, 26, .22);
        border-radius: 26px;
        background: rgba(255, 255, 255, .34);
        padding: 28px 22px;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
        transition: transform .12s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
        cursor: pointer;
        outline: none;
    }

    .dropbox:focus {
        outline: 3px solid var(--focus);
        outline-offset: 3px;
    }

    .dropbox.drag {
        background: rgba(255, 255, 255, .52);
        border-color: rgba(11, 15, 26, .36);
        box-shadow: 0 16px 52px rgba(0, 0, 0, .10);
        transform: translateY(-1px);
    }

    /* Collapse dropbox after clicking "Распознать" */
    #dropBox.is-collapsed {
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    #dropBox.is-collapsed .dz-ico,
    #dropBox.is-collapsed #dzMain,
    #dropBox.is-collapsed #dzTags,
    #dropBox.is-collapsed #acceptRow,
    #dropBox.is-collapsed #afterPick {
        display: none !important;
    }

    /* keep only actions row, but hide "Распознать" button */
    #dropBox.is-collapsed .upload-actions {
        margin: 0;
        width: auto;
    }

    #dropBox.is-collapsed #recognizeBtn {
        display: none !important;
    }

    .dz-ico {
        width: 62px;
        height: 62px;
        opacity: .86;
    }

    .upload-sub {
        color: rgba(11, 15, 26, .70);
        font-size: 13.2px;
        margin-top: 6px;
        line-height: 1.55;
    }

    .dz-main {
        font-size: 15.2px;
        font-weight: 720;
        color: rgba(11, 15, 26, .86);
        margin-top: 6px;
    }

    .dz-sub {
        font-size: 13.2px;
        color: rgba(11, 15, 26, .68);
        margin-top: 6px;
    }

    .upload-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .upload-actions.row {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .btn.secondary-soft {
        background: rgba(255, 255, 255, .55);
        border-color: rgba(11, 15, 26, .10);
        color: rgba(11, 15, 26, .78);
    }

    .btn.secondary-soft:hover {
        background: rgba(255, 255, 255, .70);
    }

    .fineprint {
        margin-top: 14px;
        text-align: center;
        font-size: 12.8px;
        color: rgba(11, 15, 26, .72);
        line-height: 1.6;
    }

    .fineprint a {
        color: rgba(11, 15, 26, .92);
        text-decoration: underline;
        text-decoration-color: rgba(11, 15, 26, .22);
    }

    /* Status */
    .status {
        margin-top: 18px;
        padding: 16px 18px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .55);
        border: 1px solid rgba(11, 15, 26, .10);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    .status-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .status-left {
        min-width: 0;
    }

    .status-title {
        font-weight: 720;
        letter-spacing: -0.1px;
        font-size: 14.5px;
    }

    .status-sub {
        color: rgba(11, 15, 26, .62);
        font-size: 12.8px;
        margin-top: 5px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .progress {
        height: 10px;
        margin-top: 12px;
        border-radius: 999px;
        background: rgba(11, 15, 26, .10);
        overflow: hidden;
        border: 1px solid rgba(11, 15, 26, .08);
    }

    .bar {
        height: 100%;
        width: 0%;
        border-radius: 999px;
        /* background:
            linear-gradient(90deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0)),
            linear-gradient(90deg, rgba(11, 15, 26, .92), rgba(11, 15, 26, .55));*/
        background:
            linear-gradient(90deg, rgb(255 222 0 / 92%), rgba(11, 15, 26, .55)),
            linear-gradient(90deg, rgb(255 222 0 / 92%), rgba(11, 15, 26, .55));
        transition: width .35s ease;
    }

    /* ZenRows-like graphic cards */
    .illus-grid {
        margin-top: 22px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        width: min(1060px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .illus-card {
        border-radius: 26px;
        background: rgba(255, 255, 255, .55);
        border: 1px solid rgba(11, 15, 26, .08);
        box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
        overflow: hidden;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        align-items: center;
        text-align: center;
    }

    .illus-top {
        height: 170px;
        position: relative;
        background:
            radial-gradient(220px 140px at 30% 40%, rgba(255, 222, 89, .20), transparent 60%),
            radial-gradient(260px 160px at 70% 50%, rgba(0, 0, 0, .05), transparent 65%),
            linear-gradient(180deg, rgba(255, 255, 255, .80), rgba(255, 255, 255, .62));
    }

    .dots {
        position: absolute;
        inset: 0;
        opacity: .55;
        background-image: radial-gradient(rgba(11, 15, 26, .10) 1px, transparent 1px);
        background-size: 8px 8px;
        mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    .float {
        position: absolute;
        width: 44px;
        height: 44px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .72);
        box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    .float.center {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        left: 50%;
        top: 55%;
        transform: translate(-50%, -50%);
        border-color: rgba(255, 222, 89, .55);
    }

    .float.a {
        left: 18%;
        top: 30%;
    }

    .float.b {
        right: 18%;
        top: 30%;
    }

    .float.c {
        left: 28%;
        bottom: 18%;
    }

    .float.d {
        right: 28%;
        bottom: 18%;
    }

    .illus-body {
        padding: 20px 26px 26px;
        background: rgba(255, 255, 255, .58);
    }

    .illus-body h3 {
        margin: 0 0 8px;
        font-size: 18px;
        letter-spacing: -0.3px;
    }

    .illus-body p {
        margin: 0;
        color: var(--muted);
        line-height: 1.65;
        font-size: 14px;
    }

    /* Preview */
    .paper {
        border-radius: 22px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .72);
        padding: 18px;
        box-shadow: 0 16px 44px rgba(0, 0, 0, .08);
    }

    .paper .h {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .paper .h b {
        letter-spacing: -0.2px;
    }

    .lines {
        display: grid;
        gap: 9px;
    }

    .line {
        height: 10px;
        border-radius: 999px;
        background: rgba(11, 15, 26, .08);
    }

    .line.w1 {
        width: 96%;
    }

    .line.w2 {
        width: 86%;
    }

    .line.w3 {
        width: 92%;
    }

    .line.w4 {
        width: 78%;
    }

    .line.w5 {
        width: 88%;
    }

    .speaker-row {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

    .speaker {
        font-size: 11px;
        padding: 6px 9px;
        border-radius: 999px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .62);
        color: rgba(11, 15, 26, .70);
    }

    /* Sections */
    .section {
        padding: 72px 0;
    }

    .section-tight {
        padding: 56px 0;
    }

    .section-head {
        text-align: center;
        width: min(900px, 100%);
        margin: 0 auto 30px;
    }

    .section-head h2 {
        margin: 0 0 12px;
        font-size: clamp(22px, 3.2vw, 36px);
        letter-spacing: -0.7px;
    }

    .section-head p {
        margin: 0;
        color: var(--muted);
        line-height: 1.75;
    }

    .steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: min(1060px, 100%);
        margin: 0 auto;
    }

    .step {
        border-radius: 24px;
        background: rgba(255, 255, 255, .55);
        border: 1px solid rgba(11, 15, 26, .08);
        padding: 26px;
        box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
        align-items: center;
        text-align: center;
    }

    .step .n {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 24px;
        border: 1px solid rgba(255, 222, 89, .60);
        background: rgba(255, 222, 89, .50);
        font-weight: 750;
        margin-bottom: 15px;
    }

    .step b {
        display: block;
        letter-spacing: -0.2px;
        margin-bottom: 8px;
    }

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

    .list {
        width: min(960px, 100%);
        margin: 0 auto;
        display: grid;
        gap: 10px;
    }

    .li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 14px 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .55);
        border: 1px solid rgba(11, 15, 26, .08);
        box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
    }

    .li .t {
        font-weight: 650;
        letter-spacing: -0.15px;
    }

    .li .d {
        color: var(--muted);
        line-height: 1.65;
        font-size: 14px;
        margin-top: 4px;
    }

    .faq {
        width: min(960px, 100%);
        margin: 0 auto;
        border-radius: 24px;
        background: rgba(255, 255, 255, .55);
        border: 1px solid rgba(11, 15, 26, .08);
        overflow: hidden;
        box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
    }

    details {
        padding: 12px 60px;
        border-top: 1px solid rgba(11, 15, 26, .08);
    }

    details:first-child {
        border-top: 0;
    }

    summary {
        cursor: pointer;
        font-weight: 400;
        letter-spacing: -0.2px;
    }

    details p {
        margin: 10px 0 0;
        color: var(--muted);
        line-height: 1.75;
        font-size: 14px;
    }

    .cta {
        width: min(980px, 100%);
        margin: 0 auto;
        border-radius: 30px;
        background: rgba(255, 255, 255, .58);
        border: 1px solid rgba(11, 15, 26, .08);
        box-shadow: 0 18px 70px rgba(0, 0, 0, .10);
        padding: 26px;
        text-align: center;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    /* Footer */
    .footer {
        padding: 54px 0 70px;
        color: rgba(11, 15, 26, .62);
        font-size: 12.8px;
    }

    .footer-inner {
        width: min(1140px, 92vw);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.2fr 1fr 1.2fr;
        gap: 18px;
        align-items: start;
    }

    .footer-brand {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .footer-brand img {
        height: 26px;
        width: auto;
        display: block;
    }

    .footer-title {
        font-weight: 740;
        letter-spacing: -0.2px;
        margin: 0;
    }

    .footer-sub {
        margin: 6px 0 0;
        color: rgba(11, 15, 26, .55);
        line-height: 1.6;
    }

    .footer-nav {
        display: grid;
        gap: 10px;
    }

    .footer-nav a {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        padding: 8px 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .40);
        border: 1px solid rgba(11, 15, 26, .06);
    }

    .footer-nav a:hover {
        background: rgba(255, 255, 255, .62);
    }

    .footer-contacts {
        border-radius: 20px;
        background: rgba(255, 255, 255, .45);
        border: 1px solid rgba(11, 15, 26, .08);
        padding: 20px 20px;
        box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
    }

    .footer-contacts .row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .footer-contacts .k {
        color: rgba(11, 15, 26, .55);
        width: 60px;
        flex: 0 0 auto;
    }

    .footer-contacts .v {
        color: rgba(11, 15, 26, .75);
        line-height: 1.55;
    }

    .footer-bottom {
        width: min(1140px, 92vw);
        margin: 18px auto 0;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        color: rgba(11, 15, 26, .52);
    }

    /* Modal */
    .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .25);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 18px;
        z-index: 50;
    }

    .modal-backdrop.open {
        display: flex;
    }

    .modal {
        width: min(560px, 96vw);
        border-radius: 26px;
        background: rgba(255, 255, 255, .74);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        border: 1px solid rgba(255, 255, 255, .6);
        box-shadow: 0 26px 90px rgba(0, 0, 0, .22);
        overflow: hidden;
    }

    .modal .mhead {
        padding: 16px 18px;
        border-bottom: 1px solid rgba(11, 15, 26, .08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .modal .mhead b {
        letter-spacing: -0.2px;
    }

    .modal .mbody {
        padding: 16px 18px;
        color: rgba(11, 15, 26, .75);
        font-size: 14px;
        line-height: 1.7;
        white-space: pre-wrap;
    }

    .modal .mfoot {
        padding: 14px 18px;
        border-top: 1px solid rgba(11, 15, 26, .08);
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    /* Payment iframe modal */
    .modal.pay-modal {
        width: min(920px, 96vw);
        height: min(720px, 86vh);
        display: flex;
        flex-direction: column;
    }

    .modal.pay-modal .mbody {
        padding: 0;
        flex: 1;
    }

    .modal.pay-modal iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    input[type=file] {
        display: none;
    }

    /* Responsive */
    @media (max-width: 980px) {
        .hero {
            padding-top: 64px;
        }

        .footer-inner {
            grid-template-columns: 1fr;
        }

        .footer-contacts .k {
            width: 88px;
        }
    }

    /* Header: collapse nav under 960px */
    @media (max-width: 960px) {
        .nav {
            display: none;
        }

        .menu-btn {
            display: inline-flex;
        }

        .top-cta {
            width: 44px;
            height: 44px;
            padding: 0;
            justify-content: center;
            border-radius: 16px;
        }

        .top-cta .top-cta-text {
            display: none;
        }
    }

    /* Steps + advantages collapse under 780px */
    @media (max-width: 780px) {
        .illus-grid {
            grid-template-columns: 1fr;
        }

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

    @media (max-width: 720px) {
        .topbar-inner {
            height: 68px;
        }

        .brand span {
            display: none;
        }

        .nav {
            display: none;
        }

        .menu-btn {
            display: inline-flex;
        }

        .hide-mobile {
            display: none !important;
        }

        .card-inner {
            padding: 22px;
        }

        .upload-inner {
            padding: 22px;
        }

        .upload-actions .btn {
            width: 100%;
        }

        .section {
            padding: 62px 0;
        }

        .section-tight {
            padding: 48px 0;
        }

        .footer-contacts .row {
            flex-direction: column;
            gap: 2px;
        }

        .footer-contacts .k {
            width: auto;
        }
    }

    @media (max-width: 420px) {
        .pill {
            width: 100%;
            justify-content: center;
        }

        .brand img {
            height: 24px;
        }
    }


    /* Transcript rendering */
    .transcript {
        display: grid;
        gap: 10px;
        max-height: 55vh;
        overflow: auto;
        padding: 6px 2px;
    }

    .tline {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .tline .speaker {
        flex: 0 0 auto;
        margin-top: 1px;
    }

    .ttext {
        color: rgba(11, 15, 26, .88);
        font-size: 14px;
        line-height: 1.65;
        white-space: pre-wrap;
    }

    /* Feedback stars (accent filled / transparent unfilled + hover preview) */
    .starbtn {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .70);
        cursor: pointer;
        display: grid;
        place-items: center;
        padding: 0;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        transition: transform .12s ease, box-shadow .20s ease, background .20s ease;
    }

    .starbtn svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    .starbtn.on svg {
        color: var(--accent);
    }

    .starbtn.off svg {
        color: rgba(11, 15, 26, .18);
    }

    .starbtn.off svg path {
        fill: transparent;
        stroke: currentColor;
        stroke-width: 2;
    }

    .starbtn.on svg path {
        fill: currentColor;
    }

    /* Full-page drag & drop overlay */
    .drag-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: none;
        pointer-events: none;
        /* overlay только визуальный, чтобы элементы страницы не "ломались" */
        background: rgba(0, 0, 0, 0.20);
        backdrop-filter: blur(2px);
    }

    body.drag-active .drag-overlay {
        display: block;
    }

    .drag-overlay-inner {
        position: absolute;
        inset: 18px;
        border: 2px dashed rgba(255, 255, 255, 0.55);
        border-radius: 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.06);
    }

    .drag-overlay-ico {
        width: 54px;
        height: 54px;
        opacity: 0.95;
    }

    .drag-overlay-title {
        font-weight: 700;
        font-size: 18px;
    }

    .drag-overlay-sub {
        opacity: 0.85;
        font-size: 14px;
    }

    /* Upload tags (formats / max duration / free minutes) */
    .dz-tags {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .dz-tag {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .42);
        border: 1px solid rgba(11, 15, 26, .10);
        color: rgba(11, 15, 26, .76);
        font-size: 13px;
        line-height: 1.2;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        white-space: nowrap;
    }

    .dz-tag.accent {
        background: rgba(255, 222, 89, .32);
        border-color: rgba(255, 222, 89, .55);
        color: rgba(11, 15, 26, .88);
        font-weight: 650;
    }

    /* Pricing */
    .pricing-grid {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        gap: 18px;
        margin-top: 18px;
    }

    .pricing-card {
        border-radius: 24px;
        border: 1px solid rgba(11, 15, 26, .10);
        background:
            radial-gradient(900px 520px at 20% 20%, rgba(255, 222, 89, .42), transparent 62%),
            radial-gradient(820px 520px at 85% 15%, rgba(255, 222, 89, .18), transparent 58%),
            rgba(255, 255, 255, .62);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        padding: 36px 36px;
        box-shadow: 0 16px 44px rgba(0, 0, 0, .08);
    }

    .pricing-top {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .pricing-name {
        font-weight: 800;
        font-size: 18px;
        letter-spacing: -0.2px;
    }

    .pricing-price {
        font-weight: 900;
        font-size: 22px;
        letter-spacing: -0.4px;
    }

    .pricing-unit {
        font-weight: 700;
        font-size: 14px;
        opacity: .75;
    }

    .pricing-list {
        margin: 0;
        padding-left: 18px;
        color: rgba(11, 15, 26, .78);
        line-height: 1.7;
    }

    .pricing-note {
        border-radius: 24px;
        border: 1px solid rgba(11, 15, 26, .10);
        background: rgba(255, 255, 255, .40);
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
        padding: 36px 36px;
    }

    .note-title {
        font-weight: 800;
        margin-bottom: 6px;
    }

    .note-text {
        margin: 0;
        color: rgba(11, 15, 26, .70);
        line-height: 1.7;
    }

    @media (max-width: 900px) {
        .pricing-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 900px) {
        .pricing-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Footer redesign: light background, plain links */
    .footer {
        background: rgba(245, 246, 248, 1);
        border-top: 1px solid rgba(11, 15, 26, .08);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-brand img {
        margin: 0;
    }

    .footer-inner {
        max-width: 1120px;
        margin: 0 auto;
        padding: 30px 20px;
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 18px;
    }

    @media (max-width: 750px) {
        .footer-inner {
            grid-template-columns: 1fr;
        }
    }

    .footer-nav a,
    .footer-contacts a {
        display: inline;
        padding: 0;
        border: 0;
        background: transparent;
        text-decoration: underline;
        text-decoration-color: rgba(11, 15, 26, .25);
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 20px;
        margin-top: 20px;
    }

    .email-link {
        text-decoration: underline;
        text-decoration-color: rgba(11, 15, 26, .25);
    }

    .footer-nav a:hover,
    .footer-nav a:active {
        background: transparent;
    }

    /* Mobile menu backdrop (darken full screen) */
    .mobile-menu-backdrop {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, .52);
        display: none;
        z-index: 60;
    }

    body.menu-open .mobile-menu-backdrop {
        display: block;
    }

    .footer-contacts-lines {
        display: flex;
        flex-direction: column;
        gap: 8px;
        color: rgba(11, 15, 26, .78);
        font-size: 14px;
        line-height: 1.35;
    }

    .accept-row {
        margin-top: 12px;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        justify-content: center;
        color: rgba(11, 15, 26, .70);
        font-size: 13px;
        line-height: 1.45;
    }

    .accept-row input {
        margin-top: 2px;
    }

    .accept-row a {
        color: rgba(11, 15, 26, .78);
        text-decoration: underline;
        text-decoration-color: rgba(11, 15, 26, .25);
    }

    /* Mini modal */
    .mini-modal-backdrop {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, .55);
        z-index: 200;
    }

    .mini-modal {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 210;
        padding: 20px;
        box-sizing: border-box;
    }

    .mini-modal-box {
        width: min(520px, 100%);
        background: rgba(255, 255, 255, .96);
        border: 1px solid rgba(11, 15, 26, .10);
        border-radius: 16px;
        box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
        padding: 18px 18px 14px;
    }

    .mini-modal-title {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .mini-modal-text {
        color: rgba(11, 15, 26, .78);
        font-size: 14px;
        line-height: 1.45;
    }

    .mini-modal-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 14px;
    }

    /* afterPick flash highlight */
    @keyframes afterPickFlash {
        0% {
            box-shadow: 0 0 0 rgba(255, 214, 0, 0);
            background: rgba(255, 214, 0, 0);
        }

        30% {
            box-shadow: 0 0 0 6px rgba(255, 214, 0, .22);
            background: rgba(255, 214, 0, .10);
        }

        100% {
            box-shadow: 0 0 0 rgba(255, 214, 0, 0);
            background: rgba(255, 214, 0, 0);
        }
    }

    #afterPick.flash {
        animation: afterPickFlash .9s ease-out 1;
        border-radius: 14px;
    }


    /* ===== FAQ groups ===== */
    .faq-group-title {
        font-size: 18px;
        font-weight: 600;
        margin: 10px 40px;
        color: #222;
        opacity: 0.9;

        /* превращаем в "кнопку-заголовок" */
        width: calc(100% - 80px);
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: space-between;

        background: transparent;
        border: 0;
        padding: 10px 10px;
        border-radius: 14px;
        cursor: pointer;
        text-align: left;
    }

    .faq-group-title:hover {
        background: rgba(0, 0, 0, .04);
    }

    .faq-group-text {
        flex: 1;
    }

    /* left icon */
    .faq-group-ic {
        width: 18px;
        height: 18px;
        display: inline-block;
        border-radius: 6px;
        background: rgba(255, 222, 89, .35);
        border: 1px solid rgba(11, 15, 26, .10);
        position: relative;
    }

    .faq-group-ic::after {
        content: "";
        position: absolute;
        inset: 4px;
        border-radius: 4px;
        background: rgba(11, 15, 26, .18);
    }

    /* right chevron */
    .faq-group-ch {
        width: 10px;
        height: 10px;
        display: inline-block;
        border-right: 2px solid rgba(11, 15, 26, .55);
        border-bottom: 2px solid rgba(11, 15, 26, .55);
        transform: rotate(45deg);
        transition: transform .18s ease;
    }

    /* collapsed state */
    .faq-group.is-collapsed .faq-group-ch {
        transform: rotate(-45deg);
    }

    .faq-group.is-collapsed details {
        display: none;
    }

    .faq-group details:last-child {
        margin-bottom: 0;
    }

    .faq summary {
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .faq summary:hover {
        color: var(--accent-color);
        /* или твой основной акцент */
    }

    .faq-group {
        padding-top: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* Result UX (preview/full) */
    .result-summary {
        font-size: 14.5px;
        color: rgba(11, 15, 26, .78);
        line-height: 1.35;
        user-select: none;
        text-decoration: underline dotted;
        text-decoration-color: #787878;
        margin-left: 20px;
    }

    .result-summary.is-clickable {
        cursor: pointer;
    }

    .result-summary.is-clickable:hover {
        color: rgba(11, 15, 26, .92);
    }

    .result-details {
        margin-top: 8px;
        margin-left: 20px;
        font-size: 12.5px;
        color: rgba(11, 15, 26, .62);
        line-height: 1.55;
        white-space: pre-line;
    }

    /*
    .offer-box {
        padding: 12px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .50);
        border: 1px solid rgba(11, 15, 26, .10);
    }

    .offer-text {
        font-size: 13px;
        color: rgba(11, 15, 26, .78);
        line-height: 1.5;
        white-space: pre-line;
    }*/

    .offer-box {
        padding: 14px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .72);
        border: 1px solid rgba(11, 15, 26, .12);
        box-shadow: 0 10px 28px rgba(11, 15, 26, .06);
    }

    .offer-text {
        font-size: 14px;
        color: rgba(11, 15, 26, .88);
        line-height: 1.55;
    }

    /* inside offer text (priceBox uses innerHTML now) */
    .offer-lead {
        font-size: 13.5px;
        color: rgba(11, 15, 26, .82);
    }

    .offer-price {
        margin-top: 6px;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.2px;
        color: rgba(11, 15, 26, .96);
    }

    .offer-price span {
        color: var(--accent-color);
    }

    .offer-hint {
        margin-top: 6px;
        font-size: 12.5px;
        color: rgba(11, 15, 26, .62);
    }


    .ttl-note {
        font-size: 12.5px;
        color: rgba(11, 15, 26, .55);
        line-height: 1.5;
    }

    .pay-warn {
        margin: 0 0 12px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(255, 136, 0, .25);
        background: rgba(255, 136, 0, .08);
        color: rgba(11, 15, 26, .92);
        font-size: 13.5px;
        line-height: 1.45;
    }