/* Premium marketing pass for /, /hire, and /how-it-works.
   Loaded after matchmaker-first.css. Chat UI on /matchmaker does not use this file.
   Type stays on the brand faces: DM Sans for display, IBM Plex Mono for the wordmark.
   Mint is the wordmark dot, the focus ring, and the link colour. The button is ink. */

body.mm-landing,
body.hiw {
  --mm-ink: #0f1015;
  --mm-ink-2: #3f3f3c;
  --mm-muted: #4a4a46;
  --mm-line: rgba(15, 16, 21, 0.08);
  --mm-mint: #3ECF8E;
  --mm-link: #1F7A55;
  --mm-paper: #fafaf9;
  --mm-card: #ffffff;
  --mm-radius: 16px;
  --mm-sans: 'DM Sans', Arial, sans-serif;
  --mm-mono: 'IBM Plex Mono', 'Courier New', monospace;
  margin: 0;
  background: var(--mm-paper);
  color: var(--mm-ink);
  font-family: var(--mm-sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.mm-landing .ct,
body.hiw .ct {
  font-family: var(--mm-mono);
  letter-spacing: -0.01em;
}

body.mm-landing a,
body.hiw a { color: inherit; }

body.mm-landing :focus-visible,
body.hiw :focus-visible {
  outline: 2px solid var(--mm-mint);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Header */
body.mm-landing .mm-top,
body.hiw #nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 0;
  padding: 16px 40px;
  max-width: none;
}

body.mm-landing .nav-brand-sub,
body.hiw .nav-brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e6e6b;
}

body.mm-landing .mm-menu summary,
body.mm-landing a.nav-signin,
body.hiw .nav-links a,
body.hiw .nav-signin,
body.hiw .nav-join,
body.hiw .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.mm-landing .mm-panel {
  border: 0;
  border-radius: var(--mm-radius);
  box-shadow: 0 16px 40px rgba(15, 16, 21, 0.08);
  padding: 24px;
  width: min(320px, calc(100vw - 24px));
}

body.mm-landing .mm-panel h3 {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--mm-ink);
}

body.mm-landing .mm-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Hero column */
body.mm-landing .mm-main {
  max-width: 1040px;
  width: 100%;
  padding: 72px 40px 96px;
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-start;
  align-items: stretch;
}

body.mm-landing .mm-eyebrow,
body.hiw .hero-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mm-muted);
}

body.mm-landing h1,
body.hiw .hero-h1 {
  max-width: 16em;
  margin: 0;
  font-family: var(--mm-sans);
  font-weight: 600;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--mm-ink);
  text-wrap: balance;
}

body.mm-landing .mm-beat {
  display: block;
  text-wrap: balance;
}

body.mm-landing .mm-beat-2 {
  color: #3f3f3c;
}

body.mm-landing .mm-lede {
  margin: 16px 0 0;
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.55;
  color: var(--mm-ink-2);
  text-wrap: pretty;
}

body.hiw .hero-h1 strong { font-weight: 600; }

body.mm-landing .mm-ask { margin-top: 40px; max-width: none; width: 100%; }
body.mm-landing .mm-ask label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

body.mm-landing .mm-field {
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-card);
  box-shadow: 0 12px 32px rgba(15, 16, 21, 0.05);
  transition: box-shadow 180ms ease-out, transform 180ms ease-out;
}

body.mm-landing .mm-field:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 16, 21, 0.07);
}

body.mm-landing .mm-field:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.55), 0 12px 32px rgba(15, 16, 21, 0.05);
}

body.mm-landing .mm-field textarea {
  font-family: var(--mm-sans);
  font-size: 18px;
  line-height: 1.55;
  padding: 24px 24px 8px;
  min-height: 112px;
}

body.mm-landing .mm-field textarea::placeholder { color: #6e6e6a; }

body.mm-landing .mm-foot {
  padding: 8px 8px 8px 24px;
  justify-content: flex-end;
}

body.mm-landing .mm-hint {
  font-size: 15px;
  color: var(--mm-muted);
  line-height: 1.55;
}

body.mm-landing .mm-btn,
body.hiw .mm-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mm-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  background: #0f1015;
  color: #fff;
  border-radius: 12px;
  min-height: 48px;
  height: 48px;
  padding: 0 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
  transition: box-shadow 180ms ease-out;
}

body.mm-landing .mm-btn:hover,
body.hiw .mm-btn:hover {
  background: #0f1015;
  color: #fff;
  text-decoration: none;
  transform: none;
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.7);
}

