/* =========================================================================
   Tech Plan Genie — Marketing Site (refinement layer)

   Refinements applied on top of /colors_and_type.css:
   ─────────────────────────────────────────────────────────────────────────
   1. Tightened display scale — H1 caps at 88px (down from 96px) so the
      headline reads as confident, not shouty, to enterprise buyers.
   2. Added "asymmetric" pain·promise — the WITH column gets weight, the
      WITHOUT column is muted so the eye lands on the answer first.
   3. Re-introduced the wide-tracked eyebrow as a token class
      (`.eyebrow`) instead of inline `&nbsp;` hacks.
   4. Module grid lifted from the dashboard: white tiles, purple stroke
      icons, 16px radius, soft warm shadows.
   5. Hero scene is full-bleed and acts as the visual handoff between
      "the pitch" and "the product" — earning the genie's screen time.
   6. Wordmark used ONCE in the nav. Hero gets the genie character isolated.
   ========================================================================= */

/* ----- Layout primitives --------------------------------------------------- */
.wrap     { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-mid { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 28px; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
[data-density="compact"] .section { padding: clamp(48px, 6vw, 80px) 0; }

/* ----- Refined eyebrow (no &nbsp; hacks) ---------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: inline-block;
}
.eyebrow.on-dark   { color: var(--tpg-orange-300); }
.eyebrow.muted     { color: var(--fg-muted); }

/* ----- Display headline (tightened) --------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7.4vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--tpg-ink);
  margin: 0;
}
.h-display .accent { color: var(--brand-accent); }

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--tpg-ink);
  margin: 0;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--tpg-ink);
  margin: 0;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 56ch;
}

.body { font-size: 16px; line-height: 1.55; color: var(--fg-3); margin: 0; }
.small { font-size: 13.5px; color: var(--fg-muted); margin: 0; }

/* ----- Buttons (canonical) ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; border-radius: 9999px;
  padding: 14px 24px; font-size: 15px;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  text-decoration: none;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary { background: var(--tpg-purple); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, var(--shadow-sm); }
.btn-primary:hover { background: var(--tpg-purple-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent { background: var(--tpg-orange); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, var(--shadow-sm); }
.btn-accent:hover { background: var(--tpg-orange-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--brand-primary); box-shadow: inset 0 0 0 1.5px var(--brand-primary); }
.btn-ghost:hover { background: var(--tpg-purple-50); color: var(--brand-primary); }

.btn-ghost-on-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.btn-ghost-on-dark:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Defensive: the global a:hover rule sets color, which can win against .btn-*:hover
   on specificity in some cascades. text-decoration is also dropped explicitly. */
a.btn, a.btn:hover { text-decoration: none; }

/* ----- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--tpg-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 28px; max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-link {
  color: var(--fg-2); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--brand-primary); }

/* About dropdown */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > .nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--fg-2); font-size: 14.5px; font-weight: 500; padding: 0;
}
.nav-dropdown > .nav-link svg { width: 11px; height: 11px; transition: transform 0.2s; }
.nav-dropdown:hover > .nav-link { color: var(--brand-primary); }
.nav-dropdown:hover > .nav-link svg { transform: rotate(180deg); }
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 168px; background: #fff;
  border: 1px solid var(--tpg-line);
  box-shadow: 0 12px 32px rgba(31,27,46,0.12);
  padding: 6px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; font-size: 14px; font-weight: 500;
  color: var(--tpg-ink); text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--bg-cream); color: var(--brand-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-signin { color: var(--fg-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-signin:hover { color: var(--brand-primary); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ----- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; text-align: left; }
.hero-copy .h-display { text-align: left; }
.hero-copy .lead {
  font-weight: 600;
  color: var(--tpg-ink);
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.01em;
}
.hero-copy .body { color: var(--fg-3); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; margin-bottom: 8px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--fg-muted);
  margin-top: 4px;
}
.hero-trust::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--tpg-success);
  box-shadow: 0 0 0 3px rgba(24,169,87,0.15);
}

