/* =========================================================
   LOQUI STRATEGIES — CENTRALIZED STYLESHEET
   Crisp, card-based "16Personalities" system: pure white canvas,
   floating white cards, pill badges, soft champagne-gold pill buttons.
   Used by all 7 site pages. Do not fork per-page styles.
   ========================================================= */

:root{
  /* Palette — canvas & neutrals */
  --white:#ffffff;
  --surface:#F8FAFC;      /* faint neutral — alt sections */
  --surface-2:#F1F5F9;    /* slightly deeper neutral — badges, alt cards */
  --border:#E2E8F0;

  /* Palette — type */
  --heading:#475569;      /* soft slate — titles establish hierarchy via size/weight, not harsh color */
  --body-text:#475569;    /* soft charcoal */
  --body-text-soft:#64748B;

  /* Palette — soft champagne gold (buttons, accents) */
  --champagne-1:#F4E7C3;
  --champagne-2:#E3C878;
  --champagne-grad:linear-gradient(135deg,var(--champagne-1) 0%,var(--champagne-2) 100%);
  --champagne-shadow:rgba(227,200,120,0.4);
  --champagne-shadow-hover:rgba(227,200,120,0.55);
  --champagne-text:#B08A2E; /* small accent text/icons on white, e.g. eyebrows */

  /* Legacy aliases — keep old inline var(--x) references resolving */
  --ink:var(--heading);
  --beige-line:var(--border);

  /* Layout */
  --max-width:1180px;
  --text-max:700px;
  --radius-sm:8px;
  --radius-md:16px;
  --radius-lg:20px;
  --card-shadow:0 10px 25px -5px rgba(0,0,0,0.04), 0 8px 10px -6px rgba(0,0,0,0.02);
  --card-shadow-hover:0 16px 32px -6px rgba(0,0,0,0.07), 0 10px 14px -6px rgba(0,0,0,0.03);

  /* Type */
  --font-sans:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--white);
  color:var(--body-text);
  font-family:var(--font-sans);
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{
  font-family:var(--font-sans);
  font-weight:650;
  line-height:1.28;
  color:var(--heading);
  margin:0 0 18px;
  letter-spacing:-0.01em;
}
h1{font-size:clamp(30px,4.2vw,46px);font-weight:700;}
h2{font-size:clamp(22px,2.7vw,29px);}
h3{font-size:18px;font-weight:650;}
p{margin:0 0 18px;color:var(--body-text);}
p:last-child{margin-bottom:0;}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 28px;
}

section.section{padding:104px 0;}
section.section-tight{padding:64px 0;}
section.section-alt{background:var(--surface);}
section.section-beige{background:var(--surface-2);}     /* legacy class name, now neutral not cream */
section.section-dark{background:var(--surface-2);}       /* legacy class name, now light not black */
section.section-dark h1,section.section-dark h2,section.section-dark h3{color:var(--heading);}
section.section-dark p{color:var(--body-text);}
section.section-dark ul.bullet-list li{color:var(--body-text);}
section.section-dark .eyebrow{color:var(--champagne-text);}
section.section-dark .btn-secondary{border-color:var(--heading);color:var(--heading);}
section.section-dark .btn-secondary:hover{background:var(--heading);color:var(--white);}

.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--champagne-text);
  margin-bottom:16px;
}

.lede{
  font-size:18px;
  color:var(--body-text);
  max-width:var(--text-max);
}

/* Decorative gold rule */
.gold-rule{
  display:block;
  width:56px;
  height:4px;
  border-radius:99px;
  background:var(--champagne-grad);
  margin-bottom:22px;
}
.gold-rule.centered{margin-left:auto;margin-right:auto;}

/* ---------- Pill badges ---------- */
.badge{
  display:inline-block;
  padding:6px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(244,231,195,0.55),rgba(227,200,120,0.28));
  border:1px solid rgba(227,200,120,0.45);
  color:var(--body-text-soft);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.badge-neutral{
  background:var(--surface-2);
  border-color:var(--border);
  color:var(--body-text-soft);
}

/* ---------- Buttons — soft champagne pills ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:9999px;
  font-size:14.5px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--champagne-grad);
  color:var(--heading);
  box-shadow:0 4px 14px var(--champagne-shadow);
}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 22px var(--champagne-shadow-hover);
}
.btn-secondary{
  background:var(--white);
  border-color:var(--border);
  color:var(--heading);
}
.btn-secondary:hover{transform:translateY(-1px);border-color:var(--champagne-2);box-shadow:0 4px 14px rgba(0,0,0,0.05);}
.btn-ghost{
  background:transparent;
  border-color:var(--border);
  color:var(--heading);
}
.btn-ghost:hover{transform:translateY(-1px);border-color:var(--champagne-2);}
/* Standalone CTAs center by default — this is the common case sitewide.
   A row that genuinely needs left/start alignment can override with
   `justify-content:flex-start` locally; none currently do. */
.btn-row{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:3rem auto 0;}
.btn-row.stacked{flex-direction:column;align-items:center;}
.btn-row.stacked .btn{width:100%;max-width:340px;}
.btn-sm{padding:10px 20px;font-size:13px;}

