/* ================================================
   Maya — The AI Talent Network
   Main Stylesheet
   ================================================ */

:root {
  --cream: #faf6f0;
  --cream-deep: #f3ece0;
  --cream-warm: #ede4d3;
  --ink: #1f1b16;
  --ink-soft: #4a413a;
  --ink-mute: #8a7f72;
  --terracotta: #d9692a;
  --terracotta-deep: #b8541e;
  --terracotta-soft: #f4d9c3;
  --line: #e1d7c5;
  --line-soft: #ebe3d3;
  --paper: #fffcf6;
  --green: #4a7c3e;
  --green-soft: #d9ead3;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --max: 1280px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.italic {
  font-style: italic;
  font-variation-settings: "opsz" 144;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
section {
  position: relative;
  z-index: 2;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* NAV */
nav.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(250, 246, 240, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
nav.top.scrolled {
  border-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .gurmukhi {
  font-size: 20px;
  color: var(--terracotta);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a {
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--terracotta);
}
.btn-login {
  padding: 9px 20px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.btn-login:hover {
  background: var(--ink);
  color: var(--cream);
}

/* HERO */
.hero {
  padding: 180px 0 80px;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(217, 105, 42, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(217, 105, 42, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(217, 105, 42, 0.06);
  }
}
h1.hero-title {
  font-size: clamp(56px, 8.5vw, 124px);
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
h1.hero-title .soft {
  color: var(--ink-mute);
  font-style: italic;
  font-weight: 300;
}
h1.hero-title .accent {
  color: var(--terracotta);
  font-style: italic;
}
.hero-sub {
  margin-top: 40px;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-cta-row {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-primary span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover::before {
  transform: translateY(0);
}
.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s;
}
.btn-ghost:hover {
  gap: 16px;
}

.platform-strip {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.platforms {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.platform-chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-1px);
}
.platform-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* TRUST STRIP */
.trust {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.trust-head {
  max-width: 920px;
  margin-bottom: 72px;
}
.trust-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 16px;
}
.trust-head h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.trust-col {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
}
.trust-col:last-child {
  border-right: none;
  padding-right: 0;
}
.trust-col:not(:first-child) {
  padding-left: 32px;
}
.trust-col .big-stat {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.trust-col h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.trust-col p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* STORY */
.story {
  padding: 120px 0 140px;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 64px;
}
.story-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 16px;
}
.story-head h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.story-head p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.act-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.act-btn {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.act-btn .num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--terracotta);
  letter-spacing: 0.08em;
}
.act-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.act-btn.active .num {
  color: var(--terracotta);
}

.stage {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(31, 27, 22, 0.04),
    0 20px 60px rgba(31, 27, 22, 0.06),
    0 60px 120px rgba(31, 27, 22, 0.04);
  min-height: 640px;
}
.stage-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}
.stage-header-left {
  display: flex;
  gap: 8px;
}
.dot-ctrl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-ctrl:nth-child(1) {
  background: #e07b6a;
}
.dot-ctrl:nth-child(2) {
  background: #e8c26b;
}
.dot-ctrl:nth-child(3) {
  background: #7fa879;
}
.stage-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.stage-timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-timestamp .tdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s ease-in-out infinite;
}

.stage-body {
  position: relative;
  min-height: 580px;
}
.act {
  position: absolute;
  inset: 0;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
}
.act.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.act-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.act-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--terracotta);
  color: white;
  border-radius: 100px;
  font-weight: 500;
}
.act-caption h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brief-card {
  padding: 24px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
  position: relative;
}
.brief-card::before {
  content: "CLIENT BRIEF";
  position: absolute;
  top: -9px;
  left: 16px;
  background: var(--cream-deep);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 500;
}
.brief-card .tag-soft {
  display: inline-block;
  padding: 3px 10px;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin: 0 2px;
}

.scanning-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.scan-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.m-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
}
.scan-dots {
  display: inline-flex;
  gap: 4px;
}
.scan-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: bounce 1.4s ease-in-out infinite;
}
.scan-dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.scan-dots span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.platform-scan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pscan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ink-soft);
  background: white;
  animation: scanPop 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
}
.pscan.found {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
  background: var(--terracotta-soft);
}
.act.active .pscan:nth-child(1) {
  animation-delay: 0.2s;
}
.act.active .pscan:nth-child(2) {
  animation-delay: 0.4s;
}
.act.active .pscan:nth-child(3) {
  animation-delay: 0.6s;
}
.act.active .pscan:nth-child(4) {
  animation-delay: 0.8s;
}
.act.active .pscan:nth-child(5) {
  animation-delay: 1s;
}
.act.active .pscan:nth-child(6) {
  animation-delay: 1.2s;
}
.act.active .pscan:nth-child(7) {
  animation-delay: 1.4s;
}
.act.active .pscan:nth-child(8) {
  animation-delay: 1.6s;
}
@keyframes scanPop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.logo-svg {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.result-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(8px);
  animation: slideIn 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.act.active .result-row:nth-child(1) {
  animation-delay: 0.2s;
}
.act.active .result-row:nth-child(2) {
  animation-delay: 0.45s;
}
.act.active .result-row:nth-child(3) {
  animation-delay: 0.7s;
}
.act.active .result-row:nth-child(4) {
  animation-delay: 0.95s;
}
.act.active .result-row:nth-child(5) {
  animation-delay: 1.2s;
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--terracotta-soft),
    var(--cream-warm)
  );
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta-deep);
}
.result-info .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.result-info .name .li-badge {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #0a66c2;
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}
.result-info .source {
  font-size: 10px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  padding: 1px 6px;
  background: var(--cream-warm);
  border-radius: 4px;
}
.result-info .title {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 3px;
}
.result-cta {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 100px;
}