.hero-art {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.hero-art::before {
  /* warm radial glow behind the genie */
  content: "";
  position: absolute; inset: -10% -10% -10% -10%;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(253,140,0,0.22), rgba(253,140,0,0) 70%),
    radial-gradient(40% 50% at 70% 55%, rgba(82,20,192,0.16), rgba(82,20,192,0) 70%);
  filter: blur(2px);
  z-index: 0;
}
.hero-genie {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; height: auto;
  display: block;
  /* no crop — image is the source-of-truth animation */
}

/* Hero scene band — handoff between pitch and product */
.scene-band {
  margin-top: clamp(48px, 6vw, 80px);
  position: relative;
}
.scene-band-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--tpg-line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-cream);
  position: relative;
}
.scene-band-frame img { width: 100%; height: auto; display: block; }
.scene-band-tag {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(26,13,46,0.78);
  color: #fff; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 8px;
}
.scene-band-tag .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--tpg-orange);
  box-shadow: 0 0 0 4px rgba(253,140,0,0.25);
}

/* ----- Logo strip --------------------------------------------------------- */
.logo-strip {
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  padding: 28px 0 0;
}
.logo-strip .lbl {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-muted);
}
.logo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px dashed var(--tpg-line-strong);
  font-family: var(--font-display); font-weight: 700;
  color: var(--fg-3); font-size: 14px; letter-spacing: 0.01em;
}
.logo-chip::before {
  content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--tpg-purple-100);
  box-shadow: inset 0 0 0 1px var(--tpg-line-strong);
}

/* ----- Pain · Promise (asymmetric refinement) ----------------------------- */
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }

.pp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pp-col {
  border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
}
.pp-without {
  background: #f7f5fa;
  border: 1px solid var(--tpg-line);
}
.pp-without .pp-h { color: var(--fg-muted); }
.pp-without .pp-item { color: var(--fg-3); }
.pp-without .pp-mark {
  background: #e9e4f1; color: #7a6e94;
}

.pp-with {
  background: var(--bg-cream);
  border: 2px solid var(--tpg-orange);
  box-shadow: 0 12px 32px rgba(253,140,0,0.14);
  position: relative;
}
.pp-with::before {
  content: "With Tech Plan Genie";
  position: absolute; top: -14px; left: 24px;
  background: var(--tpg-orange); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pp-with .pp-h { color: var(--tpg-ink); }
.pp-with .pp-item { color: var(--tpg-ink-2); font-weight: 500; }
.pp-with .pp-mark {
  background: var(--tpg-orange); color: #fff;
}

.pp-h {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; margin: 0;
}
.pp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pp-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; line-height: 1.5;
}
.pp-mark {
  flex: 0 0 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; margin-top: 1px;
}

@media (max-width: 800px) { .pp-grid { grid-template-columns: 1fr; } }

/* ----- 12 Modules grid (lifted from dashboard) --------------------------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) { .modules-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .modules-grid { grid-template-columns: repeat(2, 1fr); } }

.module-tile {
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}
.module-tile:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--tpg-purple);
  box-shadow: var(--shadow-md);
}
.module-tile .icon { color: var(--brand-primary); width: 40px; height: 40px; }
.module-tile .label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14.5px; color: var(--brand-primary);
  letter-spacing: -0.005em;
}
.module-tile.is-featured {
  border: 2px solid var(--tpg-orange);
  box-shadow: 0 8px 24px rgba(253,140,0,0.18);
}
.module-tile.is-featured .label { color: var(--tpg-orange); }

/* ----- Deliverables (Walk Away) ------------------------------------------ */
.deliv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 800px) { .deliv-grid { grid-template-columns: 1fr; } }

.deliv-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--tpg-line);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.deliv-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.deliv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tpg-orange-50), var(--tpg-purple-50));
  color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--tpg-line);
}
.deliv-icon svg { width: 28px; height: 28px; }

/* Featured deliverable — sample plan preview */
.deliv-feature {
  grid-column: span 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  background: linear-gradient(135deg, #fff 60%, var(--bg-cream));
  border: 1px solid var(--tpg-line);
  border-radius: 28px;
  padding: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.deliv-feature .copy { display: flex; flex-direction: column; gap: 14px; }
.deliv-feature .preview {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tpg-line);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.deliv-feature:hover .preview { transform: rotate(0) scale(1.02); }
.deliv-feature .preview img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .deliv-feature { grid-template-columns: 1fr; grid-column: span 1; }
}

/* ----- Who for ------------------------------------------------------------ */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) { .who-grid { grid-template-columns: 1fr; } }

