:root {
  --theme: #ff0008;
  --theme-dark: #b80006;
  --theme-deep: #4b0003;
  --theme-light: #fff4f5;
  --theme-soft: #ffe2e4;
  --theme-accent: #ff4d53;
  --theme-hover: #d70007;
  --theme-border: rgba(184, 0, 6, .22);
  --header-bg: #650004;
  --header-bg-2: #8d0005;
  --text-main: #2f1a1b;
  --text-muted: #6f5052;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #fff7f7;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(101, 0, 4, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--theme-light);
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  background: var(--theme-light);
  color: var(--text-main);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; }

a { color: var(--theme-dark); }

a:hover { color: var(--theme-hover); }

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--theme-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--theme-deep);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus { transform: translateY(0); }

.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-tight { padding: 42px 0; }

.section-soft { background: var(--theme-soft); }

.section-white { background: var(--white); }

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow,
.hero-badge,
.page-label,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 8px 14px;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  color: var(--theme-dark);
  line-height: 1.18;
  margin-top: 0;
}

h2 { font-size: clamp(30px, 3vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

p { margin: 0 0 18px; }

.lead {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.85;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
  color: var(--on-header);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  overflow: visible;
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: visible;
}

.site-logo,
.drawer-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
  text-decoration: none;
}

.logo-shell {
  min-width: 126px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 16px;
  background: #fff8f8;
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow: 0 8px 24px rgba(42, 0, 2, .22);
}

.site-logo img,
.drawer-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;
}

.main-nav a {
  position: relative;
  color: var(--on-header);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  padding: 29px 0 24px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 3px;
  border-radius: 999px;
  background: var(--theme-accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a.active,
.main-nav a:hover { color: #fff5f5; }

.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-btn,
.header-login,
.text-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
  color: var(--on-theme);
  box-shadow: 0 14px 28px rgba(45, 0, 2, .22);
  padding: 11px 22px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  transition: transform .2s ease, filter .2s ease;
}

.main-btn:hover,
.header-login:hover,
.text-cta:hover {
  color: var(--on-theme);
  filter: brightness(.95);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .11);
  color: var(--on-header);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  padding: 18px;
  transform: translateX(-100%);
  transition: transform .28s ease;
  z-index: 10001;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--theme-deep) 100%);
  color: var(--on-header);
  overflow-y: auto;
  box-shadow: 22px 0 50px rgba(28, 0, 2, .3);
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  background: rgba(38, 0, 2, .64);
  transition: opacity .28s ease, visibility .28s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .11);
  color: var(--on-header);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  gap: 7px;
  padding: 20px 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--on-header);
  text-decoration: none;
  font-weight: 750;
}

.drawer-nav a.active,
.drawer-nav a:hover {
  background: rgba(255, 255, 255, .13);
  color: #ffffff;
}

.drawer-note {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
}

.drawer-note strong {
  color: #ffffff;
  font-size: 22px;
}

.drawer-note p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.hero-section {
  padding: 70px 0 42px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 77, 83, .17) 0%, transparent 34%),
    radial-gradient(circle at 88% 74%, rgba(184, 0, 6, .11) 0%, transparent 30%),
    linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: 56px;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 18px 0 22px;
  color: var(--theme-dark);
}

.hero-content > p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-main);
  margin: 0 0 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.hero-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 800;
  text-decoration: none;
}

.hero-visual,
.app-visual,
.media-box,
.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-media-box {
  width: min(100%, 540px);
  min-height: 320px;
  max-height: 420px;
  padding: 34px;
  border: 1px solid var(--theme-border);
  border-radius: 32px;
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-media-box img {
  display: block;
  max-width: 68%;
  max-height: 330px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.media-box img,
.app-visual img,
.card-media img,
.page-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.info-section { padding: 28px 0 48px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.card,
.zone-card,
.feature-card,
.category-card,
.faq-item,
.notice,
.visual-card,
.entity-card,
.step-card,
.safety-card,
.review-card {
  position: relative;
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
  min-height: auto;
  height: auto;
  padding: 28px;
}

.info-card::before,
.category-card::before,
.entity-card::before,
.step-card::before,
.safety-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme), var(--theme-accent));
  margin-bottom: 16px;
}

.info-card .number,
.category-card .number,
.entity-card .number,
.step-card .number {
  color: var(--theme);
  font-weight: 900;
  letter-spacing: .08em;
}

