/* ============================================
   주소123 (juso123) Design System
   Premium Dark Theme + SEO Optimized
   ============================================ */

/* ---------- CSS Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f2e;
  --bg-card-hover: #222840;
  --bg-glass: rgba(26,31,46,0.85);
  --accent: #4f46e5;
  --accent-light: #818cf8;
  --accent-glow: rgba(79,70,229,0.3);
  --accent-gradient: linear-gradient(135deg, #4f46e5, #8b5cf6, #a78bfa);
  --text-primary: #e5e7eb;
  --text-secondary: #a1a8b5;
  --text-muted: #8b94a5;
  --text-heading: #f9fafb;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,102,241,0.4);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;

  /* Typography */
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-heading: 'Pretendard', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 60px;
  --space-3xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 96px;
}

/* ---------- Font ---------- */
/* Font loading moved to HTML <head> for performance */

/* ---------- Base ---------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139,92,246,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-light); }

img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand img {
  height: 72px;
  width: auto;
}

.brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--text-heading);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Ticker ---------- */
.ticker-wrap {
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  overflow: hidden;
  padding: 8px 0;
  font-size: 0.82rem;
  color: #fff;
  font-weight: 500;
}

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

.ticker-item {
  display: inline-block;
  padding: 0 24px;
}

@keyframes ticker {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-100%,0,0); }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  padding: 6px 16px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-full);
}

/* Search */
.hero-search {
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.hero-search input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search input:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.hero-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  font-size: 0.85rem;
}

.hero-tags a {
  padding: 5px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.hero-tags a:hover {
  background: rgba(99,102,241,0.15);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-heading);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.btn.lg {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ---------- Sections ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: var(--space-2xl) 0 var(--space-lg);
  padding-left: var(--space-md);
  border-left: 4px solid var(--accent);
}

.section-title .badge {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: rgba(99,102,241,0.15);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-weight: 500;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.card-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition-normal);
}

.card:hover .card-cover { opacity: 1; }

.card-body {
  padding: var(--space-lg);
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.card-body .excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.card-body .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Link Cards ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.link-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-card .icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.1);
  border-radius: var(--radius-sm);
}

.link-card .info strong {
  display: block;
  color: var(--text-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.link-card .info span {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Rank Badge */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #000; }
.rank-3 { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.rank-n { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }

/* ---------- Text Box (Content Box) ---------- */
.text-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.text-box h2 {
  color: var(--text-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.text-box h3 {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: var(--space-lg) 0 var(--space-sm);
}

.text-box h3:first-child { margin-top: 0; }

.text-box p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--text-primary);
}

.text-box ul, .text-box ol {
  margin: var(--space-md) 0 var(--space-md) var(--space-lg);
}

.text-box li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.text-box strong {
  color: var(--text-heading);
}

.text-box a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.text-box a:not(.btn):hover {
  text-decoration: none;
}

.text-box.highlight-box {
  border-left: 4px solid var(--accent);
}

/* ---------- Compare Table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
}

.compare-table th {
  background: var(--bg-secondary);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.compare-table td {
  color: var(--text-primary);
}

.compare-table tr:hover td {
  background: rgba(99,102,241,0.05);
}

/* ---------- FAQ (Accordion) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

details[open] {
  border-color: var(--border-hover);
}

summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: background var(--transition-fast);
}

summary::-webkit-details-marker { display: none; }

summary::before {
  content: '▸';
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

details[open] summary::before {
  transform: rotate(90deg);
}

summary:hover {
  background: rgba(255,255,255,0.02);
}

details .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  color: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(99,102,241,0.15);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb .sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--text-heading);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Post / Article ---------- */
.post-header {
  padding: var(--space-xl) 0;
  text-align: center;
}

.post-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: var(--space-md);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content h2 {
  color: var(--text-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: var(--space-xl) 0 var(--space-md);
  padding-left: var(--space-md);
  border-left: 3px solid var(--accent);
}

.post-content h3 {
  color: var(--text-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: var(--space-lg) 0 var(--space-sm);
}

.post-content p {
  margin-bottom: var(--space-md);
  line-height: 1.85;
}

.post-content ul, .post-content ol {
  margin: var(--space-md) 0 var(--space-md) var(--space-lg);
}

.post-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.post-content img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.post-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover {
  color: var(--accent);
}

/* ---------- Notice / Alert Box ---------- */
.notice {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
  font-size: 0.9rem;
}

.notice.info {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--accent-light);
}

.notice.warning {
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  color: var(--warning);
}

.notice.success {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--success);
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-card h3 {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--accent-light);
}

/* ---------- Table of Contents ---------- */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.toc-title {
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.toc ol {
  margin-left: var(--space-lg);
  counter-reset: toc;
}

.toc li {
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.toc a:hover {
  color: var(--accent-light);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .hero { padding: var(--space-xl) var(--space-md); }
  .hero h1 { font-size: 1.6rem; }

  .grid,
  .grid-2,
  .link-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .text-box {
    padding: var(--space-lg);
  }

  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 8px 6px;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .ticker-wrap, .scroll-top { display: none; }
  body { background: #fff; color: #000; }
  .text-box, .card { border: 1px solid #ccc; }
}

/* ---------- Overflow Table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
}
