/* ExactMark — Recruiters & executive search
   Light, cool slate. Teal accent, navy secondary, pill buttons, soft 16px cards, reversed split hero. */

/* ---------- Tokens ---------- */
:root {
  --bg: #f2f5f7;
  --surface: #ffffff;
  --text: #14202b;
  --muted: #5f6c78;
  --line: #d9e0e6;
  --accent: #0f8b8d;
  --accent-deep: #0c7173;
  --accent-soft: rgba(15, 139, 141, .12);
  --navy: #1f3a5f;
  --navy-muted: #c9d6e3;
  --radius: 16px;
  --shadow: 0 10px 28px -18px rgba(20, 32, 43, .28), 0 1px 2px rgba(20, 32, 43, .04);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 3.3vw, 40px); }
h3 { font-size: 19px; }
p { margin: 0; }
a { color: inherit; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--accent-soft); color: var(--accent-deep); padding: 2px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
section { padding: 92px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--accent-deep);
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow-light { color: var(--navy-muted); }
.eyebrow-light::before { background: var(--accent); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(15, 139, 141, .6); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--bg); box-shadow: none; }
.text-link { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link-light { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(242, 245, 247, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav > a:not(.btn):hover { color: var(--text); }

/* ---------- Hero (visual left, copy right) ---------- */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
h1 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1.06; }
.lede { margin-top: 24px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px var(--accent); }

/* ---------- Hero visual ---------- */
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: start; padding-bottom: 180px; }
.shortlist { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.shortlist::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(circle, var(--navy) .7px, transparent 1.1px); background-size: 16px 16px;
  animation: signalDrift 14s linear infinite;
}
.sl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
}
.sl-head strong { font-family: var(--font-head); }
.sl-head strong span, .sl-meta span { color: var(--accent); margin: 0 4px; }
.sl-meta { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.lock { position: relative; width: 14px; height: 11px; border-radius: 3px; background: var(--navy); margin-top: 5px; }
.lock::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: -7px;
  height: 8px;
  border: 2px solid var(--navy);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.rows { margin: 0; padding: 8px 0; list-style: none; }
.rows li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; }
.rows li + li { border-top: 1px solid var(--line); }
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 600 13px var(--font-head);
  font-style: normal;
}
.rows strong { display: block; font-size: 14px; font-weight: 600; }
.sk { display: block; height: 6px; margin-top: 7px; border-radius: 3px; background: #e3e9ee; }
.sk-a { width: 72%; }
.sk-b { width: 48%; }
.rows em {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.sl-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.copies { display: grid; gap: 10px; padding-top: 18px; }
.copy {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(var(--x, 0));
}
.copy:nth-child(2) { --x: 8px; }
.copy:nth-child(3) { --x: 16px; }
.copy:nth-child(4) { --x: 24px; }
.copy span { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.copy small { color: var(--muted); font-size: 12px; }
.copy.is-match { border-color: var(--accent); background: var(--accent-soft); }
.copy.is-match span { color: var(--accent-deep); }

.match-card {
  position: absolute; left: 40px; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 4px; align-items: end;
  padding: 18px 22px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 40px -22px rgba(15, 139, 141, .55);
}
.match-head { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.match-head span { color: var(--accent); margin: 0 3px; }
.match-label { grid-column: 1; font-size: 13px; color: var(--muted); }
.match-card strong { grid-column: 1; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.match-card strong span { color: var(--accent); margin: 0 5px; }
.match-score { grid-column: 2; grid-row: 2 / 4; align-self: end; text-align: right; font-size: 13px; color: var(--muted); }
.match-score b { margin-left: 4px; font-family: var(--font-head); font-size: 24px; color: var(--accent-deep); }
.rank {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.rank li { display: grid; grid-template-columns: 58px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.rank li i { position: relative; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.rank li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--accent); }
.rank li:nth-child(1) i::after { --w: 91%; }
.rank li:nth-child(2) i::after { --w: 11%; background: var(--navy-muted); }
.rank li:nth-child(3) i::after { --w: 5%; background: var(--navy-muted); }
.rank li b { text-align: right; color: var(--text); }

@keyframes signalDrift { to { background-position: 16px 16px; } }

/* ---------- Value strip ---------- */
.value-strip { padding: 0 0 80px; }
.value-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.value-strip li {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.value-strip strong { font-family: var(--font-head); font-size: 16px; }
.value-strip span { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Problem / Solution ---------- */
.problem { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.problem-text p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.solution-card { padding: 38px; border-radius: 24px; background: var(--navy); color: #fff; }
.solution-card h3 { font-size: 28px; }
.solution-card p { margin-top: 18px; color: var(--navy-muted); font-size: 16px; }
.solution-card .text-link { display: inline-block; margin-top: 22px; }

/* ---------- How it works: timeline ---------- */
.how h2 { max-width: 640px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 52px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding-top: 68px; }
.tl-marker {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--accent-deep); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 8px var(--accent-soft);
}
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 60px;
  right: -32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.timeline h3 { font-size: 22px; }
.timeline p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Capabilities ---------- */
.capabilities { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.cap-grid .card { background: var(--bg); box-shadow: none; transition: box-shadow .18s, border-color .18s, transform .18s; }
.cap-grid .card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-grid h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--accent);
}
.cap-grid p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 12px; margin-top: 40px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  position: relative; display: block; padding: 20px 64px 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2px; margin-top: -1px;
  border-radius: 1px; background: var(--accent-deep); transition: transform .2s;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta-band { padding: 96px 0; background: var(--navy); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); }
.cta-band p { margin-top: 16px; color: var(--navy-muted); font-size: 17px; }
.cta-band .hero-actions { margin-top: 0; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.tagline { text-align: center; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 68px 0; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; max-width: 680px; }
  .hero-copy { order: 1; }
  .value-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-band .hero-actions { justify-content: flex-start; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline li { padding-top: 0; padding-left: 72px; }
  .timeline li:not(:last-child)::before {
    top: 56px;
    bottom: -40px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .tagline { display: none; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  section { padding: 56px 0; }
  .header-inner { height: 64px; }
  .site-nav > a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .text-link { align-self: center; }
  .hero-visual { grid-template-columns: 1fr; padding-bottom: 0; }
  .sl-meta, .rows em { display: none; }
  .rows li { grid-template-columns: 40px 1fr; }
  .copies { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .copy:nth-child(n) { --x: 0; }
  .match-card { position: static; grid-template-columns: 1fr; margin-top: 4px; }
  .match-score { grid-column: 1; grid-row: auto; text-align: left; }
  .value-strip ul, .cap-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 26px; border-radius: 20px; }
  .solution-card h3 { font-size: 24px; }
  .timeline li { padding-left: 64px; }
  .faq-list summary { padding: 18px 56px 18px 18px; font-size: 16px; }
  .faq-list summary::before, .faq-list summary::after { right: 18px; }
  .faq-list details p { padding: 0 18px 20px; }
  .cta-band { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