/* Outreach */
.outreach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
  min-height: 0;
}
.outreach-left {
  display: flex;
  flex-direction: column;
}
.panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.outreach-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-left: 6px;
}
.outreach-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.wa-chat {
  background: #e7ded1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  max-height: 460px;
}
.wa-header {
  background: #075e54;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.wa-name {
  font-weight: 500;
  font-size: 14px;
}
.wa-status {
  font-size: 11px;
  opacity: 0.8;
}
.wa-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #e7ded1;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.3) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  flex: 1;
  overflow-y: auto;
}
.wa-msg {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  animation: slideIn 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
  word-wrap: break-word;
}
.wa-msg .time {
  font-size: 10px;
  color: var(--ink-mute);
  display: block;
  margin-top: 4px;
  text-align: right;
}
.wa-msg.sent {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 2px;
}
.wa-msg.received {
  align-self: flex-start;
  background: white;
  border-bottom-left-radius: 2px;
}
.act.active .wa-msg:nth-child(1) {
  animation-delay: 0.4s;
}
.act.active .wa-msg:nth-child(2) {
  animation-delay: 1.2s;
}
.act.active .wa-msg:nth-child(3) {
  animation-delay: 1.9s;
}
.act.active .wa-msg:nth-child(4) {
  animation-delay: 2.6s;
}
.act.active .wa-msg:nth-child(5) {
  animation-delay: 3.3s;
}
.act.active .wa-msg:nth-child(6) {
  animation-delay: 4s;
}
.act.active .wa-msg:nth-child(7) {
  animation-delay: 4.7s;
}

/* Negotiation */
.nego-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  flex: 1;
}
.nego-stat {
  background: var(--cream-warm);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.nego-stat + .nego-stat {
  margin-top: 16px;
}
.nego-stat .slab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.nego-stat .val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nego-stat .val .strike {
  text-decoration: line-through;
  color: var(--ink-mute);
  font-size: 20px;
  margin-right: 8px;
}
.nego-stat .val .final {
  color: var(--terracotta);
}
.nego-stat .note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.savings-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 10px;
}
.savings-tag::before {
  content: "\2193";
  font-weight: 700;
}

