/*
 * Citara Labs — Landing Pages CSS
 * /css/landing-pages.css
 * Loaded by all landing pages. Do not merge into combined.min.css.
 * July 2026
 */

/* ── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  --ind:    #5D00FF;
  --ind-dk: #4700CC;
  --ind-t:  #F0ECFF;
  --blk:    #1C1C1C;
  --dark:   #111111;
  --body:   #333333;
  --mid:    #666666;
  --lt:     #F5F5F5;
  --bdr:    #E5E5E5;
  --wht:    #FFFFFF;
  --r:      4px;
  --max:    1200px;
  --px:     48px;
  --sec:    96px;
}

/* ── BASE ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--wht);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT HELPERS ──────────────────────────────────────────────────────── */
.lp-wrap  { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
.lp-section {
  max-width: var(--max); margin: 0 auto;
  padding: var(--sec) var(--px);
}
.lp-section-tight {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--px) var(--sec);
}

/* ── NAVIGATION ──────────────────────────────────────────────────────────── */
.lp-nav-outer {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--wht);
  border-bottom: 1px solid var(--bdr);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* Inner row: logo | menu | email */
.lp-nav-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
.lp-logowrap {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 0;
}

/* Logo */
.lp-logo { flex-shrink: 0; }
.lp-logo img { height: 52px; width: auto; display: block; }

/* Menu container */
.lp-menuwrap { flex: 1; margin-left: 32px; position: relative; }

/* Hamburger button */
.lp-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.lp-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--blk);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.lp-toggle.lp-open .lp-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-toggle.lp-open .lp-line:nth-child(2) { opacity: 0; }
.lp-toggle.lp-open .lp-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav links row */
.lp-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-menu ul li > a {
  font-size: 16px;
  font-weight: 500;
  color: var(--blk);
  white-space: nowrap;
  transition: color 0.2s;
}
.lp-menu ul li > a:hover { color: var(--blk); }

/* CTA button in nav */
.lp-nav-cta {
  background: var(--ind) !important;
  color: var(--wht) !important;
  font-weight: 600 !important;
  padding: 9px 20px;
  border-radius: var(--r);
  transition: background 0.2s !important;
}
.lp-nav-cta:hover { background: var(--ind-dk) !important; }

/* Practices dropdown */
.lp-has-dd { position: relative; }
/* Plus sign next to Practices */
.lp-plus {
  font-size: 12px;
  font-weight: 600;
  color: var(--ind);
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s;
}
.lp-has-dd.lp-dd-open .lp-plus { transform: rotate(45deg); }

.lp-has-dd .lp-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  padding-top: 8px;
  background: var(--wht);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 290px;
  padding: 6px 0;
  z-index: 300;
}
.lp-has-dd.lp-dd-open .lp-dropdown { display: block; }
.lp-has-dd:hover .lp-dropdown { display: block; }
.lp-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--mid) !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s !important;
}
.lp-dropdown li a:hover { background: var(--ind-t); color: var(--ind) !important; }

/* Email link in nav */
.lp-email {
  flex-shrink: 0;
  margin-left: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mid);
  white-space: nowrap;
}
.lp-email svg { flex-shrink: 0; color: var(--mid); }
.lp-email a { color: var(--mid); transition: color 0.2s; }
.lp-email a:hover { color: var(--blk); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.lp-hero {
  background: var(--blk);
  padding: 152px var(--px) 96px;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(93,0,255,.15) 0%, transparent 68%);
  pointer-events: none;
}
.lp-hero .lp-wrap { position: relative; }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ind);
  background: rgba(93,0,255,.12);
  border: 1px solid rgba(93,0,255,.28);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 32px;
}

.lp-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  color: var(--wht);
  line-height: 1.12;
  max-width: 780px;
  margin-bottom: 8px;
}
.lp-hero h1 em {
  font-style: normal;
  font-weight: 200;
  color: rgba(255,255,255,.48);
}

.lp-hero-sub {
  font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,.6);
  max-width: 580px; line-height: 1.75;
  margin-bottom: 44px;
}

