/* ============================================================
   Free Thinkers Consulting — site styles  (DARK redesign)
     Typeface : Plus Jakarta Sans (headings, body, UI, buttons)
     Background #0B0B14 · Surface #16141F · Purple #6C4DFF
     Gradient  #6C4DFF → #3A2EFF → #1D1FBF  (accents / CTAs only)
   Readability is a hard requirement: body/secondary text stays
   high-contrast (bright white / light lavender) — never low gray.
   ============================================================ */

:root {
  /* core palette */
  --bg:          #0B0B14;   /* page background (near-black, indigo tint) */
  --surface:     #16141F;   /* elevated surface / cards */
  --surface-2:   #1C1A2B;   /* slightly lifted surface */
  --purple:      #6C4DFF;   /* primary accent */
  --violet:      #4B3BFF;   /* gradient mid */
  --purple-deep: #1D1FBF;   /* gradient tail / deep accent */
  --purple-text: #A78BFA;   /* accent text on dark (labels) */
  --grad:        linear-gradient(135deg, #6C4DFF 0%, #3A2EFF 55%, #1D1FBF 100%);
  --grad-soft:   linear-gradient(135deg, #6C4DFF 0%, #4B3BFF 100%);

  /* text */
  --text-1: #FFFFFF;                 /* primary text — high contrast */
  --text-2: rgba(255,255,255,0.84);  /* body / secondary — stays bright */
  --text-3: rgba(255,255,255,0.62);  /* muted, still legible (never lower) */

  --border:    rgba(255,255,255,0.09);
  --border-hi: rgba(255,255,255,0.18);

  /* legacy aliases — keep inner-page rules + inline styles correct on dark */
  --ink:       #FFFFFF;
  --body:      rgba(255,255,255,0.84);
  --navy:      #D9D7EC;
  --muted:     rgba(255,255,255,0.62);
  --line:      rgba(255,255,255,0.09);
  --bg-soft:   #121120;
  --white:     #16141F;   /* card surfaces that referenced --white */

  --serif: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans:  "Plus Jakarta Sans", system-ui, sans-serif;
  --font:  "Plus Jakarta Sans", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 24px 60px rgba(0,0,0,0.55);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text-1);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
a { color: var(--purple-text); text-decoration: none; }
a:hover { color: #C4B5FD; }
img { max-width: 100%; height: auto; display: block; }

/* subtle film grain over the whole page */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: overlay;
}
header, section, footer, .container { position: relative; z-index: 1; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 0 0 1px rgba(108,77,255,.5), 0 8px 28px rgba(108,77,255,.32);
}
.btn-primary:hover { transform: translateY(-2px); color:#fff; box-shadow: 0 0 0 1px rgba(108,77,255,.7), 0 14px 38px rgba(108,77,255,.46); }
.btn-outline { background: transparent; color: var(--purple-text); border: 1px solid var(--purple); }
.btn-outline:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.btn-nav {
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  background: var(--grad); color: #fff !important; padding: 11px 24px; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(108,77,255,.45), 0 6px 20px rgba(108,77,255,.28);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(108,77,255,.7), 0 10px 26px rgba(108,77,255,.42); }
.btn-light { background: #fff; color: #1D1B2E; border: 1px solid #fff; }
.btn-light:hover { transform: translateY(-2px); color:#1D1B2E; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.btn .arrow { font-size: 1.1em; line-height: 1; }
.btn-xl  { padding: 16px 38px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,20,.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 70px; width: auto; max-width: none; display: block; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-family: var(--font); color: var(--text-2); font-weight: 500; font-size: 1rem;
  transition: color .16s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text-1); }
.main-nav a.btn-nav { color: #fff; }

/* nav dropdown */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { font-size: .62em; opacity: .75; transition: transform .2s ease; }
.has-dropdown:hover .nav-caret, .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.has-dropdown::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 16px; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 250px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.dropdown a:hover { background: rgba(255,255,255,.06); color: var(--text-1); }

/* products page */
.product-visual {
  border-radius: 16px; min-height: 220px; padding: 32px;
  background: linear-gradient(135deg, rgba(108,77,255,.20), rgba(29,31,191,.08)), var(--surface-2);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.product-visual .pv-num { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--purple-text); }
.product-visual .pv-name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--text-1); }

/* clickable course card (DIY Salesforce -> CLARITY Method course) */
.course-card { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.course-card img { width: 100%; height: auto; display: block; }
.course-card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: 0 0 0 1px rgba(108,77,255,.45), 0 26px 60px rgba(108,77,255,.28); }
.course-cta { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .88rem; font-weight: 600; box-shadow: 0 0 0 1px rgba(108,77,255,.5), 0 8px 22px rgba(108,77,255,.4); transition: transform .2s ease; }
.course-card:hover .course-cta { transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-1); border-radius: 2px; }

/* ============================================================
   HOMEPAGE — "Start With Why" narrative
   ============================================================ */

/* ── WHY / hero ── */
.why {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 92px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 100px; text-align: center;
}
.why-orb {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: 820px; height: 820px; max-width: 130vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,77,255,0.16), transparent 64%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.why::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,77,255,0.45), transparent);
}
.why-inner { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }
.why-eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple-text); margin: 0 0 36px;
}

