/* Auto-generated by the styles.css split-and-dedupe cleanup. */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-hero,
  .tool-hero {
    grid-template-columns: 1fr;
  }

  .tool-copy {
    position: static;
  }

  .status-tool-hero {
    min-height: 0;
    padding-top: var(--space-8);
  }

  .status-copy h1 {
    font-size: 38px;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .home-tools-grid,
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero::before {
    width: 100%;
    opacity: .22;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero-media {
    justify-self: stretch;
    width: 100%;
  }

  .home-hero-catalog {
    max-width: 680px;
  }

  .home-proof {
    grid-template-columns: 1fr;
  }

  .home-how {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 var(--space-4) var(--space-8);
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    min-height: 68px;
  }

  .brand {
    align-self: center;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
  }

  .language-switcher {
    display: none;
  }

  .button-ghost {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  .home-hero {
    gap: 22px;
    width: auto;
    margin-left: 0;
    padding: 30px 0 28px;
    border-bottom: 0;
  }

  .flow-steps {
    max-width: 100%;
    margin-bottom: var(--space-6);
  }

  .flow-step-dot {
    width: 26px;
    height: 26px;
  }

  .flow-step:not(:last-child)::after {
    top: 13px;
    left: calc(50% + 21px);
    right: calc(-50% + 21px);
  }

  .flow-step-label {
    font-size: 11px;
  }

  .home-hero-copy p {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .home-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .file-dropzone,
  .tool-dropzone {
    min-height: 238px;
    padding: var(--space-6) var(--space-4);
  }

  .dropzone-title {
    font-size: 22px;
  }

  .dropzone-action {
    width: 100%;
    min-width: 0;
  }

  .tool-form-wrap {
    padding: 12px;
  }

  .selected-files-head {
    align-items: stretch;
    flex-direction: column;
  }

  .add-files-button {
    width: 100%;
  }

  .selected-file-row {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
  }

  .home-tools-grid,
  .how-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-form {
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

  .result-page {
    padding-top: var(--space-8);
  }

  .result-workspace {
    padding: 12px;
  }

  .result-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .result-download-all {
    width: 100%;
  }

  .result-file-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .result-file-state {
    justify-self: end;
  }

  .result-file-action {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .result-file-action .button {
    width: 100%;
  }

  .download-panel {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .download-panel .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-cta,
  .home-cta-telegram {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .home-cta .button,
  .home-cta-telegram .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .brand-name {
    font-size: 20px;
  }

  .home-hero::before {
    inset: auto -16px 18px -16px;
    width: auto;
    height: 320px;
    opacity: .16;
  }

  .home-hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .home-hero h1 span {
    display: inline;
  }

  .home-hero h1 span + span::before {
    content: " ";
  }

  .home-proof-item {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 46px;
  }

  .home-proof-icon {
    width: 42px;
    height: 42px;
  }

  .home-proof-icon svg {
    width: 24px;
    height: 24px;
  }

  .home-hero-catalog {
    padding: 14px;
    box-shadow: 0 14px 30px rgba(18, 24, 38, .11);
  }

  .home-hero-catalog h2 {
    font-size: 22px;
  }

  .home-tools {
    padding-top: 12px;
  }

  .home-tool-card {
    grid-template-columns: 54px minmax(0, 1fr) 20px;
  }

  .home-cta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-how {
    gap: 16px;
    padding-bottom: 30px;
  }

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