/* Mobile + safe-area + tap-target enhancements for static pages (2026-11-25) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}
body {
  overflow-x: clip;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
header {
  padding-top: env(safe-area-inset-top, 0px);
}
footer {
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}
.a11y-widget {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: calc(16px + env(safe-area-inset-left, 0px));
}
.a11y-panel {
  width: min(280px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select {
  font-size: max(16px, 1.1rem);
  min-height: 44px;
}

.btn,
.phone,
.menu-btn,
.a11y-toggle,
.a11y-panel button,
.faq summary,
header nav a,
.footer-links a,
footer a,
.nav-cta a {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}
.phone,
.menu-btn,
header nav a,
.footer-links a,
footer a {
  display: inline-flex;
  align-items: center;
}
.faq summary {
  min-height: 44px;
}
.menu-btn {
  touch-action: manipulation;
}
.btn,
.a11y-toggle,
.a11y-panel button,
.menu-btn,
header nav a,
.phone {
  touch-action: manipulation;
}

.report img,
.report picture,
.report picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 357;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 900px) {
  header nav {
    top: calc(64px + env(safe-area-inset-top, 0px));
  }
  .report img,
  .report picture img {
    height: auto;
  }
}

@media (max-width: 360px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .article-wrap { width: min(760px, calc(100% - 24px)); }
  .brand svg { width: 32px; height: 32px; }
  .brand strong { font-size: 1.05rem; }
  .brand span { display: none; }
  .phone { font-size: 0.8rem; letter-spacing: -0.02em; }
  .hero h1, h1 { font-size: clamp(1.55rem, 8.2vw, 2.1rem); }
  .nav { gap: 6px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 20px; padding-bottom: 16px; }
  .nav { min-height: 52px; }
  section { padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
