/* ============ Y2K 레트로 디자인 ============ */
:root {
  /* Y2K 컬러 팔레트 */
  --hot-pink: #FF2EC4;
  --hot-pink-dark: #D900A0;
  --lime: #C6FF00;
  --cyan: #00E5FF;
  --purple: #8B5CF6;
  --yellow: #FFEB3B;
  --orange: #FF6B35;

  /* 베이스 */
  --bg: #FFE0F0;          /* 연핑크 배경 */
  --bg-alt: #E0F7FF;      /* 연시안 */
  --paper: #FFFFFF;
  --ink: #1A0033;          /* 진한 보라 텍스트 */
  --ink-soft: #4A1F70;
  --ink-mid: #6B4A8E;
  --ink-light: #9B7AB5;

  /* 라인 */
  --line: #1A0033;
  --line-pink: #FF2EC4;
  --line-cyan: #00E5FF;

  /* 그라디언트 */
  --grad-y2k: linear-gradient(135deg, #FF2EC4 0%, #8B5CF6 50%, #00E5FF 100%);
  --grad-sunset: linear-gradient(135deg, #FF2EC4, #FF6B35, #FFEB3B);
  --grad-aqua: linear-gradient(135deg, #00E5FF, #C6FF00);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', 'Comic Sans MS', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  /* Y2K 패턴 배경 */
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255, 46, 196, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(0, 229, 255, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(198, 255, 0, 0.1) 0%, transparent 25%);
  background-attachment: fixed;
  position: relative;
}

/* 별 패턴 오버레이 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(2px 2px at 50% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 10% 80%, white, transparent),
    radial-gradient(1px 1px at 80% 20%, white, transparent);
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ============ 헤더 ============ */
header {
  background: var(--paper);
  border: 3px solid var(--ink);
  margin: 16px;
  border-radius: 18px;
  position: sticky;
  top: 16px;
  z-index: 100;
  box-shadow: 4px 4px 0 var(--hot-pink), 8px 8px 0 var(--cyan);
}

.nav {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--grad-y2k);
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: white;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 3px;
  font-style: italic;
}

.brand-tag {
  font-size: 9.5px;
  color: var(--hot-pink-dark);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  border-radius: 100px;
  transition: all 0.15s;
  border: 2px solid transparent;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
  background: var(--lime);
  border-color: var(--ink);
  color: var(--ink);
}

.chevron {
  font-size: 9px;
  transition: transform 0.2s;
}

.main-menu > li:hover .chevron { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 220px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  list-style: none;
  z-index: 10;
  box-shadow: 4px 4px 0 var(--hot-pink);
}

.main-menu > li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.15s;
}

.submenu li a:hover,
.submenu li a.active {
  background: var(--cyan);
  font-weight: 800;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--hot-pink);
  color: white;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 100px;
  transition: all 0.15s;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: 0.25s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ 마퀴 (스크롤 띠) ============ */
.marquee {
  background: var(--ink);
  color: var(--lime);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: 10px 0;
  margin: 16px;
  border-radius: 12px;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}

.marquee-track span { margin: 0 24px; }
.marquee-track .pink { color: var(--hot-pink); }
.marquee-track .cyan { color: var(--cyan); }
.marquee-track .yellow { color: var(--yellow); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ 페이지 헤더 ============ */
.page-header {
  position: relative;
  padding: 48px 16px 36px;
  margin: 0 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--hot-pink), 12px 12px 0 var(--cyan);
  margin-bottom: 32px;
}

.page-header-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 11.5px;
  color: var(--hot-pink-dark);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--ink-light); }
.breadcrumb .current { color: var(--ink); }

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--lime);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

.page-tag::before {
  content: '★';
  color: var(--hot-pink);
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin-bottom: 22px;
  word-break: keep-all;
  font-style: italic;
}

.page-header h1 .accent {
  background: var(--grad-y2k);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.page-header h1 .wave {
  display: inline-block;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-6px) rotate(5deg); }
}