/* ---------- Header / Nav ---------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 28px;
  max-width:var(--max-width);
  margin:0 auto;
}
a.brand-logo{display:flex;align-items:center;}
.logo-img{max-height:64px;height:auto;width:auto;display:block;}
nav.primary-nav{display:flex;align-items:center;gap:30px;}
nav.primary-nav ul{display:flex;gap:26px;}
nav.primary-nav a.nav-link{
  font-size:14px;
  font-weight:600;
  color:var(--body-text-soft);
  padding:6px 0;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
nav.primary-nav a.nav-link:hover,
nav.primary-nav a.nav-link[aria-current="page"]{
  color:var(--heading);
  border-color:var(--champagne-2);
}
#nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--border);
  border-radius:8px;
  padding:8px 10px;
  cursor:pointer;
}
#nav-toggle span{display:block;width:20px;height:2px;background:var(--heading);margin:4px 0;}

@media (max-width:880px){
  .logo-img{max-height:48px;}
  nav.primary-nav ul{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;
    background:var(--white);
    border-bottom:1px solid var(--border);
    padding:10px 28px 20px;gap:4px;display:none;
  }
  nav.primary-nav.open ul{display:flex;}
  nav.primary-nav a.nav-link{padding:10px 0;border-bottom:1px solid var(--border);}
  nav.primary-nav .btn{display:none;}
  nav.primary-nav.open .btn{display:inline-flex;margin-top:8px;}
  #nav-toggle{display:block;}
}

/* ---------- Hero — centered, constrained, stacked pill CTAs ---------- */
.hero{padding:88px 0 30px;text-align:center;}
.hero .container{max-width:800px;}
.hero .lede{margin-left:auto;margin-right:auto;}
.hero .btn-row{justify-content:center;}
.hero.hero-photo{text-align:left;}
.hero.hero-photo .container{max-width:var(--max-width);}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:60px;
  align-items:center;
}
.hero-media{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--card-shadow);}
.hero-media img{width:100%;height:100%;object-fit:cover;}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-media{order:-1;}
}

/* ---------- Logo banner (client marks) ---------- */
.logo-banner{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:36px;padding:34px 0;
}
.logo-banner img{
  height:34px;width:auto;object-fit:contain;
  filter:grayscale(100%) opacity(0.65);
  transition:filter .2s ease;
}
.logo-banner img:hover{filter:grayscale(0%) opacity(1);}
@media (max-width:700px){
  .logo-banner{justify-content:center;gap:26px;}
  .logo-banner img{height:26px;}
}

/* Two-item comparison block (e.g. "What you get" vs. "The full report" on
   the BPI page) — flexbox so the pair centers as a cohesive unit on the
   page rather than stretching edge-to-edge as rigid 50/50 grid columns. */
.compare-row{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:4rem;
}
.compare-row > *{
  flex:1 1 380px;
  max-width:460px;
}

/* ---------- Grids ---------- */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;justify-content:center;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;justify-content:center;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;justify-content:center;}
/* Flexbox, not CSS Grid: with auto-fit grid tracks, a short trailing row
   inherits the column count of the fullest row above it and is stranded
   left-aligned with empty space on the right. Flexbox with wrap + centered
   justify-content centers a short last row instead. */
.grid-cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:2rem;
}
.grid-cards > *{
  flex:1 1 300px;
  max-width:350px;
}
@media (max-width:900px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
}

/* A card that intentionally takes the full width of its row — use to
   promote a trailing "orphan" card into a deliberate, featured wide
   section instead of an awkward leftover. Works in both the flex
   .grid-cards context and any remaining CSS Grid context. */
.full-span-card{
  grid-column:1 / -1;
  flex:1 1 100%;
  max-width:100%;
}

/* ---------- 16Personalities-style floating cards ---------- */
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--card-shadow);
  padding:28px;
  transition:box-shadow .2s ease, transform .2s ease;
}
a.card:hover,.card.hoverable:hover{
  box-shadow:var(--card-shadow-hover);
  transform:translateY(-2px);
}
.card-gold{
  background:var(--white);
  border-top:4px solid;
  border-image:var(--champagne-grad) 1;
}
.card h3{margin-bottom:10px;}
.card .card-teaser{color:var(--body-text-soft);font-size:14px;margin-bottom:0;}

/* ---------- Bullet lists ---------- */
/* A standalone list (not nested in a grid column or a card) is a centered,
   750px block on the page — but the list itself stays hard-left-aligned
   inside that block, so bullets and text line up cleanly instead of
   trailing off center with each other. */
ul.bullet-list{
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}
ul.bullet-list li{
  position:relative;padding-left:22px;margin-bottom:13px;color:var(--body-text);
}
ul.bullet-list li::before{
  content:"";position:absolute;left:0;top:10px;width:6px;height:6px;
  border-radius:50%;background:var(--champagne-2);
}
ul.bullet-list li:last-child{margin-bottom:0;}
.grid-2 ul.bullet-list,.grid-3 ul.bullet-list,.card ul.bullet-list{max-width:none;margin-left:0;margin-right:0;}