body.mm-landing .mm-btn:disabled { opacity: 0.6; transform: none; cursor: wait; }
body.mm-landing .mm-btn.mm-mbtn { display: none; }

body.mm-landing .mm-talent,
body.mm-landing .mm-status {
  font-size: 15px;
  color: var(--mm-muted);
}

body.mm-landing .mm-talent a,
body.mm-landing .mm-fee-short a,
body.mm-landing .mm-other summary,
body.hiw .hiw-quiet a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Steps */
body.mm-landing .mm-steps,
body.hiw .mm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 64px 0 0;
  padding: 0;
  max-width: 960px;
}

body.mm-landing .mm-steps li,
body.hiw .mm-steps li { min-width: 0; }

body.mm-landing .mm-step-n,
body.hiw .mm-step-n {
  display: block;
  margin-bottom: 8px;
  color: var(--mm-ink);
  font-weight: 600;
  font-size: 15px;
}

body.mm-landing .mm-steps strong,
body.hiw .mm-steps strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.mm-landing .mm-steps p,
body.hiw .mm-steps p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #3f3f3c;
  text-wrap: pretty;
}

body.mm-landing .mm-close,
body.hiw .mm-close {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: 28px;
}

body.mm-landing .mm-intros,
body.hiw .mm-intros {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--mm-ink);
}

body.mm-landing .mm-legal-fee,
body.hiw .mm-legal-fee {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mm-muted);
  text-wrap: pretty;
}

body.hiw .hiw-close p { text-wrap: pretty; }

body.mm-landing .mm-other {
  margin: 0;
}

body.mm-landing .mm-other summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--mm-muted);
}

body.mm-landing .mm-other summary::-webkit-details-marker { display: none; }

body.mm-landing .mm-other-body {
  padding: 16px 0 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mm-ink-2);
}

body.mm-landing .mm-other-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

body.mm-landing .mm-other-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.mm-landing .mm-fee {
  margin: 0;
  padding: 0;
  border: 0;
}

body.mm-landing .mm-fee h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mm-ink);
}

body.mm-landing .mm-fee p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mm-ink-2);
}

body.mm-landing .mm-roles {
  margin-top: 72px;
  padding-top: 0;
  border-top: 0;
  max-width: none;
}

body.mm-landing .mm-roles h2 {
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--mm-ink);
  margin: 0 0 16px;
}

body.mm-landing .mm-roles ul { gap: 8px 24px; }
body.mm-landing .mm-roles ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
body.mm-landing .mm-roles a {
  min-height: 44px;
  width: auto;
  display: inline-flex;
  align-items: center;
  color: var(--mm-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.mm-landing .mm-footbar {
  border-top: 0;
  padding: 48px 40px 64px;
  max-width: 960px;
}

body.mm-landing .mm-more {
  max-width: 960px;
  padding: 0 40px 96px;
}

body.mm-landing .mm-more summary {
  min-height: 44px;
  color: var(--mm-muted);
  font-size: 16px;
}

body.mm-landing .mm-dir h2,
body.mm-landing .mm-dir h3 {
  letter-spacing: 0;
  text-transform: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--mm-ink);
}

body.mm-landing .mm-dir h2.mm-dir-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 640px;
}

body.mm-landing .mm-seo {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--mm-ink-2);
}

body.mm-landing .faq-item dd { color: var(--mm-ink-2); line-height: 1.55; }
body.mm-landing .mm-dir a { min-height: 44px; display: inline-flex; align-items: center; }

@keyframes mm-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

body.mm-landing .mm-rise,
body.hiw .mm-rise {
  opacity: 1;
  animation: none;
}

body.mm-landing .mm-rise-2,
body.hiw .mm-rise-2 { animation-delay: 60ms; }
body.mm-landing .mm-rise-3,
body.hiw .mm-rise-3 { animation-delay: 120ms; }

/* How it works */
body.hiw {
  font-family: var(--mm-sans);
}

body.hiw #nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.hiw .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mm-ink); }
body.hiw .nav-brand-copy { display: flex; flex-direction: column; }
body.hiw .nav-brand-name { font-weight: 600; letter-spacing: -0.02em; }
body.hiw .nav-links { display: flex; align-items: center; gap: 24px; }
body.hiw .nav-links a { color: var(--mm-ink-2); text-decoration: none; font-size: 15px; }
body.hiw .nav-actions { display: flex; align-items: center; gap: 8px; }
body.hiw .nav-signin,
body.hiw .nav-join,
body.hiw .nav-cta {
  background: transparent !important;
  color: var(--mm-ink) !important;
  border: 0 !important;
  border-radius: 0;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
}

