* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1a3a5c;
  --primary-light: #2d5a87;
  --accent: #c8932a;
  --bg: #f7f8fa;
  --text: #2c3e50;
  --text-light: #6b7c8d;
  --border: #e1e5ea;
  --white: #ffffff;
  --success: #27ae60;
  --warning: #e67e22;
  --danger: #c0392b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* === DISCLAIMER BANNER === */
.disclaimer-banner {
  background: #fff8e1;
  border-bottom: 2px solid #ffc107;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: #795548;
}
.disclaimer-banner strong { color: #5d4037; }
.disclaimer-banner a { color: var(--primary); text-decoration: underline; }

/* === HEADER === */
.site-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.site-name span { color: var(--accent); }
.site-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* === BREADCRUMBS === */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.hero h1 { font-size: 32px; margin-bottom: 12px; font-weight: 700; }
.hero p { font-size: 17px; max-width: 700px; margin: 0 auto; opacity: 0.9; }

/* === CONTENT === */
.page-content { padding: 40px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.content-main { min-width: 0; }
.content-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

.content-main h2 {
  font-size: 24px;
  color: var(--primary);
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.content-main h3 {
  font-size: 19px;
  color: var(--primary-light);
  margin: 24px 0 10px;
}
.content-main p { margin-bottom: 14px; }
.content-main ul, .content-main ol { margin: 0 0 16px 20px; }
.content-main li { margin-bottom: 6px; }

.content-main a { color: var(--primary-light); text-decoration: none; }
.content-main a:hover { text-decoration: underline; }

/* === CARD GRID === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card h3 { color: var(--primary); font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.card .card-link {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }

/* === HOW-TO BUTTONS === */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.howto-btn {
  display: block;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  text-align: center;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.howto-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* === SIDEBAR === */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 8px; }
.sidebar-box a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.sidebar-box a:hover { color: var(--primary); text-decoration: underline; }

.sidebar-note {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: #2e7d32;
}
.sidebar-note strong { display: block; margin-bottom: 4px; }

/* === INFO BOXES === */
.info-box {
  background: #e3f2fd;
  border-left: 4px solid var(--primary-light);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.info-box strong { color: var(--primary); }

.warning-box {
  background: #fff3e0;
  border-left: 4px solid var(--warning);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.faq-section { margin: 30px 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 20px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-size: 15px;
}
.faq-item summary:hover { background: #f5f7fa; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p { padding: 14px 20px; color: var(--text-light); font-size: 14px; }

/* === TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.data-table th {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  padding: 12px;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.data-table tr:nth-child(even) td { background: #f5f7fa; }

/* === FOOTER === */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 30px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.footer-col h5 { color: var(--white); font-size: 14px; margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .hero h1 { font-size: 24px; }
  .site-header .container { flex-direction: column; gap: 10px; }
  .nav-links { justify-content: center; }
}