/* Shared marketing chrome + primitives.
   Loaded by marketing_base.html on every public marketing page. */

:root {
  --lp-bg:           #2D2F43;
  --lp-bg-darker:    #232434;
  --lp-bg-hover:     #3D3E59;
  --lp-bg-card:      #4C4E70;
  --lp-purple:       #AB2FC4;
  --lp-purple-light: #F7EAF9;
  --lp-text:         #ECEDFD;
  --lp-text-soft:    #F0F0F4;
  --lp-text-muted:   #C4C8FA;
  --lp-cream:        #F5F6FE;
  --lp-border:       #656895;
}

body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
main { display: block; }

/* ===== Buttons (shared) ===== */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 16px;
  font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer;
  font-family: inherit; border: 0;
  transition: filter .15s ease, transform .05s ease;
  white-space: nowrap;
}
.lp-btn:hover { filter: brightness(1.08); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--lp-purple); color: #fff; }
.lp-btn-outline { background: transparent; color: var(--lp-text); border: 1px solid var(--lp-text); }
.lp-btn-large   { padding: 16px 32px; }
.lp-btn-xl      { padding: 20px 32px; border-radius: 32px; }

/* ===== Navbar ===== */
.lp-navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--lp-bg);
  backdrop-filter: saturate(180%) blur(8px);
}
.lp-navbar-inner {
  max-width: 1322px; margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 40px);
  display: flex; align-items: center; gap: 32px;
}
.lp-logo {
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--lp-purple); text-decoration: none;
  letter-spacing: -.01em;
}
.lp-nav-links { display: flex; align-items: center; gap: 32px; margin-left: 24px; }
.lp-nav-links a {
  color: var(--lp-text); font-size: 16px; font-weight: 600;
  text-decoration: none; opacity: .85;
}
.lp-nav-links a:hover, .lp-nav-links a.is-active { opacity: 1; color: var(--lp-purple); }
.lp-nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lp-nav-actions .lp-btn { padding: 12px 24px; }

.lp-nav-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: auto;
  border-radius: 10px; cursor: pointer;
  color: var(--lp-text);
}
@media (max-width: 880px) {
  .lp-nav-links, .lp-nav-actions { display: none; }
  .lp-nav-mobile-toggle { display: inline-flex; }
  /* checkbox is the first child of .lp-navbar-inner, so ~ matches every sibling after it */
  #lp-nav-toggle:checked ~ .lp-nav-links,
  #lp-nav-toggle:checked ~ .lp-nav-actions {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 20px clamp(20px, 4vw, 40px);
    background: var(--lp-bg);
    border-top: 1px solid rgba(255,255,255,.06);
    margin: 0;
  }
  #lp-nav-toggle:checked ~ .lp-nav-actions { top: calc(100% + 240px); gap: 12px; }
}

/* ===== Section title (used by About/Services/Blog/etc.) ===== */
.lp-section-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 500; line-height: 1.2;
  letter-spacing: -.02em; color: var(--lp-text-soft);
  margin: 0;
}
.lp-section-title--center { text-align: center; }
.lp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px;
  background: var(--lp-purple); color: var(--lp-purple-light);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
}

/* ===== Form fields (Login / Signup / Hero login form / Newsletter) ===== */
.lp-field { display: flex; flex-direction: column; gap: 8px; }
.lp-field label { color: var(--lp-text); font-size: 16px; font-weight: 600; }
.lp-field input,
.lp-field textarea,
.lp-field select {
  background: var(--lp-bg); color: var(--lp-text);
  border: 1px solid var(--lp-border); border-radius: 16px;
  padding: 16px 20px; font-size: 16px; font-family: inherit;
  outline: 0; min-height: 56px;
  width: 100%; box-sizing: border-box;
}
.lp-field input:focus, .lp-field textarea:focus, .lp-field select:focus {
  border-color: var(--lp-purple);
}
.lp-field input::placeholder, .lp-field textarea::placeholder {
  color: var(--lp-border);
}

/* ===== CTA Band (used by home, about, services) ===== */
.lp-cta { padding: 60px clamp(20px, 5vw, 80px) 100px; }
.lp-cta-inner {
  max-width: 1144px; margin: 0 auto;
  background: var(--lp-bg-hover);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 80px);
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 800px) { .lp-cta-inner { grid-template-columns: 1fr; text-align: center; } }
.lp-cta-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 500; line-height: 1.2;
  letter-spacing: -.02em; color: var(--lp-text);
  margin: 0;
}
.lp-cta-sub {
  grid-column: 1; margin: 0; color: var(--lp-text);
  font-size: 16px; font-weight: 400;
}
.lp-cta-actions {
  grid-row: 1 / 3; grid-column: 2; justify-self: end;
  display: flex; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 800px) {
  .lp-cta-actions { grid-row: auto; grid-column: 1; justify-self: center; }
}

/* ===== Footer ===== */
.lp-footer { background: var(--lp-cream); color: #1f1f1f; }
.lp-footer-inner {
  max-width: 1272px; margin: 0 auto;
  padding: 60px clamp(20px, 5vw, 80px);
  display: grid; gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}
@media (max-width: 1000px) { .lp-footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lp-footer-inner { grid-template-columns: 1fr; } }
.lp-footer-brand p {
  margin: 12px 0 20px; color: #1f1f1f;
  font-size: 15px; line-height: 1.5;
}
.lp-logo--footer { color: var(--lp-purple); }
.lp-footer-socials { display: flex; gap: 14px; }
.lp-footer-socials a {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--lp-purple); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.lp-footer-socials a:hover { filter: brightness(1.08); }

.lp-footer-col h3,
.lp-footer-newsletter h3 {
  margin: 0 0 20px; font-size: 16px; font-weight: 700; color: #000;
  letter-spacing: -.02em;
}
.lp-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-footer-col li, .lp-footer-col a {
  color: #1f1f1f; font-size: 15px; font-weight: 500; text-decoration: none;
}
.lp-footer-col a:hover { color: var(--lp-purple); }

.lp-footer-newsletter input {
  width: 100%; padding: 18px 24px; margin-bottom: 12px;
  background: transparent; color: var(--lp-purple);
  border: 1px solid var(--lp-purple); border-radius: 32px;
  font-size: 16px; font-family: inherit; outline: 0;
}
.lp-footer-newsletter input::placeholder { color: var(--lp-purple); opacity: .7; }
.lp-footer-newsletter .lp-btn { width: 100%; }

.lp-footer-rule {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 24px clamp(20px, 5vw, 80px); text-align: center;
  color: rgba(0,0,0,.6); font-size: 13px;
}

/* ===== Common page header (shared by About / Services / Blog / etc.) ===== */
.lp-page-hero {
  background: var(--lp-bg-darker);
  padding: 80px clamp(20px, 5vw, 80px);
  text-align: center;
}
.lp-page-hero-inner { max-width: 850px; margin: 0 auto; }
.lp-page-hero-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em; color: var(--lp-text);
  margin: 0;
}
.lp-page-hero-sub {
  margin: 16px auto 0; max-width: 640px;
  color: var(--lp-text-soft); font-size: 16px; font-weight: 500; line-height: 1.5;
}
