/* ==============================================
   LANDING PAGE — Design Tokens & Styles

   Color palette: Cream background + dark blue / light blue accents
   Layout: Matches Figma "Home — Desktop" (1440px, 7 sections)

   To change the palette site-wide, edit ONLY the :root vars below.
   Everything else references these vars.
   ============================================== */

:root {
  /* --- Landing palette --- */
  --land-bg:            #f9f4ea;   /* cream base (from Figma) */
  --land-bg-alt:        #fffcf5;   /* slightly lighter cream */
  --land-bg-band:       #eee5d6;   /* social proof band */
  --land-card-bg:       #fffcf5;
  --land-card-border:   #e0d6c6;

  --land-primary:       #1e3a5f;   /* dark navy blue — headings, primary CTA */
  --land-primary-light: #2b5a8a;   /* hover state */
  --land-accent:        #3b82b8;   /* light blue — labels, step numbers */
  --land-accent-pale:   #d4e8f7;   /* very light blue tint */

  --land-heading:       #1e3a5f;   /* dark blue for headings (was #644932 brown) */
  --land-body:          #5a6e7f;   /* muted blue-grey body text (was #897764) */
  --land-label:         #3b82b8;   /* light blue labels (was #478159 green) */

  --land-cta-bg:        #1e3a5f;   /* dark blue CTA section */
  --land-cta-text:      #ffffff;
  --land-cta-sub:       #b8d4e8;   /* light blue subtitle on dark bg */
  --land-cta-btn-bg:    #ffffff;
  --land-cta-btn-text:  #1e3a5f;

  --land-footer-bg:     #152a42;   /* darker navy footer */
  --land-footer-text:   #f9f4ea;
  --land-footer-muted:  #7a8ea0;
  --land-footer-dim:    #8d9caa;

  /* --- Typography --- */
  --land-font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Spacing --- */
  --land-section-px:    80px;
  --land-section-py:    80px;
  --land-max-width:     1280px;
}

/* ========== RESET for landing page ========== */
.landing * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.landing {
  font-family: var(--land-font);
  color: var(--land-body);
  background: var(--land-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== NAV ========== */
.land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--land-section-px);
  background: rgba(255, 252, 245, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.land-nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--land-heading);
  text-decoration: none;
}

.land-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.land-nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--land-body);
  text-decoration: none;
  transition: color 0.2s;
}

.land-nav-links a:hover {
  color: var(--land-heading);
}

.land-nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--land-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.land-nav-cta:hover {
  background: var(--land-primary-light);
}

/* ========== HERO ========== */
.land-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 100px var(--land-section-px);
  background: var(--land-bg);
  text-align: center;
}

.land-hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--land-label);
}

.land-hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--land-heading);
  line-height: 1.15;
  max-width: 800px;
}

.land-hero-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--land-body);
  max-width: 700px;
  line-height: 1.5;
}

.land-hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.land-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--land-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.land-btn-primary:hover {
  background: var(--land-primary-light);
  /* Prompt 42 PR #24: removed translateY hover bounce. */
}

.land-btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: var(--land-heading);
  font-size: 18px;
  font-weight: 500;
  border-radius: 12px;
  border: 1.5px solid var(--land-heading);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.land-btn-secondary:hover {
  background: rgba(30, 58, 95, 0.06);
}

/* ========== SOCIAL PROOF BAND ========== */
.land-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px var(--land-section-px);
  background: var(--land-bg-band);
  font-size: 15px;
  font-weight: 500;
  color: var(--land-heading);
}

/* ========== HOW IT WORKS ========== */
.land-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: var(--land-section-py) var(--land-section-px);
  background: var(--land-bg-alt);
}

.land-section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--land-label);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.land-section-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--land-heading);
  text-align: center;
  max-width: 700px;
}

.land-steps-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.land-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 32px;
  width: 380px;
  background: var(--land-bg);
  border: 1px solid var(--land-card-border);
  border-radius: 16px;
  text-align: center;
}

.land-step-icon {
  font-size: 48px;
}

.land-step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--land-label);
}

.land-step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--land-heading);
}

.land-step-desc {
  font-size: 16px;
  color: var(--land-body);
  max-width: 280px;
}

/* ========== FEATURES ========== */
.land-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: var(--land-section-py) var(--land-section-px);
  background: var(--land-bg);
}

.land-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1224px;
  width: 100%;
}

.land-feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--land-card-bg);
  border: 1px solid var(--land-card-border);
  border-radius: 16px;
}

.land-feature-icon {
  font-size: 32px;
}

.land-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--land-heading);
}

.land-feature-desc {
  font-size: 16px;
  color: var(--land-body);
  max-width: 520px;
}

/* ========== BOTTOM CTA ========== */
.land-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: var(--land-section-py) var(--land-section-px);
  background: var(--land-cta-bg);
  text-align: center;
}

.land-cta h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--land-cta-text);
  max-width: 700px;
  line-height: 1.2;
}

.land-cta-subtitle {
  font-size: 20px;
  color: var(--land-cta-sub);
}

.land-btn-cta-invert {
  display: inline-block;
  padding: 18px 40px;
  background: var(--land-cta-btn-bg);
  color: var(--land-cta-btn-text);
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.land-btn-cta-invert:hover {
  /* Prompt 42 PR #24: removed translateY hover bounce. */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ========== FOOTER ========== */
.land-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px var(--land-section-px);
  background: var(--land-footer-bg);
}

.land-footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--land-footer-text);
}

.land-footer-links {
  font-size: 14px;
  color: var(--land-footer-muted);
}

.land-footer-links a {
  color: var(--land-footer-muted);
  text-decoration: none;
}

.land-footer-links a:hover {
  color: var(--land-footer-text);
}

.land-footer-copy {
  font-size: 13px;
  color: var(--land-footer-dim);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  :root {
    --land-section-px: 40px;
  }

  .land-hero h1 {
    font-size: 42px;
  }

  .land-section-heading {
    font-size: 32px;
  }

  .land-steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .land-step-card {
    width: 100%;
    max-width: 420px;
  }

  .land-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --land-section-px: 20px;
    --land-section-py: 48px;
  }

  .land-nav {
    padding: 12px 20px;
  }

  .land-nav-links {
    gap: 8px;
  }

  .land-nav-links a:not(.land-nav-cta):not(.land-nav-login) {
    display: none;
  }

  .land-nav-login,
  .land-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    white-space: nowrap;
  }

  .land-nav-cta {
    padding: 10px 12px;
  }

  .land-hero {
    padding: 60px 20px;
  }

  .land-hero h1 {
    font-size: 32px;
  }

  .land-hero-sub {
    font-size: 17px;
  }

  .land-hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .land-btn-primary,
  .land-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .land-proof {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    font-size: 14px;
  }

  .land-cta h2 {
    font-size: 28px;
  }
}
