:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --emerald: #10b981;
  --emerald-dark: #047857;
  --emerald-light: #d1fae5;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--emerald-dark); }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--emerald); }

.site-nav .nav-cta {
  background: var(--emerald);
  color: #06281d;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.site-nav .nav-cta:hover { background: #34d399; color: #06281d; }

/* Hero */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #f1f5f9;
  padding: 58px 0 52px;
}

.breadcrumbs {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.breadcrumbs a { color: #a7f3d0; text-decoration: none; }
.breadcrumbs span { margin: 0 6px; }

.page-hero h1 {
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.page-hero p.lede {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 0 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: #a7f3d0;
  font-weight: 600;
}

/* Content */
.page-body { padding: 54px 0 64px; }

.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.article h2 {
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.3;
  margin: 38px 0 14px;
}

.article h2:first-of-type { margin-top: 8px; }

.article h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 26px 0 8px;
}

.article p { margin: 0 0 16px; }

.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }

.article li { margin-bottom: 8px; }

.article strong { color: var(--navy); }

.article a { font-weight: 600; }

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
}

.article th, .article td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.article th { background: #ecfdf5; color: var(--navy); }

.note {
  background: #ecfdf5;
  border-left: 4px solid var(--emerald);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 15px;
}

.warning {
  background: #fffbeb;
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 15px;
}

/* Cards & grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 22px 0 10px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.card h3 { margin-top: 0; font-size: 18px; }

.card p { margin-bottom: 0; font-size: 15px; }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.card-link h3 { color: var(--emerald-dark); }

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #065f46 0%, #0f766e 100%);
  color: #ecfdf5;
  border-radius: 18px;
  padding: 32px;
  margin: 40px 0 8px;
  text-align: center;
}

.cta-box h2 {
  color: #ffffff;
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
}

.cta-box p { color: #d1fae5; margin: 0 0 18px; }

.btn {
  display: inline-block;
  background: #fbbf24;
  color: #422006;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
}

.btn:hover { background: #fcd34d; color: #422006; }

.cta-small { font-size: 13px; color: #a7f3d0; margin-top: 12px; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #ffffff;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}

.faq details p { margin: 12px 0 0; font-size: 15px; }

/* Related links */
.related {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.related h2 { margin-top: 0; font-size: 22px; }

.related ul { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 46px 0 34px;
  text-align: center;
}

.footer-logo { margin: 0 auto 20px; width: 160px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--emerald); }

.copyright { font-size: 13px; color: #94a3b8; margin: 0 0 14px; }

.disclaimer {
  font-size: 12px;
  color: #94a3b8;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
  .site-nav { width: 100%; padding-bottom: 4px; gap: 16px; }
  .page-hero { padding: 40px 0 36px; }
  .article { border-radius: 14px; }
}
