
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --navy: #1E3A5F;
  --navy-dark: #0F2942;
  --text: #1A202C;
  --text-muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F0FDF4;
  --bg-card: #F8FAFC;
  --border: #E2E8F0;
  --warning: #FEF3C7;
  --warning-border: #F59E0B;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --content-width: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover { color: var(--primary-dark); }

img, svg { display: block; max-width: 100%; }

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}

.brand-text span { color: var(--primary); }

.nav-desktop {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-desktop a:hover { color: var(--navy); }

.mobile-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 4px;
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.mobile-nav {
  display: none;
  padding: 0 20px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #A7F3D0;
  border: 1px solid rgba(167, 243, 208, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-title,
.article-title,
.article-body h2,
.article-body h3,
.tool-title {
  font-family: 'Manrope', sans-serif;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #062D1E;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-disclaimer {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}

.hero-stats-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.hero-stats-panel h2 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: #E2E8F0;
}

.hero-stat-grid {
  display: grid;
  gap: 14px;
}

.hero-stat {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  animation: floatUp 0.6s ease both;
}

.hero-stat:nth-child(2) { animation-delay: 0.08s; }
.hero-stat:nth-child(3) { animation-delay: 0.16s; }
.hero-stat:nth-child(4) { animation-delay: 0.24s; }

.hero-stat strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
}

.hero-stat span {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stats-bar {
  background: var(--navy-dark);
  color: #fff;
}

.stats-bar-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stat-chip {
  padding: 18px 20px;
  background: var(--navy-dark);
}

.stat-chip strong {
  display: block;
  color: #A7F3D0;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-chip span {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 12px 0 0;
  color: var(--text-muted);
  max-width: 760px;
}

.card,
.guide-card,
.article-card,
.calculator-card,
.topic-card,
.trust-card,
.sidebar-card,
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.card:hover,
.guide-card:hover,
.article-card:hover,
.calculator-card:hover,
[class*="card"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  transition: all 0.2s ease;
}

.topic-card,
.article-card,
.calculator-card,
.related-card {
  display: block;
  padding: 24px;
  color: inherit;
}

.card-category {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.topic-card h3,
.article-card h3,
.calculator-card h3,
.related-card h3 {
  margin: 0 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
}

.topic-card p,
.article-card p,
.calculator-card p,
.related-card p {
  margin: 0;
  color: var(--text-muted);
}

.read-link {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}

.bg-soft { background: linear-gradient(180deg, #F8FAFC 0%, #F0FDF4 100%); }

.trust-card {
  padding: 28px;
  display: grid;
  gap: 20px;
  align-items: center;
}

.author-mark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--primary));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.breadcrumb {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.breadcrumb ol {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 10px;
  color: #94A3B8;
}

.breadcrumb li:last-child::after { content: ""; margin: 0; }

.article-shell {
  display: grid;
  gap: 28px;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.article-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.article-hero-inner {
  display: grid;
  gap: 28px;
  padding: 34px 20px;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.article-title {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.byline {
  color: var(--text-muted);
  font-weight: 600;
}

.summary-box {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,185,129,0.3);
  background: #fff;
  box-shadow: var(--shadow);
}

.summary-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
}

.summary-box ul {
  margin: 0;
  padding-left: 20px;
}

.article-body {
  padding: 40px 0 70px;
}

.content-wrap {
  width: min(100%, var(--content-width));
}

.article-body p,
.article-body li {
  font-size: 18px;
  color: var(--text);
}

.article-body h2 {
  margin: 46px 0 18px;
  padding-left: 14px;
  border-left: 5px solid var(--primary);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
}

.article-body h3 {
  margin: 28px 0 12px;
  font-size: 1.22rem;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.article-body .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 22px 0 28px;
}

.article-body th,
.article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.article-body thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
}

.article-body tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.stat-callout {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #A7F3D0;
}

.stat-label {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.84);
}

.tip-box,
.warning-box,
.key-takeaways,
.author-box,
.sidebar-card {
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tip-box {
  background: var(--bg-soft);
  border: 1px solid rgba(16,185,129,0.28);
}

.warning-box {
  background: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.key-takeaways {
  background: var(--bg-soft);
  border: 1px solid rgba(16,185,129,0.36);
}

.author-box {
  background: #fff;
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
}

.guide-list,
.related-links,
.footer-col ul {
  margin: 0;
  padding-left: 18px;
}

.guide-list li,
.related-links li,
.footer-col li {
  margin-bottom: 10px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-bottom: 18px;
  color: var(--text-muted);
}

.faq-item.open .faq-answer { display: block; }

.related-grid { display: grid; gap: 18px; }

.site-footer {
  background: #0B1727;
  color: #D9E4F1;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding: 40px 0 24px;
}

.footer-col h4,
.footer-brand h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
}

.footer-brand p,
.footer-bottom {
  color: rgba(217,228,241,0.78);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(560px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 18px;
  background: #0F172A;
  color: #E2E8F0;
  box-shadow: var(--shadow-hover);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.cookie-btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn-primary {
  background: var(--primary);
  color: #04261A;
  border-color: transparent;
}

.cookie-btn-secondary {
  background: transparent;
  color: #E2E8F0;
}

.tool-card,
.tool-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.tool-grid {
  display: grid;
  gap: 22px;
}

.tool-form {
  padding: 24px;
}

.tool-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.tool-form input {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tool-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid rgba(16,185,129,0.3);
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-desktop { display: flex; }
  .mobile-nav-toggle { display: none; }
  .stats-bar-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .trust-card { grid-template-columns: auto 1fr; }
  .tool-grid { grid-template-columns: 1.2fr 0.8fr; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
  .article-shell { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-hero-inner { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-sidebar { position: sticky; top: 88px; }
}