.lp-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.lp-btn {
  display: inline-block;
  background: var(--ind);
  color: var(--wht);
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--r);
  transition: background .2s, transform .15s;
}
.lp-btn:hover { background: var(--ind-dk); transform: translateY(-1px); }

.lp-ghost {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.lp-ghost:hover { color: var(--wht); border-bottom-color: rgba(255,255,255,.6); }

/* ── TYPE ────────────────────────────────────────────────────────────────── */
.lp-label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ind); margin-bottom: 20px;
}
.lp-label-inv { color: rgba(255,255,255,.4); }

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600; color: var(--blk);
  line-height: 1.2; margin-bottom: 24px;
}
.lp-white { color: var(--wht) !important; }

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--blk); line-height: 1.4; margin-bottom: 12px;
}

/* ── TWO COLUMN ──────────────────────────────────────────────────────────── */
.lp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.lp-callout {
  background: var(--lt);
  border-left: 3px solid var(--ind);
  padding: 32px 28px;
  border-radius: 0 var(--r) var(--r) 0;
}
.lp-callout h3 { color: var(--ind); font-size: 15px; }
.lp-callout p  { font-size: 15px; }

.lp-who-card {
  background: var(--wht); border: 1px solid var(--bdr);
  padding: 32px; border-radius: var(--r);
}
.lp-who-card h3 { color: var(--ind); font-size: 15px; }
.lp-who-card p  { font-size: 15px; }

/* ── INDIGO SECTION ──────────────────────────────────────────────────────── */
.lp-indigo {
  background: var(--ind);
  padding: var(--sec) var(--px);
}

.lp-four-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 48px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r); overflow: hidden;
}
.lp-card {
  background: rgba(0,0,0,.22);
  padding: 36px 32px;
  transition: background .2s;
}
.lp-card:hover { background: rgba(0,0,0,.34); }
.lp-card-n {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: rgba(255,255,255,.3);
  margin-bottom: 18px;
}
.lp-card h3 { color: var(--wht); font-size: 16px; margin-bottom: 12px; }
.lp-card p  { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; }

/* ── LIGHT BACKGROUND ────────────────────────────────────────────────────── */
.lp-light { background: var(--lt); }

/* ── THREE COLUMN STEPS ──────────────────────────────────────────────────── */
.lp-three-col {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 44px; margin-top: 52px;
}
.lp-step {
  border-top: 2px solid var(--bdr);
  padding-top: 26px;
  transition: border-top-color .2s;
}
.lp-step:hover { border-top-color: var(--ind); }
.lp-step-n {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--ind); margin-bottom: 14px;
}
.lp-step h3 { color: var(--blk); }
.lp-step p  { font-size: 15px; color: var(--mid); margin: 0; }