.who-card {
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.who-card:hover { border-color: var(--brand-primary); transform: translateY(-2px); }
.who-card .h {
  font-family: var(--font-display); font-weight: 800;
  font-size: 21px; color: var(--brand-primary); margin: 0;
  letter-spacing: -0.01em;
}

/* ----- Founder note ------------------------------------------------------- */
.founder {
  background: var(--tpg-ink);
  color: #fff;
  border-radius: 32px;
  padding: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 56px);
  align-items: center;
  position: relative; overflow: hidden;
}
.founder::before {
  /* subtle circuit-line motif from the output document */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(253,140,0,0.18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(82,20,192,0.30), transparent 70%);
  pointer-events: none;
}
.founder > * { position: relative; z-index: 1; }
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 12px,
      rgba(255,255,255,0.08) 12px 24px);
  border: 1px dashed rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 24px;
}
.founder-quote {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0;
}
.founder-quote::before { content: "\201C"; color: var(--tpg-orange); margin-right: 0.1em; }
.founder-byline { color: rgba(255,255,255,0.65); font-size: 14.5px; }
.founder-byline strong { color: #fff; font-weight: 600; }

@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }

/* ----- FAQ ---------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color var(--dur-base) var(--ease-out);
}
.faq details[open] { border-color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  font-size: 17.5px; color: var(--tpg-ink);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--tpg-purple-50); color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; background: var(--brand-primary); color: #fff; }
.faq .a {
  margin-top: 12px; color: var(--fg-3); font-size: 15.5px; line-height: 1.55;
  max-width: 70ch;
}

/* ----- Final CTA banner --------------------------------------------------- */
.cta-banner {
  background:
    radial-gradient(60% 100% at 80% 0%, rgba(253,140,0,0.30), transparent 70%),
    linear-gradient(135deg, var(--tpg-purple-700), var(--tpg-purple));
  color: #fff;
  border-radius: 32px;
  padding: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px);
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-banner-genie {
  width: 160px; height: auto; display: block;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 12px 32px rgba(0,0,0,0.22);
  transform: rotate(-3deg);
  transition: transform var(--dur-base) var(--ease-spring);
}
.cta-banner:hover .cta-banner-genie { transform: rotate(0); }
.cta-banner h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.cta-banner p { color: rgba(255,255,255,0.82); margin: 0; font-size: 16px; }

@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner-genie { margin: 0 auto; }
}

