:root {
  --paper: #ffffff;
  --snow: #f7f8fa;
  --ink: #16181d;
  --ink-soft: #2b2f36;
  --gray: #6b7280;
  --line: #e5e8ec;
  --line-dark: #2e323a;
  --seal: #cf2e2e;
  --seal-deep: #b02424;
  --seal-wash: #fdf3f2;
  --ok: #1a7f5c;
  --radius: 6px;
  --max: 1140px;
  --gutter: 24px;
  --display: "Zen Kaku Gothic New", "Noto Sans", sans-serif;
  --sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--seal); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.55rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; color: var(--gray); line-height: 1.65; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--snow); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(32px, 4vw, 48px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--seal);
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--seal);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 2px;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--seal); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--seal); color: #fff !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--seal); color: #fff; }
.btn--primary:hover { background: var(--seal-deep); color: #fff; }
.btn--ghost { color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--seal); color: var(--seal); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn--light:hover { background: transparent; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--seal); }
.hero .lead { max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-works-with {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 0.86rem;
  color: var(--gray);
}
.works-chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--snow);
  color: var(--ink);
  white-space: nowrap;
}

/* Chat demo window */
.chat-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px -24px rgba(22, 24, 29, 0.22);
  overflow: hidden;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.chat-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--snow);
}
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.chat-title { margin-left: 6px; font-family: var(--mono); font-size: 0.75rem; color: var(--gray); }
.chat-body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 330px; }
.chat-msg { max-width: 92%; }
.chat-msg--user {
  align-self: flex-end;
  background: var(--ink);
  color: #f2f3f5;
  border-radius: 12px 12px 3px 12px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.55;
}
.chat-caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  vertical-align: text-bottom;
  background: var(--seal);
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.chat-msg--ai { align-self: flex-start; width: 100%; }
.chat-ai-note { font-size: 0.85rem; color: var(--gray); margin: 0 0 10px; }
.chat-cards { display: flex; flex-direction: column; gap: 8px; }
.match-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
}
.match-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--snow);
  border: 1px solid var(--line);
}
.match-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); line-height: 1.3; }
.match-meta { font-size: 0.78rem; color: var(--gray); line-height: 1.45; }
.match-tag {
  margin-left: auto;
  flex: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ok);
  border: 1px solid rgba(26, 127, 92, 0.3);
  background: rgba(26, 127, 92, 0.06);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.chat-msg--ai.is-hidden, .chat-msg--user.is-hidden { visibility: hidden; }
.reveal-card { opacity: 0; transform: translateY(8px); }
.reveal-card.is-visible { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }

/* ---------- Trusted by ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--snow); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 44px; }
.trust-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.trust-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  opacity: 0.6;
  white-space: nowrap;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: #fff; padding: 30px 28px; display: flex; flex-direction: column; }
.step + .step { border-left: 1px solid var(--line); }
.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--seal);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.prompt-example {
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.55;
  background: var(--snow);
  border: 1px solid var(--line);
  border-left: 3px solid var(--seal);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  margin: 12px 0 0;
}
.prompt-example span { display: block; font-family: var(--sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray); margin-bottom: 5px; }

/* ---------- Recruiter value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: 40px; }
.prop { border-top: 2px solid var(--ink); padding-top: 20px; }
.prop h3 { margin-bottom: 8px; }
.prop p { color: var(--gray); font-size: 0.97rem; margin: 0; }

/* ---------- Bizdev strip ---------- */
.bizdev {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.bizdev ul { margin: 0 0 4px; padding: 0; list-style: none; }
.bizdev li { padding: 6px 0 6px 26px; position: relative; }
.bizdev li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--seal);
  border-bottom: 2px solid var(--seal);
  transform: rotate(-45deg);
}

/* ---------- Case study band ---------- */
.case-band { background: var(--ink); color: #c9ccd2; }
.case-band .eyebrow { color: #8b8f97; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.case-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.case-attrib { font-size: 0.93rem; color: #8b8f97; margin-bottom: 26px; }
.case-band a:not(.btn) { color: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-dark); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--seal);
}
.timeline .day { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8b8f97; display: block; }
.timeline .what { color: #f2f3f5; font-weight: 500; }
.timeline--light { border-left-color: var(--line); }
.timeline--light .day { color: var(--seal); }
.timeline--light .what { color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured { border: 2px solid var(--seal); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--seal);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 3px 10px;
  white-space: nowrap;
}
.plan-name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.plan-price { font-family: var(--display); font-size: 2.7rem; font-weight: 900; color: var(--ink); margin: 8px 0 2px; letter-spacing: -0.02em; }
.plan-price small { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.plan-quota { font-size: 0.94rem; color: var(--gray); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 0.94rem; }
.plan li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--seal);
  border-bottom: 2px solid var(--seal);
  transform: rotate(-45deg);
}
.pricing-note { color: var(--gray); font-size: 0.9rem; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 32px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--seal);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 22px; color: var(--ink-soft); max-width: 46em; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--ink); color: #c9ccd2; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #8b8f97; margin-left: auto; margin-right: auto; max-width: 36em; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn--primary { background: var(--seal); }
.cta-band .btn--primary:hover { background: #e04040; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--paper); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-brand { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.06rem; display: flex; align-items: center; gap: 10px; }
.footer-tag { font-size: 0.88rem; color: var(--gray); max-width: 30em; margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--seal); }
.footer-copy { font-size: 0.8rem; color: var(--gray); margin-top: 30px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); }
.page-hero .lead { max-width: 40em; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--seal-deep); }
.callout {
  background: var(--snow);
  border: 1px solid var(--line);
  border-left: 3px solid var(--seal);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.96rem;
}
.callout p:last-child { margin-bottom: 0; }
code, .code-inline {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
  word-break: break-all;
}
pre {
  background: var(--ink);
  color: #e8e9eb;
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
}
pre code { background: none; border: 0; padding: 0; color: inherit; word-break: normal; }
.setup-steps { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: setup; }
.setup-steps > li { counter-increment: setup; position: relative; padding: 0 0 26px 52px; }
.setup-steps > li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.setup-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 38px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.tool-section { margin-top: 52px; scroll-margin-top: 90px; padding-top: 32px; border-top: 1px solid var(--line); }
.tool-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }

/* Case study stats */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 32px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 22px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font-family: var(--display); font-size: 1.9rem; font-weight: 900; color: var(--seal); display: block; letter-spacing: -0.02em; }
.stat .l { font-size: 0.84rem; color: var(--gray); }
.case-quote--light { color: var(--ink); margin: 36px 0 8px; }
.case-attrib--light { color: var(--gray); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound .big { font-family: var(--display); font-size: clamp(4rem, 10vw, 7rem); color: var(--seal); font-weight: 900; line-height: 1; margin-bottom: 8px; opacity: 0.15; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chat-window { justify-self: stretch; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .props { grid-template-columns: 1fr; max-width: 560px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .bizdev, .case-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    box-shadow: 0 20px 40px -20px rgba(22, 24, 29, 0.25);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav-cta { display: inline-block; margin-top: 8px; padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; border-radius: 3px; }
