/* Intentional Computing + Meadow — shared styles */
:root {
  --green: #2F7D57;
  --green-dark: #1F5A3D;
  --green-soft: #E8F1EB;
  --bg: #FFFFFF;
  --bg-soft: #F7FAF8;
  --text: #0B1A12;
  --text-muted: #5B6B62;
  --border: #E5EBE7;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Inter, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}
a:hover { border-bottom-color: currentColor; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  border: none;
}
.brand svg { width: 22px; height: 22px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.site-nav a {
  color: var(--text-muted);
  border: none;
}
.site-nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.hero p.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 auto 36px;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, box-shadow 150ms ease;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-dark);
  border: none;
}
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--border);
}
.btn-group {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 48px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature .icon {
  width: 36px; height: 36px;
  color: var(--green);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.feature p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step { counter-increment: step; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 96px 0;
}
.final-cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 14px;
}
.final-cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: var(--text-muted); border: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .legal { font-size: 13px; opacity: 0.85; }

/* Legal / long-form pages */
.legal-page { padding: 64px 0 96px; }
.legal-page .container { max-width: 720px; }
.legal-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 10px;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 6px;
}
.legal-page p,
.legal-page li {
  color: #2a3a30;
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 12px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--text); }

/* Contact block */
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.contact-card dt { font-weight: 600; margin-top: 8px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { color: var(--text-muted); margin-bottom: 4px; }
.contact-card a { color: var(--green-dark); border: none; }

/* Utilities */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--text-muted); }

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 72px 0 56px; }
  section { padding: 56px 0; }
  .final-cta { padding: 72px 0; }
  .site-nav { gap: 14px; font-size: 14px; }
  .btn { width: 100%; }
  .btn-group { display: flex; flex-direction: column; width: 100%; }
}
