/* PM Job Hunt — landing page */
@import url('brands/pmjobhunt/tokens.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ─────────── shared ─────────── */
.eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px 0;
}
.eyebrow .num { color: var(--success); font-weight: 600; }
.eyebrow::before { content: ''; width: 16px; height: 1px; background: currentColor; opacity: 0.5; }

h1, h2, h3 { color: var(--text-title); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(48px, 7.2vw, 92px); line-height: 0.96; letter-spacing: -0.04em; font-weight: 600; }
h2 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-secondary); }

/* ─────────── header ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); }
.logo-link img { width: 28px; height: 28px; }
.logo-link .name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px; color: var(--text-secondary); text-decoration: none;
  font-weight: 500; transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--text-primary); }
.nav .btn-app {
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--text-primary); color: var(--bg);
  font-weight: 600; font-size: 13px;
}
.nav .btn-app:hover { color: var(--bg); opacity: 0.9; }

@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a:not(.btn-app) { display: none; }
}

/* ─────────── hero ─────────── */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px);
  background-size: 100% 88px;
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
}
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-1-soft);
  color: var(--success);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 28px;
  position: relative;
}
.hero .pill .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent-1);
  box-shadow: 0 0 0 0 var(--accent-1);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent-1) 50%, transparent); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
.hero h1 { position: relative; max-width: 16ch; }
.hero h1 .accent { color: var(--accent-1); }
.hero .sub {
  position: relative;
  margin: 32px 0 0; max-width: 56ch;
  font-size: 19px; line-height: 1.55; color: var(--text-secondary);
}
.hero .sub strong { color: var(--text-primary); font-weight: 600; }
.hero .cta-row {
  position: relative; margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-md);
  background: var(--accent-1); color: var(--text-on-accent);
  border: none; font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  box-shadow: var(--shadow-accent);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent-lg); }
.btn-primary .arrow { font-family: var(--font-mono); font-size: 13px; opacity: 0.85; }
.hero .micro {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* hero artwork — floating workspace tile */
.hero-art {
  position: absolute; right: -60px; top: 80px; width: 480px;
  pointer-events: none; opacity: 0.95;
}
.hero-art .tile {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px; transform: rotate(2deg);
}
.hero-art .tile + .tile {
  margin-top: -180px; margin-left: -120px; transform: rotate(-3deg);
  background: var(--text-primary); color: var(--bg);
}
.hero-art .tile + .tile * { color: var(--bg); }

@media (max-width: 1080px) {
  .hero-art { display: none; }
}

/* ─────────── aha (ink section) ─────────── */
.section { padding: 96px 0; }
.section-ink {
  background: var(--text-primary); color: var(--bg);
}
.section-ink h2, .section-ink h3 { color: var(--bg); }
.section-ink p { color: rgba(246, 244, 238, 0.72); }
.section-ink .eyebrow { color: rgba(246, 244, 238, 0.5); }
.section-ink .eyebrow .num { color: var(--accent-1-soft); }
.section-ink .lede { color: rgba(246, 244, 238, 0.85); }

.aha-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 880px) { .aha-grid { grid-template-columns: 1fr; gap: 32px; } }
.aha-grid h2 { max-width: 18ch; }
.aha-grid .body p + p { margin-top: 14px; }

.aha-bullets {
  margin-top: 28px;
  display: grid; gap: 14px;
}
.aha-bullets .b {
  display: grid; grid-template-columns: 60px 1fr; gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(246,244,238,0.12);
}
.aha-bullets .b .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-1-soft);
  padding-top: 4px;
}
.aha-bullets .b .v { font-size: 15px; line-height: 1.55; color: rgba(246,244,238,0.85); }
.aha-bullets .b .v strong { color: var(--bg); font-weight: 600; }

/* ─────────── ecosystem ─────────── */
.ecosystem {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.eco-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .eco-head { grid-template-columns: 1fr; gap: 24px; } }

