/* ═══════════════════════════════════════════════════════
   Selene Hire — marketing landing page
   Brand tokens mirror prototype/styles.css & apps/web globals.css
   ═══════════════════════════════════════════════════════ */

:root {
  /* Teal (brand) */
  --teal:    #0d9488;
  --teal-l:  #ccfbf1;
  --teal-m:  #5eead4;
  --teal-d:  #0f766e;
  --teal-xl: #f0fdfa;

  /* Grays */
  --g50:  #f9fafb;
  --g100: #f3f4f6;
  --g200: #e5e7eb;
  --g300: #d1d5db;
  --g400: #9ca3af;
  --g500: #6b7280;
  --g600: #4b5563;
  --g700: #374151;
  --g800: #1f2937;
  --g900: #111827;

  --amb500: #f59e0b;
  --em500:  #10b981;
  --ros500: #f43f5e;

  --ai-bg: #f8faff;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--g900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden; /* safety net: page body must never scroll horizontally */
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border-radius: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--g700); border-color: var(--g200); }
.btn-ghost:hover { background: var(--g50); color: var(--g900); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ─────────── Nav ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--g200);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--g900); }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--g600); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--g900); }
.nav-cta { margin-left: 4px; }

/* ─────────── Hero ─────────── */
.hero {
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--teal-xl) 0%, rgba(240,253,250,0) 60%),
    linear-gradient(180deg, #fff 0%, var(--ai-bg) 100%);
  padding: 72px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
/* grid/flex items must be allowed to shrink below content size, or a wide
   child (e.g. the chat card) pushes the whole layout past the viewport */
.hero-grid > *, .compare > *, .steps > *, .feature-grid > *, .meet-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-l);
  color: var(--teal-d);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow img { border-radius: 50%; }
.hero h1 {
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 800;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-d) 55%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 19px; color: var(--g600); max-width: 34ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px; color: var(--g500); font-size: 13.5px; }
.trust-strip span { white-space: nowrap; }

/* ─────────── Hero conversation mock ─────────── */
.hero-visual { display: flex; justify-content: center; min-width: 0; }
.chat-card {
  width: 100%;
  max-width: min(420px, 100%);
  background: var(--ai-bg);
  border: 1px solid var(--g200);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--g200);
}
.chat-head img { border-radius: 50%; }
.chat-head-name { font-weight: 700; font-size: 14px; }
.chat-head-status { font-size: 11.5px; color: var(--g500); display: flex; align-items: center; gap: 5px; }
.chat-head-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--em500); display: inline-block; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 13px;
  border-radius: 14px;
  max-width: 88%;
}
.bubble.user {
  background: var(--teal);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg-row { display: flex; gap: 8px; align-items: flex-end; }
.msg-av { border-radius: 50%; flex-shrink: 0; }
.bubble.ai {
  background: #fff;
  border: 1px solid var(--g200);
  color: var(--g800);
  border-bottom-left-radius: 4px;
}
.crit-card, .short-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.crit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--g700);
  padding: 5px 0;
}
.crit-row + .crit-row { border-top: 1px dashed var(--g200); }
.tier {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.tier.must { background: var(--teal-l); color: var(--teal-d); }
.tier.nice { background: var(--g100); color: var(--g500); }
.wt { margin-left: auto; font-weight: 700; color: var(--g400); font-size: 11.5px; }
.short-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
}
.short-row + .short-row { border-top: 1px solid var(--g100); }
.rank {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--g100); color: var(--g600);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cand { color: var(--g800); font-weight: 500; }
.score { margin-left: auto; font-weight: 800; font-size: 14px; }
.s-hi { color: var(--em500); }
.s-mid { color: var(--amb500); }

/* ─────────── Section scaffolding ─────────── */
.section { padding: 84px 0; }
.band-tint { background: var(--teal-xl); }
.band-ai { background: var(--ai-bg); }
.sec-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 14px;
}
.sec-title.left { text-align: left; }
.sec-title.center { text-align: center; }
.sec-sub {
  font-size: 18px;
  color: var(--g600);
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 44px;
}

