/* Preserve the complete original visual system while the behavior is modularized. */
@import url("../style.css");

html {
  text-size-adjust: 100%;
}

img,
canvas {
  max-width: 100%;
}

@media (max-width: 700px) {
  body {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .ambient-orb,
  .scanlines,
  #network-canvas,
  .hero-grid,
  .hero-beam,
  .problem-orbit,
  .solutions-bg-grid,
  .solutions-orb,
  .cta-grid,
  #tech-particles {
    display: none !important;
  }

  .hero {
    padding: 105px 18px 40px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.5rem) !important;
    line-height: 1.15;
    letter-spacing: -0.04em;
  }

  .hero-description {
    margin: 22px 0 24px;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-visual {
    height: 305px;
    margin-top: 10px;
  }

  .visual-label,
  .visual-terminal,
  .node {
    display: none !important;
  }

  .visual-core:before,
  .core-halo,
  .core-ring,
  .core-center:before,
  .core-center:after {
    animation: none !important;
  }

  .visual-core {
    width: 280px;
    height: 280px;
  }

  .core-center {
    width: 112px;
    height: 112px;
  }

  .core-mark {
    font-size: 34px;
  }

  .core-center span {
    font-size: 5px;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .service-card,
  .scenario-result {
    min-height: auto;
  }

  .chat-toggle {
    min-height: 44px;
  }

  .chat-panel {
    max-height: min(520px, calc(100vh - 90px));
  }

  .message {
    font-size: 15px;
    line-height: 1.55;
  }

  .chat-suggestions button,
  .chat-form button {
    min-height: 44px;
  }
}