/* rotating reel — the focal point */
.slider-track {
  width: 100%; overflow: hidden;
  height: clamp(120px, 17vw, 156px);
  display: flex; align-items: flex-start; justify-content: center;
  margin-bottom: 28px;
}
.slider-reel {
  display: flex; flex-direction: column; align-items: center;
  animation: reelUp 20s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
.slider-reel span {
  height: clamp(120px, 17vw, 156px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
  background: linear-gradient(92deg, #A78BFA 0%, #6C4DFF 60%, #4B3BFF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes reelUp {
  0%,12%   { transform: translateY(0); }
  17%,29%  { transform: translateY(-20%); }
  34%,46%  { transform: translateY(-40%); }
  51%,63%  { transform: translateY(-60%); }
  68%,80%  { transform: translateY(-80%); }
  85%,100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .slider-reel { animation: none; }
  .marquee-track { animation: none; }
}
.why-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2);
  line-height: 1.7; max-width: 600px; margin: 0 auto 40px;
}
.why-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── marquee divider ── */
.marquee-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface); overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 34s linear infinite; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-item {
  display: flex; align-items: center; gap: 18px; padding: 16px 34px;
  font-size: .72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap; border-right: 1px solid var(--border);
}
.m-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }

/* ── shared section atoms (homepage) ── */
.sec-label {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple-text); margin-bottom: 16px;
}
.sec-title { font-size: clamp(2rem, 3.8vw, 3.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--text-1); }
.sec-body { font-size: 1.08rem; line-height: 1.75; color: var(--text-2); max-width: 600px; }

/* ── HOW ── */
.how { background: var(--surface); padding: 104px 0; }
.how-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--border);
}
.how-card { background: var(--surface-2); padding: 36px 30px; transition: background .22s ease; }
.how-card:hover { background: #232136; }
.how-card-num { font-size: .72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--purple-text); margin-bottom: 26px; }
.how-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-1); margin-bottom: 12px; line-height: 1.25; }
.how-card p { font-size: .96rem; color: var(--text-2); line-height: 1.7; margin: 0; }

/* ── WHAT ── */
.what { background: var(--bg); padding: 104px 0; }
.what-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.what .sec-body { margin-top: 18px; }
.what-supporting { margin-top: 16px; font-size: .95rem; color: var(--text-3); font-style: italic; letter-spacing: 0.01em; }
.what-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.what-svc {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--text-2);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.what-svc:hover { border-color: var(--border-hi); color: var(--text-1); transform: translateY(-2px); }
.svc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
.what-img-wrap { border-radius: 16px; overflow: hidden; aspect-ratio: 5/4; border: 1px solid var(--border); }
.what-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── client logos ── */
.logos { background: var(--surface); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; color: var(--text-1); text-align: center; margin-bottom: 48px; letter-spacing: -0.02em; }
.logos-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  max-width: 980px; margin: 0 auto;
}
.logo-tile {
  flex: 0 0 calc(25% - 12px);
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; padding: 24px 26px; min-height: 104px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.logo-tile img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }

/* ── testimonials ── */
.testimonials { background: var(--bg); padding: 104px 0; }
.t-header { margin-bottom: 52px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.t-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 28px; display: flex; flex-direction: column; transition: border-color .22s ease, transform .22s ease;
}
.t-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.t-stars { font-size: .8rem; color: #FBBF24; letter-spacing: 0.1em; margin-bottom: 18px; }
.t-body { font-size: 1rem; line-height: 1.72; color: var(--text-2); flex: 1; margin: 0 0 24px; }
.t-body strong { color: var(--text-1); font-weight: 700; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; color: #fff;
}
.t-name { font-size: .85rem; font-weight: 700; color: var(--text-1); }
.t-role { font-size: .74rem; color: var(--text-3); margin-top: 2px; }

/* ── final CTA ── */
.final-cta { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--border); padding: 128px 0; }
.cta-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 720px; height: 720px; max-width: 130vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,77,255,0.17), transparent 64%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; text-align: center; }
.cta-h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; color: var(--text-1); margin-bottom: 20px; }
.cta-body { font-size: 1.1rem; color: var(--text-2); line-height: 1.72; margin: 0 auto 40px; max-width: 560px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.cta-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; }
.cta-trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-3); font-weight: 500; }
.cta-check { color: var(--purple-text); font-size: .95rem; }

