/* ============================================================
   DEALT — shared sub-page styles
   Reuses tokens from home.css + cosmos.css. Adds only:
   - .page-shell (sub-page wrap)
   - .page-hero (sub-page hero)
   - .prose (blog post body)
   - .blog-card / .blog-grid (blog index)
   - .step-list / .feature-grid / .compare (employers page bits)
   ============================================================ */

/* Sub-page hero — quieter than the homepage hero, no full-bleed bg image */
.page-hero {
  padding: 120px 0 64px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  padding-bottom: 0.08em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.page-hero.split h1 { max-width: 14ch; }
.page-hero h1 .serif {
  color: var(--copper);
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-body);
}
.page-hero .lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 60ch;
  margin: 0;
}
.page-hero .hero-cta {
  display: flex; gap: 12px; margin-top: 32px;
  flex-wrap: wrap;
}

/* Two-column hero (for /employers) — override the homepage .hero-grid rule */
.page-hero.split .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) !important;
  gap: 48px !important;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .page-hero.split .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    max-width: 100%;
  }
}

/* Centered stacked hero (employers) — copy + phone both centered horizontally */
.page-hero.centered { padding: 96px 0 64px; }
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 64px;
  max-width: 920px;
  margin: 0 auto;
}
.hero-stack-copy { max-width: 720px; }
.hero-stack-copy .eyebrow { display: block; margin-bottom: 18px; }
.hero-stack-copy h1 {
  max-width: 18ch;
  margin: 0 auto 24px;
}
.hero-stack-copy .lead {
  max-width: 60ch;
  margin: 0 auto;
}
.hero-stack-copy .hero-cta {
  justify-content: center;
}
.hero-stack-copy .hero-note {
  justify-content: center;
  margin-top: 24px;
}

.hero-stack-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.hero-stage-glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 90%);
  height: 110%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(69,184,136,0.18), transparent 65%),
    radial-gradient(ellipse 50% 40% at 60% 60%, rgba(204,139,94,0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: heroStageBreathe 7s ease-in-out infinite;
}
@keyframes heroStageBreathe {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.06); }
}

.hero-iphone {
  position: relative;
  z-index: 1;
  width: min(300px, 80%);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Pulsing fit-bar — sits over the green progress bar on the screenshot,
   suggesting a live "ranked by fit" measurement */
.fit-pulse {
  position: absolute;
  top: 23.4%;
  left: 6%;
  right: 6%;
  height: 0.8%;
  background: linear-gradient(90deg, transparent, rgba(123, 225, 177, 0.85), transparent);
  border-radius: 999px;
  filter: blur(2px);
  animation: fitPulse 2.6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 3;
}
@keyframes fitPulse {
  0%, 100% { opacity: 0;    transform: translateX(-30%); }
  40%      { opacity: 0.9;  transform: translateX(0%); }
  100%     { opacity: 0;    transform: translateX(30%); }
}

/* Action-cursor removed — could not align reliably across screenshot dimensions */

.hero-stage-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 360px;
  text-align: center;
  justify-content: center;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-stack { gap: 48px; }
  .hero-iphone { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-iphone, .hero-stage-glow, .fit-pulse {
    animation: none !important;
  }
}

/* Section heads (re-used pattern) */
.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  padding-bottom: 0.08em;
  margin: 0;
}
.section-head h2 .serif { color: var(--copper); font-weight: 500; font-style: italic; }
.section-head p {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 60ch;
}

/* Step list — 4-column for employers "How it works" */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .step-list { grid-template-columns: 1fr; } }
.step-list .step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.step-list .step:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.step-list .step .n {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.step-list .step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 10px 0 8px;
}
.step-list .step p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* Feature grid — 3-column with index numbers */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid .feat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-grid .feat:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.feature-grid .feat .ix {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--copper);
  line-height: 1;
}
.feature-grid .feat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.feature-grid .feat p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* Compare table */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-dim);
}
.compare-row > div:last-child { border-right: 0; }
.compare-row.header {
  background: var(--bg-card);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-row.header > div { color: var(--text-muted); }
.compare-row > div:first-child {
  font-weight: 600;
  color: var(--text);
}
.compare-row .dealt {
  background: linear-gradient(90deg, rgba(69,184,136,0.07), transparent);
  color: var(--jade);
  font-weight: 600;
}
.compare-row .no {
  color: var(--text-muted);
}
.compare-wordmark { height: 18px; width: auto; }
@media (max-width: 900px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-right: 0; border-bottom: 1px dashed var(--border); }
  .compare-row > div:last-child { border-bottom: 0; }
  .compare-row.header { display: none; }
  .compare-row > div:not(:first-child)::before {
    content: attr(data-col);
    display: inline-block;
    min-width: 100px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-right: 12px;
  }
  .compare-row > div:first-child { background: var(--bg-card); }
}

