@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a2e;
  background-color: #fafafa;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

::selection {
  background-color: #2563eb;
  color: white;
}

img {
  max-width: 100%;
}

/* ---- Container ---- */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

/* ---- Header ---- */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 24px;
  height: 24px;
  color: #1d4ed8;
  transition: color 0.2s;
}

.logo:hover svg { color: #2563eb; }

.logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.2s;
}

.logo:hover .logo-text { color: #1d4ed8; }

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

/* Mobile menu button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #4b5563;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.menu-btn:hover { color: #1d4ed8; }

@media (min-width: 768px) {
  .menu-btn { display: none; }
}

.menu-btn svg { width: 20px; height: 20px; }

/* Mobile nav */
.nav-mobile {
  display: none;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

.nav-mobile.open { display: block; }

.nav-mobile .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: #1d4ed8;
  background: #eff6ff;
}

/* ---- Footer ---- */
.site-footer {
  background: #111827;
  color: #d1d5db;
}

.site-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.disclaimer-box {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.disclaimer-box strong { color: #fff; }

.disclaimer-box p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand .logo svg { color: #60a5fa; }
.footer-brand .logo:hover svg { color: #93c5fd; }
.footer-brand .logo .logo-text { color: #fff; font-size: 1rem; }
.footer-brand .logo:hover .logo-text { color: #93c5fd; }

.footer-brand p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-links a:hover { color: #60a5fa; }

.footer-info p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #eff6ff, #fff, #f0f9ff);
  border-bottom: 1px solid #f3f4f6;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .hero { padding: 6rem 0; }
}

.hero .container { text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}

.hero h1 .text-blue { color: #1d4ed8; }

.hero-desc {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Sections ---- */
.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section { padding: 5rem 0; }
}

.section-gray {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.section-white {
  background: #fff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.section-blue {
  background: #1d4ed8;
  color: #fff;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .section-heading { font-size: 1.875rem; }
}

.section-blue .section-heading { color: #fff; }

.section-heading-center {
  text-align: center;
}

/* ---- Card ---- */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
  .card { padding: 2.5rem; }
}

/* ---- Steps ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #dbeafe;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #1d4ed8;
}

.step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.step p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.check-list svg {
  width: 16px;
  height: 16px;
  color: #2563eb;
  flex-shrink: 0;
}

/* ---- Benefits grid ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.benefit-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background: #dbeafe;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: #1d4ed8;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ---- Notice box ---- */
.notice-box {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 640px) {
  .notice-box { padding: 2.5rem; }
}

.notice-amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.notice-amber svg { color: #d97706; flex-shrink: 0; }

.notice-amber p {
  font-size: 0.875rem;
  color: #92400e;
  line-height: 1.7;
}

.notice-amber strong { color: #78350f; }

.notice-box svg {
  width: 32px;
  height: 32px;
  margin-top: 2px;
}

/* ---- Topics grid ---- */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .topics-grid { grid-template-columns: 1fr 1fr; }
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.topic-item svg {
  width: 20px;
  height: 20px;
  color: #1d4ed8;
  flex-shrink: 0;
  margin-top: 2px;
}

.topic-item span {
  font-size: 0.875rem;
  color: #374151;
}

.italic-note {
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  color: #6b7280;
}

/* ---- Article links ---- */
.article-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-link {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article-link:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.article-link-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-link h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.article-link:hover h3 { color: #1d4ed8; }

.article-link p {
  font-size: 0.875rem;
  color: #4b5563;
}

.article-link .chevron {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: color 0.2s;
}

.article-link:hover .chevron { color: #1d4ed8; }

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: #1d4ed8;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-question h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #111827;
  font-size: 0.9375rem;
}

.faq-item p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
  margin-left: 2rem;
}

/* ---- CTA ---- */
.cta-icon {
  width: 40px;
  height: 40px;
  color: #bfdbfe;
  margin: 0 auto 1rem;
}

.cta-desc {
  color: #bfdbfe;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #1d4ed8;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}

.cta-btn:hover { background: #eff6ff; }

.cta-btn svg { width: 16px; height: 16px; }

/* ---- Article page ---- */
.article-header {
  background: linear-gradient(135deg, #eff6ff, #fff, #f0f9ff);
  border-bottom: 1px solid #f3f4f6;
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .article-header { padding: 4rem 0; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #1d4ed8;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover { color: #2563eb; }

.back-link svg { width: 16px; height: 16px; }

.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.article-badge svg { width: 12px; height: 12px; }

.article-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .article-header h1 { font-size: 2rem; }
}

@media (min-width: 768px) {
  .article-header h1 { font-size: 2.5rem; }
}

.article-body {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .article-body { padding: 4rem 0; }
}

.article-body .container {
  max-width: 768px;
}

.article-body p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-body p.lead {
  font-size: 1.125rem;
}

.article-body section {
  margin-bottom: 2rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .article-body h2 { font-size: 1.5rem; }
}

.article-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-section-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #dbeafe;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-section-icon svg {
  width: 20px;
  height: 20px;
  color: #1d4ed8;
}

.reflection-box {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .reflection-box { padding: 2rem; }
}

.article-nav {
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
}

.article-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1d4ed8;
  font-weight: 500;
  transition: color 0.2s;
}

.article-nav a:hover { color: #2563eb; }

.article-nav svg { width: 16px; height: 16px; }

/* ---- Inline notice (article page) ---- */
.inline-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
}

.inline-notice svg {
  width: 20px;
  height: 20px;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.inline-notice p {
  font-size: 0.875rem !important;
  color: #92400e !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}

.inline-notice strong { color: #78350f; }

/* ---- About content ---- */
.about-content {
  max-width: 768px;
  margin: 0 auto;
}

.about-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}
