    *, *::before, *::after { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      color: var(--text);
      background: var(--bg);
      font-size: 15px;
      line-height: 1.5;
    }
    a { color: var(--accent); text-decoration: none; }

    /* ===== HEADER ===== */
    .site-header {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      padding: 0 24px;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .site-header__inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      height: 64px;
      gap: 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text);
      flex-shrink: 0;
    }
    .logo-icon {
      width: 32px; height: 32px;
      flex-shrink: 0;
    }
    .logo-text {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: -0.4px;
      line-height: 1;
    }
    .logo-text em {
      color: var(--accent);
      font-style: normal;
    }
    .logo-tagline {
      font-size: 11px;
      color: var(--text-muted);
      font-weight: 400;
      margin-top: 2px;
      letter-spacing: 0;
    }
    .header-nav {
      display: flex;
      gap: 4px;
    }
    .header-nav a {
      font-size: 14px;
      color: var(--text-muted);
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 8px;
      transition: color .15s, background .15s;
    }
    .header-nav a:hover { color: var(--text); background: var(--bg-soft); }
    .header-sep { flex: 1; }
    .header-cta {
      background: var(--accent);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 8px;
      text-decoration: none;
      transition: background .15s;
      white-space: nowrap;
    }
    .header-cta:hover { background: var(--accent-dark); }
    @media (max-width: 640px) {
      .header-nav { display: none; }
      .logo-tagline { display: none; }
      .site-header__inner { height: 56px; gap: 12px; }
    }

    /* ===== HERO ===== */
    .hero {
      background: linear-gradient(145deg, #C2D8FF 0%, #D9EAFF 30%, #EBF2FF 65%, #F4F7FB 100%);
      padding: 64px 24px 56px;
      text-align: center;
      border-bottom: 3px solid var(--accent);
    }
.hero__tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0,102,255,0.08);
      color: var(--accent);
      font-size: 13px;
      font-weight: 600;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .hero__tag-icon { width: 14px; height: 14px; flex-shrink: 0; }
    .hero h1 {
      margin: 0 0 16px;
      font-size: 42px;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -1px;
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero h1 em { color: var(--accent); font-style: normal; }
    .hero p {
      color: var(--text-muted);
      font-size: 18px;
      max-width: 560px;
      margin: 0 auto 32px;
    }

    /* ===== SECTION WRAPPER ===== */
    .section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 48px 24px;
    }
    .section-title {
      font-size: 24px;
      font-weight: 700;
      margin: 0 0 24px;
    }

    /* ===== TYPE CARDS ===== */
    .type-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .type-card {
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      cursor: pointer;
      transition: border-color .18s, box-shadow .18s, transform .18s;
      position: relative;
      text-align: left;
    }
    .type-card:not(.type-card--disabled):hover {
      border-color: var(--accent);
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }
    .type-card.active {
      border-color: var(--accent);
      background: #F0F5FF;
    }
    .type-card__icon { font-size: 32px; margin-bottom: 12px; }
    .type-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
    .type-card p  { margin: 0; color: var(--text-muted); font-size: 13px; }

    /* ===== FORM SECTION ===== */
    #form-section {
      background: var(--bg-soft);
      border-top: 1px solid var(--border);
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height .45s cubic-bezier(0.4,0,0.2,1), opacity .3s ease .1s;
      scroll-margin-top: 80px;
    }
    #form-section.visible { max-height: 9999px; opacity: 1; }

    .form-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 40px 24px 48px;
    }

    /* ===== FORM PROGRESS ===== */
    .form-progress {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px 20px;
      margin-bottom: 28px;
    }
    .form-progress__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .form-progress__label {
      font-size: 13px;
      color: var(--text-muted);
    }
    .form-progress__pct {
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
    }
    .form-progress__bar {
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      overflow: hidden;
      margin-bottom: 14px;
    }
    .form-progress__fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), #00A86B);
      border-radius: 3px;
      transition: width .4s ease;
      width: 0%;
    }
    .form-progress__sections {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .form-progress__sec {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: var(--text-muted);
      background: var(--bg-soft);
      border-radius: 20px;
      padding: 3px 10px;
      transition: all .2s;
    }
    .form-progress__sec.done {
      color: var(--success);
      background: #E6F9F1;
    }
    .form-progress__sec .sec-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--border);
      flex-shrink: 0;
      transition: background .2s;
    }
    .form-progress__sec.done .sec-dot { background: var(--success); }
    .form-wrap h2 { font-size: 22px; font-weight: 700; margin: 0 0 28px; }

    /* fieldset groups */
    .form-group {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      margin-bottom: 20px;
    }
    .form-group__title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: .5px;
      margin: 0 0 20px;
    }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
    .full { grid-column: 1/-1; }
    .grid-inn  { display: grid; grid-template-columns: 200px 1fr; gap: 16px; margin-bottom: 12px; }
    .grid-party { display: grid; grid-template-columns: 200px 1fr 180px; gap: 16px; }
    .grid-addr { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

    label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 5px;
    }
    label .req { color: var(--error); margin-left: 2px; }
    input, select, textarea {
      width: 100%;
      padding: 10px 13px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      background: var(--bg);
      transition: border-color .15s;
      outline: none;
    }
    input:focus, select:focus, textarea:focus { border-color: var(--accent); }
    input.invalid, select.invalid, textarea.invalid {
      border-color: var(--error);
      background: #FFF5F5;
    }
    .field-error-msg {
      font-size: 12px;
      color: var(--error);
      margin-top: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .field-error-msg::before { content: '!'; font-weight: 700; }
    textarea { resize: vertical; min-height: 80px; }
    select {
      -webkit-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%235A6A7A'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 10px 6px;
      padding-right: 32px;
    }

    /* ===== CUSTOM SELECT (country) ===== */
    .csel { position: relative; }
    .csel__trigger {
      display: flex; align-items: center;
      padding: 10px 32px 10px 13px; border: 1.5px solid var(--border);
      border-radius: var(--radius-sm); cursor: pointer;
      background-color: var(--bg); font-size: 14px; color: var(--text); line-height: normal;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%235A6A7A'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 10px 6px;
      transition: border-color .15s; outline: none; user-select: none;
    }
    .csel__trigger:focus, .csel.open .csel__trigger { border-color: var(--border); }
    .csel.open .csel__trigger {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 6l5-6 5 6' fill='%235A6A7A'/%3E%3C/svg%3E");
    }
    .csel.invalid .csel__trigger { border-color: var(--error); background-color: #FFF5F5; }
    .csel__panel {
      display: none; position: absolute; top: calc(100% + 2px); left: 0; right: 0;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: var(--radius-sm); z-index: 300;
      box-shadow: 0 8px 24px rgba(10,25,41,.14);
    }
    .csel.open .csel__panel { display: block; }
    .csel__scroll { max-height: calc(10 * 37px); overflow-y: auto; padding: 4px 0; }
    .csel__opt {
      padding: 9px 13px; cursor: pointer; font-size: 14px;
      color: var(--text); transition: background .1s; white-space: nowrap;
      overflow: hidden; text-overflow: ellipsis;
    }
    .csel__opt:hover { background: var(--bg-soft); }
    .csel__opt.sel { color: var(--accent); font-weight: 600; background: #F0F5FF; }
    .csel__opt--other { color: var(--text-muted); border-top: 1px solid var(--border); margin-top: 2px; }

    /* ===== FIELD HINTS ===== */
    .field-hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
      line-height: 1.4;
    }
    .field-hint code {
      font-family: monospace;
      background: var(--bg-soft);
      border-radius: 3px;
      padding: 0 4px;
      font-size: 11px;
      color: var(--text);
    }
    /* ── Field tooltip ── */
    .label-wrap {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .field-tooltip {
      position: relative;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1;
    }
    .field-tooltip__icon {
      display: inline-block;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #dde8ff;
      color: #3366cc;
      font-size: 10px;
      font-weight: 700;
      text-align: center;
      line-height: 16px;
      user-select: none;
      flex-shrink: 0;
    }
    .field-tooltip__popup {
      display: none;
      position: absolute;
      bottom: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%);
      background: #1a2236;
      color: #eef2ff;
      font-size: 12px;
      line-height: 1.55;
      padding: 9px 12px;
      border-radius: 8px;
      width: 240px;
      z-index: 200;
      pointer-events: none;
      box-shadow: 0 4px 16px rgba(0,0,0,.25);
    }
    .field-tooltip__popup::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 5px solid transparent;
      border-top-color: #1a2236;
    }
    .field-tooltip:hover .field-tooltip__popup,
    .field-tooltip:focus .field-tooltip__popup {
      display: block;
    }
    .form-preamble {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      background: #f0f7ff;
      border: 1px solid #c7dffe;
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 20px;
      font-size: 13px;
      color: var(--text);
      line-height: 1.55;
    }
    .form-preamble__icon { flex-shrink: 0; margin-top: 1px; }
    .form-preamble__icon svg { width: 18px; height: 18px; }

    /* ===== TRANSLIT HINT ===== */
    .translit-hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 3px;
      font-style: italic;
      display: none;
    }
    .translit-hint.visible { display: block; }
    .translit-hint::before { content: '→ '; opacity: .6; }

    /* ===== GOODS ===== */
    .good-item {
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      margin-bottom: 14px;
      background: var(--bg-soft);
      position: relative;
    }
    .good-item__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .good-item__num {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
    }
    .btn-remove-good {
      background: none;
      border: 1px solid var(--border);
      color: var(--text-muted);
      border-radius: var(--radius-sm);
      padding: 4px 12px;
      font-size: 13px;
      cursor: pointer;
      transition: color .15s, border-color .15s;
    }
    .btn-remove-good:hover { color: var(--error); border-color: var(--error); }

    .btn-add-good {
      background: none;
      border: 2px dashed var(--border);
      color: var(--accent);
      border-radius: var(--radius);
      padding: 12px 24px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      margin-top: 4px;
      transition: border-color .15s, background .15s;
    }
    .btn-add-good:hover { border-color: var(--accent); background: #F0F5FF; }

    /* custom payment terms */
    #custom-payment-wrap { display: none; }

    /* ===== SUBMIT ===== */
    .form-submit { margin-top: 28px; }
    .submit-box {
      background: linear-gradient(135deg, #F0F5FF 0%, #EAF2FF 100%);
      border: 1px solid #C8D8F8;
      border-radius: var(--radius-lg);
      padding: 24px 28px 20px;
      text-align: center;
    }
    .submit-box__field {
      text-align: left;
      margin-bottom: 18px;
    }
    .submit-box__field label {
      display: block;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text);
    }
    .submit-box__field input[type="email"] {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid #B8CCF0;
      border-radius: var(--radius);
      font-size: 15px;
      font-family: inherit;
      background: #fff;
      color: var(--text);
      transition: border-color .15s;
    }
    .submit-box__field input[type="email"]:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
    }
    .submit-box__hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 5px;
    }
    .submit-box__note {
      color: var(--text-muted);
      font-size: 12px;
      margin: 12px 0 0;
    }
    .btn-generate {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--radius);
      padding: 16px 48px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: background .15s, transform .1s;
      box-shadow: 0 4px 16px rgba(0,102,255,0.25);
    }
    .btn-generate:hover { background: var(--accent-dark); transform: translateY(-1px); }
    .btn-generate:active { transform: none; }
    .btn-generate svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }

    /* ===== PROGRESS MODAL ===== */
    #progress-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(10,25,41,0.55);
      z-index: 200;
      align-items: center;
      justify-content: center;
    }
    #progress-modal.show { display: flex; }
    .progress-card {
      background: var(--bg);
      border-radius: var(--radius-xl);
      padding: 40px 48px;
      max-width: 480px;
      width: 90%;
      box-shadow: 0 20px 60px rgba(10,25,41,0.2);
    }
    .progress-card h3 { margin: 0 0 28px; font-size: 20px; }
    .progress-card h3 svg { width: 22px; height: 22px; vertical-align: -4px; margin-right: 2px; }
    .progress-steps { list-style: none; margin: 0; padding: 0; }
    .progress-step {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 10px 0;
      color: var(--text-muted);
      font-size: 14px;
      transition: color .3s;
    }
    .progress-step.done { color: var(--success); }
    .progress-step.active { color: var(--text); font-weight: 600; }
    .step-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--bg-soft);
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      flex-shrink: 0;
      transition: all .3s;
    }
    .progress-step.done .step-icon {
      background: var(--success);
      border-color: var(--success);
      color: #fff;
    }
    .progress-step.active .step-icon {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .spinner {
      width: 14px; height: 14px;
      border: 2px solid rgba(255,255,255,.4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin .7s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ===== TNVED MODAL ===== */
    #tnved-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(10,25,41,.45);
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    #tnved-modal.open { display: flex; }
    .tnved-card {
      background: #fff;
      border-radius: 16px;
      width: 100%;
      max-width: 680px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 24px 64px rgba(10,25,41,.18);
      overflow: hidden;
    }
    .tnved-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px 20px 14px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }
    .tnved-header h3 { margin: 0; font-size: 17px; font-weight: 700; flex: 1; }
    .tnved-close {
      width: 32px; height: 32px;
      border: none; background: var(--bg-soft);
      border-radius: 8px; cursor: pointer;
      font-size: 18px; line-height: 32px; text-align: center;
      color: var(--text-muted); flex-shrink: 0;
      transition: background .15s;
    }
    .tnved-close:hover { background: var(--border); }
    .tnved-search-wrap {
      padding: 14px 20px 10px;
      flex-shrink: 0;
    }
    #tnved-input {
      width: 100%;
      padding: 10px 14px;
      font-size: 15px;
      font-family: inherit;
      border: 2px solid var(--border);
      border-radius: 10px;
      outline: none;
      transition: border-color .15s;
    }
    #tnved-input:focus { border-color: var(--accent); }
    .tnved-hint {
      font-size: 12px;
      color: var(--text-muted);
      padding: 0 20px 8px;
      flex-shrink: 0;
    }
    .tnved-results {
      overflow-y: auto;
      flex: 1;
    }
    .tnved-row {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 12px;
      align-items: center;
      padding: 10px 20px;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      transition: background .1s;
    }
    .tnved-row:last-child { border-bottom: none; }
    .tnved-row:hover { background: var(--bg-soft); }
    .tnved-code {
      font-family: 'Courier New', monospace;
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
    }
    .tnved-name {
      font-size: 13px;
      color: var(--text);
      line-height: 1.35;
    }
    .tnved-name em { background: #FFF3CD; font-style: normal; border-radius: 2px; padding: 0 1px; }
    .tnved-empty {
      padding: 32px 20px;
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
    }
    .tnved-count {
      font-size: 12px;
      color: var(--text-muted);
      padding: 0 20px 6px;
      flex-shrink: 0;
      min-height: 22px;
    }

    .inn-spinner {
      display: inline-block;
      width: 11px; height: 11px;
      border: 2px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin .7s linear infinite;
      vertical-align: middle;
      margin-right: 2px;
    }

    /* ===== PREVIEW ===== */
    #preview-section { display: none; }
    #preview-section.visible { display: block; }
    .preview-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 48px 24px;
    }
    .preview-header { margin-bottom: 28px; text-align: center; }
    .preview-header h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
    .preview-demo-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: #FFF8E6;
      border: 1px solid #FFD966;
      border-radius: 20px;
      padding: 5px 16px;
      font-size: 12px;
      font-weight: 600;
      color: #9A6F00;
      letter-spacing: .3px;
      margin-bottom: 14px;
    }
    .preview-demo-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
    .preview-demo-title {
      font-size: 21px;
      font-weight: 700;
      color: var(--text);
      margin: 0 0 8px;
    }
    .preview-demo-sub {
      font-size: 14px;
      color: var(--text-muted);
      margin: 0 0 20px;
    }

    .meta-grid {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 24px;
      justify-content: center;
    }
    .meta-badge {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 5px 14px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .meta-badge strong { color: var(--text); }

    .preview-clip {
      position: relative;
      max-height: 560px;
      overflow: hidden;
      border-radius: var(--radius);
    }
    .preview-clip.expanded {
      max-height: none;
    }
    .preview-clip-fade {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 140px;
      background: linear-gradient(transparent, #e8ecf0);
      pointer-events: none;
      z-index: 10;
    }
    .preview-clip.expanded .preview-clip-fade { display: none; }
    .preview-expand-btn {
      display: block;
      width: 100%;
      padding: 11px 16px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 500;
      color: var(--accent);
      cursor: pointer;
      text-align: center;
      transition: background .15s;
      font-family: inherit;
      margin-top: 8px;
      margin-bottom: 20px;
    }
    .preview-expand-btn:hover { background: var(--bg-soft); }
    .preview-expand-btn.hidden { display: none; }
    .preview-pages-container {
      user-select: none;
      -webkit-user-select: none;
      pointer-events: none;
      background: #e8ecf0;
      border-radius: var(--radius);
      padding: 16px;
      position: relative;
    }
    .preview-pages-container::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='200'%3E%3Ctext x='170' y='110' text-anchor='middle' dominant-baseline='middle' font-family='Arial Black,Arial' font-weight='900' font-size='72' fill='rgba(0,0,0,0.07)' transform='rotate(-38,170,110)'%3EДЕМО%3C/text%3E%3C/svg%3E");
      background-repeat: repeat;
      z-index: 2;
      border-radius: var(--radius);
    }
    /* docx-preview внутренние стили — отключаем выделение */
    .preview-pages-container .docx-wrapper {
      background: transparent !important;
      padding: 0 !important;
    }
    .preview-pages-container .docx-wrapper section.docx {
      box-shadow: 0 2px 12px rgba(10,25,41,0.12);
      margin-bottom: 16px;
      border-radius: 4px;
    }
    #preview-loading {
      text-align: center;
      padding: 48px 0;
      color: var(--text-muted);
      font-size: 15px;
    }
    #preview-loading .spin {
      display: inline-block;
      width: 32px; height: 32px;
      border: 3px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin .8s linear infinite;
      margin-bottom: 12px;
    }

    .preview-cta {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 32px;
      text-align: center;
      margin-top: 28px;
    }
    .cta-ready-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #E6F9F1;
      color: var(--success);
      border: 1px solid #A8E6C8;
      border-radius: 20px;
      padding: 6px 16px;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .cta-ready-badge::before {
      content: '';
      width: 8px; height: 8px;
      background: var(--success);
      border-radius: 50%;
      animation: pulse-dot 1.5s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: .5; transform: scale(1.3); }
    }
    .cta-steps {
      display: flex;
      justify-content: center;
      gap: 0;
      margin: 20px 0 24px;
      flex-wrap: wrap;
    }
    .cta-step {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .cta-step__num {
      width: 24px; height: 24px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .cta-step__arrow {
      color: var(--border);
      font-size: 18px;
      margin: 0 8px;
    }
    .btn-pay {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--radius);
      padding: 16px 40px;
      font-size: 17px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(0,102,255,0.25);
      transition: background .15s, transform .1s;
    }
    .btn-pay:hover { background: var(--accent-dark); transform: translateY(-1px); }
    .btn-pay:active { transform: none; }
    .btn-pay svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }
    [data-edit-btn] svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

    .pay-badges {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 16px;
    }
    .pay-badge {
      font-size: 13px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .pay-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

    /* ===== HERO TYPE CARDS ===== */
    .type-select-label {
      font-size: 14px;
      font-weight: 800;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .type-select-label__hint {
      font-weight: 600;
      color: var(--text-muted);
    }
    .type-select-label__arrow {
      display: inline-block;
      vertical-align: middle;
      animation: typeArrowBounce 1.6s ease-in-out infinite;
    }
    .type-select-label__arrow svg { width: 16px; height: 16px; display: block; }
    @keyframes typeArrowBounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(4px); }
    }
    .hero-type-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      max-width: 1100px;
      margin: 32px auto 0;
    }
    /* Привлекаем внимание, пока тип не выбран; пульс гаснет после выбора */
    @keyframes typeCardAttention {
      0%, 100% { box-shadow: 0 2px 10px rgba(0,102,255,0.07); }
      50% { box-shadow: 0 6px 22px rgba(0,102,255,0.28); }
    }
    .hero-type-cards:not(:has(.active)) .hero-type-card:not(.hero-type-card--disabled) {
      animation: typeCardAttention 2.4s ease-in-out 3;
    }
    /* Перестаём дёргать заголовок после выбора */
    #type-select:has(.hero-type-card.active) .type-select-label__arrow {
      animation: none;
      opacity: 0;
    }
    .hero-type-card {
      background: linear-gradient(180deg, #fff, #F5F9FF);
      border: 2px solid rgba(0,102,255,0.30);
      border-radius: var(--radius-lg);
      padding: 20px 16px 16px;
      cursor: pointer;
      text-align: center;
      position: relative;
      box-shadow: 0 2px 10px rgba(0,102,255,0.07);
      transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
    }
    .hero-type-card:not(.hero-type-card--disabled):hover {
      border-color: var(--accent);
      box-shadow: 0 8px 26px rgba(0,102,255,0.20);
      transform: translateY(-3px);
    }
    .hero-type-card.active {
      border-color: var(--accent);
      background: #F0F5FF;
      box-shadow: 0 6px 22px rgba(0,102,255,0.22);
    }
    /* Плашка-кнопка «Выбрать →» — явный сигнал кликабельности */
    .hero-type-card__cta {
      display: inline-block;
      margin-top: 12px;
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
      background: rgba(0,102,255,0.10);
      padding: 5px 14px;
      border-radius: 20px;
      transition: background .18s, color .18s;
    }
    .hero-type-card:not(.hero-type-card--disabled):hover .hero-type-card__cta,
    .hero-type-card.active .hero-type-card__cta {
      background: var(--accent);
      color: #fff;
    }
    .hero-type-card--disabled .hero-type-card__cta { display: none; }
    .hero-type-card.active::after {
      content: '✓';
      position: absolute;
      top: 8px; right: 8px;
      width: 20px; height: 20px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      font-size: 11px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .hero-type-card__icon { margin-bottom: 8px; color: var(--accent); }
    .hero-type-card__icon svg { width: 28px; height: 28px; }
    .hero-type-card__title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
    .hero-type-card__sub { font-size: 11px; color: var(--text-muted); line-height: 1.3; }
    .hero-price-hint {
      margin-top: 20px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .hero-price-hint strong { color: var(--text); }

    /* ===== HOW IT WORKS ===== */
    .how-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .how-step {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px 16px;
      text-align: center;
      box-shadow: var(--shadow);
    }
    .how-step__num {
      width: 32px; height: 32px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      font-size: 14px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 10px;
    }
    .how-step h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
    .how-step p { font-size: 13px; color: var(--text-muted); margin: 0; }

    /* ===== TRUST / ПРЕИМУЩЕСТВА ===== */
    .trust-items {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .trust-item {
      background: #fff;
      border-radius: var(--radius-lg);
      padding: 24px 16px;
      text-align: center;
      box-shadow: var(--shadow);
    }
    .trust-item__icon { margin-bottom: 10px; color: var(--accent); }
    .trust-item__icon svg { width: 28px; height: 28px; }
    .trust-item__title { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
    .trust-item__text { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.4; }

    /* ===== SEARCH CHIPS ===== */
    .search-chips-section { padding: 14px 24px 10px !important; }
    .search-chips-wrap { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
    .search-chips-label { font-size: 12px; color: var(--text-muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
    .search-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
    .search-chip { display: inline-flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; font-size: 13px; color: var(--text-muted); text-decoration: none; transition: border-color .15s, color .15s; white-space: nowrap; }
    .search-chip:hover { border-color: var(--accent); color: var(--accent); }
    .chip-extra { display: none; }
    .search-chips.expanded .chip-extra { display: inline-flex; }
    .chips-toggle-text {
      display: block;
      text-align: center;
      margin: 10px auto 16px;
      font-size: 12px;
      color: var(--text-muted);
      cursor: pointer;
      user-select: none;
      gap: 4px;
    }
    .chips-toggle-text:hover { color: var(--accent); }
    .chips-toggle-arrow { display: inline-block; transition: transform .3s; margin-right: 3px; }
    .chips-toggle-text.open .chips-toggle-arrow { transform: rotate(180deg); }
    .chips-toggle-count { opacity: .7; margin-left: 3px; }
    @media (max-width: 640px) { .search-chips-section { padding: 12px 16px 8px !important; } .search-chip { font-size: 12px; padding: 4px 10px; } }

    /* ===== COUNTRIES ===== */
    .countries-section {
      background: var(--bg-soft);
      border-top: 1px solid var(--border);
      padding: 48px 24px;
      text-align: center;
    }
    .countries-section--white {
      background: var(--bg);
    }
    .countries-section h2, .countries-section h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
    .countries-sub { color: var(--text-muted); font-size: 14px; margin: 0 0 28px; }
    .countries-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .country-item {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 8px 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      cursor: default;
      transition: border-color .15s, box-shadow .15s, transform .1s;
    }
    a.country-item {
      cursor: pointer;
      text-decoration: none;
    }
    a.country-item:hover {
      border-color: var(--accent);
      box-shadow: 0 2px 10px rgba(37,99,235,.13);
      transform: translateY(-2px);
      color: var(--accent);
    }
    a.country-item .country-link-badge {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .4px;
      color: var(--accent);
      background: #eff6ff;
      border-radius: 4px;
      padding: 1px 5px;
      margin-top: -2px;
    }
    .country-flag { font-size: 15px; line-height: 1; }
    .country-extra { display: none; }
    .countries-grid.expanded .country-extra { display: flex; }
    .countries-grid-outer { position: relative; max-width: 1100px; margin: 0 auto; }
    .countries-fade {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 72px;
      background: linear-gradient(transparent, var(--bg-soft));
      pointer-events: none;
      transition: opacity .25s;
    }
    .countries-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      max-width: 1100px;
      margin: 10px auto 0;
      padding: 13px 20px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      transition: border-color .15s, color .15s, background .15s;
      font-family: inherit;
    }
    .countries-toggle:hover { border-color: var(--accent); color: var(--accent); background: #f0f6ff; }
    .countries-toggle-arrow { font-size: 14px; transition: transform .3s; display: inline-block; }
    .countries-toggle.open .countries-toggle-arrow { transform: rotate(180deg); }
    .countries-toggle-count {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 20px;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 9px;
      color: var(--text-muted);
      transition: opacity .2s;
    }
    .countries-toggle.open .countries-toggle-count { opacity: 0; pointer-events: none; }
    @media (max-width: 768px) {
      .countries-grid { grid-template-columns: repeat(3, 1fr); }
      .how-steps { grid-template-columns: repeat(2, 1fr); }
      .trust-items { grid-template-columns: repeat(2, 1fr); }
      .hero-type-cards { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .how-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
      .trust-items { grid-template-columns: 1fr 1fr; gap: 12px; }
      .hero-type-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    }

    /* ===== LIVE FEED ===== */
    .live-section {
      background: #F8FAFD;
      border-top: 1px solid var(--border);
      padding: 48px 24px;
      text-align: center;
    }
    .live-section__head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 6px;
      flex-wrap: wrap;
    }
    .live-section__head h3 { font-size: 20px; font-weight: 700; margin: 0; }
    .live-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #ECFDF5;
      border: 1px solid #A7F3D0;
      border-radius: 50%;
      width: 24px;
      height: 24px;
    }
    .live-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #10B981;
      animation: livepulse 1.8s ease-in-out infinite;
    }
    @keyframes livepulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
      50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
    }
    .feed-outer {
      position: relative;
      max-width: 1100px;
      margin: 0 auto;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 4px 28px rgba(10,25,41,0.07);
      overflow: hidden;
    }
    .feed-outer::before,
    .feed-outer::after {
      content: '';
      position: absolute;
      left: 0; right: 0;
      height: 72px;
      z-index: 3;
      pointer-events: none;
    }
    .feed-outer::before {
      top: 0;
      background: linear-gradient(to bottom, #fff 30%, transparent);
    }
    .feed-outer::after {
      bottom: 0;
      background: linear-gradient(to top, #fff 30%, transparent);
    }
    .feed-viewport {
      height: 312px;
      overflow: hidden;
    }
    .feed-track {
      will-change: transform;
    }
    .feed-track.feed-running {
      animation: feedScroll linear infinite;
    }
    .feed-track:hover { animation-play-state: paused; }
    @keyframes feedScroll {
      0%   { transform: translateY(0); }
      100% { transform: translateY(var(--feed-shift)); }
    }
    .feed-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 22px;
      border-bottom: 1px solid #F0F4FA;
      text-align: left;
      cursor: default;
      transition: background 0.18s;
    }
    .feed-item:hover { background: #F8FAFD; }
    .feed-flag { font-size: 26px; line-height: 1; flex-shrink: 0; }
    .feed-body { flex: 1; min-width: 0; }
    .feed-label {
      font-size: 10px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.7px;
      margin-bottom: 2px;
    }
    .feed-company {
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .feed-meta {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 1px;
    }
    .feed-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
      flex-shrink: 0;
    }
    .feed-time {
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
    }
    .feed-status {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #ECFDF5;
      color: #059669;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .feed-status-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: #10B981;
      flex-shrink: 0;
    }
    @media (max-width: 600px) {
      .feed-outer { border-radius: 12px; }
      .feed-item { padding: 11px 16px; gap: 10px; }
      .feed-flag { font-size: 20px; }
      .feed-company { font-size: 12px; }
    }

    /* ===== CUSTOM CONTRACT ===== */
    .custom-section {
      background: linear-gradient(135deg, #0A1929 0%, #0D2847 60%, #0A3060 100%);
      padding: 64px 24px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .custom-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .custom-eyebrow {
      display: inline-block;
      background: rgba(0,102,255,0.18);
      border: 1px solid rgba(0,102,255,0.35);
      color: #6EB3FF;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 16px;
    }
    .custom-title {
      font-size: 28px;
      font-weight: 800;
      color: #fff;
      margin: 0 0 14px;
      line-height: 1.25;
      letter-spacing: -0.4px;
    }
    .custom-desc {
      font-size: 14px;
      color: rgba(255,255,255,0.6);
      line-height: 1.7;
      margin: 0 0 24px;
    }
    .custom-list {
      list-style: none;
      padding: 0; margin: 0 0 28px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .custom-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: rgba(255,255,255,0.82);
    }
    .custom-check {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: rgba(16,185,129,0.18);
      border: 1px solid rgba(16,185,129,0.4);
      color: #10B981;
      font-size: 11px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .custom-cta-row {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .custom-btn {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      padding: 12px 24px;
      border-radius: 10px;
      transition: background 0.15s, transform 0.12s;
    }
    .custom-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
    .custom-price-tag strong { color: #fff; font-size: 18px; }

    /* Right side cards grid */
    .custom-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      position: relative;
    }
    .custom-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 20px 16px;
      text-align: center;
      transition: background 0.2s, border-color 0.2s, transform 0.2s;
    }
    .custom-card:hover {
      background: rgba(255,255,255,0.09);
      border-color: rgba(0,102,255,0.4);
      transform: translateY(-3px);
    }
    .custom-card__icon { margin-bottom: 8px; color: #fff; }
    .custom-card__icon svg { width: 26px; height: 26px; }
    .custom-card__label { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
    .custom-card__sub { font-size: 11px; color: rgba(255,255,255,0.45); }
    .custom-badge-center {
      grid-column: span 2;
      background: rgba(0,102,255,0.12);
      border: 1px solid rgba(0,102,255,0.3);
      border-radius: 14px;
      padding: 18px;
      text-align: center;
    }
    .custom-price-big {
      font-size: 30px;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.5px;
    }
    .custom-price-note {
      font-size: 12px;
      color: rgba(255,255,255,0.45);
      margin-top: 4px;
    }
    @media (max-width: 768px) {
      .custom-inner { grid-template-columns: 1fr; gap: 36px; }
      .custom-title { font-size: 22px; }
      .custom-right { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) {
      .custom-section { padding: 48px 20px; }
      .custom-title { font-size: 20px; }
      .custom-right { grid-template-columns: 1fr 1fr; gap: 10px; }
    }

    /* ===== FOOTER ===== */
    .site-footer {
      background: var(--text);
      padding: 40px 24px;
      color: rgba(255,255,255,0.5);
      font-size: 13px;
    }
    .site-footer__inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-logo {
      font-size: 16px;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.3px;
    }
    .footer-logo em { color: var(--accent); font-style: normal; }
    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      transition: color .15s;
    }
    .footer-links a:hover { color: #fff; }
    .footer-copy { color: rgba(255,255,255,0.35); font-size: 12px; text-align: center; width: 100%; }
    .footer-copy a { color: inherit; text-decoration: none; }
    .footer-payments { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 4px 0; }
    .pay-badge { display: inline-flex; align-items: center; justify-content: center; height: 26px; border-radius: 5px; font-size: 11px; font-weight: 800; letter-spacing: .3px; padding: 0 8px; text-decoration: none; white-space: nowrap; }
    .pay-visa { background: #1A1F71; color: #fff; font-style: italic; font-size: 13px; letter-spacing: 1px; }
    .pay-mc { background: #fff; padding: 0 6px; gap: 0; position: relative; }
    .pay-mc__left  { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #EB001B; }
    .pay-mc__right { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #F79E1B; margin-left: -6px; }
    .pay-mir { background: #00A64B; color: #fff; }
    .pay-tbank { background: #FFDD2D; color: #333; font-weight: 900; font-size: 11px; }
    .footer-security a { color: rgba(255,255,255,0.55); text-decoration: none; }
    .footer-security a:hover { color: #fff; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      /* Hero */
      .hero { padding: 40px 16px 36px; }
      .hero h1 { font-size: 26px; letter-spacing: -.5px; }
      .hero p { font-size: 15px; }

      /* Type cards */
      .type-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }

      /* Form */
      .form-wrap, .preview-wrap { padding: 20px 16px 32px; }
      .form-group { padding: 16px; }
      .grid-2, .grid-3, .grid-inn, .grid-party, .grid-addr { grid-template-columns: 1fr; }
      .full { grid-column: 1; }

      /* Form progress chips — wrap tightly */
      .form-progress { padding: 12px 16px; }
      .form-progress__sec { font-size: 11px; padding: 3px 8px; }

      /* Generate button — full width */
      .btn-generate { width: 100%; padding: 15px; font-size: 16px; }
      .form-submit { text-align: left; }

      /* CTA steps — vertical on small screens */
      .cta-steps { flex-direction: column; align-items: center; gap: 4px; }
      .cta-step__arrow { transform: rotate(90deg); font-size: 14px; }

      /* Preview */
      .preview-header h2 { font-size: 18px; }
      .pay-badges { flex-direction: column; align-items: center; }
      .preview-cta { padding: 20px 16px; }
      .preview-pages-container { padding: 8px; }

      /* Trust */
      .trust-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }

      /* Footer */
      .site-footer__inner { justify-content: center; text-align: center; }
      .footer-links { justify-content: center; }
      .footer-payments { justify-content: center; }
    }

    @media (max-width: 480px) {
      .hero h1 { font-size: 22px; }
      .type-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
      .type-card { padding: 14px 10px; }
      .type-card__icon { font-size: 22px; margin-bottom: 6px; }
      .type-card h3 { font-size: 12px; }
      .type-card p { font-size: 11px; }

      /* Good items compact */
      .good-item { padding: 14px; }

      /* Trust */
      .trust-items { grid-template-columns: 1fr 1fr; gap: 14px; }
      .trust-item__title { font-size: 13px; }

    }

    /* ── Полировка: отклик интерактивных элементов, доступность, motion ── */
    .btn-generate { box-shadow: 0 6px 22px rgba(0,102,255,.28); transition: background .18s, transform .12s, box-shadow .18s; }
    .btn-generate:hover { box-shadow: 0 12px 30px rgba(0,102,255,.36); }
    .btn-generate:active { transform: translateY(0); }
    .btn-pay { box-shadow: 0 6px 22px rgba(0,102,255,.28); transition: background .18s, transform .12s, box-shadow .18s; }
    .btn-pay:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,102,255,.36); }
    .btn-pay:active { transform: translateY(0); }
    a:focus-visible, button:focus-visible, .type-card:focus-visible, .search-chip:focus-visible {
      outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
    }
    @media (prefers-reduced-motion: reduce) {
      .type-card:hover, .btn-generate:hover, .btn-pay:hover, .how-step, .trust-item { transform: none !important; }
      * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }
