:root {
  --green-900: #0b2e23;
  --green-800: #0f3d2e;
  --green-600: #1f6b4f;
  --green-300: #7fd1a4;
  --green-50: #eef7f2;
  --ink: #15211c;
  --muted: #55645d;
  --line: #dce6e0;
  --bg: #ffffff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.brand strong { color: var(--green-600); }
nav { display: flex; align-items: center; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--green-600); color: #fff !important; text-decoration: none;
  font-weight: 600; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-bright { background: var(--green-300); color: var(--green-900) !important; }
.btn-bright:hover { background: #a3e3bf; }
.btn-light { background: #fff; color: var(--green-800) !important; }
.btn-light:hover { background: var(--green-50); }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(127,209,164,.25), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-800) 60%, #14513c);
  color: #fff;
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--green-300); }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); max-width: 15ch; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--green-50); }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 40px; font-size: 1.05rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 32px; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--green-300); box-shadow: 0 8px 24px rgba(15,61,46,.08); }
.card p { color: var(--muted); margin: 0; }
.card-accent { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.card-accent p { color: rgba(255,255,255,.8); }
.card-link { display: inline-block; margin-top: 14px; color: var(--green-300); font-weight: 600; text-decoration: none; }

/* FDE */
.split { display: grid; gap: 48px; grid-template-columns: 1fr 1.1fr; align-items: start; }
.split > div p { color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: s; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 16px 62px; display: grid; gap: 2px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
}
.steps span { color: var(--muted); font-size: .95rem; }

/* Approach */
.pillar-num { color: var(--green-600); font-weight: 700; font-size: .9rem; letter-spacing: .08em; }
.pillar h3 { margin-top: 6px; }
.pillar p { color: var(--muted); }

/* CTA */
.section-cta { background: var(--green-800); color: #fff; text-align: center; }
.cta p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.6); font-size: .9rem; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Active nav link */
nav a[aria-current="page"] { color: var(--green-600); }

/* Inner-page hero */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); max-width: 20ch; }

/* Service cards on home */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: " \2192"; color: var(--green-600); }
.card-accent h3 a::after { color: var(--green-300); }
.card-list { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.card-accent .card-list { color: rgba(255,255,255,.8); }
.card-list li { margin-bottom: 4px; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { padding-left: 30px; position: relative; color: var(--muted); }
.feature-list li strong { color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 14px; border-radius: 4px; background: var(--green-300);
  box-shadow: inset 0 0 0 3px var(--green-600);
}

/* Result legend (GRC) */
.legend { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
@media (max-width: 900px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }
.legend div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.legend b { display: inline-block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.legend p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag-pass { background: #dff3e8; color: #135c3d; }
.tag-fail { background: #fbe3e0; color: #8a2b1f; }
.tag-unknown { background: #fff1d6; color: #7a5300; }
.tag-attest { background: #e4ecf7; color: #234a7a; }

/* Callout */
.callout {
  border-left: 4px solid var(--green-600); background: var(--green-50);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0 0;
}
.callout p:last-child { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green-600); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--green-50); }
.contact-box .btn { margin-top: 8px; }

/* Footer nav */
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-links a:hover { color: #fff; }

a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }

@media (max-width: 760px) {
  .nav { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 8px; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 6px 18px; }
  .site-header nav a { white-space: nowrap; font-size: .92rem; }
  .site-header nav .btn-small { background: none; padding: 0; color: var(--green-600) !important; font-weight: 600; transform: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Homepage notice strip */
.notice { background: var(--green-50); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: .97rem; color: var(--ink); }
.notice a { font-weight: 600; white-space: nowrap; }

/* Articles */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.05rem; color: #2b3a33; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h3 { margin-top: 1.5em; font-size: 1.15rem; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .callout { margin: 28px 0; }
.fine-print { font-size: .9rem !important; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }
.post-date { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600) !important; font-weight: 600; margin-bottom: 8px !important; }
.card .post-date + h3 { line-height: 1.35; }
.card .post-date ~ p:last-child { margin-top: 10px; }
