:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --ink: #1c1b19;
  --muted: #6b6a66;
  --line: #e6e4dd;
  --accent: #3a5a40;
  --accent-ink: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.narrow { max-width: 760px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
em { font-style: italic; color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.active { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #31492f; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero h1 { max-width: 900px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.page-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: 28px; }

.story-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 820px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.section-alt .feature { background: #fff; }

/* Steps */
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 14px; }

/* Prose */
.prose p { margin: 0 0 18px; font-size: 1.05rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcdc7; margin: 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Jobs */
.jobs-toolbar { margin-bottom: 20px; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.job-card:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.job-main h2 { font-size: 1.2rem; margin-bottom: 6px; }
.job-meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; }
.job-main p:last-child { margin: 0; color: var(--ink); }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.callout {
  margin-top: 32px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--muted); margin: 0 0 16px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,90,64,0.12);
}
.form-note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--accent);
  margin: 0;
}
.contact-aside p { margin: 0 0 16px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner .muted { margin: 8px 0 0; max-width: 320px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink); }
.copyright { color: var(--muted); font-size: 0.85rem; margin-top: 24px; }

/* Responsive */
@media (max-width: 760px) {
  .nav { display: none; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .contact-grid { grid-template-columns: 1fr; }
}
