html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  background: #13090A;
  color: #F6E7BF;
  line-height: 1.72;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #13090A 0%, #1A0D0E 55%, #221112 100%);
  color: #FFD83A;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,216,58,0.12);
}

.header-inner {
  height: 78px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.brand img,
.mobile-logo img,
.drawer-head img,
.footer-brand img {
  height: auto;
  object-fit: contain;
}

.brand img {
  width: 118px;
  max-height: 54px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav a,
.text-link,
.meta-text,
.small-note {
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 700;
}

.nav a {
  color: #FFD83A;
  padding: 8px 8px;
  border-radius: 0;
  white-space: nowrap;
  line-height: 1;
  font-size: 15px;
  transition: color .25s ease, box-shadow .25s ease;
}

.nav a.active,
.nav a:hover {
  color: #FFD83A;
  background: transparent;
  box-shadow: inset 0 -2px 0 #D60013;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 700;
  background: linear-gradient(180deg, #F10A17 0%, #D60013 45%, #A8000E 100%);
  color: #FFD83A;
  border: 1px solid rgba(255,216,58,0.28);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(214,0,19,0.28);
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}

.login-btn:hover,
.access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(214,0,19,0.36);
}

.mobile-header {
  display: none;
  min-height: 68px;
  padding: 10px 16px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.menu-toggle,
.drawer-close {
  border: 1px solid rgba(255,216,58,0.2);
  background: #1A0D0E;
  color: #FFD83A;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #FFD83A;
  border-radius: 999px;
}

.mobile-logo {
  justify-self: center;
}

.mobile-logo img {
  width: 112px;
  max-height: 46px;
}

.mobile-login {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: linear-gradient(160deg, #13090A 0%, #1A0D0E 62%, #221112 100%);
  border-right: 1px solid rgba(255,216,58,0.16);
  box-shadow: 18px 0 36px rgba(0,0,0,0.36);
  transform: translateX(-105%);
  transition: transform .28s ease;
  padding: 18px;
  z-index: 10001;
  overflow-y: auto;
}

.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.drawer-head img {
  width: 116px;
  max-height: 52px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  font-size: 26px;
  line-height: 1;
}

.drawer-login {
  width: 100%;
  margin-bottom: 18px;
}

.drawer-nav {
  display: grid;
  gap: 8px;
}

.drawer-nav a {
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(255,216,58,0.06);
  color: #FFD83A;
  font-weight: 700;
  border: 1px solid rgba(255,216,58,0.08);
}

.site-main {
  min-height: 70vh;
}

h1,
.page-title,
.hero-title {
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 700;
  color: #FFD83A;
  line-height: 1.18;
  margin: 0 0 18px;
}

h2,
.section-title {
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 700;
  color: #FFD83A;
  line-height: 1.25;
  margin: 0 0 14px;
}

h3,
.card-title,
.zone-card h3,
.info-card h3 {
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 700;
  color: #FFD83A;
  line-height: 1.3;
  margin: 0 0 10px;
}

p,
li,
.faq-answer,
.section-desc,
.card p,
.zone-card p,
.info-card p {
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 400;
  color: #F6E7BF;
}

p {
  margin: 0 0 16px;
}

.section {
  padding: 54px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-desc,
.muted {
  color: #D5C29A;
}

.text-link {
  color: #FFD83A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link::after {
  content: "→";
  color: #F10A17;
}

.page-hero {
  padding: 58px 0 34px;
  background: radial-gradient(circle at 12% 0%, rgba(241,10,23,0.18), transparent 30%), linear-gradient(135deg, #13090A 0%, #1A0D0E 52%, #221112 100%);
  border-bottom: 1px solid rgba(255,216,58,0.1);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 34px;
  align-items: center;
}

.page-title {
  font-size: clamp(34px, 5vw, 62px);
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255,216,58,0.22);
  border-radius: 999px;
  color: #FFC928;
  background: rgba(214,0,19,0.12);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-visual,
.page-visual,
.promo-banner {
  background: #1B1112;
  border: 1px solid rgba(255,216,58,0.14);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
  padding: 14px;
}

.content-img,
.zone-card img,
.app-section img,
.banner-slider img,
.hero-visual img,
.page-visual img,
.promo-banner img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-visual img,
.page-visual img,
.promo-banner img {
  width: 100%;
  max-height: 410px;
  margin: 0 auto;
  border-radius: 16px;
}

.banner-slider {
  max-width: 1200px;
  margin: 28px auto 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, #13090A 0%, #1A0D0E 48%, #221112 100%);
  border: 1px solid rgba(255,216,58,0.16);
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
}

.banner-track {
  display: flex;
  transition: transform .6s ease;
}

.banner-slide {
  min-width: 100%;
  padding: 12px;
  background: radial-gradient(circle at 80% 20%, rgba(255,216,58,0.12), transparent 28%);
}

.banner-slide img {
  width: 100%;
  max-height: 456px;
  margin: 0 auto;
  border-radius: 18px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,216,58,0.28);
  color: #FFD83A;
  background: rgba(19,9,10,0.82);
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.32);
}

.banner-prev {
  left: 18px;
}

.banner-next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,216,58,0.46);
  background: rgba(255,255,255,0.18);
  padding: 0;
  cursor: pointer;
}

.banner-dots button.active {
  width: 28px;
  background: #D60013;
  border-color: #FFD83A;
}

.intro-strip {
  background: linear-gradient(135deg, rgba(214,0,19,0.18), rgba(255,216,58,0.05));
  border: 1px solid rgba(255,216,58,0.16);
  border-left: 4px solid #D60013;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.quick-pills a {
  border: 1px solid rgba(255,216,58,0.16);
  background: #1A0D0E;
  color: #FFD83A;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.grid-8,
.card-grid,
.zone-grid,
.help-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.grid-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zone-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.zone-card,
.info-card,
.faq-item,
.feature-card,
.notice-box,
.article-card {
  background: #1B1112;
  border: 1px solid rgba(255,216,58,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
  color: #F6E7BF;
  border-radius: 18px;
  padding: 22px;
}

.feature-card .mark,
.info-card .mark,
.article-card .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  color: #13090A;
  background: #FFD83A;
  font-weight: 700;
  margin-bottom: 14px;
}

.category-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #1B1112 0%, #241516 100%);
}

.category-card .symbol {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214,0,19,0.22);
  border: 1px solid rgba(255,216,58,0.16);
  color: #FFD83A;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-points,
.check-list,
.page-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.service-points li,
.check-list li,
.page-list li {
  position: relative;
  padding-left: 22px;
  color: #F6E7BF;
}

.service-points li::before,
.check-list li::before,
.page-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D60013;
  position: absolute;
  left: 0;
  top: .75em;
  box-shadow: 0 0 0 4px rgba(214,0,19,0.14);
}

.alternating {
  display: grid;
  gap: 26px;
}

.alt-row {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: center;
  background: #1A0D0E;
  border: 1px solid rgba(255,216,58,0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
}

.alt-row.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
}

.alt-media {
  background: #241516;
  border-radius: 18px;
  border: 1px solid rgba(255,216,58,0.1);
  padding: 12px;
}

.alt-media img {
  width: 100%;
  max-height: 340px;
  margin: 0 auto;
  border-radius: 14px;
}

.alt-content {
  padding: 10px;
}

.zone-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zone-card img {
  width: 100%;
  max-height: 220px;
  margin: 0 auto;
  border-radius: 14px;
  background: #241516;
}

.zone-label {
  color: #FFC928;
  font-weight: 700;
  letter-spacing: .04em;
}

.graphic-card {
  min-height: 160px;
  background: radial-gradient(circle at 18% 20%, rgba(255,216,58,0.14), transparent 24%), radial-gradient(circle at 80% 18%, rgba(241,10,23,0.16), transparent 24%), #1B1112;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #1A0D0E 0%, #221112 62%, #1B1112 100%);
  border: 1px solid rgba(255,216,58,0.14);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
}

.app-section img {
  width: 100%;
  max-height: 420px;
  margin: 0 auto;
  border-radius: 18px;
}

.notice-box {
  background: linear-gradient(135deg, rgba(214,0,19,0.18), rgba(255,216,58,0.05)), #1B1112;
  border-left: 4px solid #FFD83A;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.side-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 700;
  background: linear-gradient(180deg, #F10A17 0%, #D60013 45%, #A8000E 100%);
  color: #FFD83A;
  border: 1px solid rgba(255,216,58,0.28);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(214,0,19,0.28);
  margin-top: 8px;
}

.site-footer {
  background: #0E0607;
  color: #F7D976;
  padding: 52px 0 28px;
  border-top: 1px solid rgba(255,216,58,0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-brand img {
  width: 128px;
  max-height: 58px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-note p,
.footer-col a {
  color: #F7D976;
}

.footer-login {
  margin-top: 8px;
}

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

.footer-col h3 {
  color: #FFD83A;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #FFD83A;
}

.footer-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,216,58,0.12);
}

@media (max-width: 1080px) {
  .desktop-header { display: none; }
  .mobile-header { display: grid; }
  .site-main { padding-top: 0; }
  .grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid,
  .zone-grid,
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1200px); }
  .section { padding: 38px 0; }
  .page-hero { padding: 40px 0 26px; }
  .page-hero-grid,
  .app-section,
  .alt-row,
  .alt-row.reverse,
  .footer-grid { grid-template-columns: 1fr; }
  .grid-8,
  .card-grid,
  .zone-grid,
  .help-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .banner-slider { margin: 18px auto 24px; border-radius: 16px; }
  .banner-slide { padding: 8px; }
  .banner-slide img { border-radius: 12px; max-height: 270px; }
  .banner-arrow { width: 36px; height: 36px; font-size: 22px; }
  .banner-prev { left: 10px; }
  .banner-next { right: 10px; }
  .banner-dots { bottom: 10px; }
  .mobile-login { padding: 8px 9px; font-size: 12px; }
  .page-title { font-size: 34px; }
  .alt-row { padding: 14px; }
  .card,
  .zone-card,
  .info-card,
  .faq-item,
  .feature-card,
  .notice-box,
  .article-card { padding: 18px; }
}

@media (max-width: 420px) {
  .mobile-header { grid-template-columns: 42px minmax(0, 1fr) 94px; padding: 10px 12px; }
  .mobile-logo img { width: 96px; }
  .mobile-login { min-height: 36px; }
  .quick-pills a { width: 100%; text-align: center; justify-content: center; }
}