/* ----- Footer ------------------------------------------------------------- */
.footer { background: #000; color: #fff; padding: 64px 28px 24px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand img { width: 130px; height: auto; filter: brightness(0) invert(1); display: block; }
.footer-brand { display: flex; flex-direction: column; }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; letter-spacing: -0.015em; line-height: 1;
  color: #fff; display: inline-block;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 16px 0 0; max-width: 36ch; }
.footer h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--tpg-orange); margin: 0 0 16px;
}
.footer a {
  display: block; color: rgba(255,255,255,0.7); font-size: 14.5px;
  text-decoration: none; padding: 5px 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer a:hover { color: var(--tpg-orange-300); }
.footer .footer-social {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: auto; align-self: flex-start;
  color: rgba(255,255,255,0.7); padding: 5px 0;
}
.footer .footer-social svg { width: 27px; height: 27px; display: block; }
.footer .footer-social:hover { color: var(--tpg-orange-300); }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.footer-bottom .nonprofit {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--tpg-orange-300);
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   TWEAK VARIANTS — body-level data-attributes
   ========================================================================= */

/* Color emphasis */
body[data-color="purple-led"] .h-display .accent { color: var(--brand-primary); }
body[data-color="purple-led"] .pp-with { border-color: var(--tpg-purple); box-shadow: 0 12px 32px rgba(82,20,192,0.16); }
body[data-color="purple-led"] .pp-with::before { background: var(--tpg-purple); }
body[data-color="purple-led"] .pp-with .pp-mark { background: var(--tpg-purple); }
body[data-color="purple-led"] .module-tile.is-featured { border-color: var(--tpg-purple); box-shadow: 0 8px 24px rgba(82,20,192,0.18); }
body[data-color="purple-led"] .module-tile.is-featured .label { color: var(--tpg-purple); }

body[data-color="orange-led"] .btn-primary { background: var(--tpg-orange); }
body[data-color="orange-led"] .btn-primary:hover { background: var(--tpg-orange-600); }
body[data-color="orange-led"] .module-tile .icon,
body[data-color="orange-led"] .module-tile .label { color: var(--tpg-orange-600); }
body[data-color="orange-led"] .who-card .h { color: var(--tpg-orange-600); }
body[data-color="orange-led"] .h-display { color: var(--tpg-orange-600); }
body[data-color="orange-led"] .h-display .accent { color: var(--tpg-purple); }

/* Mascot prominence */
body[data-mascot="off"] .hero-art { display: none; }
body[data-mascot="off"] .hero-grid { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; text-align: left; }
body[data-mascot="off"] .cta-banner-genie { display: none; }
body[data-mascot="off"] .cta-banner { grid-template-columns: 1fr auto; }

body[data-mascot="subtle"] .hero-genie { max-width: 380px; opacity: 0.95; }
body[data-mascot="subtle"] .cta-banner-genie { width: 110px; }

body[data-mascot="hero"] .hero-genie { max-width: 660px; }
body[data-mascot="hero"] .hero-art::before { opacity: 1.3; }
body[data-mascot="hero"] .cta-banner-genie { width: 200px; }

/* Density */
body[data-density="compact"] .h-display { font-size: clamp(40px, 6vw, 68px); }
body[data-density="compact"] .h-section { font-size: clamp(28px, 3.6vw, 44px); }
body[data-density="compact"] .lead { font-size: 17px; }
body[data-density="compact"] .module-tile { padding: 16px 12px; gap: 10px; }
body[data-density="compact"] .deliv-card { padding: 22px; }

body[data-density="airy"] .section { padding: clamp(96px, 11vw, 160px) 0; }
body[data-density="airy"] .h-display { font-size: clamp(56px, 8vw, 104px); }
body[data-density="airy"] .module-tile { padding: 28px 20px; }

/* Hero variant */
body[data-hero="typographic"] .hero-art { display: none; }
body[data-hero="typographic"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
body[data-hero="typographic"] .hero-copy { align-items: center; }
body[data-hero="typographic"] .hero-copy .lead { text-align: center; }
body[data-hero="typographic"] .h-display { font-size: clamp(64px, 10vw, 132px); }

body[data-hero="product-led"] .hero-art { order: -1; }
body[data-hero="product-led"] .scene-band { margin-top: 0; }

/* ----- Footer wordmark fix: use a white tint instead of filter so it stays readable */
@media (max-width: 540px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; }
  .hero-genie { max-width: 320px; }
}

/* =========================================================================
   NEW SECTIONS — for the v1 homepage copy
   ========================================================================= */

/* ----- Pre-hero typographic device ---------------------------------------- */
.kicker {
  display: inline-flex; flex-wrap: wrap; gap: 6px 12px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0;
}
.kicker .dot {
  color: var(--brand-accent); margin: 0 4px;
  display: inline-block; transform: translateY(-2px);
}
.kicker .word { display: inline-block; }

/* ----- Pull quote / social proof ---------------------------------------- */
.pull-quote {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pull-quote .mark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(80px, 9vw, 132px);
  line-height: 0.7;
  color: var(--tpg-orange);
  align-self: start;
  margin-top: -8px;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--tpg-ink);
}
.pull-quote cite {
  display: block; margin-top: 16px;
  font-style: normal; font-size: 14px; color: var(--fg-3);
}
.pull-quote cite strong { color: var(--tpg-ink); font-weight: 600; }
.pull-quote .pending {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex; gap: 6px; align-items: center;
}
@media (max-width: 700px) {
  .pull-quote { grid-template-columns: 1fr; }
  .pull-quote .mark { font-size: 80px; margin-bottom: -20px; }
}

