:root {
  color-scheme: light;
  --ink: #173027;
  --muted: #52655c;
  --green: #174838;
  --green-dark: #10382a;
  --green-soft: #e7f1eb;
  --border: #d6e2da;
  --surface: #ffffff;
  --page: #f7faf8;
  --shadow: 0 18px 40px rgb(19 57 39 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #b45719; outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; z-index: 20; top: 0.75rem; left: 0.75rem; padding: 0.55rem 0.8rem; transform: translateY(-160%); background: var(--surface); border: 2px solid var(--green); border-radius: 0.5rem; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-shell { display: flex; min-height: 100vh; flex-direction: column; }
.container { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 49rem); }
.site-header { border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 96%); }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.7rem; font-size: 1.1rem; font-weight: 750; letter-spacing: -0.02em; text-decoration: none; }
.brand-symbol { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 0.55rem; background: var(--green); color: white; font-size: 1rem; font-weight: 800; line-height: 1; }
.nav-list, .footer-links { display: flex; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; gap: 0.35rem 1.25rem; list-style: none; }
.nav-link, .footer-link, .text-link { color: var(--green); font-weight: 680; text-decoration-thickness: 1px; text-underline-offset: 0.28em; }
.nav-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: 0.95rem; }
.nav-link[aria-current="page"] { text-decoration-thickness: 2px; }
.nav-link:hover, .footer-link:hover, .text-link:hover { color: var(--green-dark); }
main { flex: 1; }
.hero { padding-block: clamp(4rem, 9vw, 7.25rem) clamp(3.6rem, 8vw, 6rem); }
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.25rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--green); font-size: 0.86rem; font-weight: 780; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.16; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.55rem, 8vw, 5rem); font-weight: 770; letter-spacing: -0.052em; }
.page-hero h1 { font-size: clamp(2.35rem, 7vw, 4.25rem); }
.hero-copy { max-width: 45rem; margin: 1.45rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.25rem); line-height: 1.58; }
.hero-actions, .card-actions { display: flex; margin-top: 1.75rem; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.25rem; }
.button { display: inline-flex; min-height: 3rem; padding: 0.68rem 1.05rem; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 0.58rem; background: var(--green); color: white; font-weight: 720; line-height: 1.3; text-align: center; text-decoration: none; }
.button:hover { background: var(--green-dark); }
.button.secondary { background: transparent; color: var(--green); }
.button.secondary:hover { background: var(--green-soft); }
.button-arrow { margin-left: 0.5rem; font-size: 1.05rem; line-height: 1; }
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); border-top: 1px solid var(--border); }
.section.alt { background: #eef5f1; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2, .prose h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.35rem); font-weight: 740; letter-spacing: -0.038em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.section-intro { max-width: 45rem; margin: -0.4rem 0 1.75rem; color: var(--muted); }
.project-grid, .feature-grid, .split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.project-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.project-card, .feature-card, .info-card { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow); }
.project-card { display: flex; min-height: 20rem; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 4vw, 2.2rem); border-top: 4px solid var(--green); }
.project-category, .kicker { margin: 0 0 0.55rem; color: var(--green); font-size: 0.82rem; font-weight: 780; letter-spacing: 0.09em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.05rem); font-weight: 740; letter-spacing: -0.04em; }
.project-description { max-width: 38rem; margin: 1rem 0 0; color: var(--muted); }
.card-actions { margin-top: 2rem; }
.project-domain { color: var(--muted); font-size: 0.88rem; }
.feature-card, .info-card { padding: clamp(1.25rem, 3vw, 1.7rem); }
.feature-card h3, .info-card h3 { margin: 0; font-size: 1.18rem; letter-spacing: -0.02em; }
.feature-card p, .info-card p { margin: 0.65rem 0 0; color: var(--muted); }
.prose { padding-bottom: clamp(4rem, 8vw, 7rem); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 2.8rem; padding-top: 2.4rem; border-top: 1px solid var(--border); }
.prose h3 { margin: 2rem 0 0; font-size: 1.18rem; }
.prose p, .prose li { color: #334b41; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.note { padding: 1.2rem 1.3rem; border: 1px solid #bdd6c7; border-radius: 0.8rem; background: var(--green-soft); }
.note p { margin: 0; }
.definition-list { display: grid; grid-template-columns: minmax(9rem, 0.45fr) 1fr; margin: 1.5rem 0; border-top: 1px solid var(--border); }
.definition-list dt, .definition-list dd { margin: 0; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.definition-list dt { font-weight: 740; }
.definition-list dd { color: var(--muted); }
.faq details { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 720; }
.faq details p { margin: 0.7rem 0 0; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; min-height: 6rem; padding-block: 1rem; align-items: center; justify-content: space-between; gap: 1rem 2rem; color: var(--muted); font-size: 0.9rem; }
.footer-link { color: var(--muted); font-weight: 620; }
@media (max-width: 760px) {
  .header-inner { min-height: auto; padding-block: 0.7rem; align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .nav-list { gap: 0 1rem; }
  .nav-link { min-height: 2.35rem; }
  .feature-grid, .split-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .container, .narrow { width: min(100% - 1.5rem, 70rem); }
  .hero { padding-top: 4rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
  .project-card { padding: 1.4rem; }
  .definition-list { grid-template-columns: 1fr; }
  .definition-list dt { padding-bottom: 0.15rem; border-bottom: 0; }
  .definition-list dd { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