/* ---------- Meta rows / spec lines ---------- */
.meta-row{display:flex;gap:10px;font-size:14px;padding:12px 0;border-top:1px solid var(--border);}
.meta-row:first-of-type{border-top:none;}
.meta-row .meta-label{min-width:120px;font-weight:700;color:var(--heading);flex-shrink:0;}
.meta-row .meta-value{color:var(--body-text);}

.spec-line{
  display:inline-block;margin-top:16px;font-size:13px;font-weight:600;
  color:var(--champagne-text);letter-spacing:.02em;
}

/* ---------- Section heading block ---------- */
/* Centered by default: all top-level section intros (headline + lede) are
   constrained and centered on the page. Body copy inside cards is untouched
   since .card/.preview-card never carry this class. */
.section-head{
  max-width:800px;
  margin:0 auto 52px;
  text-align:center;
}
.section-head p,.section-head .lede{margin-left:auto;margin-right:auto;}
.section-head .gold-rule{margin-left:auto;margin-right:auto;}
.section-head.centered{margin-left:auto;margin-right:auto;text-align:center;}
.section-head.centered .gold-rule{margin-left:auto;margin-right:auto;}

.anchor-block{scroll-margin-top:110px;}

/* ---------- Stage cards (SETAR) ---------- */
.stage-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--card-shadow);
  padding:36px 36px 32px;
  margin-bottom:28px;
}
.stage-card ul.bullet-list{max-width:none;}
.callout-box{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:22px 24px;
  margin:22px 0;
  font-size:15px;
  color:var(--heading);
}
.callout-box strong{color:var(--champagne-text);}

/* Small "at a glance" preview cards linking down to full stage/engagement cards */
.preview-card{
  display:block;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--card-shadow);
  padding:26px 26px 24px;
  color:inherit;
}
.preview-card:hover{box-shadow:var(--card-shadow-hover);transform:translateY(-2px);}
.preview-card p{font-size:14px;color:var(--body-text-soft);margin-bottom:0;}

/* ---------- Pattern / resource cards ---------- */
/* Same centered-block-with-left-aligned-content treatment as bullet lists,
   so a Q&A list (e.g. "Common questions") reads as one centered column
   instead of a narrow strip stuck to the left of the page. */
.pattern-item,.faq-item{
  padding:26px 0;
  border-top:1px solid var(--border);
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}
.pattern-item:first-child,.faq-item:first-child{border-top:none;padding-top:0;}
.pattern-item h3{margin-bottom:8px;}
.faq-item h3{margin-bottom:10px;font-size:16px;}

/* ---------- Embed frame (Index landing page) ---------- */
.embed-frame{
  background:var(--surface);
  border:1.5px dashed var(--border);
  border-radius:var(--radius-lg);
  padding:72px 30px;
  text-align:center;
  color:var(--body-text-soft);
}
.embed-frame .embed-tag{
  display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--champagne-text);background:var(--white);border:1px solid var(--border);
  padding:7px 16px;border-radius:999px;margin-bottom:18px;
}

/* ---------- Forms ---------- */
form.contact-form{display:grid;gap:20px;max-width:560px;}
.form-field{display:flex;flex-direction:column;gap:7px;}
.form-field label{font-size:13px;font-weight:650;color:var(--heading);}
.form-field input,.form-field textarea{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:13px 15px;
  font-size:15px;
  font-family:var(--font-sans);
  background:var(--white);
  color:var(--heading);
}
.form-field input:focus,.form-field textarea:focus{
  outline:none;border-color:var(--champagne-2);
  box-shadow:0 0 0 3px rgba(227,200,120,0.25);
}
.form-note{display:none;padding:13px 16px;border-radius:var(--radius-sm);font-size:13.5px;margin-top:6px;}
.form-note.success{background:#eaf5ee;color:#2f7a4f;border:1px solid #cfe8d8;}
.form-note.error{background:#fdeceb;color:#b3413a;border:1px solid #f3cfcb;}
.form-note.visible{display:block;}

.newsletter-row{display:flex;gap:10px;max-width:360px;}
.newsletter-row input{
  flex:1;border:1px solid var(--border);background:var(--white);
  border-radius:var(--radius-sm);padding:11px 13px;color:var(--heading);font-family:var(--font-sans);
}
.newsletter-row input::placeholder{color:var(--body-text-soft);}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--surface);color:var(--body-text);padding:76px 0 32px;border-top:1px solid var(--border);}
.footer-grid{
  display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:40px;
  padding-bottom:44px;border-bottom:1px solid var(--border);
}
.footer-col h4{
  color:var(--heading);font-size:12.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;margin-bottom:18px;
}
.footer-col ul li{margin-bottom:11px;}
.footer-col a{font-size:14px;color:var(--body-text-soft);transition:color .15s ease;}
.footer-col a:hover{color:var(--champagne-text);}
.footer-col p{color:var(--body-text-soft);font-size:14px;}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding-top:26px;font-size:13px;color:var(--body-text-soft);
}
.footer-bottom .footer-line{font-style:italic;}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Utility ---------- */
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.mb-0{margin-bottom:0;}
.visually-hidden{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;
}