.info-card h2,
.info-card h3,
.category-card h3,
.entity-card h3,
.step-card h3,
.safety-card h3 {
  color: var(--theme-dark);
  margin: 11px 0;
}

.info-card p,
.category-card p,
.entity-card p,
.step-card p,
.safety-card p,
.review-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.category-section {
  padding: 8px 0 58px;
  background: var(--white);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--white);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  text-decoration: none;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.category-pills a:hover {
  background: linear-gradient(180deg, var(--theme-accent), var(--theme));
  color: var(--on-theme);
  transform: translateY(-2px);
}

.core-grid,
.entity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.category-card,
.entity-card {
  display: flex;
  flex-direction: column;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--theme-dark);
  font-weight: 850;
  text-decoration: none;
}

.card-link::after { content: "→"; }

.service-grid,
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--theme-accent), var(--theme-dark));
  color: var(--on-theme);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(184, 0, 6, .18);
  margin-bottom: 18px;
}

.editorial-stack {
  display: grid;
  gap: 28px;
}

.editorial-row,
.app-row,
.safety-row,
.about-row,
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  align-items: center;
  gap: 54px;
}

.editorial-row.reverse .editorial-copy { order: 2; }
.editorial-row.reverse .editorial-media { order: 1; }

.editorial-copy,
.app-copy,
.safety-copy,
.about-copy {
  min-width: 0;
}

.editorial-copy ul,
.app-copy ul,
.safety-copy ul,
.page-copy ul,
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.editorial-copy li,
.app-copy li,
.safety-copy li,
.page-copy li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
}

.editorial-copy li::before,
.app-copy li::before,
.safety-copy li::before,
.page-copy li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--theme);
  font-weight: 900;
}

.editorial-media,
.app-panel,
.about-media,
.page-media,
.topic-visual {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--theme-border);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.editorial-media img,
.about-media img,
.page-media img {
  max-height: 320px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.app-section {
  background:
    linear-gradient(135deg, rgba(101, 0, 4, .97), rgba(184, 0, 6, .94)),
    var(--theme-deep);
  color: var(--on-dark);
}

.app-section h2,
.app-section h3,
.app-section p,
.app-section li { color: var(--on-dark); }

.app-section .eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  color: #ffffff;
}

.app-panel {
  background: rgba(255, 255, 255, .96);
  min-height: 390px;
}

.app-panel img {
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.content-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.content-list article {
  padding: 18px;
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  background: var(--theme-light);
}

.content-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.content-list p {
  margin: 0;
  color: var(--text-muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card::before {
  content: "“";
  color: var(--theme);
  font-size: 54px;
  line-height: .7;
  font-family: Georgia, serif;
}

.review-card cite {
  color: var(--theme-dark);
  font-style: normal;
  font-weight: 800;
  margin-top: auto;
}

.notice {
  border-left: 6px solid var(--theme);
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
}

.notice strong { color: var(--theme-dark); }

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  padding: 0;
  overflow: clip;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 64px 22px 24px;
  color: var(--theme-dark);
  font-weight: 850;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-soft);
  color: var(--theme-dark);
  font-size: 21px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-muted);
}

.faq-answer p:last-child { margin-bottom: 0; }

.page-hero {
  padding: 70px 0 56px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 77, 83, .16) 0%, transparent 32%),
    linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.page-hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.page-copy h1 {
  max-width: 820px;
  font-size: clamp(40px, 4.4vw, 66px);
  letter-spacing: -.035em;
  margin: 18px 0 22px;
}

.page-copy .lead {
  max-width: 810px;
  margin-bottom: 24px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.subtle-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--theme-border);
  background: var(--white);
  color: var(--theme-dark);
  text-decoration: none;
  font-weight: 800;
}

.topic-visual {
  align-items: stretch;
  min-height: 390px;
}

.topic-facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic-fact {
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--theme-border);
}

.topic-fact strong {
  display: block;
  color: var(--theme-dark);
  margin-bottom: 7px;
}

.topic-fact span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.step-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card,
.safety-card {
  padding: 24px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-border);
  background: var(--white);
  color: var(--theme-dark);
  text-decoration: none;
  font-weight: 800;
}

.compliance-box {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--theme-dark), var(--theme-deep));
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
}

.compliance-box h3,
.compliance-box p { color: var(--on-dark); }

.compliance-box h3 { margin-bottom: 12px; }
.compliance-box p:last-child { margin-bottom: 0; }

.footer {
  background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%);
  color: var(--on-dark);
}