/* ============================================================
   Get Started page (mirrors live structure, dark theme)
   ============================================================ */
.gs-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.gs-hero-copy h1 { font-size: clamp(2.4rem, 4.8vw, 3.5rem); margin-bottom: 18px; }
.gs-hero-copy .lead { margin-bottom: 22px; }
.gs-hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 6px; }
.gs-hero-trust span { display: flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--text-3); font-weight: 500; }
.gs-hero-trust span::before { content: "✓"; color: var(--purple-text); }
.gs-form-head { margin-bottom: 20px; }
.gs-form-head h2 { font-size: 1.35rem; margin-bottom: 6px; }
.gs-form-head p { font-size: .92rem; color: var(--text-3); margin: 0; }

.gs-cta { text-align: center; margin-top: 52px; }
.gs-cta h3 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin-bottom: 22px; color: var(--text-1); }

.pullquote { max-width: 840px; margin: 0 auto; text-align: center; }
.pullquote blockquote { margin: 18px 0 0; font-size: clamp(1.4rem, 2.5vw, 1.95rem); line-height: 1.45; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); }
.pullquote cite { display: block; margin-top: 22px; font-style: normal; font-size: 1rem; font-weight: 600; color: var(--purple-text); }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
  .gs-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Section shared (inner pages)
   ============================================================ */
.section-title { font-size: clamp(2rem, 3.4vw, 2.8rem); text-align: center; font-weight: 800; letter-spacing: -0.03em; }
.section-sub { text-align: center; color: var(--text-3); font-size: 1.15rem; margin: -2px 0 48px; }

/* Page hero */
.page-hero {
  position: relative; padding: 96px 0 80px;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(108,77,255,.18), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin: 0 0 18px; }
.page-hero .lead { max-width: 58ch; margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin: 0 auto; }

.eyebrow { font-family: var(--font); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--purple-text); margin: 0 0 20px; }
.lead { font-size: 1.25rem; font-weight: 400; color: var(--text-2); margin: 0 0 28px; line-height: 1.6; }

/* Generic section helpers */
.section { padding: 88px 0; }
.section.soft { background: var(--surface); }
.section .section-sub { max-width: 60ch; margin-left: auto; margin-right: auto; }
.prose { max-width: 70ch; }
.prose p { font-size: 1.1rem; color: var(--text-2); margin: 0 0 1.1em; }
.lead-block { font-size: 1.3rem; color: var(--text-1); font-weight: 500; max-width: 64ch; }

/* Card grid */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-hi); background: var(--surface-2); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: 1rem; color: var(--text-2); }
.feature-card .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(108,77,255,.16); color: var(--purple-text);
  font-family: var(--font); font-weight: 700; font-size: 1.15rem;
}

/* Alternating feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse .feature-row-media { order: 2; }
.feature-row-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.feature-row p { font-size: 1.08rem; color: var(--text-2); margin: 0 0 1em; }
.anchor-offset { scroll-margin-top: 100px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px;
  background: var(--grad); color: #fff; font-family: var(--font); font-weight: 700; font-size: 1.05rem;
}

/* Case study cards */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--border-hi); }
.case-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.case-card .case-body { padding: 22px 24px; }
.case-card h3 { font-size: 1.25rem; margin: 0 0 6px; }
.case-card p { margin: 0; font-family: var(--font); font-size: .9rem; color: var(--purple-text); font-weight: 600; }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.blog-card .thumb { aspect-ratio: 16 / 9; background: var(--grad); overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-family: var(--font); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-text); margin-bottom: 10px; font-weight: 600; }
.blog-card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.blog-card p { margin: 0 0 18px; font-size: 1rem; color: var(--text-2); }
.blog-card .read-more { font-family: var(--font); font-weight: 600; font-size: .92rem; margin-top: auto; color: var(--purple-text); }