/* ----- Pain statement section ---------------------------------------- */
.pain {
  background: var(--tpg-purple-700);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pain::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 65% at 100% 100%, rgba(253,140,0,0.20), transparent 65%),
    radial-gradient(35% 55% at 0% 0%, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.pain > * { position: relative; z-index: 1; }
.pain-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.pain-text { display: flex; flex-direction: column; gap: 20px; }
.pain-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0;
}
.pain-title .accent { color: var(--tpg-orange); }
.pain-text p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 56ch;
}
.pain-shot {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-xl);
  transform: rotate(1.5deg);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.pain-shot:hover { transform: rotate(0); }
.pain-shot img { width: 100%; height: auto; display: block; }

.pain-close {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 0;
  max-width: none;
}
.pain-close .accent { color: var(--tpg-orange); }
@media (max-width: 880px) { .pain-inner { grid-template-columns: 1fr; } }

/* ----- How it works (Plan it / Track it / Prove it) ---------------------- */
.how-row {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--tpg-line);
}
.how-row:first-of-type { border-top: none; padding-top: clamp(32px, 4vw, 56px); }
.how-row.reversed .how-copy { order: 2; }
.how-row.reversed .how-bullets { order: 1; }

.how-copy { display: flex; flex-direction: column; gap: 14px; }
.how-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--brand-accent);
  display: inline-block;
  margin: 0 0 -8px;
}
.how-row.is-track .how-num { color: var(--brand-primary); }
.how-row.is-prove .how-num { color: var(--tpg-purple-700); }
.how-h {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--tpg-ink);
  margin: 0;
  text-transform: none;
}
.how-body { font-size: 17px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: 52ch; }

.how-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  counter-reset: how;
  padding-top: clamp(12px, 2vw, 24px); /* aligns roughly with the body, no card chrome */
}
.how-bullets .bul {
  counter-increment: how;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.35;
  color: var(--tpg-ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.how-bullets .bul::before {
  content: counter(how, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--brand-accent);
  min-width: 22px;
  font-variant-numeric: tabular-nums;
}
.how-bullets .bul .tick { display: none; }
.how-row.is-track .how-bullets .bul::before { color: var(--brand-primary); }
.how-row.is-prove .how-bullets .bul::before { color: var(--tpg-purple-700); }
.how-bullets .bul strong { color: var(--tpg-ink); font-weight: 700; }

@media (max-width: 880px) {
  .how-row { grid-template-columns: 1fr; gap: 20px; padding: clamp(32px, 5vw, 56px) 0; }
  .how-row.reversed .how-copy { order: 0; }
  .how-row.reversed .how-bullets { order: 1; }
  .how-bullets { padding-top: 0; }
}

/* ----- Personas (Tech Director / Principal / CFO) ------------------------ */
.persona-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  align-items: start;
}
.persona-card + .persona-card { margin-top: 20px; }
.persona-tag {
  font-family: var(--font-display); font-weight: 800;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-primary);
  display: inline-block; margin: 0 0 8px;
}
.persona-h {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--tpg-ink);
  margin: 0;
}
.persona-lede {
  font-size: 17px; line-height: 1.55; color: var(--fg-2);
  margin: 14px 0 0;
}
.persona-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.persona-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; line-height: 1.45; color: var(--tpg-ink-2);
  padding-left: 0;
}
.persona-bullets li::before {
  content: "";
  flex: 0 0 8px; width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand-accent);
  margin-top: 8px;
}
.persona-cfo .persona-tag { color: var(--tpg-orange-600); }
.persona-principal .persona-tag { color: var(--tpg-purple-700); }

@media (max-width: 800px) {
  .persona-card { grid-template-columns: 1fr; }
}

