/* ===================================================================
   NEUREC.AI - SHARED STYLESHEET (NETLIFY-READY EDITION)
   Palette:
     --ink     #1B1D22   near-black text & dark bands
     --paper   #F8F4EE   warm cream page background
     --surface #FFFFFF   card / panel surface
     --orange  #E8650A   employers / primary action
     --blue    #1A56C4   candidates / trust / legal accent
     --gray    #6E6E69   muted labels (AA contrast)
   Type:
     Display: "Archivo"
     Body:    "Inter"
=================================================================== */

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

:root {
  --ink: #1B1D22;
  --ink-soft: #262930;
  --paper: #F8F4EE;
  --surface: #FFFFFF;
  --blue: #1A56C4;
  --blue-light: #3E7DFF;
  --blue-dark: #123A8C;
  --orange: #E8650A;
  --orange-dark: #B84E08;
  --gray: #6E6E69;
  --slate: #4A4C52;
  --border-line: rgba(27, 29, 34, 0.1);
  --success: #18794E;

  --font-display: 'Archivo', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--orange);
}
.eyebrow.blue::before { border-left-color: var(--blue); }
.eyebrow.blue { color: var(--blue-dark); }
.eyebrow.light { color: rgba(244, 241, 236, 0.78); }
.eyebrow.light::before { border-left-color: var(--orange); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.35rem); line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.2; }
h3 { font-size: 1.18rem; line-height: 1.35; font-weight: 600; }

p { color: var(--slate); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--blue)) 1;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.logo .mark { display: inline-flex; align-items: center; position: relative; width: 26px; height: 20px; }
.logo .mark .a1, .logo .mark .a2 {
  position: absolute; top: 0; width: 0; height: 0;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.logo .mark .a1 { left: 0; border-left: 14px solid var(--orange); }
.logo .mark .a2 { left: 8px; border-left: 14px solid var(--blue); opacity: 0.92; }

.header-right { display: flex; align-items: center; gap: 22px; }

nav.main-nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
nav.main-nav a { font-size: 0.94rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
nav.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
nav.main-nav a:not(.btn):hover::after, nav.main-nav a:not(.btn).active::after { transform: scaleX(1); }
nav.main-nav a.active { font-weight: 700; }
nav.main-nav a.btn { padding: 12px 26px; font-size: 0.92rem; color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  padding: 13px 24px; border-radius: 5px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 101, 10, 0.24);
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 18px rgba(232, 101, 10, 0.34);
  transform: translateY(-1px);
}
.btn-blue {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 196, 0.22);
}
.btn-blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 18px rgba(26, 86, 196, 0.32);
  transform: translateY(-1px);
}
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s ease; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 68px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(232,101,10,0.12), rgba(248,244,238,0) 42%),
              linear-gradient(240deg, rgba(26,86,196,0.12), rgba(248,244,238,0) 42%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -6%;
  width: 46%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0.045;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 52px; align-items: center; }
.hero h1 { margin: 14px 0 20px; }
.hero p.lede { font-size: 1.07rem; max-width: 50ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--slate); }
.hero-note strong { color: var(--ink); }