/* ── ESSAY REFERENCE ─────────────────────────────────────────────────────── */
.lp-essay {
  border-top: 1px solid var(--bdr); padding-top: 52px;
  display: grid; grid-template-columns: 130px 1fr;
  gap: 44px; align-items: start;
}
.lp-essay-lbl {
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #AAAAAA; line-height: 1.6; padding-top: 4px;
}
.lp-essay-title {
  font-size: 19px; font-weight: 500;
  color: var(--blk); line-height: 1.4; margin-bottom: 12px;
}
.lp-essay-title a { color: var(--blk); transition: color .2s; }
.lp-essay-title a:hover { color: var(--ind); }
.lp-essay-desc { font-size: 15px; color: var(--mid); margin-bottom: 18px; }
.lp-essay-link {
  font-size: 13px; font-weight: 600; color: var(--ind);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.lp-essay-link:hover { gap: 10px; }

/* ── CTA BLOCK ───────────────────────────────────────────────────────────── */
.lp-cta-block {
  background: var(--dark); padding: var(--sec) var(--px);
  position: relative; overflow: hidden;
}
.lp-cta-block::before {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(93,0,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.lp-cta-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; position: relative;
}
.lp-tagline {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 200; color: var(--wht);
  line-height: 1; letter-spacing: -.02em;
}
.lp-tagline strong { font-weight: 700; color: var(--ind); }
.lp-cta-body h4 {
  font-size: 17px; font-weight: 400;
  color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 14px;
}
.lp-cta-body p {
  font-size: 14px; color: rgba(255,255,255,.42); margin-bottom: 32px;
}

/* ── FOOTER: production classes styled for landing pages ─────────────────── */
.footer {
  background: #0C0C0C;
  padding: 60px var(--px) 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.fixwrap { max-width: var(--max); margin: 0 auto; }
.parentflex { display: flex; flex-wrap: wrap; }
.gap { gap: 40px; }
.footerlogo {
  flex: 2; min-width: 200px;
  font-size: 13px;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
}
.footerlogo img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}
.footercells {
  flex: 1; min-width: 150px;
}
.footercells h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 18px;
}
.footercells a, .footercells.link a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.52) !important;
  margin-bottom: 9px;
  transition: color .2s;
  text-decoration: none;
}
.footercells a:hover { color: var(--wht) !important; }
.lp-social { display: flex; gap: 10px; margin-top: 4px; }
.lp-social a {
  display: flex !important;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r);
  color: rgba(255,255,255,.48) !important;
  transition: background .2s, color .2s !important;
  margin-bottom: 0 !important;
}
.lp-social a:hover { background: var(--ind); color: var(--wht) !important; }
.credit {
  flex-basis: 100%;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 8px;
}
.c1 { font-size: 12px; color: rgba(255,255,255,.38); }
.lp-heart { color: #E53935; }

/* ── RESPONSIVE: 900px ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --px: 28px; --sec: 72px; }

  /* Nav: show hamburger, hide email */
  .lp-email  { display: none; }
  .lp-toggle { display: flex; margin-left: auto; }

  /* Menu collapses to drawer */
  .lp-menu {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--wht);
    border-bottom: 1px solid var(--bdr);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px var(--px) 24px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .lp-menu.lp-open { display: block; }
  .lp-menu ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .lp-menu ul li { width: 100%; }
  .lp-menu ul li > a { display: block; padding: 12px 0; font-size: 15px; }
  .lp-nav-cta { display: inline-block; margin-top: 8px; }

  /* Dropdown in mobile drawer */
  .lp-has-dd:hover .lp-dropdown { display: none; }
  .lp-has-dd.lp-dd-open .lp-dropdown {
    display: block;
    position: static;
    box-shadow: none; border: none;
    background: var(--lt);
    border-radius: var(--r);
    margin: 4px 0 8px;
    padding: 4px 0;
  }
  .lp-dropdown li a { padding: 9px 14px; font-size: 14px; }

  /* Content grids */
  .lp-two-col,
  .lp-cta-inner { grid-template-columns: 1fr; gap: 44px; }
  .lp-four-grid  { grid-template-columns: 1fr; }
  .lp-three-col  { grid-template-columns: 1fr 1fr; }
  .lp-essay      { grid-template-columns: 1fr; gap: 12px; }
  .lp-essay-lbl  { padding-top: 0; }
  .lp-hero       { padding: 120px var(--px) 72px; }
}

/* ── RESPONSIVE: 560px ───────────────────────────────────────────────────── */
@media (max-width: 560px) {
  :root { --px: 20px; }
  .lp-three-col   { grid-template-columns: 1fr; }
  .lp-hero-actions { flex-direction: column; align-items: flex-start; }
  .lp-hero h1     { font-size: clamp(28px, 8vw, 40px); }
  .lp-hero-sub    { font-size: 16px; }
  .footerlogo,
  .footercells    { flex-basis: 100%; }
}

/* ── BACK TO TOP ──────────────────────────────────────────────────────────── */
.lp-back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lp-back-top-btn {
  width: 40px;
  height: 40px;
  background: #5D00FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(93,0,255,.4);
}

/* ── MOTION PREFERENCE ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
