:root {
  --theme: #27376b;
  --theme-dark: #1e2a52;
  --theme-deep: #131b36;
  --theme-light: #eef2fb;
  --theme-soft: #f7f9ff;
  --theme-hover: #33498a;
  --theme-border: rgba(39, 55, 107, 0.18);
  --text-main: #17203d;
  --text-muted: #5e6787;
  --on-theme: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(23, 32, 61, 0.12);
}
* { box-sizing: border-box; }
html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  background: var(--theme-light);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: var(--theme-dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
}
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img,
.footer-brand img,
.drawer-logo img {
  display: block;
  height: auto;
  max-width: 180px;
}
.logo img { max-height: 54px; }
.main-nav { display: none; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.main-nav a {
  color: var(--on-dark);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, box-shadow .2s ease;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--on-dark);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 -2px 0 var(--theme-light);
}
.header-actions { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--theme);
  color: var(--on-theme);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.main-btn:hover {
  background: var(--theme-hover);
  transform: translateY(-1px);
}
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--on-dark);
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform .28s ease;
  z-index: 10001;
  background: var(--theme-dark);
  color: var(--on-dark);
  box-shadow: 28px 0 60px rgba(0,0,0,0.25);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  background: rgba(0,0,0,0.48);
  transition: opacity .25s ease, visibility .25s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body.menu-open { overflow: hidden; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--on-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav { display: grid; gap: 6px; padding: 16px; }
.mobile-nav a {
  color: var(--on-dark);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a.active,
.mobile-nav a:hover { background: rgba(255,255,255,0.13); }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 64px 0; }
.section.compact { padding: 42px 0; }
.hero,
.hero-section,
.banner {
  padding: 72px 0;
  background: radial-gradient(circle at top right, rgba(39,55,107,0.18), transparent 38%), linear-gradient(135deg, var(--theme-soft), var(--theme-light));
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-page { padding: 64px 0 44px; }
.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--theme-dark);
  background: rgba(39,55,107,0.08);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 13px;
}
h1,
h2,
h3,
.section-title,
.category-number,
.highlight { color: var(--theme-dark); }
h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.08; margin: 16px 0 18px; }
h2,
.section-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.18; margin: 0 0 18px; }
h3 { font-size: 20px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--text-main); max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-mini { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.mini-card,
.card,
.zone-card,
.info-card,
.faq-item,
.notice {
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}
.mini-card { padding: 18px; }
.card,
.zone-card,
.info-card { padding: 24px; }
.visual-card {
  min-height: 360px;
  border-radius: 34px;
  background: linear-gradient(145deg, var(--theme-dark), var(--theme));
  color: var(--on-dark);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.visual-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -60px;
  background: rgba(255,255,255,0.12);
}
.visual-card h3,
.visual-card .stat-number { color: var(--on-dark); }
.visual-list { display: grid; gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.visual-list span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.12); }
.category-pills { display: grid; grid-template-columns: 1fr; gap: 14px; }
.category-pill {
  background: var(--white);
  border: 1px solid var(--theme-border);
  border-radius: 22px;
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.category-number { font-size: 14px; font-weight: 800; }
.service-strip {
  background: linear-gradient(135deg, var(--theme-soft), var(--white));
  border: 1px solid var(--theme-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.grid { display: grid; gap: 18px; }
.info-grid,
.feature-grid,
.zone-grid,
.faq-grid { display: grid; gap: 18px; }
.info-card .category-number,
.card .category-number { display: inline-block; margin-bottom: 10px; }
.card ul,
.info-card ul,
.page-content ul,
.notice ul { padding-left: 20px; margin: 12px 0 0; }
.card li,
.info-card li,
.page-content li,
.notice li { margin: 7px 0; }
.content-split {
  display: grid;
  gap: 26px;
  align-items: center;
  margin-bottom: 28px;
}
.split-visual {
  min-height: 260px;
  background: linear-gradient(145deg, var(--theme-dark), var(--theme-hover));
  border-radius: 30px;
  padding: 26px;
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
  display: grid;
  align-content: center;
  gap: 14px;
}
.split-visual h3,
.split-visual p { color: var(--on-dark); }
.app-section {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--white), var(--theme-soft));
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
}
.app-section img,
.content-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.app-section img { max-height: 380px; }
.security-section { display: grid; gap: 24px; align-items: start; }
.security-cards { display: grid; gap: 16px; }
.faq { display: grid; gap: 16px; }
.faq-item { padding: 22px; }
.notice {
  padding: 22px;
  border-left: 5px solid var(--theme);
  background: linear-gradient(135deg, var(--white), var(--theme-soft));
}
.page-content { display: grid; gap: 24px; }
.page-block {
  background: var(--white);
  border: 1px solid var(--theme-border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.page-block p:last-child,
.card p:last-child,
.info-card p:last-child,
.zone-card p:last-child,
.faq-item p:last-child { margin-bottom: 0; }
.text-link {
  color: var(--theme);
  font-weight: 800;
}
.text-link:hover { color: var(--theme-hover); }
.link-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.footer {
  background: var(--theme-deep);
  color: var(--on-dark);
  padding: 52px 0 24px;
}
.footer-grid { display: grid; gap: 28px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--theme-light); }
.footer p { color: rgba(255,255,255,0.84); }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { color: var(--on-dark); }
.age-note { font-weight: 800; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-mini { grid-template-columns: repeat(3, 1fr); }
  .category-pills { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr 1fr; }
  .content-split.reverse .split-visual { order: 2; }
  .app-section { grid-template-columns: .85fr 1.15fr; }
  .security-section { grid-template-columns: .9fr 1.1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; }
  .header-inner { min-height: 78px; }
  .category-pills { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .zone-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .header-inner { min-height: 66px; display: grid; grid-template-columns: 48px 1fr auto; }
  .logo { justify-content: center; }
  .logo img { max-height: 46px; max-width: 140px; }
  .main-btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .hero, .hero-section, .banner { padding: 50px 0; }
  .section { padding: 46px 0; }
  .visual-card { min-height: 300px; }
  .app-section { padding: 22px; }
}
