:root {
  --theme: #ac0b0b;
  --theme-dark: #840808;
  --theme-deep: #5f0505;
  --theme-light: #fff0f0;
  --theme-soft: #fff8f8;
  --theme-hover: #950909;
  --theme-border: rgba(172, 11, 11, 0.18);
  --text-main: #2b1717;
  --text-muted: #765f5f;
  --on-theme: #ffffff;
  --on-dark: #fff8f8;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(95, 5, 5, 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.7;
}

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: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
}

.logo { display: inline-flex; align-items: center; justify-content: center; justify-self: center; }
.logo img,
.footer-brand img,
.drawer-logo img { display: block; height: auto; max-width: 180px; }
.logo img { max-height: 48px; }

.main-nav { display: none; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.main-nav a { color: var(--on-dark); font-size: 13px; font-weight: 800; padding: 10px 10px; border-radius: 999px; white-space: nowrap; transition: background .2s ease, box-shadow .2s ease, transform .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); transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; justify-content: flex-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: 900; letter-spacing: .01em; transition: transform .2s ease, background .2s ease; }
.main-btn:hover { background: var(--theme-hover); transform: translateY(-1px); }

.mobile-menu-toggle { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; background: rgba(255,255,255,0.1); color: var(--on-dark); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.mobile-menu-toggle span { width: 20px; height: 2px; border-radius: 3px; 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); 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.52); 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; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.drawer-logo img { max-height: 50px; }
.drawer-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.1); color: var(--on-dark); font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-nav { display: grid; gap: 8px; padding: 18px 0; }
.mobile-nav a { color: var(--on-dark); padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); font-weight: 800; }
.mobile-nav a.active,
.mobile-nav a:hover { background: rgba(255,255,255,0.16); }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
main { display: block; }
.hero,
.hero-section,
.banner { position: relative; padding: 56px 0; }
.hero { background: radial-gradient(circle at top left, rgba(39,55,107,.24), transparent 32%), linear-gradient(135deg, var(--theme-soft), var(--theme-light)); }
.hero-grid,
.app-grid,
.security-grid,
.footer-grid,
.split-row { display: grid; gap: 24px; }
.hero-grid { align-items: center; }
.eyebrow,
.tag { display: inline-flex; align-items: center; gap: 8px; color: var(--theme-dark); background: rgba(39,55,107,0.09); border: 1px solid var(--theme-border); padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(32px, 7vw, 58px); line-height: 1.12; margin: 18px 0; color: var(--theme-dark); }
h2 { font-size: clamp(25px, 4vw, 38px); line-height: 1.2; color: var(--theme-dark); }
h3 { font-size: 21px; color: var(--theme-dark); }
.lead { font-size: 18px; color: var(--text-main); }
.muted { color: var(--text-muted); }
.hero-tags,
.link-row,
.points,
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hero-card,
.visual-card,
.card,
.zone-card,
.info-card,
.faq-item,
.notice,
.service-strip,
.content-panel,
.app-section,
.security-panel,
.article-section,
.link-box { background: var(--white); color: var(--text-main); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 28px; }
.hero-card { padding: 24px; overflow: hidden; }
.hero-card .brand-mark { display: grid; place-items: center; min-height: 220px; border-radius: 24px; background: linear-gradient(135deg, rgba(39,55,107,.18), rgba(39,55,107,.05)), var(--theme-soft); border: 1px solid var(--theme-border); position: relative; }
.brand-orbit { width: 156px; height: 156px; border-radius: 50%; border: 22px solid rgba(39,55,107,.14); box-shadow: inset 0 0 0 18px rgba(39,55,107,.08), 0 20px 60px rgba(39,55,107,.22); display: grid; place-items: center; color: var(--theme-dark); font-size: 30px; font-weight: 900; }
.hero-mini-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.mini-card { padding: 16px; border-radius: 18px; background: var(--theme-soft); border: 1px solid var(--theme-border); }
.section { padding: 54px 0; }
.section-title { color: var(--theme-dark); margin-bottom: 12px; }
.section-head { max-width: 850px; margin-bottom: 26px; }
.grid { display: grid; gap: 18px; }
.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }
.card,
.zone-card,
.info-card,
.faq-item,
.notice,
.article-section,
.link-box { padding: 22px; }
.card:hover,
.zone-card:hover,
.info-card:hover,
.category-pill:hover { transform: translateY(-3px); border-color: rgba(39,55,107,.34); }
.card,
.zone-card,
.info-card,
.category-pill { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.category-pill { background: var(--white); border: 1px solid var(--theme-border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-soft); }
.category-number,
.item-number,
.highlight { color: var(--theme-dark); font-weight: 900; }
.service-strip { padding: 24px; background: linear-gradient(135deg, var(--theme-soft), var(--white)); }
.feature-grid { display: grid; gap: 18px; }
.content-split { display: grid; gap: 22px; }
.split-row { grid-template-columns: 1fr; align-items: center; margin-bottom: 24px; }
.visual-card { min-height: 260px; padding: 24px; display: grid; align-content: center; gap: 14px; background: radial-gradient(circle at 85% 15%, rgba(39,55,107,.18), transparent 34%), linear-gradient(145deg, var(--white), var(--theme-soft)); }
.visual-card strong { font-size: 30px; color: var(--theme-dark); }
.visual-list { display: grid; gap: 10px; }
.visual-list span,
.points span { display: inline-flex; padding: 8px 11px; border-radius: 999px; background: rgba(39,55,107,0.08); border: 1px solid var(--theme-border); color: var(--theme-dark); font-weight: 800; }
.content-panel { padding: 24px; }
.app-section { padding: 24px; background: linear-gradient(135deg, var(--white), var(--theme-soft)); }
.content-img,
.app-section img { max-width: 100%; height: auto; object-fit: contain; }
.app-visual { display: grid; place-items: center; border-radius: 26px; background: rgba(39,55,107,0.07); border: 1px solid var(--theme-border); padding: 18px; }
.app-visual img { max-height: 430px; }
.security-section { background: rgba(255,255,255,0.44); }
.security-panel { padding: 24px; }
.faq { display: grid; gap: 14px; }
.faq-item h3 { margin-bottom: 8px; }
.notice { background: linear-gradient(135deg, rgba(39,55,107,.08), var(--white)); border-left: 5px solid var(--theme); }
.text-link { color: var(--theme); font-weight: 900; }
.text-link:hover { color: var(--theme-hover); }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 52px 0 28px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--theme-light); }
.footer p { color: rgba(247,249,255,.84); }
.footer-grid { grid-template-columns: 1fr; }
.footer-brand img { max-height: 58px; margin-bottom: 18px; }
.footer-brand p { max-width: 460px; }
.footer-age { font-weight: 900; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { color: var(--on-dark); margin-bottom: 6px; }
.footer-note { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.16); font-size: 14px; }
.page-hero { padding: 52px 0 34px; background: radial-gradient(circle at 10% 0%, rgba(39,55,107,.18), transparent 28%), linear-gradient(135deg, var(--theme-soft), var(--theme-light)); }
.page-layout { padding: 46px 0; }
.article { display: grid; gap: 22px; }
.article-section ul,
.content-panel ul,
.card ul,
.notice ul { padding-left: 20px; }
.article-section li,
.content-panel li,
.card li,
.notice li { margin-bottom: 8px; }
.breadcrumb-note { color: var(--text-muted); font-weight: 800; }
.link-box { background: linear-gradient(135deg, var(--white), var(--theme-soft)); }

@media (min-width: 768px) {
  .hero-grid,
  .app-grid,
  .security-grid { grid-template-columns: 1.05fr .95fr; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-mini-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .split-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, .8fr); }
}

@media (min-width: 1024px) {
  .header-inner { display: flex; min-height: 78px; padding: 0 24px; }
  .logo { justify-self: auto; }
  .logo img { max-height: 54px; }
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; flex: 1; }
  .header-actions { min-width: 112px; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero,
  .hero-section,
  .banner { padding: 78px 0; }
}

@media (max-width: 440px) {
  .header-inner { min-height: 68px; gap: 8px; padding: 0 12px; }
  .main-btn { padding: 9px 14px; min-height: 38px; font-size: 14px; }
  .logo img { max-width: 126px; }
  .hero,
  .hero-section,
  .banner { padding: 38px 0; }
  .container { width: min(100% - 24px, 1120px); }
}