.eco-diagram {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.eco-svg { width: 100%; height: auto; max-height: 420px; }

/* ─────────── examples ─────────── */
.examples {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
.example {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px) { .example { grid-template-columns: 1fr; } }
.example .copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.example .visual {
  background: var(--bg-subtle); padding: 32px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border-soft);
}
@media (max-width: 880px) { .example .visual { border-left: none; border-top: 1px solid var(--border-soft); } }
.example.flip .copy { order: 2; }
.example.flip .visual { order: 1; border-left: none; border-right: 1px solid var(--border-soft); }
@media (max-width: 880px) { .example.flip .copy { order: 2; } .example.flip .visual { order: 1; border-right: none; } }

.example .num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--success); margin-bottom: 12px;
  font-weight: 600;
}
.example h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.example .body { font-size: 15px; color: var(--text-body); line-height: 1.6; }
.example .body p + p { margin-top: 12px; }
.example .body em { color: var(--success); font-style: normal; font-weight: 600; }

/* mini ui card */
.mini-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mini-card .top {
  padding: 10px 14px; border-bottom: 1px solid var(--border-soft);
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.mini-card .top .dots { display: flex; gap: 6px; }
.mini-card .top .dots span {
  width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong);
}
.mini-card .body-pad { padding: 16px; }

.row {
  display: grid; grid-template-columns: 24px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  background: var(--bg);
}
.row + .row { margin-top: 6px; }
.row .dot-co {
  width: 22px; height: 22px; border-radius: var(--radius-xs);
  background: var(--text-primary); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
}
.row .name { font-size: 13px; font-weight: 500; }
.row .meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.tag {
  padding: 2px 8px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em;
  font-weight: 600;
}
.tag.offer    { background: var(--success); color: #fff; }
.tag.inplay   { background: var(--warning); color: var(--text-primary); }
.tag.stalled  { background: var(--danger); color: #fff; }
.tag.queued   { background: var(--text-primary); color: var(--bg); }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  padding: 12px; background: var(--bg);
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
}
.kpi .k { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.kpi .v { font-family: var(--font-mono); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.kpi .d { font-family: var(--font-mono); font-size: 10px; }
.kpi .d.up { color: var(--success); }
.kpi .d.dn { color: var(--warning); }

.ic-bubble {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-soft);
}
.ic-bubble + .ic-bubble { margin-top: 8px; }
.ic-bubble .who {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-muted); text-transform: uppercase;
  width: 60px; flex-shrink: 0; padding-top: 3px;
}
.ic-bubble .what { font-size: 13px; line-height: 1.5; color: var(--text-body); }

/* ─────────── hyper-specific ─────────── */
.specific .lede { max-width: 64ch; margin-bottom: 56px; }

.specific-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .specific-grid { grid-template-columns: 1fr; } }
.spec-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.spec-card .head {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.spec-card .head::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--accent-1);
}
.spec-card h3 { font-size: 18px; }
.spec-card .desc { font-size: 14px; color: var(--text-body); line-height: 1.55; }

.fun-block {
  margin-top: 56px; background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--radius-xl);
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
@media (max-width: 880px) { .fun-block { grid-template-columns: 1fr; gap: 24px; padding: 32px; } }
.fun-block .quote {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--success);
  margin-bottom: 14px;
}
.fun-block h3 { font-size: 28px; line-height: 1.15; margin-bottom: 16px; }
.fun-block ul { margin: 0; padding-left: 0; list-style: none; }
.fun-block li {
  position: relative; padding: 10px 0 10px 28px;
  font-size: 14px; line-height: 1.5; color: var(--text-body);
  border-top: 1px solid var(--border-soft);
}
.fun-block li:first-child { border-top: none; }
.fun-block li::before {
  content: '▸'; position: absolute; left: 0; top: 10px;
  color: var(--accent-1); font-size: 12px;
}

