/* Fee Management Software marketing landing page.
   Loaded from index.html head so both the static shell content and the
   React landing page share one stylesheet. Class prefix: fm-landing- */
.fm-landing-root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1c2b3a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fm-landing-root * { box-sizing: border-box; }
.fm-landing-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.fm-landing-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; flex-wrap: wrap;
}
.fm-landing-brand { font-size: 20px; font-weight: 800; color: #0b2a5b; text-decoration: none; }
.fm-landing-brand small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #8a6d00; text-transform: uppercase; }
.fm-landing-nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fm-landing-nav a { color: #1c2b3a; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.fm-landing-nav a:hover { background: #eef4fc; }

.fm-landing-btn {
  display: inline-block; background: #1a73e8; color: #fff !important;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 1px solid #1a73e8;
}
.fm-landing-btn:hover { background: #155cb5; }
.fm-landing-btn-ghost {
  display: inline-block; background: #fff; color: #1a73e8 !important;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 1px solid #1a73e8;
}
.fm-landing-btn-ghost:hover { background: #eef4fc; }

.fm-landing-hero {
  background: linear-gradient(180deg, #0b2a5b 0%, #123f7d 100%);
  color: #fff; padding: 64px 0 72px;
}
.fm-landing-hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; font-weight: 800; max-width: 720px; }
.fm-landing-hero p.fm-landing-lede { font-size: 19px; color: #cddcf0; margin: 0 0 28px; max-width: 680px; }
.fm-landing-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fm-landing-hero .fm-landing-btn-ghost { background: transparent; color: #fff !important; border-color: #fff; }
.fm-landing-hero .fm-landing-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.fm-landing-section { padding: 56px 0; }
.fm-landing-section h2 { font-size: 30px; line-height: 1.25; margin: 0 0 12px; color: #0b2a5b; }
.fm-landing-section > .fm-landing-wrap > p { margin: 0 0 28px; font-size: 17px; color: #44566b; max-width: 760px; }
.fm-landing-alt { background: #f4f7fb; }

.fm-landing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fm-landing-card {
  background: #fff; border: 1px solid #dfe7f0; border-radius: 14px;
  padding: 22px 20px;
}
.fm-landing-card h3 { font-size: 18px; margin: 0 0 8px; color: #0b2a5b; }
.fm-landing-card p { margin: 0; font-size: 15px; color: #44566b; }

.fm-landing-steps { counter-reset: fm-step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fm-landing-step {
  background: #fff; border: 1px solid #dfe7f0; border-radius: 14px;
  padding: 22px 20px; counter-increment: fm-step;
}
.fm-landing-step h3 { font-size: 18px; margin: 0 0 8px; color: #0b2a5b; }
.fm-landing-step h3::before {
  content: counter(fm-step); display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: #1a73e8; color: #fff;
  font-size: 15px; margin-right: 10px; vertical-align: middle;
}
.fm-landing-step p { margin: 0; font-size: 15px; color: #44566b; }

.fm-landing-faq { max-width: 780px; }
.fm-landing-faq details {
  border: 1px solid #dfe7f0; border-radius: 12px; background: #fff;
  margin-bottom: 10px; padding: 4px 18px;
}
.fm-landing-faq summary {
  cursor: pointer; font-weight: 700; font-size: 17px; color: #0b2a5b;
  padding: 14px 0; list-style: none;
}
.fm-landing-faq summary::-webkit-details-marker { display: none; }
.fm-landing-faq summary::after { content: "+"; float: right; color: #1a73e8; font-size: 20px; line-height: 1; }
.fm-landing-faq details[open ] summary::after { content: "-"; }
.fm-landing-faq details p { margin: 0 0 16px; font-size: 15px; color: #44566b; }

.fm-landing-footer { border-top: 1px solid #dfe7f0; padding: 28px 0 40px; color: #44566b; font-size: 15px; }
.fm-landing-footer a { color: #1a73e8; text-decoration: none; font-weight: 600; }
.fm-landing-footer .fm-landing-foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .fm-landing-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-landing-steps { grid-template-columns: 1fr; }
  .fm-landing-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .fm-landing-grid { grid-template-columns: 1fr; }
  .fm-landing-hero { padding: 44px 0 52px; }
  .fm-landing-hero h1 { font-size: 28px; }
  .fm-landing-section { padding: 40px 0; }
}