body.hiw .hero {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(280px, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 0;
  padding: 96px 40px 80px;
}

body.hiw .hero-sub,
body.hiw .hero-platform,
body.hiw .section-lead,
body.hiw .flow-card p,
body.hiw .verify-path p,
body.hiw .audience p,
body.hiw .hiw-close p {
  font-family: var(--mm-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--mm-ink-2);
  max-width: 640px;
}

body.hiw .hero-sub { margin: 24px 0 0; }
body.hiw .hero-platform { margin: 16px 0 0; font-size: 16px; }
body.hiw .hero-buttons { margin-top: 32px; }

body.hiw .hiw-mock {
  background: var(--mm-card);
  border-radius: var(--mm-radius);
  box-shadow: 0 16px 40px rgba(15, 16, 21, 0.06);
  padding: 24px;
}

body.hiw .hiw-mock p { margin: 0; }
body.hiw .hiw-mock-kicker { font-size: 13px; color: var(--mm-muted); margin-bottom: 16px; }
body.hiw .hiw-mock-q { font-size: 15px; font-weight: 600; }
body.hiw .hiw-mock-a {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--mm-ink-2);
}
body.hiw .hiw-card {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--mm-line);
}
body.hiw .hiw-card-role { font-weight: 600; font-size: 17px; }
body.hiw .hiw-card-skills { margin-top: 4px; color: var(--mm-ink-2); font-size: 15px; }
body.hiw .hiw-card-note { margin-top: 8px; color: var(--mm-muted); font-size: 15px; }

body.hiw .section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 40px;
}

body.hiw .section-heading,
body.hiw .hiw-close h2,
body.hiw .verify-path h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

body.hiw .verify-path,
body.hiw .audience article,
body.hiw .related a,
body.hiw .flow-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

body.hiw .audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

body.hiw .audience h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }

body.hiw .related { display: flex; flex-wrap: wrap; gap: 8px 24px; }
body.hiw .related a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--mm-ink);
  font-size: 16px;
}

body.hiw .btn-ghost,
body.hiw .btn-ghost-light {
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--mm-muted);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hiw .hiw-quiet { margin-top: 48px; max-width: 640px; }
body.hiw .hiw-quiet p { margin: 0 0 8px; }

body.hiw .product-films { padding-top: 48px; }
body.hiw footer {
  border-top: 0;
  padding: 48px 40px 64px;
  text-align: left;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--mm-muted);
  font-size: 14px;
  line-height: 1.7;
}
body.hiw footer a { color: var(--mm-muted); }

@media (max-width: 900px) {
  body.mm-landing .mm-steps,
  body.hiw .mm-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  body.hiw .hero { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px 48px; }
  body.hiw .audience { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  body.hiw #nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 4px;
    column-gap: 12px;
    padding: 8px 12px;
  }
  body.hiw .nav-brand {
    flex: 1 1 100%;
    min-width: 0;
  }
  body.hiw .nav-brand-sub { display: none; }
  body.hiw .nav-actions {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 4px 12px;
  }
}

@media (max-width: 640px) {
  body.mm-landing .mm-top,
  body.hiw #nav { padding: 8px 16px; }
  body.mm-landing a.nav-partner { display: none; }
  body.mm-landing .mm-main { padding: 48px 16px 80px; }
  body.mm-landing .mm-field textarea { font-size: 17px; padding: 16px 16px 8px; }
  body.mm-landing .mm-foot { padding: 0 16px 16px; }
  body.mm-landing .mm-foot .mm-btn { display: none; }
  body.mm-landing .mm-btn.mm-mbtn { display: flex; margin-top: 16px; width: 100%; height: 48px; }
  body.mm-landing .mm-panel { width: auto; }
  body.mm-landing .mm-footbar,
  body.mm-landing .mm-more { padding-left: 16px; padding-right: 16px; }
  body.hiw .section { padding: 72px 16px; }
  body.hiw .hero { padding: 72px 16px 40px; }
  body.hiw .nav-links { display: none; }
  body.hiw footer { padding: 40px 16px 56px; }
}

body.hiw .reveal { animation: mm-rise 220ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  body.mm-landing .mm-rise,
  body.hiw .mm-rise,
  body.hiw .reveal { animation: none; opacity: 1; }
  body.mm-landing .mm-field,
  body.mm-landing .mm-btn,
  body.hiw .mm-btn { transition: none; }
  body.mm-landing .mm-field:hover,
  body.mm-landing .mm-btn:hover,
  body.hiw .mm-btn:hover { transform: none; }
}