/* ─────────── on-demand tools ─────────── */
.tools-section { background: var(--bg-subtle); }
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 48px;
}
@media (max-width: 880px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-chip {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tool-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-chip .icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent-1-soft); color: var(--success);
  border-radius: var(--radius-xs);
  display: grid; place-items: center;
}
.tool-chip .label { font-size: 14px; line-height: 1.4; color: var(--text-primary); font-weight: 500; }

/* ─────────── starter workspace ─────────── */
.starter-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
@media (max-width: 880px) { .starter-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .starter-grid { grid-template-columns: 1fr; } }
.starter {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.starter .icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--text-primary); color: var(--bg);
  display: grid; place-items: center;
}
.starter h3 { font-size: 18px; line-height: 1.2; }
.starter p { font-size: 14px; color: var(--text-body); line-height: 1.55; }

/* ─────────── personalization ─────────── */
.persona { background: var(--bg-subtle); }
.persona .lede { max-width: 60ch; margin-bottom: 48px; }

.persona-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
@media (max-width: 880px) { .persona-grid { grid-template-columns: 1fr; gap: 32px; } }
.persona-list h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 600;
  margin-bottom: 14px;
}
.persona-list ul { margin: 0; padding: 0; list-style: none; }
.persona-list li {
  padding: 10px 0; border-top: 1px solid var(--border-soft);
  font-size: 15px; color: var(--text-primary); display: flex; align-items: center; gap: 10px;
}
.persona-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent-1); flex-shrink: 0;
}
.persona-list li:first-child { border-top: none; }

/* ─────────── final CTA ─────────── */
.final-cta {
  background: var(--text-primary); color: var(--bg);
  padding: 120px 0; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: linear-gradient(rgba(246,244,238,0.5) 1px, transparent 1px);
  background-size: 100% 56px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}
.final-cta h2 { color: var(--bg); max-width: 18ch; position: relative; }
.final-cta p { color: rgba(246,244,238,0.7); margin: 24px 0 40px; max-width: 50ch; position: relative; }
.final-cta .form-wrap { position: relative; }

/* ─────────── waitlist form ─────────── */
.waitlist-form {
  display: flex; gap: 8px; align-items: stretch;
  max-width: 460px;
  background: rgba(246,244,238,0.06);
  border: 1px solid rgba(246,244,238,0.18);
  border-radius: var(--radius-md); padding: 6px;
  transition: border-color var(--dur) var(--ease);
}
.waitlist-form:focus-within { border-color: var(--accent-1); }
.waitlist-form input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--bg); font-family: inherit; font-size: 15px;
  padding: 12px 14px;
}
.waitlist-form input::placeholder { color: rgba(246,244,238,0.4); }
.waitlist-form button {
  background: var(--accent-1); color: var(--text-on-accent);
  border: none; padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur) var(--ease);
}
.waitlist-form button:hover { background: hsl(145 60% 32%); }
.waitlist-form .arrow { font-family: var(--font-mono); font-size: 13px; opacity: 0.85; }
.form-success {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-1-soft);
  margin-top: 16px; display: none;
}
.form-success.shown { display: block; }
.form-micro {
  font-family: var(--font-mono); font-size: 12px; color: rgba(246,244,238,0.45);
  letter-spacing: 0.04em; margin-top: 14px;
}

/* hero waitlist (light variant) */
.waitlist-light {
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.waitlist-light input { color: var(--text-primary); }
.waitlist-light input::placeholder { color: var(--text-muted); }

/* ─────────── footer ─────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 64px;
}
.site-footer .row1 {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: center;
}
.site-footer .legal {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
.site-footer .legal a { color: var(--text-muted); text-decoration: none; }
.site-footer .legal a:hover { color: var(--text-primary); }
.invite-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px; color: var(--text-secondary);
}
.invite-row .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.invite-row a {
  color: var(--success); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.invite-row a:hover { text-decoration: underline; }
.invite-row a .arrow { font-family: var(--font-mono); font-size: 12px; }

/* small utility */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
