/* Insight Dynamics - brand styles (captured from live site 2026-09-02)
   Headings: Switzer 600 · Body: Satoshi 400/500 (Fontshare)
   Palette: deep purple #381C8B · bright purple #6E44FD · amber #FCBB40
            lavender #F4F3FF / #E4E2FF · muted #908BA0 · ink #2A2A2A */

:root {
  --purple-deep: #381C8B;
  --purple-bright: #6E44FD;
  --purple-footer: #1E1247;
  --amber: #FCBB40;
  --lavender: #F4F3FF;
  --lavender-2: #E4E2FF;
  --ink: #2A2A2A;
  --muted: #908BA0;
  --line: rgba(190,190,190,.6);
  --radius: 20px;
  --maxw: 1200px;
  --font-head: "Switzer", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.02em; }

/* ---------- Header (floating purple pill) ---------- */
.site-header {
  position: sticky; top: 14px; z-index: 50;
  padding: 0 14px;
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--purple-deep);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  box-shadow: 0 8px 30px rgba(56,28,139,.25);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .95rem; color: rgba(255,255,255,.75); font-weight: 500; }
.nav a:hover, .nav a.active { color: #fff; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 100px;
  background: var(--amber); color: #fff;
  font-weight: 700; font-size: .95rem; font-family: var(--font-body);
  border: 1px solid var(--amber);
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn.on-dark { color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost.on-light { color: var(--purple-deep); border-color: var(--purple-deep); }
.nav .btn { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  margin-top: -76px; /* pull behind floating header */
  background: var(--purple-deep) url('/assets/img/hero.webp') center/cover no-repeat;
  color: #fff;
  padding: 190px 0 150px;
  position: relative;
}
.hero .container { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.06; }
.hero h1 .accent { color: var(--amber); }
.hero p.lead { margin: 24px auto 0; max-width: 640px; font-size: 1.2rem; color: rgba(255,255,255,.88); }
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* inner page banner */
.banner {
  margin-top: -76px;
  background: var(--purple-deep) center/cover no-repeat;
  color: #fff; padding: 150px 0 70px;
}
.banner .crumbs { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 14px; }
.banner h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.banner p.lead { margin-top: 16px; max-width: 640px; font-size: 1.15rem; color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.lavender { background: var(--lavender); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--purple-bright); margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 4px 24px rgba(56,28,139,.06);
}
.lavender .card { box-shadow: 0 4px 24px rgba(56,28,139,.08); }
.card .icon { height: 76px; width: auto; margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { margin: 18px 0 24px; padding: 0; list-style: none; }
.card ul li { padding-left: 26px; position: relative; margin-bottom: 9px; color: var(--ink); font-size: .96rem; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--purple-bright); font-weight: 700; }

/* ---------- Logo strip ---------- */
.logos { padding: 40px 0 44px; }
.logos.on-dark { background: var(--purple-deep); margin-top: 0; }
.logos.on-dark h6 { color: rgba(255,255,255,.7); }
.logos h6 { text-align: center; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .9rem; margin-bottom: 26px; text-transform: none; }
.logos .row { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; justify-content: center; }
.logos img { height: 30px; width: auto; opacity: .8; }

/* ---------- Phases ---------- */
.phases-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phases { counter-reset: phase; display: grid; gap: 14px; }
.phase {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: #fff; border-radius: 16px; padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(56,28,139,.07);
}
.phase .num {
  counter-increment: phase;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}
.phase .num::before { content: counter(phase); }
.phase h3 { font-size: 1.1rem; margin-bottom: 5px; }
.phase p { color: var(--muted); font-size: .95rem; }
.phases-graphic img { width: 100%; height: auto; }

/* circular 5-steps widget */
.steps-circle {
  position: relative; width: 420px; height: 420px; margin: 0 auto;
  border-radius: 50%; border: 2px dashed var(--lavender-2);
}
.steps-circle .hub {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--purple-deep); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-head); letter-spacing: .1em; font-size: .8rem;
}
.steps-circle .hub span { font-size: 2.2rem; font-weight: 700; letter-spacing: 0; }
.steps-circle .step {
  position: absolute; width: 150px; text-align: center;
  background: #fff; border-radius: 14px; padding: 12px 12px;
  box-shadow: 0 4px 18px rgba(56,28,139,.12);
  font-family: var(--font-body); font-weight: 500; font-size: .85rem; line-height: 1.3;
}
.steps-circle .s1 { top: -8px; left: 50%; transform: translateX(-50%); }
.steps-circle .s2 { top: 30%; right: -40px; }
.steps-circle .s3 { bottom: 6%; right: -20px; }
.steps-circle .s4 { bottom: 6%; left: -20px; }
.steps-circle .s5 { top: 30%; left: -40px; }
@media (max-width: 920px) {
  .steps-circle { width: 320px; height: 320px; }
  .steps-circle .step { width: 120px; font-size: .78rem; }
  .steps-circle .s2 { right: -30px; } .steps-circle .s5 { left: -30px; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 4px 24px rgba(56,28,139,.07);
}
.quote blockquote { font-size: 1rem; color: var(--ink); line-height: 1.55; }
.quote .who { font-size: .9rem; font-weight: 700; }
.quote .who span { display: block; font-weight: 500; color: var(--muted); }

/* ---------- CTA band (bright purple rounded) ---------- */
.cta-band { padding: 0 24px 0; background: transparent; }
.cta-band .inner {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--purple-bright);
  border-radius: 32px;
  color: #fff; text-align: center;
  padding: 72px 32px;
  transform: translateY(70px);
  position: relative; z-index: 2;
}
.cta-band h2 { margin-bottom: 26px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: -10px auto 28px; }
.cta-dark-bg { background: var(--purple-deep) url('/assets/img/cta-bg.webp') center/cover no-repeat; color:#fff; text-align:center; padding: 90px 24px; }
.cta-dark-bg h2 { margin-bottom: 12px; }
.cta-dark-bg p { color: rgba(255,255,255,.85); margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--ink); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Team ---------- */
.team-card { text-align: center; background: transparent; box-shadow: none; padding: 0; }
.team-card img { width: 100%; max-width: 260px; border-radius: 50%; margin: 0 auto 18px; }
.team-card h3 { font-size: 1.15rem; }
.team-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Blog ---------- */
.post-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 4px 24px rgba(56,28,139,.08); display: block; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .body { padding: 26px; }
.post-card .tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--purple-bright); }
.post-card h3 { margin: 10px 0 8px; font-size: 1.3rem; }
.post-meta { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 10px; }
.post-meta img { width: 32px; height: 32px; border-radius: 50%; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 16px; }
.article h2 { font-size: 1.5rem; margin: 42px 0 14px; }
.article h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.article p, .article li { color: var(--ink); margin-bottom: 14px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 16px; }
.article img { border-radius: 12px; margin: 20px 0; }
.article table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.article th { background: var(--lavender); font-family: var(--font-head); }
.table-scroll { overflow-x: auto; }

/* ---------- Newsletter ---------- */
.newsletter form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.newsletter input {
  padding: 13px 18px; border-radius: 100px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: .95rem; min-width: 220px;
}
.newsletter button { cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--purple-footer), #150c33);
  color: rgba(255,255,255,.65); padding: 170px 0 36px; font-size: .95rem;
  margin-top: -70px;
}
.site-footer.no-pull { margin-top: 0; padding-top: 80px; }
.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.site-footer a { display: block; margin-bottom: 10px; color: rgba(255,255,255,.65); }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid.cols-3, .quotes, .grid.cols-2, .phases-wrap { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav {
    display: none; position: absolute; top: 66px; left: 14px; right: 14px;
    background: var(--purple-deep); border-radius: 18px;
    flex-direction: column; padding: 22px 24px; align-items: flex-start; gap: 18px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { top: 10px; }
}
