:root {
  --theme: #7d160b;
  --theme-dark: #5f1008;
  --theme-deep: #3d0a05;
  --theme-light: #fff5f2;
  --theme-soft: #f9e5df;
  --theme-accent: #b64232;
  --theme-hover: #6a1209;
  --theme-border: rgba(125, 22, 11, .18);
  --header-bg: #4d0d07;
  --header-bg-2: #671109;
  --text-main: #2e1915;
  --text-muted: #735850;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(80, 14, 7, .12);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-main);
  background: var(--theme-light);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(182, 66, 50, .35); outline-offset: 3px; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}
.section-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-deep { background: var(--theme-deep); color: var(--on-dark); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  color: var(--theme-dark);
  background: var(--theme-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.section-heading { max-width: 850px; margin-bottom: 28px; }
.section-heading h2,
.page-prose h2 { margin: 0 0 12px; color: var(--theme-dark); line-height: 1.2; font-size: clamp(28px, 3vw, 42px); }
.section-heading p { margin: 0; color: var(--text-muted); }
.site-header {
  position: sticky;
  top: 0;
  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,.14);
}
.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 158px;
  align-items: center;
  gap: 18px;
}
.site-logo { display: inline-flex; align-items: center; min-width: 0; }
.site-logo img {
  max-width: 190px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.desktop-nav a {
  position: relative;
  white-space: nowrap;
  padding: 11px 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-header);
  opacity: .92;
}
.desktop-nav a:hover, .desktop-nav a.active { opacity: 1; }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--theme-accent);
}
.header-login, .main-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-login, .main-btn {
  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(0,0,0,.16);
}
.header-login:hover, .main-btn:hover { transform: translateY(-1px); background: linear-gradient(180deg, #c15140 0%, var(--theme-hover) 100%); }
.header-login { justify-self: end; min-width: 146px; }
.secondary-btn { color: var(--theme-dark); background: var(--white); border: 1px solid var(--theme-border); }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.08); color: var(--on-header); cursor: pointer; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(31,5,3,.55); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.mobile-drawer { position: fixed; z-index: 10001; inset: 0 auto 0 0; width: min(82vw, 320px); height: 100vh; background: var(--header-bg); color: var(--on-header); transform: translateX(-100%); transition: transform .28s ease; padding: 24px; overflow-y: auto; box-shadow: 24px 0 60px rgba(0,0,0,.22); }
.mobile-drawer.is-open { transform: translateX(0); }
body.menu-open { overflow: hidden; }
.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 var(--theme-border); }
.drawer-head img { max-width: 160px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--theme-border); background: var(--theme-soft); color: var(--theme-dark); cursor: pointer; font-size: 22px; }
.mobile-nav { display: grid; gap: 5px; margin-top: 18px; }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--theme-soft); color: var(--theme-dark); }
.banner-section { padding: 32px 0 30px; background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.banner-slide { display: none; }
.banner-slide.active { display: flex; align-items: center; justify-content: center; }
.banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%;
  background: rgba(61,10,5,.72); color: #fff; cursor: pointer; font-size: 28px; line-height: 1;
}
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 15px; display: flex; justify-content: center; gap: 8px; }
.banner-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; box-shadow: 0 0 0 1px rgba(61,10,5,.2); }
.banner-dots button.active { width: 28px; border-radius: 999px; background: var(--theme-accent); }
.intro-card {
  padding: 30px;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  box-shadow: var(--shadow-soft);
}
.intro-card h1 { max-width: 1020px; margin: 0 0 16px; color: var(--theme-dark); font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.intro-card p { max-width: 1000px; margin: 0; color: var(--text-muted); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.category-pills a { padding: 9px 14px; border: 1px solid var(--theme-border); border-radius: 999px; color: var(--theme-dark); background: var(--white); font-weight: 800; font-size: 14px; }
.category-pills a:hover { background: var(--theme); color: var(--on-theme); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-card, .category-card, .feature-card, .faq-item, .feedback-card, .term-card, .related-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.info-card, .category-card, .feature-card, .feedback-card, .term-card, .related-card { padding: 24px; }
.category-card::before, .info-card::before, .feature-card::before, .term-card::before {
  content: ""; display: block; width: 52px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--theme), var(--theme-accent)); margin-bottom: 16px;
}
.card-number { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--theme-soft); color: var(--theme); font-weight: 900; font-size: 13px; margin-bottom: 12px; }
.info-card h3, .category-card h3, .feature-card h3, .feedback-card h3, .term-card h3, .related-card h3 { margin: 0 0 10px; color: var(--theme-dark); line-height: 1.28; font-size: 20px; }
.info-card p, .category-card p, .feature-card p, .feedback-card p, .term-card p, .related-card p { margin: 0; color: var(--text-muted); }
.text-link { display: inline-flex; margin-top: 16px; color: var(--theme); font-weight: 800; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: 48px; }
.split-layout.reverse { grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); }
.split-layout.reverse .media-box { order: -1; }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media {
  display: flex; align-items: center; justify-content: center; overflow: visible;
  min-height: 300px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--theme-border);
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); box-shadow: var(--shadow-soft);
}
.media-box img, .banner-media img, .hero-visual img, .app-visual img, .card-media img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.copy h2 { margin: 0 0 16px; color: var(--theme-dark); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; }
.copy h3 { margin: 24px 0 8px; color: var(--theme-dark); }
.copy p { margin: 0 0 14px; color: var(--text-muted); }
.copy ul, .page-prose ul { margin: 14px 0 0; padding-left: 22px; }
.copy li, .page-prose li { margin: 7px 0; }
.page-hero { padding: 54px 0 44px; background: radial-gradient(circle at 12% 12%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: 48px; }
.page-hero h1 { margin: 0 0 18px; color: var(--theme-dark); font-size: clamp(40px, 4vw, 62px); line-height: 1.08; letter-spacing: -.025em; }
.page-hero p { margin: 0; max-width: 780px; color: var(--text-muted); font-size: 17px; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 30px; display: flex; align-items: center; justify-content: center; overflow: visible; border: 1px solid var(--theme-border); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); box-shadow: var(--shadow-soft); justify-self: end; }
.hero-media-box img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.topic-list { display: grid; gap: 14px; margin-top: 20px; }
.topic-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--white); }
.topic-row strong { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--theme-soft); color: var(--theme); }
.topic-row h3 { margin: 0 0 4px; color: var(--theme-dark); font-size: 18px; }
.topic-row p { margin: 0; color: var(--text-muted); }
.notice { padding: 26px 28px; border-radius: var(--radius-md); border: 1px solid var(--theme-border); background: linear-gradient(135deg, var(--theme-soft) 0%, var(--white) 100%); }
.notice h2, .notice h3 { margin-top: 0; color: var(--theme-dark); }
.notice p:last-child { margin-bottom: 0; }
.compliance-box { padding: 30px; border-radius: var(--radius-lg); background: var(--theme-deep); color: var(--on-dark); box-shadow: var(--shadow-soft); }
.compliance-box h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); }
.compliance-box p { margin: 0; opacity: .92; }
.compliance-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.compliance-tags span { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); font-size: 14px; font-weight: 800; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 22px; color: var(--theme-dark); font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--theme); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 22px; color: var(--text-muted); }
.faq-answer p { margin: 0; }
.feedback-card blockquote { margin: 0; color: var(--text-muted); }
.feedback-card .feedback-label { display: block; margin-top: 14px; color: var(--theme); font-weight: 800; font-size: 13px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.related-card { transition: transform .2s ease, border-color .2s ease; }
.related-card:hover { transform: translateY(-2px); border-color: rgba(125,22,11,.34); }
.site-footer { background: var(--theme-deep); color: var(--on-dark); padding: 50px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-brand img { max-width: 180px; max-height: 68px; width: auto; height: auto; object-fit: contain; display: block; margin-bottom: 18px; }
.footer-brand p, .footer-col p { color: rgba(255,255,255,.76); margin: 0; }
.footer-col h3 { margin: 0 0 14px; color: #fff; font-size: 17px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.82); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.72); font-size: 14px; }
.footer-bottom p { margin: 5px 0; }
@media (min-width: 1440px) {
  .section-inner { width: min(1360px, calc(100% - 120px)); }
  .desktop-nav a { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 180px minmax(0,1fr) 138px; }
  .desktop-nav { gap: 3px; }
  .desktop-nav a { font-size: 13px; padding-left: 6px; padding-right: 6px; }
  .header-login { min-width: 130px; padding: 0 14px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .section { padding: 44px 0; }
  .section-inner { width: min(100% - 32px, 1280px); }
  .header-inner { min-height: 74px; grid-template-columns: 48px minmax(0,1fr) 116px; gap: 10px; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .desktop-nav { display: none; }
  .site-logo { justify-self: center; }
  .site-logo img { max-width: 150px; max-height: 54px; }
  .header-login { min-width: 0; width: 116px; min-height: 42px; font-size: 13px; padding: 0 9px; }
  .page-hero-inner, .split-layout, .split-layout.reverse { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 40px 0 34px; }
  .hero-media-box { justify-self: stretch; width: 100%; min-height: 250px; max-height: 360px; }
  .split-layout.reverse .media-box { order: 0; }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .banner-arrow { width: 40px; height: 40px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .section-inner { width: calc(100% - 28px); }
  .site-logo img { max-width: 128px; max-height: 48px; }
  .header-login { width: 108px; font-size: 12px; }
  .banner-section { padding: 18px 0 20px; }
  .banner-carousel { border-radius: 16px; }
  .banner-arrow { width: 36px; height: 36px; font-size: 22px; }
  .banner-prev { left: 8px; } .banner-next { right: 8px; }
  .banner-dots { bottom: 8px; }
  .intro-card { padding: 22px; }
  .intro-card h1 { font-size: clamp(30px, 10vw, 42px); }
  .page-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .card-grid, .card-grid.three, .card-grid.two, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .media-box, .hero-media-box, .app-visual { min-height: 220px; padding: 18px; }
  .section-heading h2, .page-prose h2 { font-size: 28px; }
  .topic-row { grid-template-columns: 38px 1fr; padding: 14px; }
  .topic-row strong { width: 36px; height: 36px; }
  .compliance-box, .notice { padding: 22px; }
}

.mobile-drawer .drawer-head, .mobile-drawer .mobile-nav { color: var(--on-header); }
.mobile-drawer .mobile-nav a { color: var(--on-header); }
.mobile-drawer .mobile-nav a.active, .mobile-drawer .mobile-nav a:hover { background: rgba(255,255,255,.12); color: var(--on-header); }
.mobile-drawer .drawer-close { color: var(--on-header); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
