    :root {
      --bg:       #040408;
      --surface:  rgba(10,10,18,0.96);
      --surf2:    rgba(16,16,28,0.98);
      --border:   rgba(255,255,255,0.06);
      --border2:  rgba(255,255,255,0.12);
      --text:     #eeeef8;
      --soft:     #8888aa;
      --dim:      #78789c;
      --accent:   #7c3aed;
      --acc2:     #a855f7; --cta2:#9333ea;
      --acc3:     #db2777;
      --acc-glow: rgba(124,58,237,0.4);
      --cyan:     #06b6d4;
      --green:    #10b981;
      --amber:    #f59e0b;
      --red:      #ef4444;
      --r:        12px;
      --r-lg:     20px;
      --r-xl:     30px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Manrope', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.6;
    }
    .bg-grid {
      position: fixed; inset: 0; pointer-events: none; z-index: 0;
      background-image:
        linear-gradient(rgba(108,75,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,75,255,0.03) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .bg-glow {
      position: fixed; pointer-events: none; z-index: 0;
      border-radius: 50%; filter: blur(120px); opacity: 0.18;
    }
    .bg-glow-1 { width: 700px; height: 500px; background: var(--accent); top: -100px; left: -100px; }
    .bg-glow-2 { width: 500px; height: 500px; background: var(--acc2); top: 30%; right: -100px; }
    .bg-glow-3 { width: 600px; height: 300px; background: var(--cyan); bottom: 10%; left: 20%; }

    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2rem; height: 64px;
      background: rgba(6,6,16,0.88);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); }
    .nav-logo-lockup { height:28px; width:auto; max-width:min(180px, 46vw); display:block; flex-shrink:1; object-fit:contain; }
    .nav-logo-icon {
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; line-height: 0; height: 26px;
    }
    .nav-logo-icon img { height: 22px; width: auto; display: block; }
    .nav-logo-name {
      font-family: 'Manrope', system-ui, sans-serif;
      font-weight: 500; font-size: 1.05rem; letter-spacing: -.03em;
      background: linear-gradient(90deg, #c4b5fd 0%, #93c5fd 45%, #67e8f9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .nav-logo-badge {
      font-size: .6rem; font-weight: 500; letter-spacing: .06em;
      text-transform: uppercase; padding: 2px 6px; border-radius: 4px;
      background: var(--accent);
      color: #fff; margin-left: 2px;
    }
    .nav-links { display: flex; align-items: center; gap: .25rem; }
    .nav-link {
      padding: .45rem .9rem; border-radius: var(--r);
      color: var(--soft); font-size: .9rem; text-decoration: none;
      transition: color .15s, background .15s;
    }
    .nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
    .nav-link.active { color: var(--text); background: rgba(108,75,255,0.12); }
    .nav-cta {
      padding: .5rem 1.2rem; border-radius: var(--r);
      background: linear-gradient(135deg, var(--accent), var(--cta2));
      color: #fff; font-size: .9rem; font-weight: 500;
      text-decoration: none; transition: opacity .15s, transform .15s;
      box-shadow: 0 0 20px var(--acc-glow);
    }
    .nav-cta:hover { opacity: .9; transform: translateY(-1px); }
    .mm-lang-switch {
      display: inline-flex; align-items: center; gap: .35rem; margin-right: .5rem;
      font-size: .85rem; color: var(--soft);
    }
    .mm-lang-switch a {
      color: var(--soft); text-decoration: none; font-weight: 500;
      padding: .2rem .35rem; border-radius: 6px; cursor: pointer;
    }
    .mm-lang-switch a:hover { color: var(--text); }
    .mm-lang-switch a.mm-lang-active { color: var(--text); text-decoration: underline; }
    @media (max-width: 900px) {
      .nav-link { display: none; }
      .nav-logo-lockup { height:24px; max-width:min(150px, 40vw); object-fit:contain; }
      nav { padding: 0 1rem; flex-wrap: wrap; height: auto; min-height: 64px; row-gap: .4rem; }
      .nav-cta {
        display: inline-flex; align-items: center; justify-content: center;
        min-height: 44px; padding: .5rem 1rem;
      }
      .mm-lang-switch a { padding: .4rem .55rem; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; }
    }

    .page-wrap { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 2rem; }
    .section-label {
      display: inline-block; font-size: .72rem; font-weight: 500;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--acc2); margin-bottom: .75rem;
    }
    .hero-title {
      font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500;
      line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1rem;
    }
    .hero-sub { color: var(--soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 2rem; max-width: 640px; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .85rem 2rem; border-radius: var(--r);
      background: linear-gradient(135deg, var(--accent), var(--cta2));
      color: #fff; font-size: 1rem; font-weight: 500;
      text-decoration: none; transition: opacity .15s, transform .15s;
      box-shadow: 0 0 30px var(--acc-glow);
    }
    .btn-primary:hover { opacity: .9; transform: translateY(-2px); }

    .content-section { margin-top: 3.5rem; }
    .content-section h2 {
      font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 500;
      margin-bottom: 1.25rem; letter-spacing: -.01em;
    }
    .card {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--r-lg); padding: 1.5rem;
      transition: transform .2s, box-shadow .2s;
    }
    .card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(108,75,255,0.12); }
    .card h3 { font-size: 1rem; font-weight: 500; margin-bottom: .5rem; color: var(--acc2); }
    .card p { font-size: .9rem; color: var(--soft); line-height: 1.55; }

    .checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
    .checklist li {
      display: flex; align-items: flex-start; gap: .75rem;
      font-size: .95rem; color: var(--soft); line-height: 1.55;
    }
    .checklist li::before {
      content: '';
      flex-shrink: 0;
      width: 22px; height: 22px;
      margin-top: 2px;
      border-radius: 6px;
      background-color: var(--accent);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      box-shadow: 0 0 12px var(--acc-glow);
    }
    .checklist li strong { color: var(--text); }

    .note-box {
      margin-top: 1.25rem; padding: 1rem 1.25rem;
      border-radius: var(--r); font-size: .9rem; color: var(--soft); line-height: 1.6;
      background: rgba(124,58,237,0.08);
      border: 1px solid rgba(124,58,237,0.2);
    }
    .note-box strong { color: var(--acc2); }

    .cross-links { margin-top: 2.5rem; color: var(--soft); font-size: .9rem; }
    .cross-links a { color: var(--acc2); text-decoration: none; }
    .cross-links a:hover { text-decoration: underline; }

    .cta-banner {
      margin-top: 4rem;
      padding: 2.5rem 2rem;
      border-radius: var(--r-xl);
      background: linear-gradient(135deg, rgba(108,75,255,0.18), rgba(168,85,247,0.1), rgba(34,211,238,0.08));
      border: 1px solid rgba(108,75,255,0.3);
      text-align: center;
      box-shadow: 0 0 60px rgba(108,75,255,0.15);
    }
    .cta-banner h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 500; margin-bottom: .6rem; }
    .cta-banner p { color: var(--soft); margin-bottom: 1.5rem; }

    footer {
      position: relative; z-index: 1;
      border-top: 1px solid var(--border);
      padding: 3rem 2rem 2rem;
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 2rem; max-width: 980px; margin: 0 auto;
    }
    .foot-brand { display: flex; flex-direction: column; gap: .75rem; }
    .foot-logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); }
    .foot-logo-lockup { height:22px; width:auto; display:block; object-fit:contain; }
    .foot-logo-icon {
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; line-height: 0; height: 20px;
    }
    .foot-logo-icon img { height: 17px; width: auto; display: block; }
    .foot-logo-name {
      font-family: 'Manrope', system-ui, sans-serif;
      font-weight: 500; font-size: .95rem; letter-spacing: -.03em;
      background: linear-gradient(90deg, #c4b5fd 0%, #93c5fd 45%, #67e8f9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .foot-desc { font-size: .82rem; color: var(--dim); line-height: 1.6; max-width: 220px; }
    .foot-version { font-size: .72rem; color: var(--dim); font-family: 'JetBrains Mono', monospace; }
    .foot-col-title { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: .85rem; }
    .foot-col a {
      display: block; font-size: .85rem; color: var(--soft);
      text-decoration: none; margin-bottom: .55rem; transition: color .15s;
    }
    .foot-col a:hover { color: var(--text); }
    .foot-bottom {
      position: relative; z-index: 1;
      max-width: 980px; margin: 0 auto;
      padding: 1.25rem 2rem;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      font-size: .78rem; color: var(--dim);
      flex-wrap: wrap; gap: .5rem;
    }
    @media (max-width: 700px) {
      footer { grid-template-columns: 1fr 1fr; }
      .foot-brand { grid-column: 1 / -1; }
      .foot-bottom { flex-direction: column; text-align: center; }
    }
    @media (max-width: 480px) {
      footer { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 1.5rem; }
      .nav-logo-badge { display: none; }
      .nav-cta { font-size: .82rem; padding: .5rem .9rem; }
      .page-wrap { padding: 2rem 1rem 1.5rem; }
      .hero-sub { font-size: .98rem; }
      .content-section { margin-top: 2.5rem; }
      .cta-banner { padding: 2rem 1.25rem; }
      .foot-bottom { padding: 1rem 1.25rem; }
    }
    @media (max-width: 380px) {
      .nav-logo-lockup { height:22px; max-width:min(120px, 36vw); object-fit:contain; }
      .nav-logo-name { font-size: .92rem; }
      .nav-cta { padding: .45rem .7rem; font-size: .76rem; }
      .hero-title { font-size: 1.5rem; }
      .content-section h2 { font-size: 1.15rem; }
      .section-label { font-size: .66rem; }
      .btn-primary { padding: .7rem 1.3rem; font-size: .92rem; min-height: 44px; }
      .card { padding: 1.1rem; }
      .checklist li { font-size: .88rem; }
      .note-box { padding: .85rem 1rem; font-size: .85rem; }
      .cta-banner { padding: 1.5rem 1rem; }
      .cta-banner h2 { font-size: 1.3rem; }
    }
    /* Бесплатная минусовка прямо на странице (10.10.2026) */
    .st-tool { margin: 0 0 1.75rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border2); }
    .st-tool h2 { font-size: 1.25rem; font-weight: 500; margin-bottom: .35rem; }
    .st-tool .st-sub { color: var(--soft); font-size: .92rem; margin-bottom: 1rem; }
    .st-modes { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .9rem; }
    .st-modes label { display: flex; align-items: center; gap: .45rem; font-size: .92rem; cursor: pointer; }
    .st-pick { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
    .st-btn { padding: .7rem 1.4rem; border-radius: var(--r); border: 0; cursor: pointer; font: inherit; font-weight: 500; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cta2)); min-height: 44px; }
    .st-btn[disabled] { opacity: .5; cursor: default; }
    .st-btn.ghost { background: transparent; border: 1px solid var(--border2); color: var(--text); text-decoration: none; display: inline-flex; align-items: center; }
    .st-quota { font-size: .85rem; color: var(--soft); margin-top: .8rem; }
    .st-status { margin-top: .8rem; font-size: .92rem; color: var(--soft); min-height: 1.2em; }
    .st-status.bad { color: var(--red); } .st-status.ok { color: var(--green); }
    .st-result { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .st-result audio { width: 100%; margin: .4rem 0 .8rem; }
    .st-result .st-row { display: flex; flex-wrap: wrap; gap: .6rem; }
    .st-login { display: none; margin-top: .8rem; }
    .st-rate { display: none; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--border); }
    .st-rate-q { font-weight: 500; margin-bottom: .5rem; }
    .st-rate .st-btn.ghost { font-size: 1.3rem; padding: .5rem 1.2rem; }
    .st-rate-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
    .st-daw-survey { margin: .8rem 0; padding: .8rem 1rem; border: 1px solid var(--border2); border-radius: var(--r); }
    .st-daw-survey .st-chip { max-width: 100%; text-align: left; }
    .st-chip { padding: .4rem .8rem; min-height: 36px; border-radius: 999px; border: 1px solid var(--border2); background: transparent; color: var(--text); font: inherit; font-size: .85rem; cursor: pointer; }
    .st-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
    .st-rate textarea { width: 100%; box-sizing: border-box; margin-bottom: .6rem; padding: .5rem .7rem; border-radius: var(--r); border: 1px solid var(--border2); background: transparent; color: var(--text); font: inherit; resize: vertical; }
    .st-rate-err { color: var(--red); font-size: .88rem; min-height: 1.2em; }
    .st-rate-thanks { display: none; color: var(--green); font-weight: 500; }
    /* Предпросмотр 30 с и «сообщим, когда готово» (13.10): блоки видны, только когда есть что показать */
    .st-extra { display: none; margin-top: .9rem; padding: .9rem; border-radius: var(--r); border: 1px solid var(--border2); }
    .st-extra.on { display: block; }
    .st-extra > p { font-size: .92rem; margin: 0 0 .6rem; }
    .st-extra audio { width: 100%; }
    .st-notify .st-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
    .st-notify-mail { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
    .st-notify-mail label { font-size: .9rem; color: var(--soft); }
    .st-notify-mail input { flex: 1 1 14rem; min-height: 44px; box-sizing: border-box; padding: .5rem .7rem; border-radius: var(--r); border: 1px solid var(--border2); background: transparent; color: var(--text); font: inherit; }
    .st-notify-hint { flex-basis: 100%; font-size: .8rem; color: var(--soft); }
    .st-notify-state { font-size: .9rem; color: var(--soft); margin: .6rem 0 0; min-height: 1.2em; }
    .st-notify-state.ok { color: var(--green); } .st-notify-state.bad { color: var(--red); }
    .st-notify-lead { font-weight: 500; margin: 0 0 .25rem; }
    .st-notify-eta { font-size: .85rem; color: var(--soft); margin: 0 0 .6rem; }
    .st-limits { font-size: .8rem; color: var(--soft); margin: .4rem 0 0; }
    /* Дорожки результата — облик D: плоско, тонкие рамки, киноварь у активного. Прогресс — в стиле mm-processing. */
    .st-tracks{margin:14px 0 6px;padding:14px;border:1px solid var(--ds-line,#302c29);border-radius:var(--ds-r,10px);background:var(--ds-surface,#1d1b19);display:grid;gap:12px}
    .st-tracks[hidden]{display:none}
    .st-tr-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
    .st-tr-tools{display:flex;flex-wrap:wrap;gap:8px}
    .st-tr-seek{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
    .st-tr-seek input[type=range]{flex:1 1 200px;min-width:0;accent-color:var(--ds-cta,#c93a14)}
    .st-tlist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
    .st-track{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--ds-line,#302c29);border-radius:var(--ds-r-sm,8px)}
    .st-track.is-off{opacity:.55}
    .st-tr-solo{width:44px;height:44px;border:1px solid var(--ds-line-strong,#47413c);border-radius:var(--ds-r-sm,8px);background:transparent;color:var(--ds-text,#f3ece2);cursor:pointer;font-size:14px}
    .st-tr-solo[aria-pressed="true"]{background:var(--ds-cta,#c93a14);border-color:var(--ds-cta,#c93a14);color:var(--ds-on-cta,#fff)}
    .st-tr-body{min-width:0;display:grid;gap:4px}
    .st-tr-name{display:flex;justify-content:space-between;gap:8px;font-weight: 500;font-size:14px}
    .st-tr-dur{font:500 12px/1.4 var(--ds-font-mono,ui-monospace,monospace);color:var(--ds-soft,#b8ada0)}
    .st-tr-wave{width:100%;height:36px;display:block;cursor:pointer;background:var(--ds-lcd,#0b0a09);border-radius:4px}
    .st-tr-mute,.st-tr-dl{min-height:44px;white-space:nowrap}
    .st-tr-solo:focus-visible,.st-tr-mute:focus-visible,.st-tr-dl:focus-visible,.st-tr-wave:focus-visible{outline:2px solid var(--ds-focus,#ff7a52);outline-offset:2px}
    @media (max-width:520px){.st-track{grid-template-columns:auto minmax(0,1fr)}.st-tr-mute,.st-tr-dl{min-width:0}}
    /* Облик D: основные кнопки — киноварь #c93a14 с белым текстом; вторичные — контурные. Без градиентов. */
    .st-btn{background:var(--ds-cta,#c93a14) !important;background-image:none !important;color:var(--ds-on-cta,#fff) !important;border:1px solid var(--ds-cta,#c93a14) !important;box-shadow:none !important}
    .st-btn.ghost{background:transparent !important;background-image:none !important;color:var(--ds-text,#f3ece2) !important;border:1px solid var(--ds-line-strong,#47413c) !important}
    .st-btn[disabled]{opacity:.45 !important}
    #stProgress{display:none}
    #stProgress .sp-track{height:6px}
    #stProgress *{box-shadow:none !important}
    @media (prefers-reduced-motion:reduce){#stProgress *{animation:none !important;transition:none !important}}
    /* Редизайн 2026: оформление — /mm-ds.css (.ds-landing). Прежние имена
       переменных направлены на токены обеих тем: ими пользуются стили
       собственных компонентов страницы и встроенные style="" в переводах. */
    :root, html.theme-light {
      --bg: var(--ds-bg); --surface: var(--ds-surface); --surf2: var(--ds-surface-2);
      --border: var(--ds-line); --border2: var(--ds-line-strong);
      --text: var(--ds-text); --soft: var(--ds-soft); --dim: var(--ds-dim);
      --acc2: var(--ds-acc); --accent: var(--ds-cta);
      --green: var(--ds-ok); --amber: var(--ds-warn);
    }
