/*
 * ManAIger — Marketing / Landing Page Stylesheet
 * Tone: institutional precision, diagnostic infrastructure, Stripe/Vanta register
 */

/* ─── Marketing Base ─────────────────────────────────────────────── */
.marketing-body {
  background: var(--navy);
  color: var(--text-on-navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ─── Marketing Nav ──────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
}

.mkt-nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.mkt-nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.mkt-nav__logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mkt-nav__logo-text {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mkt-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.mkt-nav__link {
  color: #94A3B8;
  font-size: 0.875rem;
  padding: 5px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.mkt-nav__link:hover { color: #E2E8F0; background: rgba(255,255,255,0.06); text-decoration: none; }

.mkt-nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mkt-nav__signin {
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.15s;
}
.mkt-nav__signin:hover { color: #E2E8F0; text-decoration: none; }

.mkt-nav__get-started {
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}
.mkt-nav__get-started:hover { background: var(--accent-dim); text-decoration: none; color: #fff; }

/* ─── Shared Section Wrapper ─────────────────────────────────────── */
.hero__inner,
.problem__inner,
.domains__inner,
.how-it-works__inner,
.entry-types__inner,
.cta-section__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--navy-border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #F1F5F9;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: #CBD5E1;
}

.hero__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.btn--lg {
  font-size: 0.9375rem;
  padding: 11px 22px;
}


.btn--outline-light {
  background: transparent;
  color: #94A3B8;
  border: 1px solid var(--navy-border);
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn--outline-light:hover { color: #E2E8F0; border-color: rgba(255,255,255,0.2); text-decoration: none; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #64748B;
}

.hero__proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.hero__proof-dot--blue { background: var(--accent); }

/* ─── Mock Report (Hero right side) ─────────────────────────────── */
.hero__mock {
  background: #0F1929;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.mock-topbar {
  background: #0B1422;
  border-bottom: 1px solid var(--navy-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-topbar__title {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: #64748B;
}

.mock-topbar__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.mock-topbar__badge--high {
  background: rgba(220,38,38,0.15);
  color: #F87171;
  border: 1px solid rgba(220,38,38,0.3);
}

.mock-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-domain {
  background: #0B1422;
  border: 1px solid #1A2840;
  border-radius: 6px;
  overflow: hidden;
}

.mock-domain__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #1A2840;
}

.mock-domain__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: -0.01em;
}

.mock-domain__status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}
.mock-domain__status--ambiguous {
  background: rgba(217,119,6,0.15);
  color: #FCD34D;
  border: 1px solid rgba(217,119,6,0.3);
}
.mock-domain__status--clear {
  background: rgba(21,128,61,0.15);
  color: #4ADE80;
  border: 1px solid rgba(21,128,61,0.25);
}
.mock-domain__status--not-evaluable {
  background: rgba(71,85,105,0.3);
  color: #94A3B8;
  border: 1px solid rgba(71,85,105,0.4);
}

.mock-card {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-card--dim { opacity: 0.7; }

.mock-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.mock-card__excerpt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #93C5FD;
  background: rgba(47,107,255,0.08);
  border: 1px solid rgba(47,107,255,0.15);
  border-radius: 4px;
  padding: 8px 10px;
  line-height: 1.5;
}

.mock-card__text {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.5;
}

.mock-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.mock-card__parties {
  font-size: 0.6875rem;
  color: #475569;
}

.mock-card__severity {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}
.mock-card__severity--high {
  background: rgba(220,38,38,0.15);
  color: #F87171;
  border: 1px solid rgba(220,38,38,0.25);
}

/* ─── Problem Section ────────────────────────────────────────────── */
.problem {
  padding: 72px 0;
  border-bottom: 1px solid var(--navy-border);
}

/* ─── Problem Spec Strip (replaces hero-metrics grid) ─────────── */
.problem__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin-bottom: 56px;
  padding: 18px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.problem__spec {
  font-size: 0.8125rem;
  color: #64748B;
  padding: 0 20px;
}
.problem__spec:first-child { padding-left: 0; }

.problem__spec-val {
  font-family: var(--font-mono);
  color: #94A3B8;
  margin-right: 1px;
}

.problem__spec-sep {
  color: var(--navy-border);
  font-size: 1rem;
  line-height: 1;
  user-select: none;
}

.problem__statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.problem__statement {
  display: flex;
  gap: 20px;
}

.problem__statement-rule {
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
  min-height: 100%;
}

.problem__statement p {
  font-size: 1rem;
  line-height: 1.75;
  color: #94A3B8;
}
.problem__statement p strong { color: #CBD5E1; font-weight: 500; }

/* ─── Domains Section ────────────────────────────────────────────── */
.domains {
  padding: 96px 0;
  border-bottom: 1px solid var(--navy-border);
}

.domains__header {
  margin-bottom: 56px;
}

.domains__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.domains__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #F1F5F9;
  margin-bottom: 12px;
}

.domains__subheadline {
  font-size: 1rem;
  color: #64748B;
  max-width: 520px;
  line-height: 1.65;
}

.domains__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.domain-card {
  padding: 32px 28px;
  border-right: 1px solid var(--navy-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.domain-card:last-child { border-right: none; }
.domain-card:hover { background: rgba(255,255,255,0.02); }

.domain-card__index {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #334155;
  letter-spacing: 0.05em;
}

.domain-card__name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F1F5F9;
  letter-spacing: -0.02em;
}

.domain-card__rule {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.25s var(--ease-out-quart);
}

.domain-card:hover .domain-card__rule { width: 36px; }

.domain-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748B;
  flex: 1;
}

.domain-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.domain-card__signal {
  font-size: 0.6875rem;
  color: #475569;
  background: rgba(255,255,255,0.04);
  border: 1px solid #1E2D45;
  border-radius: 3px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* ─── How It Works ───────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  border-bottom: 1px solid var(--navy-border);
}

.how-it-works__header {
  margin-bottom: 56px;
}

.how-it-works__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-it-works__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #F1F5F9;
}

.how-it-works__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
}

.hiw-step {
  flex: 1;
  display: flex;
  gap: 20px;
}

.hiw-step__number {
  width: 36px;
  height: 36px;
  background: rgba(47,107,255,0.12);
  border: 1px solid rgba(47,107,255,0.25);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.hiw-step__content { flex: 1; }

.hiw-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: #F1F5F9;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hiw-step__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748B;
  margin-bottom: 10px;
}

.hiw-step__detail {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #334155;
  line-height: 1.8;
}

.hiw-step__connector {
  width: 48px;
  height: 1px;
  background: var(--navy-border);
  margin-top: 20px;
  flex-shrink: 0;
}

.how-it-works__note { margin-top: 8px; }

.hiw-note {
  background: rgba(47,107,255,0.06);
  border: 1px solid rgba(47,107,255,0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.65;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.hiw-note__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}

/* ─── Entry Types ────────────────────────────────────────────────── */
.entry-types {
  padding: 80px 0;
  border-bottom: 1px solid var(--navy-border);
}

.entry-types__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.entry-type {
  padding: 40px;
}

.entry-type__divider {
  position: relative;
  width: 1px;
  background: var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-type__or {
  position: absolute;
  background: var(--navy);
  color: #64748B;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--navy-border);
  border-radius: 999px;
  line-height: 1;
}

.entry-type__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.entry-type__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(47,107,255,0.15);
  color: #93C5FD;
  border: 1px solid rgba(47,107,255,0.25);
}
.entry-type__badge--secondary {
  background: rgba(100,116,139,0.15);
  color: #94A3B8;
  border-color: rgba(100,116,139,0.25);
}

.entry-type__label {
  font-size: 0.8125rem;
  color: #475569;
  font-family: var(--font-mono);
}

.entry-type__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #64748B;
  margin-bottom: 20px;
}

.entry-type__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-type__features li {
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-type__features li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  text-align: center;
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-section__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #F1F5F9;
}

.cta-section__body {
  font-size: 1.0625rem;
  color: #64748B;
  margin-bottom: 8px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.mkt-footer {
  border-top: 1px solid var(--navy-border);
  padding: 40px 0;
}

.mkt-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.mkt-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-footer__logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: 0.65;
}

.mkt-footer__logo-text {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mkt-footer__tagline {
  font-size: 0.8125rem;
  color: #334155;
  flex: 1;
}

.mkt-footer__links {
  display: flex;
  gap: 16px;
}

.mkt-footer__link {
  font-size: 0.8125rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}
.mkt-footer__link:hover { color: #94A3B8; text-decoration: none; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .domains__grid { grid-template-columns: repeat(2, 1fr); }
  .domain-card:nth-child(2) { border-right: none; }
  .domain-card:nth-child(3), .domain-card:nth-child(4) { border-top: 1px solid var(--navy-border); }
  .how-it-works__steps { flex-direction: column; gap: 24px; }
  .hiw-step__connector { display: none; }
  .entry-types__inner { grid-template-columns: 1fr; }
  .entry-type__divider { width: 100%; height: 1px; }
  .problem__statements { grid-template-columns: 1fr; }
  .problem__specs { gap: 8px 0; padding: 14px 0; }
}

/* ─── Hero Entrance ──────────────────────────────────────────── */
/* Decisive, snappy reveal — like a console booting.             */
/* Each column arrives in <750ms. No bounce, no drama.           */

.hero__eyebrow {
  animation: fade-up 0.42s var(--ease-out-expo) 80ms both;
}

.hero__headline {
  animation: fade-up 0.48s var(--ease-out-expo) 140ms both;
}

.hero__body {
  animation: fade-up 0.42s var(--ease-out-expo) 260ms both;
}

.hero__actions {
  animation: fade-up 0.38s var(--ease-out-expo) 360ms both;
}

.hero__proof {
  animation: fade-up 0.32s var(--ease-out-expo) 440ms both;
}

.hero__right {
  animation: fade-up 0.52s var(--ease-out-expo) 200ms both;
}

/* ─── How-It-Works Step Stagger ──────────────────────────────── */
/* Subtle stagger reinforces the sequential pipeline concept.    */
.hiw-step:nth-child(1) { animation: fade-up 0.38s var(--ease-out-expo) 0ms   both; }
.hiw-step:nth-child(2) { animation: fade-up 0.38s var(--ease-out-expo) 80ms  both; }
.hiw-step:nth-child(3) { animation: fade-up 0.38s var(--ease-out-expo) 160ms both; }

@media (max-width: 640px) {
  .mkt-nav__links { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero__inner,
  .problem__inner,
  .domains__inner,
  .how-it-works__inner,
  .entry-types__inner,
  .cta-section__inner { padding: 0 20px; }
  .mkt-nav__inner,
  .mkt-footer__inner { padding: 0 20px; }
  .domains__grid { grid-template-columns: 1fr; }
  .domain-card { border-right: none; border-top: 1px solid var(--navy-border); }
  .domain-card:first-child { border-top: none; }
}