/* CTA band (gradient) */
.cta-band { background: var(--grad); color: #fff; padding: 76px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 52ch; margin: 0 auto 30px; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn-outline:hover { background: #fff; color: var(--purple-deep); border-color:#fff; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-copy h2 { color: var(--text-1); }
.contact-copy p { color: var(--text-2); }
.contact-copy h4 { color: var(--text-1); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
}

/* Salesforce web-to-lead form (styling only — behavior unchanged) */
.sf-form { margin: 0; }
.sf-row { display: flex; gap: 22px; }
.sf-field { flex: 1; margin-bottom: 20px; }
.sf-field label { display: block; font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.sf-field input, .sf-field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--text-1);
  padding: 0 16px; height: 52px; border: 1px solid var(--border-hi); border-radius: 12px;
  background: rgba(255,255,255,0.04); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.sf-field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.sf-field input::placeholder, .sf-field textarea::placeholder { color: var(--text-3); }
.sf-field input:focus, .sf-field textarea:focus { outline: none; border-color: var(--purple); background: rgba(108,77,255,.08); box-shadow: 0 0 0 3px rgba(108,77,255,.2); }
.sf-submit {
  width: 100%; margin-top: 6px; padding: 16px 40px;
  font-family: var(--font); font-size: 1.05rem; font-weight: 600;
  background: var(--grad); color: #fff; border: 0; border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 1px rgba(108,77,255,.45), 0 8px 24px rgba(108,77,255,.3);
}
.sf-submit:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(108,77,255,.7), 0 12px 30px rgba(108,77,255,.45); }
.sf-spinner { text-align: center; margin-top: 20px; }
.sf-spinner-ring { width: 36px; height: 36px; margin: 0 auto; border: 4px solid var(--border-hi); border-top-color: var(--purple); border-radius: 50%; animation: sf-spin .9s linear infinite; }
.sf-spinner p { font-family: var(--font); font-size: .9rem; color: var(--text-3); margin-top: 12px; }
@keyframes sf-spin { to { transform: rotate(360deg); } }

/* ===== Footer ===== */
.site-footer { background: #050509; border-top: 1px solid var(--border); color: var(--text-3); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-mark { height: 56px; width: auto; display: block; }
.footer-brand p { font-family: var(--font); max-width: 34ch; font-size: 1rem; margin: 18px 0 22px; color: var(--text-3); }
.sf-badge { height: 112px; width: auto; opacity: .9; }
.footer-col h4 { color: var(--text-1); font-family: var(--font); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.footer-col h4.mt { margin-top: 26px; }
.footer-col a { font-family: var(--font); display: block; color: var(--text-3); margin-bottom: 11px; font-size: .96rem; }
.footer-col a:hover { color: var(--text-1); }
.footer-col p { font-family: var(--font); margin: 0 0 6px; font-size: .96rem; color: var(--text-3); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { font-family: var(--font); margin: 0; font-size: .84rem; color: rgba(255,255,255,.4); }

/* ===== Article (blog post) ===== */
.article { padding: 48px 0 84px; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero { padding: 56px 0 36px; }
.article-hero .meta { font-family: var(--font); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-text); margin-bottom: 14px; font-weight: 600; }
.article-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.article-body p { font-size: 1.12rem; line-height: 1.78; margin: 0 0 1.3em; color: var(--text-2); }
.article-body h2 { font-size: 1.65rem; margin: 1.6em 0 .5em; color: var(--text-1); }
.article-body h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; color: var(--text-1); }
.article-body ul, .article-body ol { font-size: 1.12rem; line-height: 1.7; padding-left: 1.3em; margin: 0 0 1.3em; color: var(--text-2); }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--text-1); }
.article-body blockquote {
  margin: 1.5em 0; padding: 8px 0 8px 26px; border-left: 4px solid var(--purple);
  font-style: italic; color: var(--text-1); font-size: 1.2rem;
}

/* ===== Scroll reveal ===== */
.r { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.r.up { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; } .d5 { transition-delay: .35s; }

/* ===== Legacy testimonial quote-grid (inner pages, if used) ===== */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.quote-grid blockquote {
  margin: 0; padding: 32px 34px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); position: relative;
}
.quote-grid blockquote::before { content: "\201C"; font-family: var(--font); font-size: 4rem; line-height: 1; color: var(--purple); opacity: .35; position: absolute; top: 14px; left: 20px; }
.quote-grid p { margin: 0 0 12px; color: var(--text-1); font-size: 1.1rem; font-style: italic; }
.quote-grid cite { font-family: var(--font); color: var(--text-3); font-style: normal; font-size: .9rem; font-weight: 500; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .how-header { grid-template-columns: 1fr; gap: 26px; margin-bottom: 40px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .what-inner { grid-template-columns: 1fr; gap: 44px; }
  .logo-tile { flex: 0 0 calc(33.333% - 11px); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .feature-row.reverse .feature-row-media { order: 0; }
}
@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .how-grid { grid-template-columns: 1fr; }
  .what-services { grid-template-columns: 1fr; }
  .logo-tile { flex: 0 0 calc(50% - 8px); }
  .sf-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 26px; }
  .main-nav {
    display: none; position: absolute; top: 92px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(11,11,20,.97);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 12px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; width: 100%; }
  .nav-toggle { display: flex; }
  /* dropdown collapses to inline list on mobile */
  .nav-item { display: block; width: 100%; }
  .nav-caret { display: none; }
  .has-dropdown::after { display: none; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; background: transparent; border: 0; box-shadow: none;
    padding: 0 0 6px; gap: 0;
  }
  .dropdown a { padding: 9px 24px 9px 38px; font-size: .9rem; color: var(--text-3); }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid.cols-2, .card-grid.cols-3, .case-grid, .blog-grid { grid-template-columns: 1fr; }
}
