/* ------------
   Landing mobile variant — index-landing-m.html
   Mobile: compact chip row + tip line; PC: 3-col grid (landing-hero.css)
   ------------ */

body.landing-page .logo-title-short {
  display: none;
}

@media (max-width: 767px) {
  body.landing-page .logo-title-long {
    display: none;
  }

  body.landing-page .logo-title-short {
    display: inline;
  }

  body.landing-page .logo-title {
    font-size: 1.0625rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  body.landing-page .logo-icon-gradient {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4375rem;
  }

  body.landing-page .logo-text-ai {
    font-size: 0.75rem;
  }

  body.landing-page .header-content {
    height: 3.25rem;
  }

  body.landing-page .landing-hero-container {
    padding-top: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.landing-page .landing-hero-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  body.landing-page .landing-hero-title-prefix {
    display: none;
  }

  body.landing-page .landing-hero-title em {
    display: block;
    margin-top: 0.25rem;
  }

  body.landing-page .landing-hero-lead {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }

  body.landing-page .landing-lang-strip {
    flex-direction: column;
    align-items: center;
    border-radius: 0.75rem;
    padding: 0.5rem 0.375rem;
    margin-bottom: 1.125rem;
    gap: 0.25rem;
    text-align: center;
    max-width: 100%;
  }

  body.landing-page .landing-lang-badge {
    align-self: center;
    padding: 0.125rem 0.4375rem;
    font-size: 0.6875rem;
  }

  body.landing-page .landing-lang-list {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 0.6875rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.04em;
    word-spacing: -0.22em;
  }

  body.landing-page .landing-scenarios {
    margin-bottom: 1.125rem;
  }

  body.landing-page .landing-scenario-scroll {
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  body.landing-page .landing-scenario-grid--scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0 0;
  }

  body.landing-page .landing-scenario-card {
    display: block;
    width: 100%;
    padding: 0.625rem 0.375rem;
    border-radius: var(--radius);
    text-align: center;
    white-space: normal;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  body.landing-page .landing-scenario-card--selected {
    border-color: #a855f7;
    background: linear-gradient(145deg, #f3e8ff 0%, #fff7ed 45%, #ffffff 88%);
    box-shadow:
      0 0 0 1px rgb(168 85 247 / 0.15),
      0 6px 14px rgb(168 85 247 / 0.16);
    transform: none;
  }

  body.landing-page .landing-scenario-card--selected::after {
    display: flex;
    top: 0.3125rem;
    right: 0.3125rem;
    width: 0.9375rem;
    height: 0.9375rem;
    font-size: 0.5625rem;
  }

  body.landing-page .landing-scenario-card--selected .landing-scenario-name {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body.landing-page .landing-scenario-badge {
    top: -0.3125rem;
    left: 0.125rem;
    transform: none;
    margin: 0;
    padding: 0.0625rem 0.25rem;
    font-size: 0.5625rem;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgb(239 68 68 / 0.4);
  }

  body.landing-page .landing-scenario-icon {
    display: block;
    font-size: 1.125rem;
    line-height: 1;
    margin: 0 0 0.25rem;
  }

  body.landing-page .landing-scenario-name {
    display: block;
    font-size: 0.6875rem;
    margin: 0;
    line-height: 1.25;
  }

  body.landing-page .landing-scenario-desc {
    display: none;
  }

  body.landing-page .landing-scenario-tip {
    min-height: 2.25rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.625rem;
    border-radius: 0.625rem;
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--slate-600);
    text-align: center;
  }

  body.landing-page .landing-upload-wrap {
    margin-bottom: 0.75rem;
  }

  body.landing-page .landing-hero-section .upload-button {
    min-height: 5.75rem;
    padding: 1rem;
  }

  body.landing-page .landing-showcase {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  body.landing-page .landing-hero-section .company-info {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }
}

@media (min-width: 768px) {
  body.landing-page .landing-scenario-tip {
    display: none;
  }

  body.landing-page .landing-scenario-scroll {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  body.landing-page .landing-scenario-grid--scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
    min-width: 0;
    padding: 0;
  }

  body.landing-page .landing-scenario-card {
    display: block;
    flex-direction: unset;
    width: 100%;
    border-radius: var(--radius);
    white-space: normal;
    padding: 0.875rem 0.75rem;
  }

  body.landing-page .landing-scenario-icon {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
  }

  body.landing-page .landing-scenario-name {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }

  body.landing-page .landing-scenario-desc {
    display: block;
  }
}