/* ---------- Hero Vetted Candidate Brief Card ---------- */
.brief-card {
  background: var(--surface);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(27, 29, 34, 0.1);
  overflow: hidden;
  position: relative;
}
.brief-card-top {
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brief-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brief-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
.brief-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.brief-card-body { padding: 22px; }
.brief-role {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.brief-sub { font-size: 0.86rem; color: var(--gray); margin-bottom: 18px; }
.brief-checks { list-style: none; display: grid; gap: 11px; margin-bottom: 20px; }
.brief-checks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--ink);
}
.brief-check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(24, 121, 78, 0.12);
  color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 12px; font-weight: 700;
}
.brief-checks span strong { font-weight: 600; }
.brief-card-foot {
  border-top: 1px solid var(--border-line);
  padding: 14px 22px;
  background: #FAF8F5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  gap: 10px;
  flex-wrap: wrap;
}
.brief-card-foot .badge-ai { color: var(--blue-dark); }
.brief-card-foot .badge-human { color: var(--orange-dark); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { margin-top: 12px; font-size: 1.02rem; }

.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: #F4F1EC; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink p { color: rgba(244, 241, 236, 0.76); }

.section-panel {
  background: var(--surface);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 48px 44px;
}
.section-panel.tint-blue { border-top: 3px solid var(--blue); }
.section-panel.tint-orange { border-top: 3px solid var(--orange); }

/* ---------- Grids & Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: transparent;
  border: none;
  border-top: 2px solid rgba(232, 101, 10, 0.5);
  padding: 24px 4px 4px;
  transition: border-color 0.25s ease;
}
.card:hover { border-top-color: var(--orange); }
.card.blue-accent { border-top-color: rgba(26, 86, 196, 0.5); }
.card.blue-accent:hover { border-top-color: var(--blue); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.practice-thumb {
  width: 100%; height: 175px; border-radius: 6px; overflow: hidden;
  margin-bottom: 18px; border: 1px solid var(--border-line);
}
.practice-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .practice-thumb img { transform: scale(1.03); }

/* ---------- First 7 Days (Dark Sprint Band) ---------- */
.sprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sprint-card {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 28px 26px;
}
.sprint-day {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(232, 101, 10, 0.2);
  color: #FF9C54;
  margin-bottom: 14px;
}
.sprint-card.blue-step .sprint-day {
  background: rgba(62, 125, 255, 0.2);
  color: #8EB4FF;
}
.sprint-card h3 { margin-bottom: 10px; color: #fff; }
.sprint-card p { font-size: 0.94rem; color: rgba(244, 241, 236, 0.78); }

/* ---------- Active Searches / Role Cards ---------- */
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.role-card {
  background: var(--surface);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 29, 34, 0.08);
  border-color: rgba(27, 29, 34, 0.22);
}
.role-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.role-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 0.86rem; color: var(--gray); margin-top: 8px;
}
.role-meta strong { color: var(--ink); font-weight: 600; }
.role-foot {
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.role-comp { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }

/* ---------- Photo Banners & Industries ---------- */
.photo-banner {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo-banner .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(27,29,34,0.68) 0%, rgba(27,29,34,0.22) 45%, rgba(26,86,196,0.2) 75%, rgba(232,101,10,0.16) 100%);
}
.photo-banner .banner-caption {
  position: absolute; left: 0; bottom: 0; padding: 30px 44px; max-width: 600px;
}
.photo-banner .banner-caption .eyebrow { color: rgba(255, 255, 255, 0.88); }
.photo-banner .banner-caption .eyebrow::before { border-left-color: #fff; }
.photo-banner .banner-caption h2 { color: #fff; margin-top: 8px; }

.industry-block { padding: 56px 0; border-bottom: 1px solid var(--border-line); }
.industry-block:last-child { border-bottom: none; }
.industry-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px;
}
.industry-tag.legal { background: rgba(26, 86, 196, 0.12); color: var(--blue-dark); }
.industry-tag.construction { background: rgba(232, 101, 10, 0.12); color: var(--orange-dark); }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.tag-list span {
  font-size: 0.85rem; padding: 7px 13px; background: var(--paper);
  border: 1px solid var(--border-line); border-radius: 20px; color: var(--slate);
}

/* ---------- Process Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 60px; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff;
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 101, 10, 0.32);
  z-index: 2;
}
.step::after {
  content: "";
  position: absolute; top: 20px; left: 40px; right: -22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px);
  z-index: 1;
}
.step:last-child::after { display: none; }
.steps.tint-blue-steps .step::before { background: linear-gradient(135deg, var(--blue-light), var(--blue)); box-shadow: 0 4px 12px rgba(26, 86, 196, 0.32); }
.steps.tint-blue-steps .step::after { background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(27, 29, 34, 0.18);
  border-radius: 5px; font-family: var(--font-body); font-size: 0.94rem; background: var(--surface); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 101, 10, 0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 0 20px; font-size: 0.82rem; color: var(--slate); line-height: 1.5;
}
.form-checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.form-checkbox a { text-decoration: underline; color: var(--blue-dark); }
.form-note { font-size: 0.82rem; color: var(--gray); margin-top: 12px; }
.hidden-honeypot { display: none; }

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid var(--border-line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.faq-q .icon { font-family: var(--font-body); font-size: 1.3rem; color: var(--orange); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 20px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding-bottom: 20px; max-width: 66ch; font-size: 0.96rem; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: rgba(244, 241, 236, 0.8); padding: 56px 0 30px; }
footer.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer.site-footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; font-weight: 700; }
footer.site-footer ul { list-style: none; }
footer.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
footer.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(244, 241, 236, 0.15); padding-top: 22px; display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(244, 241, 236, 0.55); flex-wrap: wrap; gap: 12px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Floating "Talk to Us" ---------- */
.talk-to-us {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 40px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(27, 29, 34, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.talk-to-us svg { width: 18px; height: 18px; flex-shrink: 0; }
.talk-to-us:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27, 29, 34, 0.34); background: var(--orange-dark); }

/* ---------- Privacy & Terms ---------- */
.policy-hero { padding-bottom: 34px; }
.policy-effective { margin-top: 18px; color: var(--gray); font-size: 0.92rem; }
.policy-content { max-width: 920px; }
.policy-content h2 { margin-top: 34px; margin-bottom: 12px; font-size: 1.35rem; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { margin-bottom: 14px; max-width: 80ch; }
.policy-content ul { margin: 0 0 18px 22px; max-width: 80ch; }
.policy-content li { margin-bottom: 8px; color: var(--slate); }
.policy-content address { font-style: normal; line-height: 1.7; color: var(--slate); }
.policy-callout { margin: 20px 0; padding: 18px 20px; border-left: 4px solid var(--blue); background: rgba(26, 86, 196, 0.08); border-radius: 4px; }
.policy-callout p { margin: 0; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2, .grid-4, .steps, .sprint-grid, .role-grid { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; }

  nav.main-nav.mobile-open {
    display: flex; position: absolute; top: 82px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border-line);
    padding: 20px 32px 28px; box-shadow: 0 14px 30px rgba(27, 29, 34, 0.1);
  }
  nav.main-nav.mobile-open ul { flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 54px 0; }
  .section-panel { padding: 32px 22px; }
  .grid-3, .grid-2, .grid-4, .steps, .sprint-grid, .role-grid, .form-row { grid-template-columns: 1fr; }
  .photo-banner { height: 220px; }
  .photo-banner .banner-caption { padding: 20px 22px; }
  .talk-to-us { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.85rem; }
}
