/* ─────────────────────────────────────────────────────────────
   use-hiring.css — AI Hiring use-case page
   Self-contained; no cross-file references.
   ───────────────────────────────────────────────────────────── */

/* Shared section helpers (scoped) */
.uh-hero,
.uh-answer,
.uh-cards,
.uh-how,
.uh-quote,
.uh-faq {
  padding: var(--section-py) 0;
}
.uh-hero__inner,
.uh-answer__inner,
.uh-cards__inner,
.uh-how__inner,
.uh-quote__inner,
.uh-faq__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
}

/* ───── Hero ──────────────────────────────────────────────── */
.uh-hero {
  background:
    radial-gradient(1100px 520px at 88% 8%, rgba(77, 0, 242, 0.10), transparent 60%),
    radial-gradient(900px 500px at 6% 90%, rgba(77, 0, 242, 0.06), transparent 65%),
    var(--color-bg);
  padding-top: clamp(48px, 5.5vw, 72px);
  padding-bottom: clamp(96px, 11vw, 144px);
}
.uh-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.uh-hero__title {
  font-family: var(--font-display);
  font-size: 51px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-text);
  margin: 18px 0 18px;
}
.uh-hero__accent { color: var(--color-primary); }
.uh-hero__lede {
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.uh-hero__ctas {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.uh-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.uh-hero__ghost i { width: 16px; height: 16px; }
.uh-hero__ghost:hover { color: var(--color-primary); }

/* Pipeline visual */
.uh-hero__stage {
  background: linear-gradient(180deg, #ffffff 0%, #f8f6ff 100%);
  border: 1px solid rgba(77, 0, 242, 0.10);
  border-radius: var(--r-2xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.uh-pipe {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.uh-pipe__node {
  background: #fff;
  border: 1px solid #ECE6FF;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}
.uh-pipe__node i {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.uh-pipe__node b {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}
.uh-pipe__node span {
  font-size: 11px;
  color: var(--color-text-muted);
}
.uh-pipe__node--ai {
  background: linear-gradient(180deg, #4D00F2 0%, #3a00bf 100%);
  border-color: transparent;
  color: #fff;
}
.uh-pipe__node--ai i,
.uh-pipe__node--ai b { color: #fff; }
.uh-pipe__node--ai span { color: rgba(255,255,255,0.78); }
.uh-pipe__line {
  height: 2px;
  background: repeating-linear-gradient(90deg, #C9BBFF 0 6px, transparent 6px 12px);
  border-radius: 2px;
}
.uh-pipe__chips {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uh-pipe__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5F2FF;
  border: 1px solid #ECE6FF;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-text);
  font-family: var(--font-body);
}
.uh-pipe__chips li i { width: 14px; height: 14px; color: #16a34a; }
.uh-pipe__chips li.is-rej i { color: #dc2626; }
.uh-pipe__chips li b { color: var(--color-primary); margin-left: 2px; }

/* ───── Direct-answer ─────────────────────────────────────── */
.uh-answer { padding-block: clamp(40px, 5vw, 64px); }
.uh-answer__copy {
  margin: 14px 0 0;
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 78ch;
  font-family: var(--font-body);
}
.uh-answer__copy b { color: var(--color-primary); font-weight: 700; }

/* ───── Cards ─────────────────────────────────────────────── */
.uh-cards { background: var(--color-bg-soft); }
.uh-cards__head { max-width: 760px; margin-bottom: var(--gap-head-body); }
.uh-cards__title {
  font-family: var(--font-display);
  font-size: var(--fs-section-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-text);
  margin: 14px 0 14px;
}
.uh-cards__accent { color: var(--color-primary); }
.uh-cards__lede {
  font-size: var(--fs-section-lede);
  line-height: var(--lh-section-lede);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0;
}
.uh-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.uh-card {
  background: #fff;
  border: 1px solid #E6E1F5;
  border-radius: var(--r-2xl);
  padding: clamp(24px, 2.4vw, 32px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.uh-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, #F2EBFF 0%, #E5DAFF 100%);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uh-card__icon i { width: 22px; height: 22px; }
.uh-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 700;
  color: var(--color-text);
  margin: 6px 0 0;
}
.uh-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}
.uh-card ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.uh-card ul li {
  font-size: 14px;
  color: var(--color-text);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.uh-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--color-primary);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.5 2.4L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.5 2.4L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}

/* ───── How it works ─────────────────────────────────────── */
.uh-how__head { max-width: 760px; margin-bottom: var(--gap-head-body); }
.uh-how__title {
  font-family: var(--font-display);
  font-size: var(--fs-section-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-text);
  margin: 14px 0 14px;
}
.uh-how__lede {
  font-size: var(--fs-section-lede);
  line-height: var(--lh-section-lede);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0;
}
.uh-how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
  counter-reset: ohstep;
}
.uh-step {
  position: relative;
  background: #fff;
  border: 1px solid #ECE6FF;
  border-radius: var(--r-2xl);
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: var(--shadow-card);
}
.uh-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.uh-step h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}
.uh-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* ───── Testimonial ──────────────────────────────────────── */
.uh-quote { background: var(--color-bg-soft); }
.uh-quote__card {
  margin-top: var(--gap-head-body);
  background: #fff;
  border: 1px solid #E6E1F5;
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-md);
  max-width: 920px;
}
.uh-quote__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.uh-quote__logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4D00F2 0%, #1c0058 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.uh-quote__brand h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}
.uh-quote__brand p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}
.uh-quote__text {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.uh-quote__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #ECE6FF;
}
.uh-quote__meta dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}
.uh-quote__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* ───── FAQ ──────────────────────────────────────────────── */
.uh-faq__head { max-width: 760px; margin-bottom: var(--gap-head-body); }
.uh-faq__title {
  font-family: var(--font-display);
  font-size: var(--fs-section-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-text);
  margin: 14px 0 14px;
}
.uh-faq__lede {
  font-size: var(--fs-section-lede);
  line-height: var(--lh-section-lede);
  color: var(--color-text-muted);
  margin: 0;
}
.uh-faq__lede a { color: var(--color-primary); font-weight: 600; }
.uh-faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #ECE6FF;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.uh-faq__list li + li { border-top: 1px solid #F0EAFF; }
.uh-fq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 2.4vw, 32px);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--color-text);
  list-style: none;
}
.uh-fq summary::-webkit-details-marker { display: none; }
.uh-fq summary i {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.uh-fq[open] summary i { transform: rotate(45deg); }
.uh-fq > div {
  padding: 0 clamp(20px, 2.4vw, 32px) 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.uh-fq > div p { margin: 0; }
.uh-fq > div a { color: var(--color-primary); font-weight: 600; }
.uh-faq__related {
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.uh-faq__related a { color: var(--color-primary); font-weight: 600; }

/* ───── Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───── Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .uh-hero__inner { grid-template-columns: 1fr; }
  .uh-cards__grid,
  .uh-how__steps { grid-template-columns: 1fr; }
  .uh-quote__meta { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .uh-hero__title { font-size: clamp(34px, 9vw, 48px); }
  .uh-pipe { grid-template-columns: 1fr; }
  .uh-pipe__line {
    width: 2px; height: 20px;
    background: repeating-linear-gradient(180deg, #C9BBFF 0 6px, transparent 6px 12px);
    justify-self: center;
  }
}