/* ----- Meet the Genie (light treatment, locked to site rhythm) -------- */
.genie-feature {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.genie-feature .copy { display: flex; flex-direction: column; gap: 14px; }
.genie-feature p {
  font-size: 17px; line-height: 1.6; color: var(--fg-2); margin: 0;
  max-width: 56ch;
}
.genie-feature .visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.genie-feature .visual img {
  width: 100%; max-width: 420px; height: auto; display: block;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--tpg-line);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.genie-feature:hover .visual img { transform: rotate(0); }
@media (max-width: 880px) { .genie-feature { grid-template-columns: 1fr; } }

/* ----- Service tiers ---------------------------------------------------- */
.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  background: #fff;
  border: 1px solid var(--tpg-line);
  border-radius: 24px;
  padding: clamp(24px, 2.8vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  position: relative;
}
.tier-card:hover { transform: translateY(-3px); border-color: var(--brand-primary); }
.tier-tag {
  font-family: var(--font-display); font-weight: 800;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted);
}
.tier-h {
  font-family: var(--font-display); font-weight: 900;
  font-size: 28px; line-height: 1.05; letter-spacing: -0.015em;
  color: var(--tpg-ink); margin: 0;
}
.tier-body { font-size: 15.5px; line-height: 1.5; color: var(--fg-3); margin: 0; }
.tier-card.is-featured {
  border: 2px solid var(--tpg-orange);
  box-shadow: 0 12px 32px rgba(253,140,0,0.16);
}
.tier-card.is-featured .tier-tag { color: var(--tpg-orange); }
.tier-card .pricing-line {
  margin-top: auto;
  padding-top: 14px; border-top: 1px dashed var(--tpg-line);
  font-size: 13px; color: var(--fg-muted);
}
.tier-footnote {
  margin-top: 24px; text-align: center;
  font-size: 14px; color: var(--fg-3);
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.tier-footnote strong { color: var(--tpg-ink); }

/* ----- Case study placeholder ------------------------------------------- */
.case-placeholder {
  background:
    repeating-linear-gradient(135deg,
      var(--bg-cream) 0 16px,
      #fff 16px 32px);
  border: 1.5px dashed var(--tpg-orange);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.case-placeholder .lbl {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tpg-orange-600);
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--tpg-orange-100);
}
.case-placeholder h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.4vw, 40px); margin: 0;
  color: var(--tpg-ink);
  letter-spacing: -0.018em; line-height: 1.05;
}
.case-placeholder p { font-size: 15.5px; color: var(--fg-3); max-width: 56ch; margin: 0; }

/* ----- About / Founder bio ---------------------------------------------- */
.about-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--tpg-purple-50), var(--bg-cream)),
    repeating-linear-gradient(135deg,
      rgba(82,20,192,0.04) 0 12px,
      rgba(253,140,0,0.04) 12px 24px);
  border: 1px dashed var(--tpg-line-strong);
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.about-portrait .lbl {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.about-portrait strong {
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; color: var(--tpg-ink); letter-spacing: -0.01em;
}
.about-quote {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--tpg-ink);
  margin: 0 0 20px;
}
.about-quote .accent { color: var(--brand-accent); }
.about-body { font-size: 17px; line-height: 1.6; color: var(--fg-2); margin: 0 0 14px; max-width: 56ch; }
.about-body:last-child {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25; color: var(--tpg-ink); letter-spacing: -0.01em;
  margin-top: 24px;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* ----- Screenshot inset (How it works) -------------------------------- */
.platform-shot {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.platform-shot .caption {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.platform-shot .caption::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--tpg-orange);
}
.platform-shot .frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--tpg-line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.platform-shot .frame img { width: 100%; height: auto; display: block; }

/* ----- Footer nonprofit block ----------------------------------------- */
.footer-nonprofit {
  max-width: 1200px; margin: 40px auto 0;
  background: rgba(253, 140, 0, 0.08);
  border: 1px solid rgba(253, 140, 0, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.footer-nonprofit .badge {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--tpg-orange);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  font-family: var(--font-display);
}
.footer-nonprofit .copy {
  display: flex; flex-direction: column; gap: 2px;
}
.footer-nonprofit .lbl {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tpg-orange-300);
}
.footer-nonprofit .desc {
  font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.78); margin: 0;
}


/* Header login button */
.nav-signin { color: var(--brand-primary); font-weight: 700; padding: 9px 18px; border: 1.5px solid var(--brand-primary); border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav-signin:hover { background: var(--brand-primary); color: #fff; }
