/* Brendigo production hardening: mobile stability without changing the 1:1 design. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-width: 0;
  overflow-x: hidden;
}
#root, #root > * {
  min-width: 0;
  max-width: 100vw;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}
input, textarea, select, button {
  font: inherit;
}
input, textarea, select {
  max-width: 100%;
}
input[type="file"][data-aut-license-locked="true"] {
  cursor: not-allowed;
}
pre, code {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
table {
  max-width: 100%;
}
@media (max-width: 768px) {
  main, section, header, footer, nav, article, aside {
    min-width: 0;
  }
  h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
    line-height: 1.05;
    overflow-wrap: balance;
  }
  h2 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    line-height: 1.1;
  }
  h3 {
    overflow-wrap: anywhere;
  }
  p, li, a, span, button, label {
    overflow-wrap: anywhere;
  }
  button, [role="button"], a {
    touch-action: manipulation;
  }
  input, textarea, select {
    font-size: 16px; /* prevents iOS zoom on form focus */
  }
  [class*="tracking-"] {
    letter-spacing: 0.08em;
  }
  [class*="grid-cols-"], .grid {
    min-width: 0;
  }
  .container, [class*="max-w-"] {
    max-width: calc(100vw - 1rem);
  }
}
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  [class*="rounded-3xl"] {
    border-radius: 1.25rem;
  }
  [class*="p-10"], [class*="p-8"] {
    padding: 1.25rem;
  }
  [class*="gap-8"] {
    gap: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