/* Inbox */
.inbox-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.inbox-title .in-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.email-row {
  display: grid;
  grid-template-columns: 36px 1fr 90px;
  gap: 16px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 10px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  animation: slideIn 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: all 0.2s;
}
.email-row:hover {
  border-color: var(--terracotta);
  background: var(--cream);
}
.act.active .email-row:nth-child(1) {
  animation-delay: 0.2s;
}
.act.active .email-row:nth-child(2) {
  animation-delay: 0.4s;
}
.act.active .email-row:nth-child(3) {
  animation-delay: 0.6s;
}
.act.active .email-row:nth-child(4) {
  animation-delay: 0.8s;
}
.email-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
}
.email-subject {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.email-subject .close-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.email-preview {
  font-size: 12px;
  color: var(--ink-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.email-time {
  font-size: 11px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  text-align: right;
}
.act4-summary {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.act4-summary .headline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.act4-summary .headline .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.act4-summary .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250, 246, 240, 0.6);
  letter-spacing: 0.1em;
}

/* PM Section */
.pm {
  padding: 140px 0;
}
.pm-head {
  max-width: 820px;
  margin-bottom: 80px;
}
.pm-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 16px;
}
.pm-head h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.pm-head p {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.6;
}

.pm-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.pm-feature {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--line);
}
.pm-feature:last-child {
  border-right: none;
  padding-right: 0;
}
.pm-feature:not(:first-child) {
  padding-left: 32px;
}
.pm-feature .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 500;
}
.pm-feature h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.pm-feature p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Escrow */
.escrow-block {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
}
.escrow-block .desc h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.escrow-block .desc h3 .italic {
  color: var(--terracotta);
}
.escrow-block .desc p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.escrow-block .desc p + p {
  margin-top: 14px;
}

.escrow-visual {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line-soft);
}
.milestone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.milestone:last-child {
  border-bottom: none;
}
.milestone .m-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.milestone .m-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.milestone.pending .m-check {
  background: var(--cream-warm);
  color: var(--ink-mute);
}
.milestone .m-amount {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink);
}
.milestone.pending .m-amount {
  color: var(--ink-mute);
}
.milestone .status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 8px;
}
.milestone .status.released {
  background: var(--green-soft);
  color: var(--green);
}
.milestone .status.held {
  background: var(--cream-warm);
  color: var(--ink-mute);
}

/* Pricing */
.pricing {
  padding: 140px 0;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.pricing-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 16px;
}
.pricing-head h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.pricing-head p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.price-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(217, 105, 42, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.price-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 24px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0 8px;
  position: relative;
  z-index: 1;
}
.price-amount .pct {
  color: var(--terracotta);
  font-style: italic;
}
.price-amount .small {
  font-size: 36px;
  color: var(--ink-mute);
  font-style: italic;
}
.price-subtext {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.price-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 40px;
  padding: 32px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.price-feat {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-feat::before {
  content: "\2713";
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}
.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}
.price-cta:hover {
  background: var(--terracotta);
  gap: 14px;
}
.price-footer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* Split CTA */
.split-cta {
  padding: 140px 0;
}
.split-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.split-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 16px;
}
.split-head h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.split-head p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  border: 1px solid var(--line-soft);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.split-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 20px 60px rgba(31, 27, 22, 0.08);
}
.split-card .eyebrow {
  margin-bottom: 20px;
}
.split-card h3 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 20px;
}
.split-card h3 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.split-card > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 32px;
  flex: 1;
}
.split-card ul {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split-card ul li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: start;
  gap: 10px;
}
.split-card ul li::before {
  content: "\2014";
  color: var(--terracotta);
  font-weight: 600;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
  transition: all 0.3s;
}
.card-cta:hover {
  background: var(--terracotta);
  gap: 14px;
}

