:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #f5faf7;
  --text: #0f172a;
  --muted: #475569;
  --line: #dce6df;
  --accent: #00a860;
  --accent-2: #00d27a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 228, 241, 0.8);
  background: rgba(244, 248, 252, 0.9);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(11, 124, 255, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(11, 124, 255, 0.18);
}

.nav-cta:hover {
  text-decoration: none;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(11, 124, 255, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.btn:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 56px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
}

.hero p.lead {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.chip-row,
.stat-grid,
.card-grid,
.mini-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.chip-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.chip {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card,
.card,
.faq-item,
.callout {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card-media {
  aspect-ratio: 4 / 4.7;
  background: #eef8f2;
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-copy {
  padding: 18px 20px 22px;
}

.hero-card-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.section {
  padding: 18px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
}

.section .section-intro {
  max-width: 70ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

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

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.faq-item,
.callout {
  padding: 22px;
}

.card h3,
.faq-item h3,
.callout h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

.card p,
.faq-item p,
.callout p,
.article-copy p,
.article-copy li {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.article-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.article-copy {
  display: grid;
  gap: 18px;
}

.article-copy h2,
.article-copy h3 {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.2;
}

.article-copy h2 {
  font-size: 1.7rem;
}

.article-copy h3 {
  font-size: 1.18rem;
}

.article-copy ul,
.article-copy ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

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

.compare-stack {
  display: grid;
  gap: 14px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-row > div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.compare-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.compare-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.footer {
  padding: 32px 0 48px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 228, 241, 0.9);
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1rem;
}

.footer-stack {
  display: grid;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-social,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.92rem;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .card-grid,
  .faq-grid,
  .compare-row,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 20px));
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }

  .nav-cta {
    min-height: 38px;
  }

  .chip-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .card,
  .faq-item,
  .callout,
  .hero-card-copy {
    padding: 18px;
  }
}
