/* ==========================================================================
   classBoon — marketing / SEO landing pages
   Self-contained (no app bundle dependency): these styles power the static,
   pre-rendered feature pages generated by scripts/build-marketing-pages.js.
   Brand values mirror src/styles/global.css + landing.css.
   ========================================================================== */

:root {
  --color-primary: #59738d;
  --color-primary-hover: #4a6277;
  --color-text: #333;
  --color-text-muted: #6b7280;
  --color-white: #fff;
  --accent: #daa00d;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.14);
  --font-primary: "DM Sans", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif;
  --transition: 0.18s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); }

.mkt-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top nav ── */
.mkt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.mkt-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.mkt-nav-links { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--color-primary); border: 2px solid #cdd8e3; }
.btn--ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section--tint { background: #f4f7fa; }
.section--navy { background: linear-gradient(135deg, #59738d 0%, #45596e 100%); color: #fff; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section--navy .eyebrow { color: #ffd479; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
h1, h2, h3 { font-family: var(--font-primary); color: var(--color-primary); }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 16px; }
.section--navy h2 { color: #fff; }
.lead { font-size: 1.12rem; line-height: 1.7; color: #5b6675; max-width: 640px; }
.section--navy .lead { color: rgba(255, 255, 255, 0.88); }

/* ── Hero ── */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(89,115,141,0.12), transparent 60%), #fff;
  padding: 56px 0 72px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 14px auto 18px;
  max-width: 820px;
}
.hero .lead { margin: 0 auto 28px; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--color-text-muted); }

/* ── Feature cards ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.15rem; color: var(--color-text); margin: 0 0 8px; }
.card p { color: #5b6675; font-size: 0.98rem; line-height: 1.6; margin: 0; }
.card-emoji { font-size: 1.7rem; display: block; margin-bottom: 12px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--color-text); }
.step p { color: #5b6675; line-height: 1.6; margin: 0; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e7edf3; padding: 22px 0; }
.faq-item h3 { font-size: 1.1rem; color: var(--color-text); margin: 0 0 8px; }
.faq-item p { color: #5b6675; line-height: 1.7; margin: 0; }

/* ── Related features ── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  display: block;
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card strong { display: block; color: var(--color-primary); margin-bottom: 4px; }
.related-card span { font-size: 0.92rem; color: #5b6675; }

/* ── CTA band ── */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin: 0 auto 28px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.mkt-footer { background: #2c3a49; color: rgba(255,255,255,0.72); padding: 52px 0 26px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-logo { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand p { line-height: 1.6; max-width: 320px; font-size: 0.95rem; margin: 0; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); margin-bottom: 10px; font-size: 0.95rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 0.88rem; color: rgba(255,255,255,0.55); text-align: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .steps, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
