/* ════════════════════════════════════════════════════════════════
   /jobs/* landing pages — shared styles
   Each per-role page sets --accent and --accent-soft / --accent-border
   in its own <style> block to tint the hero / CTAs / lead form.
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f4f7f1;
  --surface: #ffffff;
  --surface2: #eef3ea;
  --surface3: #e2eadc;
  --border: #c4d4ba;
  --border-light: #d8e3cf;
  --text: #1a2412;
  --text-soft: #2d3b22;
  --text-dim: #4a6040;
  --text-muted: #7a9168;
  --green: #2d6a1e;
  --green-soft: rgba(45, 106, 30, 0.07);
  --green-border: rgba(45, 106, 30, 0.20);
  --vine: #1a4d2e;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.08);

  /* Defaults — pages override these */
  --accent: var(--green);
  --accent-soft: var(--green-soft);
  --accent-border: var(--green-border);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e0eff9 0%, #e8f2fa 35%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 15v22L30 52 0 37V15z' fill='none' stroke='%234fd1c5' stroke-width='0.4' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 20%, rgba(52,211,153,0.08), transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.hero .breadcrumb {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.hero .breadcrumb a {
  color: var(--green);
  text-decoration: none;
}
.hero .breadcrumb a:hover { text-decoration: underline; }
.hero h1 {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--vine);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.hero .tagline {
  font-size: 1.05rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  max-width: 580px;
  margin: 0 auto;
}
.hero .hero-img {
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  display: block;
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .hero .tagline { font-size: 0.95rem; }
}

/* ── Container ───────────────────────────────────────────────────── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ── Stat pills ──────────────────────────────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  box-shadow: var(--shadow);
}
.stat-pill strong { color: var(--text); font-weight: 700; }

/* ── Sections ────────────────────────────────────────────────────── */
.section { margin-bottom: 2.5rem; }
.section-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.2rem 0 0.5rem;
}
.section p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.section p + p { margin-top: 0.7rem; }
.section ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.6rem;
}
.section li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.section li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='40' x2='40' y2='0' stroke='%232d6a1e' stroke-width='0.3' opacity='0.025'/%3E%3C/svg%3E");
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
}
.card.accent { border-left: 3px solid var(--accent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.why-grid .card { margin-bottom: 0; }
.why-grid h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.why-grid p { font-size: 0.86rem; color: var(--text-dim); line-height: 1.6; }

/* ── Lead capture form ───────────────────────────────────────────── */
.lead-card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin: 1rem 0 2rem;
  box-shadow: var(--shadow-md);
}
.lead-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.lead-card .lead-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 0.5rem;
}
@media (max-width: 560px) {
  .lead-form { grid-template-columns: 1fr; }
}
.lead-form input {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.lead-form input:focus { border-color: var(--accent); }
.lead-form input::placeholder { color: var(--text-muted); }

.lead-btn {
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  white-space: nowrap;
}
.lead-btn:hover:not(:disabled) { filter: brightness(0.92); transform: translateY(-1px); }
.lead-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.lead-status {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 1.15em;
}
.lead-status.success { color: var(--accent); font-weight: 500; }
.lead-status.error { color: #b91c1c; }

/* ── Big CTA ─────────────────────────────────────────────────────── */
.interview-cta {
  margin: 2.5rem 0 1rem;
  padding: 2rem 1.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.interview-cta h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.interview-cta p {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.interview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: filter 0.15s, transform 0.15s;
}
.interview-btn:hover { filter: brightness(0.92); transform: translateY(-1px); }
.interview-cta .small {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}