/* Callout card (founding employers, mid-page CTAs) */
.callout {
  background: linear-gradient(180deg, var(--copper-bg), transparent 70%), var(--bg-card);
  border: 1px solid var(--copper-border);
  border-radius: var(--r-card);
  padding: 56px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 700px) { .callout { padding: 36px 24px; } }
.callout .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-block;
  margin-bottom: 16px;
}
.callout h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding-bottom: 0.08em;
  margin: 0 0 16px;
}
.callout p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 24px;
}

/* About — two-column row layout */
.about-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: flex-start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.about-row:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .about-row { grid-template-columns: 1fr; gap: 24px; } }
.about-row .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  padding-top: 8px;
}
.about-row h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding-bottom: 0.08em;
  margin: 0 0 18px;
}
.about-row p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 0 16px;
}
.about-row p:last-child { margin-bottom: 0; }
.about-row p a { color: var(--jade); border-bottom: 1px solid rgba(69,184,136,0.3); }
.about-row p a:hover { border-bottom-color: var(--jade); }
.about-row strong { color: var(--text); font-weight: 600; }

/* Final CTA reused */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 30% 60%, rgba(69,184,136,0.08), transparent 70%),
    radial-gradient(500px 280px at 70% 40%, rgba(204,139,94,0.08), transparent 70%);
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 24px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  padding-bottom: 0.08em;
  margin: 0 0 20px;
}
.final-cta h2 .serif { color: var(--copper); font-weight: 500; font-style: italic; }
.final-cta .lead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-dim);
  margin: 0 auto 32px;
  max-width: 60ch;
}
.final-cta .cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* Employer dashboard wrap — iPhone-framed applicant card with caption */
.employer-dash-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.employer-dash-wrap .iphone-frame {
  width: min(320px, 100%);
  transform: rotate(-2deg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.employer-dash-wrap .iphone-frame:hover {
  transform: rotate(0deg) scale(1.02);
}
.employer-dash-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  text-align: center;
  justify-content: center;
  line-height: 1.4;
}
.employer-dash-caption .dot-jade {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--jade);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@media (max-width: 900px) {
  .employer-dash-wrap .iphone-frame { width: 240px; transform: none; }
}

/* Paste-to-post (employers hero visual) */
.paste-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  position: relative;
}
.paste-visual .pv-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}
.paste-visual .pv-intro {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 44ch;
}
.paste-visual .pv-blob {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 18px;
}
.paste-visual .pv-arrow {
  text-align: center;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.paste-visual .pv-rows { display: grid; gap: 12px; }
.paste-visual .pv-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
}
.paste-visual .pv-row.start { align-items: flex-start; }
.paste-visual .pv-chip {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
  text-align: center;
}
.paste-visual .pv-val { font-size: 14px; font-weight: 500; }
.paste-visual .pv-val.pay {
  font-weight: 700;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.paste-visual .pv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.paste-visual .pv-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  background: var(--jade-bg);
  border: 1px solid var(--jade-border);
  color: var(--jade);
  border-radius: 999px;
}

/* ────────────────────────────────────────────── *
   BLOG INDEX
 * ────────────────────────────────────────────── */
.blog-intro {
  text-align: left;
  padding: 96px 0 56px;
  max-width: 720px;
  margin: 0 auto;
}
.blog-intro .eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 16px;
}
.blog-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  padding-bottom: 0.08em;
  margin: 0 0 18px;
}
.blog-intro .lead {
  font-size: clamp(15px, 1.2vw, 19px);
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.blog-grid {
  display: grid;
  gap: 16px;
  padding-bottom: 96px;
}
.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.blog-card time {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding-bottom: 0.08em;
  margin: 0 0 12px;
}
.blog-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ────────────────────────────────────────────── *
   BLOG POST — long-form prose
 * ────────────────────────────────────────────── */
.blog-post {
  padding: 96px 0;
}
.blog-post .post-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 22px;
}
.blog-post h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  padding-bottom: 0.08em;
  margin: 0 0 28px;
}
.blog-post .lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 48px;
  max-width: 62ch;
}
.prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  max-width: 64ch;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  padding-bottom: 0.05em;
  margin: 56px 0 16px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 36px 0 12px;
}
.prose p { margin: 0 0 18px; color: var(--text-dim); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 20px; color: var(--text-dim); }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose li strong { color: var(--text); }
.prose a {
  color: var(--jade);
  border-bottom: 1px solid rgba(69,184,136,0.3);
  text-decoration: none;
  transition: border-color .15s;
}
.prose a:hover { border-bottom-color: var(--jade); }
.prose blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--copper);
  background: var(--bg-card);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.post-footer .btn-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .15s;
}
.post-footer .btn-link:hover { color: var(--text); }
