/* first-90-days.css — Landing page for the First 90 Days lead magnet
 * Owns: nav, hero, phases, pillars, CTA form, credibility strip, footer
 * Does NOT own: global tokens (colors, fonts in styles.css)
 */

/* ── Nav ───────────────────────────────────────────────────── */
.lm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
}

.lm-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lm-nav-brand svg {
  height: 40px;
  width: auto;
  display: block;
}

/* ── Main layout ───────────────────────────────────────────── */
.lm-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.lm-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.lm-hero-eyebrow {
  margin-bottom: 24px;
}

.lm-eyebrow-tag {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 5px 12px;
  border-radius: 3px;
}

.lm-hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.07;
  color: var(--fg);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.lm-hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--warm);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.lm-hero-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 600px;
}

/* ── Social proof strip ────────────────────────────────────── */
.lm-social-proof {
  padding: 40px 0 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.lm-sp-label {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-bottom: 24px;
}

.lm-sp-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-bottom: 40px;
}

.lm-sp-logo {
  display: inline-flex;
  align-items: center;
  color: rgba(26, 26, 26, 0.22);
  transition: color 0.3s ease;
  cursor: default;
}

.lm-sp-logo svg {
  height: 24px;
  width: auto;
}

.lm-sp-logo:hover {
  color: rgba(26, 26, 26, 0.55);
}

.lm-sp-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--gold);
  text-align: left;
}

.lm-sp-quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm);
  letter-spacing: 0.2px;
}

/* ── Section heading ────────────────────────────────────────── */
.lm-section-heading {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

/* ── Three phases ─────────────────────────────────────────── */
.lm-inside {
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.lm-phases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-left: 2px solid var(--gold);
}

.lm-phase {
  padding: 0 0 0 28px;
  border-right: 1px solid rgba(0,0,0,0.06);
  border-bottom: none;
}

.lm-phase:nth-child(2),
.lm-phase:nth-child(3) {
  padding-left: 28px;
}

.lm-phase:last-child {
  border-right: none;
}

.lm-phase-label {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lm-phase-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.lm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-checklist li {
  position: relative;
  padding: 0 0 14px 22px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.lm-checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lm-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  background: var(--bg);
}

.lm-checklist li::after {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 6px;
  font-size: 8px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

/* ── Pillars ────────────────────────────────────────────────── */
.lm-pillars {
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.lm-pillars-label {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 32px;
}

.lm-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.lm-pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lm-pillar-icon {
  color: var(--gold);
  width: 22px;
  height: 22px;
}

.lm-pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  letter-spacing: -0.1px;
}

.lm-pillar p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ── CTA form ──────────────────────────────────────────────── */
.lm-cta {
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.lm-cta-inner {
  max-width: 540px;
}

.lm-cta-badge {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
}

.lm-cta-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.lm-cta-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.lm-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lm-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.lm-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.2px;
}

.lm-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.lm-input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.lm-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.12);
}

.lm-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.lm-error {
  font-size: 0.85rem;
  color: #c0392b;
  min-height: 20px;
}

.lm-submit {
  position: relative;
  padding: 15px 32px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.lm-submit:hover:not(:disabled) {
  background: #b07a20;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 146, 42, 0.3);
}

.lm-submit:active:not(:disabled) {
  transform: translateY(0);
}

.lm-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.lm-submit-text { }

.lm-submit-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.lm-submit.loading .lm-submit-text { display: none; }
.lm-submit.loading .lm-submit-loading { display: flex; }

.lm-spinner {
  width: 18px;
  height: 18px;
  animation: lm-spin 0.8s linear infinite;
}

@keyframes lm-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lm-form-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 14px;
  text-align: center;
  opacity: 0.8;
}

/* ── Success state ────────────────────────────────────────── */
.lm-success {
  text-align: center;
  padding: 40px 0;
  animation: lm-fade-in 0.4s ease;
}

@keyframes lm-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lm-success-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}

.lm-success h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 10px;
}

.lm-success p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Credibility strip ────────────────────────────────────── */
.lm-credibility {
  padding: 48px 0 64px;
}

.lm-cred-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.lm-cred-item {
  text-align: center;
  padding: 0 48px;
}

.lm-cred-stat {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.2rem;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 6px;
}

.lm-cred-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}

.lm-cred-sep {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.1);
}

/* ── Footer ────────────────────────────────────────────────── */
.lm-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 24px 32px;
  text-align: center;
}

.lm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lm-footer-brand {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

.lm-footer-sep {
  color: rgba(0,0,0,0.2);
  font-size: 0.75rem;
}

.lm-footer-link {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.lm-footer-link:hover {
  color: var(--warm);
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lm-main {
    padding: 0 20px;
  }

  .lm-hero {
    padding: 56px 0 48px;
  }

  .lm-phases {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .lm-phase {
    padding: 0 0 32px 20px;
    border-left: 2px solid var(--gold);
    border-right: none;
    margin-bottom: 32px;
  }

  .lm-phase:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .lm-pillars-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lm-cta {
    padding: 56px 0 48px;
  }

  .lm-cred-grid {
    flex-direction: column;
    gap: 28px;
  }

  .lm-cred-item {
    padding: 0;
  }

  .lm-cred-sep {
    width: 48px;
    height: 1px;
  }

  .lm-cta-inner {
    max-width: 100%;
  }

  .lm-sp-logos {
    gap: 24px 36px;
  }

  .lm-sp-quote {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .lm-hero-title {
    font-size: 2.2rem;
  }

  .lm-cred-stat {
    font-size: 2.6rem;
  }
}