/* Shared landing-page layout — bundled into EVERY built site as
   assets/css/landing.css (theme-agnostic structure).
   Colors/fonts come from --site-* design tokens that each theme defines;
   the fallbacks below keep landings rendering even for themes that don't. */

/* Global site header (all pages) */
.site-header { border-bottom: 1px solid var(--site-border, rgba(255,255,255,0.10)); }
.site-header__inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.site-header .site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; border-bottom: none; }
.site-header .site-brand__logo { height: 40px; width: auto; display: block; }
.site-header .site-brand__name { color: var(--site-heading, #f4f6f9); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.site-header .site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-header .site-nav__link { color: var(--site-muted, #9aa3af); text-decoration: none; border-bottom: none; font-size: 0.95rem; }
.site-header .site-nav__link:hover { color: var(--site-heading, #fff); }
.site-header .site-cta {
  background: var(--site-accent, #5dd6c6); color: var(--site-on-accent, #07120f); border-bottom: none;
  padding: 9px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.95rem;
}
.site-header .site-cta:hover { filter: brightness(1.08); color: var(--site-on-accent, #07120f); }

.lp { display: block; }
.lp .lp-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.lp .lp-section { padding: 72px 0; }
.lp .lp-section + .lp-section { border-top: 1px solid var(--site-border, rgba(255,255,255,0.10)); }

.lp .lp-section__heading {
  font-family: var(--site-heading-font, "Plus Jakarta Sans", "Inter", sans-serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; text-align: center;
  margin: 0 0 0.4em; color: var(--site-heading, #f4f6f9);
}
.lp .lp-section__subhead {
  text-align: center; color: var(--site-muted, #9aa3af);
  font-size: 1.15rem; max-width: 60ch; margin: 0 auto 2.5rem;
}
.lp .lp-section__eyebrow {
  color: var(--site-accent, #5dd6c6); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; text-align: center;
}
/* Cards & features bands read as left-aligned marketing blocks */
.lp .lp-cards-band .lp-section__eyebrow, .lp .lp-features-band .lp-section__eyebrow,
.lp .lp-cards-band .lp-section__heading, .lp .lp-features-band .lp-section__heading { text-align: left; }
.lp .lp-cards-band .lp-section__subhead, .lp .lp-features-band .lp-section__subhead { text-align: left; margin-left: 0; }

/* Hero */
.lp .lp-hero { padding: 96px 0 80px; text-align: center; border-top: none; }
.lp .lp-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--site-accent, #5dd6c6); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1.2rem;
  border: 1px solid var(--site-border, rgba(255,255,255,0.14)); border-radius: 999px; padding: 6px 14px;
}
.lp .lp-hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--site-accent, #5dd6c6); display: inline-block;
}
.lp .lp-hero__headline {
  font-family: var(--site-heading-font, "Plus Jakarta Sans", "Inter", sans-serif);
  font-size: clamp(2.9rem, 6.2vw, 4.8rem); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto 1.1rem; color: var(--site-heading, #f7f9fc);
}
.lp .lp-hero__subhead {
  color: var(--site-muted, #9aa3af); font-size: 1.3rem; line-height: 1.6;
  max-width: 60ch; margin: 0 auto 2rem;
}
/* Accent words inside a headline (gradient) */
.lp .lp-accent {
  background: linear-gradient(92deg, var(--site-accent-2, #5aa9ff), var(--site-accent, #5dd6c6));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp .lp-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp .lp-hero__image { width: 100%; max-width: 960px; margin: 3rem auto 0; border-radius: 16px; display: block; }

/* Split hero: text left, image right (used when the hero has an image) */
.lp .lp-hero--split { text-align: left; }
.lp .lp-hero--split .lp-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lp .lp-hero--split .lp-hero__headline { margin: 0 0 1rem; max-width: none; }
.lp .lp-hero--split .lp-hero__subhead { margin: 0 0 2rem; max-width: 52ch; }
.lp .lp-hero--split .lp-hero__ctas { justify-content: flex-start; }
.lp .lp-hero--split .lp-hero__image { margin: 0; max-width: 100%; }
@media (max-width: 820px) {
  .lp .lp-hero--split, .lp .lp-hero--split .lp-hero__ctas { text-align: center; justify-content: center; }
  .lp .lp-hero--split .lp-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .lp .lp-hero--split .lp-hero__subhead { max-width: 60ch; margin: 0 auto 2rem; }
}

/* Buttons (scoped under .lp so they override Bootstrap's .btn safely) */
.lp .btn {
  display: inline-block; font-weight: 600; padding: 0.8rem 1.6rem; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent; font-size: 1rem;
}
.lp .btn-primary { background: var(--site-accent, #5dd6c6); color: var(--site-on-accent, #07120f); }
.lp .btn-primary:hover { filter: brightness(1.08); color: var(--site-on-accent, #07120f); }
.lp .btn-secondary { background: transparent; color: var(--site-text, #e7e9ee); border-color: var(--site-border, rgba(255,255,255,0.14)); }
.lp .btn-secondary:hover { border-color: var(--site-accent, #5dd6c6); }

/* Stats */
.lp .lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.lp .lp-stat__value { font-family: var(--site-heading-font, "Plus Jakarta Sans", sans-serif); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 700; color: var(--site-accent, #5dd6c6); line-height: 1; }
.lp .lp-stat__label { color: var(--site-text, #e7e9ee); margin-top: 0.5rem; font-size: 0.95rem; font-weight: 600; }
.lp .lp-stat__sublabel { color: var(--site-muted, #9aa3af); margin: 0.35rem auto 0; font-size: 0.82rem; line-height: 1.4; max-width: 24ch; }

/* Features */
.lp .lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.lp .lp-feature__icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.lp .lp-feature__title { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--site-heading, #f4f6f9); }
.lp .lp-feature__text { color: var(--site-muted, #9aa3af); margin: 0; }

/* Cards — bordered cards; render icon / image / badge / link per item as present */
.lp .lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.lp .lp-card { background: var(--site-surface, rgba(255,255,255,0.04)); border: 1px solid var(--site-border, rgba(255,255,255,0.10)); border-radius: 14px; overflow: hidden; }
.lp .lp-card__image { width: 100%; height: 190px; object-fit: cover; object-position: center center; display: block; }
.lp .lp-card__body { padding: 1.5rem; }
.lp .lp-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--site-border, rgba(255,255,255,0.10)); font-size: 1.4rem; margin-bottom: 1rem;
}
.lp .lp-card__badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--site-border, rgba(255,255,255,0.10)); color: var(--site-accent, #5dd6c6); margin-bottom: 0.7rem;
}
.lp .lp-card__badge--accent { color: var(--site-accent, #5dd6c6); }
.lp .lp-card__badge--green { color: #34d399; border-color: rgba(52,211,153,0.45); }
.lp .lp-card__badge--blue { color: #5aa9ff; border-color: rgba(90,169,255,0.45); }
.lp .lp-card__badge--amber { color: #f5a524; border-color: rgba(245,165,36,0.45); }
.lp .lp-card__badge--pink { color: #f472b6; border-color: rgba(244,114,182,0.45); }
.lp .lp-card__title { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--site-heading, #f4f6f9); overflow-wrap: anywhere; }
.lp .lp-card__text { color: var(--site-muted, #9aa3af); margin: 0 0 0.7rem; overflow-wrap: anywhere; }
.lp .lp-card__link { color: var(--site-accent, #5dd6c6); text-decoration: none; font-weight: 500; }

/* CTA band */
.lp .lp-cta-band { background: var(--site-cta-bg, rgba(255,255,255,0.03)); }
.lp .lp-cta { text-align: center; max-width: 680px; }
.lp .lp-cta__heading { font-family: var(--site-heading-font, "Plus Jakarta Sans", sans-serif); font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.6rem; color: var(--site-heading, #f7f9fc); }
.lp .lp-cta__text { color: var(--site-muted, #9aa3af); font-size: 1.15rem; margin: 0 0 1.6rem; }

/* Rich text within a landing page */
.lp .lp-richtext-band .lp-prose { max-width: 760px; }

@media (max-width: 640px) {
  .lp .lp-section { padding: 48px 0; }
  .lp .lp-hero { padding: 64px 0 48px; }
}
