/* Factual Media guest landing */

.lm-body {
  --lm-ink: #f2f6f4;
  --lm-paper: #0c1412;
  --lm-mist: #1a2a24;
  --lm-accent: var(--fm-accent);
  --lm-accent-soft: var(--fm-accent-soft);
  --lm-muted: #9bb0a6;
  --lm-line: rgba(242, 246, 244, 0.12);
  --lm-display: var(--fm-display-fm);
  --lm-sans: var(--fm-sans);
  margin: 0;
  min-height: 100vh;
  color: var(--lm-ink);
  font-family: var(--lm-sans);
  background: var(--lm-paper);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

.lm-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 8% 0%, rgba(61, 214, 198, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 30%, rgba(30, 70, 58, 0.55), transparent 50%),
    linear-gradient(165deg, #0a1210 0%, #101c18 45%, #15241e 100%);
}

.lm-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  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.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.lm-top,
.lm-body > main,
.lm-foot {
  position: relative;
  z-index: 1;
}

.lm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}

.lm-brand {
  font-family: var(--lm-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--lm-ink);
  text-decoration: none;
}

.lm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
}

.lm-nav a {
  color: var(--lm-muted);
  text-decoration: none;
}

.lm-nav a:hover {
  color: var(--lm-ink);
}

.lm-nav-apply {
  color: var(--lm-accent) !important;
  font-weight: 600;
}

.lm-nav-staff {
  color: var(--lm-ink) !important;
}

.lm-bullets {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--lm-muted);
}

.lm-bullets li {
  margin: 0.45rem 0;
}

.lm-bullets strong {
  color: var(--lm-ink);
  font-weight: 600;
}

.lm-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 10vh, 5rem) clamp(1.25rem, 4vw, 3rem) 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .lm-hero {
    grid-template-columns: 1.35fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.lm-creed {
  border-left: 2px solid var(--lm-accent);
  padding: 0.35rem 0 0.35rem 1.35rem;
  opacity: 0;
  transform: translateY(0.6rem);
  animation: lm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.lm-creed-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--lm-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lm-muted);
}

.lm-creed-line {
  margin: 0 0 0.9rem;
  font-family: var(--lm-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--lm-ink);
}

.lm-creed-accent {
  color: var(--lm-accent);
  font-style: italic;
}

.lm-creed-body {
  margin: 0;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lm-muted);
}

@media (prefers-reduced-motion: reduce) {
  .lm-creed {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.lm-brand-mark {
  margin: 0 0 1rem;
  font-family: var(--lm-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--lm-ink);
  opacity: 0;
  transform: translateY(0.6rem);
  animation: lm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.lm-headline {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--lm-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--lm-ink);
  opacity: 0;
  transform: translateY(0.6rem);
  animation: lm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.lm-lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.05rem;
  color: var(--lm-muted);
  opacity: 0;
  transform: translateY(0.6rem);
  animation: lm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.lm-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(0.6rem);
  animation: lm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lm-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.lm-btn-primary {
  background: var(--lm-accent);
  color: #0a1210;
}

.lm-btn-primary:hover {
  background: var(--lm-accent-soft);
  color: #0a1210;
}

.lm-btn-ghost {
  background: transparent;
  color: var(--lm-ink);
  border: 1px solid var(--lm-line);
}

.lm-btn-ghost:hover {
  border-color: var(--lm-ink);
}

.lm-section {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.75rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--lm-line);
}

.lm-section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--lm-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lm-section p {
  margin: 0;
  color: var(--lm-muted);
  font-size: 1.02rem;
}

.lm-split {
  max-width: 72rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .lm-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .lm-split-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

.lm-proof {
  max-width: 40rem;
}

.lm-text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--lm-accent);
  text-decoration: none;
}

.lm-text-link:hover {
  color: var(--lm-accent-soft);
  text-decoration: underline;
}

.lm-foot {
  max-width: 72rem;
  margin: 2rem auto 0;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--lm-line);
  font-size: 0.88rem;
  color: var(--lm-muted);
}

.lm-foot p {
  margin: 0 0 0.4rem;
}

.lm-foot a {
  color: var(--lm-muted);
}

.lm-foot a:hover {
  color: var(--lm-ink);
}

.lm-foot strong {
  color: var(--lm-ink);
  font-family: var(--lm-display);
  font-weight: 700;
}

.lm-foot a:hover {
  color: var(--lm-accent);
}

@keyframes lm-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-brand-mark,
  .lm-headline,
  .lm-lead,
  .lm-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .lm-nav a:not(.lm-nav-staff):not(.lm-nav-apply) {
    display: none;
  }
}

/* Subpages */
.lm-compact .lm-page-hero {
  padding-top: clamp(2.5rem, 8vh, 4rem);
}

.lm-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lm-muted);
}

.lm-page-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 10vh, 5rem) clamp(1.25rem, 4vw, 3rem) 2.5rem;
}

.lm-page-title {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--lm-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lm-page-lead {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--lm-muted);
}

.lm-cta-static {
  opacity: 1;
  transform: none;
  animation: none;
}

.lm-founding-line {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
  color: var(--lm-accent-soft);
}

.lm-subhead {
  margin: 0 0 0.5rem;
  font-family: var(--lm-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lm-ink);
}

.lm-section-intro {
  margin: 0 0 1.25rem !important;
}

.lm-section-head-center {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.lm-section-head-center h2 {
  margin-bottom: 0.5rem;
}

.lm-section-head-center .lm-section-intro {
  margin-bottom: 0 !important;
}

.lm-earn-packages {
  margin: 1rem 0 0 !important;
  font-size: 0.95rem !important;
}

.lm-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--lm-muted);
}