.page-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  word-break: keep-all;
  font-weight: 500;
  max-width: 720px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 2px dashed var(--cyan);
  border-radius: 14px;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--ink-light);
  font-size: 11px;
  color: var(--ink-mid);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.page-meta span {
  padding: 4px 12px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
}

.page-meta strong { color: var(--ink); }

/* ============ 콘텐츠 ============ */
.content {
  padding: 0 16px 48px;
}

.content-inner {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 6px 6px 0 var(--lime), 12px 12px 0 var(--hot-pink);
}

.content h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  margin: 48px 0 18px;
  letter-spacing: -0.8px;
  word-break: keep-all;
  line-height: 1.3;
  position: relative;
  padding-left: 18px;
  font-style: italic;
}

.content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background: var(--grad-y2k);
  border-radius: 3px;
}

.content h2:first-child { margin-top: 0; }

.content h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--hot-pink-dark);
  margin: 32px 0 12px;
  letter-spacing: -0.4px;
  word-break: keep-all;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.content h3::before {
  content: '◆';
  color: var(--cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.content p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 16px;
  word-break: keep-all;
}

.content strong {
  color: var(--ink);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 60%, var(--lime) 60%);
  padding: 0 3px;
}

.content em {
  font-style: italic;
  color: var(--hot-pink);
  font-weight: 700;
}

.content ul, .content ol {
  margin: 18px 0 22px;
  padding-left: 0;
  list-style: none;
}

.content li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
  word-break: keep-all;
  padding-left: 28px;
  position: relative;
}

.content ul li::before {
  content: '✦';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--hot-pink);
  font-size: 14px;
}

.content ol {
  counter-reset: ol-counter;
}

.content ol li {
  counter-increment: ol-counter;
}

.content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--grad-y2k);
  color: white;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
}

/* 박스들 */
.info-box, .tip-box, .warning-box {
  margin: 28px 0;
  padding: 22px 26px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  position: relative;
  box-shadow: 4px 4px 0 var(--ink);
}

.info-box { background: var(--bg-alt); }
.tip-box { background: #FFF0F8; }
.warning-box { background: var(--yellow); }

.info-label, .tip-label, .warning-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 2px solid var(--ink);
}

.info-label { background: var(--cyan); color: var(--ink); }
.tip-label { background: var(--hot-pink); color: white; }
.warning-label { background: var(--orange); color: white; }

.info-box p, .tip-box p, .warning-box p {
  font-size: 14.5px;
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 500;
}

.info-box p:last-child,
.tip-box p:last-child,
.warning-box p:last-child { margin-bottom: 0; }

/* 데이터 테이블 */
.data-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--cyan);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead th {
  padding: 14px 16px;
  background: var(--grad-y2k);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.data-table th.center { text-align: center; }

.data-table td {
  padding: 12px 16px;
  border-bottom: 1.5px dashed var(--ink-light);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.data-table td.center { text-align: center; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(odd) td { background: #FFF8FC; }
.data-table tbody tr:hover td { background: var(--lime); }

.data-table td:first-child {
  font-weight: 800;
  color: var(--ink);
}

/* 페이지 CTA */
.page-cta {
  margin: 56px 0 0;
  padding: 48px 36px;
  background: var(--grad-y2k);
  border: 3px solid var(--ink);
  border-radius: 24px;
  text-align: center;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}

.page-cta::before {
  content: '★ ★ ★ ★ ★';
  display: block;
  font-size: 16px;
  letter-spacing: 8px;
  color: var(--yellow);
  margin-bottom: 14px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.page-cta h3 {
  font-size: 26px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
  line-height: 1.3;
  font-style: italic;
  text-shadow: 2px 2px 0 var(--ink);
  padding: 0;
  display: block;
}

.page-cta h3::before { display: none; }

.page-cta p {
  font-size: 15px;
  color: white;
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  border: 3px solid var(--ink);
  border-radius: 100px;
  transition: all 0.15s;
  box-shadow: 4px 4px 0 var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--yellow);
}

/* 관련 페이지 */
.related {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 3px dashed var(--hot-pink);
}

.related-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--hot-pink-dark);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-card {
  display: block;
  padding: 24px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 var(--lime);
}

.related-card:nth-child(2) { box-shadow: 4px 4px 0 var(--cyan); }

.related-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--hot-pink);
}

.related-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: var(--hot-pink-dark);
  background: var(--yellow);
  padding: 3px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.related-card h4 {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.3;
  margin-bottom: 8px;
  word-break: keep-all;
  font-style: italic;
}

.related-card p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.55;
  word-break: keep-all;
  font-weight: 500;
}