/* ─────────── Compare ─────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.compare-col {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.compare-col.after { border-color: var(--teal-m); box-shadow: 0 8px 24px rgba(13,148,136,.12); }
.compare-tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
}
.before .compare-tag { color: var(--g400); }
.after .compare-tag { color: var(--teal-d); }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare-col li { position: relative; padding-left: 26px; color: var(--g700); font-size: 15.5px; }
.before li::before { content: '✕'; position: absolute; left: 0; color: var(--g300); font-weight: 700; }
.after li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.compare-arrow { align-self: center; font-size: 26px; color: var(--teal-m); font-weight: 700; }

/* ─────────── Steps ─────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--teal-l); color: var(--teal-d);
  font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--g600); font-size: 15.5px; }

/* ─────────── Features ─────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.f-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--g600); font-size: 15px; }

/* ─────────── Meet Selene ─────────── */
.meet-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.meet-portrait {
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, var(--teal-xl), #fff 72%);
  border-radius: 24px;
  padding: 24px;
}
.meet-lede { font-size: 18px; color: var(--g600); margin-bottom: 24px; }
.score-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.score-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--g200);
}
.cand-name { font-weight: 700; font-size: 16px; }
.score-badge { font-weight: 800; font-size: 24px; }
.score-badge.s-hi { color: var(--em500); }
.score-den { font-size: 13px; color: var(--g400); font-weight: 600; }
.score-line { padding: 10px 0; }
.score-line + .score-line { border-top: 1px solid var(--g100); }
.score-line-top { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--g800); }
.s-hi-txt { color: var(--em500); font-size: 12px; font-weight: 700; }
.s-gap-txt { color: var(--amb500); font-size: 12px; font-weight: 700; }
.evidence { font-size: 13.5px; color: var(--g500); margin-top: 4px; }
.evidence.gap { color: var(--g600); }
.evidence em { color: var(--amb600, #d97706); font-style: normal; font-weight: 600; }

/* ─────────── Pricing ─────────── */
.pricing-card {
  background: #fff;
  border: 1px solid var(--teal-m);
  border-radius: 20px;
  padding: 34px 34px 30px;
  box-shadow: 0 12px 34px rgba(13,148,136,.14);
  text-align: center;
}
.pricing-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.pricing-list li { color: var(--g700); font-size: 16px; }
.pricing-note { font-size: 13px; color: var(--g400); margin-top: 12px; }

/* ─────────── FAQ ─────────── */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq details {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 12px;
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--g900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--g600); font-size: 15.5px; padding: 0 0 18px; }

/* ─────────── CTA band ─────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-d) 0%, var(--teal) 60%, #0891b2 100%);
  color: #fff;
  padding: 76px 0;
}
.cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-band p { font-size: 18px; opacity: .9; margin-bottom: 28px; }
.inline-waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.inline-waitlist input {
  flex: 1;
  border: none;
  border-radius: 9px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font);
  outline: none;
}
.inline-waitlist input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.cta-band-btn { background: #fff; color: var(--teal-d); }
.cta-band-btn:hover { background: var(--g50); color: var(--teal-d); }

/* ─────────── Footer ─────────── */
.footer { background: var(--g900); color: var(--g400); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { color: var(--g300); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-note { flex-basis: 100%; font-size: 12.5px; color: var(--g500); line-height: 1.5; }

/* ─────────── Waitlist modal ─────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fade .15s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-lg);
  animation: pop .18s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: var(--g400); font-size: 16px; line-height: 1;
  width: 30px; height: 30px; border-radius: 8px;
}
.modal-close:hover { background: var(--g100); color: var(--g700); }
.modal-brand { display: flex; justify-content: center; margin-bottom: 14px; }
.modal-brand img { border-radius: 10px; }
.modal-title { font-size: 23px; font-weight: 800; text-align: center; letter-spacing: -.01em; }
.modal-sub { font-size: 14.5px; color: var(--g500); text-align: center; margin: 6px 0 22px; }
.google-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--g200);
  background: #fff;
  border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--g500);
  cursor: not-allowed;
  font-family: var(--font);
}
.google-btn .soon {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  background: var(--g100); color: var(--g400);
  padding: 2px 6px; border-radius: 999px;
}
.modal-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--g200); }
.modal-divider span { font-size: 12px; color: var(--g400); }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 5px; }
.fg input {
  width: 100%;
  border: 1px solid var(--g200);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--g800);
  outline: none;
  transition: border .15s, box-shadow .15s;
}
.fg input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.fg input.invalid { border-color: var(--ros500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-error { color: var(--ros500); font-size: 13px; margin-bottom: 10px; }
.modal-legal { font-size: 11.5px; color: var(--g400); text-align: center; margin-top: 14px; line-height: 1.5; }
.modal-legal a { color: var(--teal); }
#wl-submit[aria-busy="true"] { opacity: .6; pointer-events: none; }

.success-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: #ecfdf5; color: var(--em500);
  font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto 18px;
}

/* ─────────── Responsive ─────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-visual { order: -1; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  .steps, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .meet-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .meet-portrait { max-width: 300px; margin: 0 auto; }
  .sec-title.left, .meet-copy { text-align: center; }
  .meet-copy .score-card { text-align: left; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 17px; }
  .section { padding: 60px 0; }
  .sec-title, .cta-band h2 { font-size: 27px; }
  .inline-waitlist { flex-direction: column; }
  .modal { padding: 28px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