.lm-table-roles td:nth-child(2) {
  white-space: normal;
  color: var(--lm-muted);
  font-weight: 400;
}

.lm-wide {
  max-width: 72rem;
}

.lm-section a {
  color: var(--lm-accent);
}

.lm-section a:hover {
  color: var(--lm-accent-soft);
}

.lm-section a.lm-btn-primary,
.lm-section a.lm-btn-primary:hover {
  color: #0a1210;
}

.lm-section a.lm-btn-ghost {
  color: var(--lm-ink);
}

.lm-section a.lm-btn-ghost:hover {
  color: var(--lm-ink);
  border-color: var(--lm-ink);
}

.lm-paths {
  max-width: 72rem;
}

.lm-paths-title {
  margin-bottom: 1.25rem !important;
}

.lm-path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .lm-path-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 960px) {
  .lm-path-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lm-path {
  display: block;
  padding: 1.15rem 0 0.25rem;
  border-top: 1px solid var(--lm-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

.lm-path:hover {
  border-top-color: var(--lm-accent);
  text-decoration: none;
}

.lm-path-label {
  display: block;
  font-family: var(--lm-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lm-ink);
  margin-bottom: 0.35rem;
}

.lm-path-desc {
  display: block;
  font-size: 0.92rem;
  color: var(--lm-muted);
  line-height: 1.45;
}

.lm-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
  border-top: 1px solid var(--lm-line);
}

.lm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lm-table th {
  text-align: left;
  padding: 0.75rem 0.85rem 0.75rem 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lm-muted);
  border-bottom: 1px solid var(--lm-line);
  white-space: nowrap;
}

.lm-table td {
  padding: 0.95rem 0.85rem 0.95rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--lm-line);
  color: var(--lm-muted);
}

.lm-table td:first-child,
.lm-table td strong {
  color: var(--lm-ink);
}

.lm-table td:nth-child(2) {
  color: var(--lm-accent-soft);
  font-weight: 600;
}

.lm-table-price td:nth-child(2) {
  white-space: nowrap;
}

.lm-table-rules {
  table-layout: fixed;
  width: 100%;
}

.lm-table-rules th:first-child,
.lm-table-rules td:first-child {
  width: 7.5rem;
  vertical-align: top;
}

.lm-table-rules td:nth-child(2) {
  white-space: normal;
  font-weight: 500;
  line-height: 1.45;
}

.lm-table-compare {
  table-layout: fixed;
  width: 100%;
}

.lm-table-compare th:first-child,
.lm-table-compare td:first-child,
.lm-table-compare tbody th {
  width: 7.5rem;
  vertical-align: top;
}

.lm-table-compare thead th:not(:first-child) {
  color: var(--lm-ink);
  font-family: var(--lm-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
}

.lm-table-compare tbody th {
  padding: 0.95rem 0.85rem 0.95rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lm-muted);
  border-bottom: 1px solid var(--lm-line);
  text-align: left;
}

.lm-table-compare td {
  white-space: normal;
  font-weight: 500;
  line-height: 1.45;
  color: var(--lm-muted);
}

/* Shared track split — table cols 2/3 and notes use the same geometry */
.lm-table-compare td:nth-child(2),
.lm-table-compare thead th:nth-child(2) {
  padding-right: 1.25rem;
}

.lm-table-compare td:nth-child(3),
.lm-table-compare thead th:nth-child(3) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--lm-line);
}

.lm-table-compare td:nth-child(2),
.lm-table-compare td:nth-child(3) {
  color: var(--lm-muted);
  font-weight: 500;
}

/* 4-track market compare: label | wires | sponsored | cms | FM */
.lm-table-compare-4 th:first-child,
.lm-table-compare-4 td:first-child,
.lm-table-compare-4 tbody th {
  width: 7.25rem;
  max-width: 7.25rem;
  white-space: normal;
  line-height: 1.3;
  overflow-wrap: break-word;
  hyphens: auto;
  padding-right: 0.65rem;
  box-sizing: border-box;
}

.lm-table-compare-4 thead th:not(:first-child),
.lm-table-compare-4 td:not(:first-child) {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  border-left: 1px solid var(--lm-line);
  font-size: 0.85rem;
}

.lm-table-compare-4 thead th:nth-child(2),
.lm-table-compare-4 td:nth-child(2) {
  padding-right: 0.85rem;
}

.lm-table-compare-4 thead th:last-child,
.lm-table-compare-4 td:last-child {
  color: var(--lm-accent-soft);
  font-weight: 600;
}

.lm-earn-notes {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 900px) {
  .lm-earn-notes {
    /* Match compare table: label | creator | agent */
    grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
  }

  .lm-earn-note:first-child {
    grid-column: 2;
    padding-right: 1.25rem;
  }

  .lm-earn-note:last-child {
    grid-column: 3;
    padding-left: 1.25rem;
    border-left: 1px solid var(--lm-line);
  }
}

.lm-earn-note h3 {
  margin: 0 0 0.75rem;
  font-family: var(--lm-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lm-earn-note .lm-text-link {
  margin-top: 1rem;
}

.lm-steps {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--lm-muted);
}

.lm-steps li {
  margin: 0.55rem 0;
  padding-left: 0.25rem;
}

.lm-steps strong {
  color: var(--lm-ink);
  font-weight: 600;
}

.lm-faq {
  margin: 0.75rem 0 0;
}

.lm-faq > div {
  padding: 1rem 0;
  border-top: 1px solid var(--lm-line);
}

.lm-faq dt {
  font-family: var(--lm-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lm-ink);
  margin: 0 0 0.35rem;
}

.lm-faq dd {
  margin: 0;
  color: var(--lm-muted);
  font-size: 0.95rem;
}

.lm-faq a {
  color: var(--lm-accent);
}

