:root {
  --theme: #27376b;
  --theme-dark: #1e2b55;
  --theme-deep: #141d3d;
  --theme-light: #f0f3fb;
  --theme-soft: #f7f9ff;
  --theme-hover: #334789;
  --theme-border: rgba(39,55,107,0.16);
  --text-main: #1e2433;
  --text-muted: #606b86;
  --on-theme: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(20,29,61,0.14);
}
* { 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.72;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(30,43,85,0.96);
  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: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
}
.logo { display: inline-flex; align-items: center; justify-self: start; }
.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;
}
.main-nav a {
  color: var(--on-dark);
  padding: 9px 10px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: .22s 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 { justify-self: end; }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  background: var(--theme);
  color: var(--on-theme);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  transition: .22s ease;
}
.main-btn:hover {
  background: var(--theme-hover);
  transform: translateY(-1px);
}
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--on-dark);
}
.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: 20px 0 50px rgba(0,0,0,0.26);
  padding: 18px;
  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.46);
  transition: .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: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--on-dark);
  font-size: 26px;
  cursor: pointer;
}
.mobile-nav { display: grid; gap: 8px; padding-top: 16px; }
.mobile-nav a {
  color: var(--on-dark);
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}
.mobile-nav a.active,
.mobile-nav a:hover { background: rgba(255,255,255,0.15); }
body.menu-open { overflow: hidden; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
main { display: block; }
.hero,
.hero-section,
.banner,
.page-hero {
  position: relative;
  padding: 64px 0;
  background: radial-gradient(circle at 80% 10%, rgba(39,55,107,0.18), transparent 34%), linear-gradient(135deg, var(--theme-soft), var(--theme-light));
}
.hero-grid,
.app-section,
.security-section,
.content-split,
.two-column {
  display: grid;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  color: var(--theme-dark);
  background: rgba(39,55,107,0.08);
  border: 1px solid var(--theme-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 16px;
}
h1, h2, h3, .section-title, .category-number, .highlight { color: var(--theme-dark); }
h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.08; margin: 0 0 20px; }
h2, .section-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; margin: 0 0 18px; }
h3 { margin: 0 0 10px; font-size: 21px; }
p { margin: 0 0 16px; }
ul { margin: 0; padding-left: 20px; }
.hero p, .page-hero p, .lead { color: var(--text-muted); font-size: 17px; }
.hero-card,
.card,
.zone-card,
.info-card,
.faq-item,
.notice,
.service-strip,
.visual-card,
.pill-panel,
.content-card {
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}
.hero-card { padding: 26px; min-height: 360px; display: grid; gap: 16px; align-content: center; }
.stat-row { display: grid; gap: 12px; }
.stat-box {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(39,55,107,0.10), rgba(255,255,255,0.8));
  padding: 18px;
  border: 1px solid var(--theme-border);
}
.stat-box strong { display: block; color: var(--theme-dark); font-size: 24px; }
.section { padding: 58px 0; }
.section-head { max-width: 780px; margin-bottom: 28px; }
.grid { display: grid; gap: 20px; }
.category-grid { display: grid; gap: 14px; }
.category-pill {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  transition: .22s ease;
}
.category-pill:hover { transform: translateY(-2px); border-color: rgba(39,55,107,0.32); }
.category-number,
.tag {
  display: inline-flex;
  width: max-content;
  min-width: 40px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(39,55,107,0.10);
  color: var(--theme-dark);
  font-weight: 800;
}
.service-strip { padding: 24px; background: linear-gradient(135deg, var(--theme-soft), #ffffff); }
.feature-grid, .info-board, .zone-grid, .faq { display: grid; gap: 20px; }
.card, .zone-card, .info-card, .faq-item, .content-card { padding: 24px; }
.card ul, .info-card ul, .zone-card ul { color: var(--text-muted); }
.content-split { margin-top: 26px; }
.content-split.reverse .visual-card { order: 2; }
.visual-card {
  min-height: 280px;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff, rgba(39,55,107,0.09));
}
.visual-card .visual-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(39,55,107,0.15);
}
.visual-card .visual-line:nth-child(2) { width: 78%; }
.visual-card .visual-line:nth-child(3) { width: 58%; }
.app-section {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--white), rgba(39,55,107,0.08));
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
}
.app-section img, .content-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.app-visual { display: flex; justify-content: center; }
.app-visual img { max-height: 480px; }
.security-section { align-items: start; }
.notice {
  padding: 22px;
  background: linear-gradient(135deg, rgba(39,55,107,0.08), #ffffff);
}
.notice strong { color: var(--theme-dark); }
.text-link { color: var(--theme); font-weight: 700; }
.text-link:hover { color: var(--theme-hover); }
.link-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.link-list a {
  color: var(--theme);
  border: 1px solid var(--theme-border);
  background: var(--white);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.link-list a:hover { color: var(--theme-hover); border-color: rgba(39,55,107,0.28); }
.page-content { padding: 58px 0; }
.content-flow { display: grid; gap: 20px; }
.faq-item h3 { margin-bottom: 8px; }
.footer {
  background: var(--theme-deep);
  color: var(--on-dark);
  padding-top: 52px;
}
.footer-grid { display: grid; gap: 28px; }
.footer p { color: rgba(255,255,255,0.82); }
.footer a { color: var(--on-dark); display: block; margin: 8px 0; }
.footer a:hover { color: var(--theme-light); }
.footer h3 { color: var(--on-dark); }
.footer-brand img { max-height: 58px; margin-bottom: 14px; }
.footer-note { border-left: 3px solid rgba(255,255,255,0.45); padding-left: 12px; }
.footer-warning {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 34px;
  padding-top: 24px;
  padding-bottom: 20px;
}
.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
}
@media (min-width: 768px) {
  .hero-grid, .app-section, .security-section, .content-split, .two-column { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .info-board, .zone-grid, .faq { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .info-board { grid-template-columns: repeat(4, 1fr); }
  .zone-grid { grid-template-columns: repeat(4, 1fr); }
  .faq { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .header-inner { grid-template-columns: 56px 1fr auto; }
  .logo { justify-self: center; }
  .logo img { max-width: 140px; }
  .main-btn { min-height: 38px; padding: 8px 14px; font-size: 14px; }
  .hero, .hero-section, .banner, .page-hero { padding: 46px 0; }
  .content-split.reverse .visual-card { order: 0; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1180px); }
  .header-inner { padding: 0 10px; gap: 8px; min-height: 64px; }
  .logo img { max-width: 118px; }
  .header-actions .main-btn { padding: 8px 12px; }
  h1 { font-size: 32px; }
  .section { padding: 44px 0; }
  .card, .zone-card, .info-card, .faq-item, .content-card { padding: 20px; }
}
