:root {
  --teal: #00c896;
  --coral: #ff6b35;
  --charcoal: #0f1117;
  --ink: #1a1a2e;
  --muted: #5b6472;
  --paper: #f9fafb;
  --line: #e6e9ee;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 17, 23, 0.11);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, article a { color: #087f64; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, .logo, .eyebrow {
  font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.35rem, 6vw, 5.15rem); line-height: 0.95; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.08; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 .65rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin: .38rem 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; }
.section.tight { padding: 48px 0; }
.dark {
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 200, 150, .26), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(255, 107, 53, .18), transparent 30%),
    linear-gradient(135deg, #0f1117, #171b23);
}
.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 1px, transparent 1px 6px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230,233,238,.85);
  background: rgba(249,250,251,.9);
  backdrop-filter: blur(14px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { font-size: 1.22rem; font-weight: 800; }
.logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 1.2rem; font-weight: 700; color: #313748; }
.nav-links a:hover { color: #087f64; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; border-radius: var(--radius); font-size: 1.35rem; }
.disclosure {
  display: none;
  padding: .62rem 1rem;
  background: #fff7ed;
  color: #70300f;
  border-bottom: 1px solid #fed7aa;
  font-size: .93rem;
  text-align: center;
}
.disclosure.show { display: block; }
.disclosure button { margin-left: .5rem; border: 0; background: transparent; color: #70300f; font-weight: 900; cursor: pointer; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .82rem 1.08rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 14px 28px rgba(255,107,53,.22); }
.btn.primary { background: var(--coral); color: #fff; }
.btn.secondary { background: #fff; color: var(--charcoal); border-color: var(--line); }
.microcopy { display: flex; align-items: center; gap: .35rem; margin-top: .5rem; color: #6b7280; font-size: .82rem; font-weight: 800; }
.dark .microcopy { color: rgba(255,255,255,.72); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 44px; align-items: center; padding: 84px 0 48px; }
.eyebrow { margin-bottom: .85rem; color: var(--teal); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.lede { font-size: clamp(1.08rem, 2vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 680px; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-top: 1.45rem; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.65rem; color: rgba(255,255,255,.76); font-size: .92rem; font-weight: 800; }
.proof-strip span { padding: .35rem .62rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); }
.hero-media { min-height: 420px; display: grid; place-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card, .score, .callout, .toc, .summary-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }
.icon { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(0,200,150,.12); color: #087f64; font-size: 1.25rem; margin-bottom: 1rem; }
.muted { color: var(--muted); }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check { border-left: 4px solid var(--teal); }
.warn { border-left: 4px solid var(--coral); }
.score { padding: 22px; }
.stars { color: #f59e0b; letter-spacing: .08em; font-size: 1.25rem; }
.meter { margin: .8rem 0; }
.meter-row { display: flex; justify-content: space-between; gap: .5rem; font-weight: 800; font-size: .9rem; }
.bar { height: 9px; background: #ecf0f3; border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #6ee7b7); }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 20px 20px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-weight: 900;
}
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 900; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.78); padding: 52px 0 86px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 28px; }
.footer-grid a { display: block; margin: .35rem 0; color: rgba(255,255,255,.84); }
.article-hero { padding: 58px 0; background: #fff; border-bottom: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
.toc { position: sticky; top: 94px; padding: 18px; font-size: .94rem; }
.toc strong { display: block; margin-bottom: .5rem; }
.toc a { display: block; padding: .35rem 0; color: #3d4654; font-weight: 800; }
.content { background: transparent; }
.content h2 { margin-top: 2.2rem; }
.content h3 { margin-top: 1.5rem; }
.content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.content th, .content td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content th { background: #ecfdf5; }
.summary-box { padding: 24px; margin: 24px 0; }
.callout { padding: 24px; margin: 28px 0; background: #fff; border-left: 5px solid var(--coral); }
.byline { display: flex; gap: .85rem; align-items: center; color: var(--muted); font-weight: 700; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--coral)); display: grid; place-items: center; color: #fff; font-weight: 900; flex: 0 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); background: linear-gradient(135deg, #102028, #00c896 55%, #ff6b35); margin-bottom: 1rem; overflow: hidden; }
.progress { position: fixed; top: 0; left: 0; width: 0; height: 4px; background: var(--coral); z-index: 100; }
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  box-shadow: 0 18px 38px rgba(15,17,23,.24);
}
.badge-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: .9rem 0; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .55rem; border-radius: 999px; background: #ecfdf5; color: #08664f; font-size: .82rem; font-weight: 900; }
.legal { font-size: .92rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .grid-3, .grid-2, .split-list, .cta-band .container, .footer-grid, .blog-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav .btn { display: none; }
  .toc { position: static; }
  .mobile-cta { display: inline-flex; }
}

@media (max-width: 520px) {
  .container, .narrow { width: min(100% - 24px, 1120px); }
  .section { padding: 54px 0; }
  .hero-media { min-height: 300px; }
  .btn { width: 100%; }
  .hero-actions .btn, .actions .btn { width: auto; flex: 1 1 220px; }
  .content th, .content td { font-size: .88rem; padding: .62rem; }
}