/* 플로팅 CTA */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--hot-pink);
  color: white;
  padding: 13px 22px;
  border: 3px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 900;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.float-cta:hover {
  transform: translate(-2px, -2px) scale(1.05);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.bounce {
  display: inline-block;
  animation: bounce-y 1s ease-in-out infinite;
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* 푸터 */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 16px 32px;
  margin: 32px 16px 16px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--hot-pink) 0,
    var(--hot-pink) 30px,
    var(--lime) 30px,
    var(--lime) 60px,
    var(--cyan) 60px,
    var(--cyan) 90px,
    var(--yellow) 90px,
    var(--yellow) 120px
  );
}

.footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 2px dashed rgba(255,255,255,0.2);
}

.footer-brand {
  font-size: 24px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
  font-style: italic;
}

.footer-brand-tag {
  font-size: 10.5px;
  color: var(--lime);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  word-break: keep-all;
  font-weight: 500;
}

.footer-col h5 {
  font-size: 11px;
  color: var(--hot-pink);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 9px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--lime); }

.footer-notice {
  background: rgba(255, 46, 196, 0.15);
  border: 2px solid var(--hot-pink);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-notice strong {
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 10px;
  font-size: 11px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ============ 반응형 ============ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-box { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav { padding: 12px 18px; }
  .brand-tag { display: none; }
  .nav-tel { display: none; }
  .main-menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 300px;
    max-height: calc(100vh - 110px);
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    transition: right 0.3s;
    overflow-y: auto;
    z-index: 99;
    box-shadow: -4px 4px 0 var(--hot-pink);
    margin-right: 16px;
  }
  .main-menu.active { right: 0; }
  .main-menu > li > a { padding: 12px 14px; font-size: 14px; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    margin: 4px 0;
  }
  .submenu li a { font-size: 13px; padding: 7px 12px; }
  .hamburger { display: flex; }

  .page-header { padding: 36px 20px 28px; }
  .page-header-inner, .content-inner { padding: 0; }
  .content-inner { padding: 32px 24px; }
}

@media (max-width: 640px) {
  header { margin: 8px; top: 8px; box-shadow: 3px 3px 0 var(--hot-pink), 6px 6px 0 var(--cyan); }
  .marquee { margin: 8px; }
  .page-header { margin: 0 8px 20px; padding: 28px 18px 22px; box-shadow: 4px 4px 0 var(--hot-pink), 8px 8px 0 var(--cyan); }
  .page-header h1 { font-size: 1.9rem; letter-spacing: -1px; }
  .page-lead { font-size: 15.5px; padding: 14px 16px; }

  .content { padding: 0 8px 32px; }
  .content-inner { padding: 28px 20px; box-shadow: 4px 4px 0 var(--lime), 8px 8px 0 var(--hot-pink); }
  .content h2 { font-size: 22px; margin: 36px 0 14px; }
  .content h3 { font-size: 17px; }
  .content p, .content li { font-size: 15px; }

  .info-box, .tip-box, .warning-box { padding: 18px 20px; }
  .data-table thead th, .data-table td { padding: 10px 12px; font-size: 12.5px; }

  .page-cta { padding: 36px 22px; }
  .page-cta h3 { font-size: 21px; }

  footer { margin: 20px 8px 8px; padding: 40px 16px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand { font-size: 22px; }

  .float-cta { bottom: 16px; right: 16px; padding: 11px 18px; font-size: 12px; }
}