.footer > .footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, .8fr));
  gap: 42px;
  padding-top: 62px;
  padding-bottom: 50px;
}

.footer h2 {
  color: var(--on-dark);
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 247, 247, .82);
  margin: 22px 0 0;
  max-width: 440px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer a { color: var(--on-dark); }

.footer-column a {
  color: rgba(255, 247, 247, .84);
  text-decoration: none;
}

.footer-column a:hover { color: #ffffff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(24, 0, 1, .18);
}

.footer-legal-inner {
  padding-top: 24px;
  padding-bottom: 28px;
}

.footer-legal p {
  margin: 0 0 8px;
  color: rgba(255, 247, 247, .8);
  font-size: 14px;
  line-height: 1.68;
}

@media (min-width: 1440px) {
  .container,
  .section-inner,
  .header-inner,
  .footer-inner,
  .hero-inner,
  .page-hero-inner {
    width: min(1360px, calc(100% - 120px));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
    gap: 76px;
  }
}

@media (max-width: 1180px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 13px; }
  .core-grid,
  .entity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .header-inner {
    width: min(100% - 28px, 1280px);
    min-height: 68px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .mobile-menu-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .site-logo { justify-self: center; }
  .site-logo img { max-width: min(150px, 42vw); max-height: 50px; }
  .logo-shell { min-width: 110px; min-height: 44px; padding: 5px 10px; }
  .header-actions { justify-self: end; }
  .header-actions .main-btn { padding: 10px 16px; }

  .hero-section,
  .page-hero { padding: 48px 0 36px; }

  .hero-inner,
  .page-hero-inner,
  .editorial-row,
  .app-row,
  .safety-row,
  .about-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-inner { min-height: 0; }
  .hero-content h1,
  .page-copy h1 { font-size: clamp(36px, 7vw, 54px); }
  .hero-media-box { max-width: 680px; min-height: 300px; margin: 0 auto; }
  .hero-media-box img { max-height: 280px; }
  .page-media,
  .topic-visual,
  .editorial-media,
  .app-panel,
  .about-media { min-height: 320px; }

  .info-grid,
  .service-grid,
  .three-grid,
  .step-grid,
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .core-grid,
  .entity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer > .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-row.reverse .editorial-copy,
  .editorial-row.reverse .editorial-media { order: initial; }
}

@media (max-width: 767px) {
  .container,
  .section-inner,
  .header-inner,
  .footer-inner,
  .hero-inner,
  .page-hero-inner {
    width: min(100% - 32px, 1280px);
  }

  .section { padding: 54px 0; }
  .section-tight { padding: 34px 0; }
  .hero-section,
  .page-hero { padding: 38px 0 30px; }
  .hero-content h1,
  .page-copy h1 { font-size: clamp(34px, 10.4vw, 48px); }
  .hero-content > p,
  .lead { font-size: 17px; }
  .hero-media-box { min-height: 250px; padding: 22px; border-radius: 24px; }
  .hero-media-box img { max-width: 78%; max-height: 230px; }

  .info-grid,
  .service-grid,
  .three-grid,
  .core-grid,
  .entity-grid,
  .step-grid,
  .safety-grid,
  .dual-grid,
  .review-grid,
  .footer > .footer-inner {
    grid-template-columns: 1fr;
  }

  .topic-facts { grid-template-columns: 1fr; }
  .info-card,
  .card,
  .zone-card,
  .feature-card,
  .category-card,
  .faq-item,
  .notice,
  .visual-card,
  .entity-card,
  .step-card,
  .safety-card,
  .review-card { border-radius: 20px; }

  .editorial-media,
  .app-panel,
  .about-media,
  .page-media,
  .topic-visual { min-height: 260px; padding: 22px; border-radius: 24px; }

  .footer > .footer-inner { gap: 30px; }
  .footer-column { padding-top: 4px; }
  .category-pills { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .header-inner {
    width: min(100% - 20px, 1280px);
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .site-logo img { max-width: min(116px, 34vw); max-height: 44px; }
  .logo-shell { min-width: 92px; padding: 4px 7px; border-radius: 12px; }
  .header-actions .main-btn { padding: 8px 11px; font-size: 12px; }
  .mobile-menu-toggle { width: 42px; height: 42px; }
  .hero-content h1,
  .page-copy h1 { font-size: clamp(31px, 10.5vw, 42px); }
  .section-inner,
  .hero-inner,
  .page-hero-inner { width: min(100% - 24px, 1280px); }
}
