/* Nestli resource-article stylesheet. Brand-matched to landing/index.html:
   Manrope headings, DM Sans body, DM Mono accents, the shared green/dark tokens.
   Self-contained reading layout for the /resources/* SEO pages. */

@font-face{font-family:"Manrope";src:url("/fonts/manrope-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url("/fonts/manrope-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url("/fonts/manrope-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url("/fonts/dm-sans-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url("/fonts/dm-sans-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DM Mono";src:url("/fonts/dm-mono-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Mono";src:url("/fonts/dm-mono-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}

:root{
  --green:#059669; --green-light:#10b981; --green-dim:rgba(5,150,105,0.1);
  --green-glow:rgba(5,150,105,0.25); --dark:#022C22; --dark2:#03392b;
  --surface:#071f17; --surface2:#0a2d1f; --border:rgba(5,150,105,0.15);
  --border2:rgba(5,150,105,0.08); --text:#e2ede9; --text2:#8ab5a4;
  --muted:#4a7a65; --white:#fff;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'DM Sans',system-ui,sans-serif;
  background:var(--surface); color:var(--text);
  line-height:1.7; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}

/* ---- top bar ---- */
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 48px; border-bottom:1px solid var(--border2);
  position:sticky; top:0; background:rgba(7,31,23,0.85); backdrop-filter:blur(12px); z-index:10;
}
.nav-logo{display:flex; align-items:center; gap:10px; text-decoration:none}
.nav-wordmark{font-family:'Manrope',system-ui,sans-serif; font-weight:800; font-size:18px; color:var(--white)}
.nav-cta{
  font-family:'Manrope',system-ui,sans-serif; font-weight:600; font-size:14px;
  color:var(--dark); background:var(--green-light); padding:9px 18px; border-radius:9px;
  text-decoration:none; transition:transform .15s, box-shadow .15s;
}
.nav-cta:hover{transform:translateY(-1px); box-shadow:0 8px 24px var(--green-glow)}

/* ---- article column ---- */
.wrap{max-width:760px; margin:0 auto; padding:56px 24px 24px}
.crumb{font-family:'DM Mono',monospace; font-size:12px; color:var(--muted); margin-bottom:24px}
.crumb a{color:var(--text2); text-decoration:none}
.crumb a:hover{color:var(--green-light)}

article h1{
  font-family:'Manrope',system-ui,sans-serif; font-weight:800; line-height:1.15;
  font-size:clamp(30px,5vw,44px); color:var(--white); letter-spacing:-0.02em; margin-bottom:18px;
}
.lede{font-size:19px; color:var(--text2); margin-bottom:40px}

article h2{
  font-family:'Manrope',system-ui,sans-serif; font-weight:700; line-height:1.25;
  font-size:clamp(23px,3.4vw,30px); color:var(--white); letter-spacing:-0.01em;
  margin:48px 0 16px; padding-top:8px;
}
article h3{
  font-family:'Manrope',system-ui,sans-serif; font-weight:600;
  font-size:20px; color:var(--text); margin:32px 0 12px;
}
article p{margin:0 0 20px; font-size:17px; color:var(--text)}
article ul, article ol{margin:0 0 24px; padding-left:24px}
article li{margin-bottom:10px; font-size:17px; color:var(--text)}
article li::marker{color:var(--green-light)}
article a{color:var(--green-light); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--border)}
article a:hover{text-decoration-color:var(--green-light)}
article strong{color:var(--white); font-weight:600}
article blockquote{
  border-left:3px solid var(--green); background:var(--green-dim);
  padding:16px 22px; margin:28px 0; border-radius:0 10px 10px 0; color:var(--text2); font-style:italic;
}

/* ---- inline CTA ---- */
.cta-box{
  margin:48px 0; padding:32px; border-radius:16px;
  background:linear-gradient(135deg,var(--surface2),var(--dark2));
  border:1px solid var(--border); text-align:center;
}
.cta-box h2{margin:0 0 10px; padding:0; font-size:24px}
.cta-box p{color:var(--text2); margin:0 0 22px; font-size:16px}
.cta-btn{
  display:inline-block; font-family:'Manrope',system-ui,sans-serif; font-weight:700; font-size:16px;
  color:var(--dark); background:var(--green-light); padding:14px 30px; border-radius:11px;
  text-decoration:none; transition:transform .15s, box-shadow .15s;
}
.cta-btn:hover{transform:translateY(-2px); box-shadow:0 12px 32px var(--green-glow)}
.cta-sub{display:block; margin-top:14px; font-size:13px; color:var(--muted)}
.cta-sub a{color:var(--text2)}

/* ---- FAQ ---- */
.faq{margin:56px 0 0; border-top:1px solid var(--border2); padding-top:40px}
.faq h2{margin-top:0}
.faq details{border-bottom:1px solid var(--border2); padding:18px 0}
.faq summary{
  font-family:'Manrope',system-ui,sans-serif; font-weight:600; font-size:18px; color:var(--white);
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--green-light); font-size:24px; line-height:1}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:14px 0 0; color:var(--text2); font-size:16px}

/* ---- resources index grid ---- */
.idx-hero{max-width:760px; margin:0 auto; padding:64px 24px 8px; text-align:center}
.idx-hero h1{font-family:'Manrope',system-ui,sans-serif; font-weight:800; font-size:clamp(32px,5vw,46px); color:var(--white); letter-spacing:-0.02em; margin-bottom:14px}
.idx-hero p{font-size:18px; color:var(--text2)}
.idx-grid{max-width:920px; margin:0 auto; padding:40px 24px; display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px}
.idx-card{
  display:block; padding:26px; border-radius:14px; background:var(--surface2);
  border:1px solid var(--border2); text-decoration:none; transition:transform .15s, border-color .15s;
}
.idx-card:hover{transform:translateY(-3px); border-color:var(--border)}
.idx-card h2{font-family:'Manrope',system-ui,sans-serif; font-weight:700; font-size:19px; color:var(--white); margin-bottom:10px; line-height:1.3}
.idx-card p{font-size:14px; color:var(--text2); line-height:1.6}

/* ---- footer (matches landing) ---- */
footer{
  border-top:1px solid var(--border2); padding:48px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-top:40px;
}
.footer-logo{display:flex; align-items:center; gap:10px; text-decoration:none}
.footer-wordmark{font-family:'Manrope',system-ui,sans-serif; font-weight:800; font-size:18px; color:var(--white)}
.footer-links{display:flex; gap:32px; list-style:none}
.footer-links a{font-size:13px; color:var(--muted); text-decoration:none; transition:color .2s}
.footer-links a:hover{color:var(--text2)}
.footer-copy{font-size:12px; color:var(--muted); font-family:'DM Mono',monospace}

@media(max-width:600px){
  .nav{padding:16px 20px}
  .wrap{padding:36px 20px 16px}
  footer{flex-direction:column; align-items:flex-start; padding:36px 20px}
}