/* FAQ */
.faq {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.faq-intro h2 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 16px;
}
.faq-intro h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.faq-intro p {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
}
.faq-q .txt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.3s;
}
.faq-item.open .plus {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 0.4s;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  padding: 0;
  max-width: 640px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 16px;
}

/* Final CTA */
.final-cta {
  padding: 140px 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(217, 105, 42, 0.18),
    transparent 60%
  );
  pointer-events: none;
}
.final-cta-inner {
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.final-cta .eyebrow {
  color: var(--terracotta);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-top: 24px;
}
.final-cta h2 .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.final-cta p {
  margin-top: 32px;
  font-size: 18px;
  color: rgba(250, 246, 240, 0.7);
  max-width: 540px;
  line-height: 1.6;
}
.final-cta-row {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cream {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-cream:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-2px);
}
.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 32px;
  color: var(--cream);
  border: 1px solid rgba(250, 246, 240, 0.3);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-outline-cream:hover {
  border-color: var(--cream);
  background: rgba(250, 246, 240, 0.08);
}

/* Footer */
footer {
  padding: 80px 0 40px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.foot-brand .logo {
  font-size: 32px;
  margin-bottom: 20px;
}
.foot-brand p {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 320px;
  line-height: 1.6;
}
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--terracotta);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom a {
  color: var(--ink-soft);
  margin-left: 24px;
}
.foot-bottom a:hover {
  color: var(--terracotta);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal Pages (Terms, Privacy) */
.legal {
  padding: 160px 0 120px;
}
.legal-header {
  max-width: 920px;
  margin-bottom: 64px;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 16px;
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: 20px;
}
.legal-intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
}
.legal-body {
  max-width: 920px;
}
.legal-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal-section h3:first-of-type {
  margin-top: 0;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}
.legal-section ul li::before {
  content: "\2014";
  color: var(--terracotta);
  font-weight: 600;
  position: absolute;
  left: 0;
}
.legal-section ul li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.legal-contact {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ink);
}
.legal-contact p {
  font-size: 15px;
  color: var(--ink-soft);
}
.legal-contact a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-contact a:hover {
  color: var(--terracotta-deep);
}
.legal-link {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-link:hover {
  color: var(--terracotta-deep);
}

/* Error Pages (404, 500) */
.error-page {
  padding: 200px 0 160px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-content {
  max-width: 640px;
}
.error-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 16px;
}
.error-title .italic {
  color: var(--terracotta);
  font-weight: 400;
}
.error-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.error-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 960px) {
  .wrap {
    padding: 0 24px;
  }
  .stage-body {
    min-height: 820px;
  }
  .outreach-grid {
    grid-template-columns: 1fr;
  }
  .nego-wrap {
    grid-template-columns: 1fr;
  }
  .pm-features {
    grid-template-columns: 1fr 1fr;
  }
  .pm-feature:nth-child(2) {
    border-right: none;
  }
  .pm-feature:nth-child(3),
  .pm-feature:nth-child(4) {
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
  .escrow-block {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 32px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .price-features {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-col {
    padding: 32px 0 !important;
    border-right: none;
    border-top: 1px solid var(--line);
  }
  .trust-col:first-child {
    border-top: none;
  }
  .nav-links a:not(.btn-login) {
    display: none;
  }
  .hero {
    padding-top: 140px;
  }
  .act {
    padding: 24px;
  }
  .price-amount {
    font-size: 72px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }
  .pm-features {
    grid-template-columns: 1fr;
  }
  .pm-feature {
    padding: 32px 0 !important;
    border-right: none;
    border-top: 1px solid var(--line);
  }
  .pm-feature:first-child {
    border-top: none;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-bottom {
    justify-content: center;
    text-align: center;
  }
  .foot-bottom a {
    margin: 0 12px;
  }
  .act-nav {
    gap: 6px;
  }
  .act-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  .price-card {
    padding: 36px 24px;
  }
}
