:root {
  --bg: #f7f5f1;
  --bg-2: #f0ece5;
  --ink: #1a1f1f;
  --muted: #4f5a5d;
  --accent: #0f6a5b;
  --accent-2: #c0662a;
  --card: #ffffff;
  --border: rgba(26, 31, 31, 0.12);
  --shadow: 0 10px 24px rgba(12, 20, 18, 0.08);
  --soft-shadow: 0 2px 6px rgba(12, 20, 18, 0.06);
  --radius: 12px;
  --max-w: 960px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(90deg, rgba(26, 31, 31, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(26, 31, 31, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 106, 91, 0.35);
  outline-offset: 3px;
}

button {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.01em;
}

pre,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 12px 16px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  z-index: 10;
}

.container {
  width: min(100% - 32px, var(--max-w));
  margin: 0 auto;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.list-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  background: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 24px 20px;
  background: rgba(247, 245, 241, 0.98);
  border-bottom: 1px solid var(--border);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--soft-shadow);
}

.button.primary:hover {
  background: #0b5a4d;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-list ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.hero-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-artifact {
  display: grid;
  gap: 12px;
}

.artifact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.artifact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--soft-shadow);
  padding: 16px;
}

.artifact-panel pre {
  background: #fbfaf7;
  border-color: rgba(26, 31, 31, 0.08);
}

.proof {
  background: rgba(255, 255, 255, 0.4);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.case-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.case-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.case-item p {
  color: var(--muted);
}

.case-item p + p {
  margin-top: 6px;
}

.case-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.finding-excerpt {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.finding-excerpt pre {
  background: #fbfaf7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
}

.service-card h3 {
  font-size: 1.1rem;
}

.service-block {
  display: grid;
  gap: 6px;
}

.service-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.service-card ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.service-timeline {
  font-size: 0.9rem;
  color: var(--muted);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.how-steps {
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.deliverables {
  list-style: none;
  display: grid;
  gap: 10px;
}

.deliverables li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.deliverables li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.principles {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.principles ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 16px;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-template {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.contact-template pre {
  background: #ffffff;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
  background: var(--bg-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.footer-grid a {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .proof-grid,
  .service-grid,
  .how-grid,
  .principles,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions .button.ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav.is-open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .nav-actions .button.primary {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
