/* ===== alc-he-mix shared stylesheet ===== */

:root {
  --yellow: #FFD43B;
  --yellow-soft: #FFF1B0;
  --black: #0B0B0B;
  --ink: #1A1A1A;
  --grey-700: #4A4A4A;
  --grey-500: #767676;
  --grey-200: #E8E8E8;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11,11,11,.06), 0 4px 12px rgba(11,11,11,.04);
  --shadow-md: 0 4px 16px rgba(11,11,11,.08), 0 12px 32px rgba(11,11,11,.06);
  --shadow-yellow: 0 8px 24px rgba(255,212,59,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); font-weight: 900; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }
a { color: var(--black); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-700);
  margin: 0 0 1.25rem;
}
.eyebrow-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--grey-700);
  line-height: 1.55;
  max-width: 640px;
}
.yellow-mark {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  padding: 0 .12em;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11,11,11,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900;
  color: var(--black); font-size: 1.1rem;
  line-height: 1;
}
.brand-name .he { background: var(--yellow); padding: 0 4px; border-radius: 4px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 0.95rem; font-weight: 500;
}
.nav-links a { color: var(--grey-700); transition: color .15s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--black); }
.nav-cta {
  background: var(--black); color: var(--white) !important;
  padding: 10px 18px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,11,11,.18); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,212,59,.5); }
.btn-ghost { color: var(--black); border: 1.5px solid var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-dark {
  background: var(--black); color: var(--white);
  box-shadow: 0 12px 28px rgba(11,11,11,.18);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,11,11,.28); }
.btn-arrow { font-size: 1.1em; transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== HERO (homepage) ===== */
.hero {
  padding: clamp(60px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(ellipse at top right, rgba(255,212,59,.18), transparent 55%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-sub {
  color: var(--grey-700);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  margin: 1.25rem 0 2rem;
  max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.75rem; }
.hero-trust {
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: 14px;
  color: var(--grey-700); font-size: 0.92rem;
}
.trust-dots { display: inline-flex; }
.trust-dots span {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--white);
  margin-left: -8px;
}
.trust-dots span:nth-child(2) { background: #0B0B0B; }
.trust-dots span:nth-child(3) { background: #FFF1B0; }
.trust-dots span:first-child { margin-left: 0; }

.hero-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 90px; height: 90px;
  background: var(--yellow);
  border-radius: 22px;
  z-index: -1;
  transform: rotate(8deg);
}
.briefing-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 0.78rem; color: var(--grey-700); font-weight: 600;
  letter-spacing: 0.04em;
}
.briefing-strip .dot {
  display: inline-block; width: 8px; height: 8px;
  background: #2BD17C; border-radius: 50%; margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(43,209,124,.18);
}
.briefing h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 12px; }
.briefing-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 0;
  font-size: 0.93rem;
}
.briefing-row + .briefing-row { border-top: 1px dashed var(--grey-200); }
.briefing-row .pill {
  background: var(--yellow); color: var(--black);
  font-weight: 700; font-size: 0.72rem;
  padding: 3px 9px; border-radius: 100px;
  letter-spacing: 0.04em;
}
.briefing-row .pill.ghost { background: transparent; border: 1px solid var(--grey-200); color: var(--grey-700); }
.briefing-row .label { color: var(--grey-700); }
.briefing-row .num { font-family: var(--serif); font-weight: 700; color: var(--black); font-size: 1.05rem; }

/* ===== SUB-PAGE HERO (about, contact, industries) ===== */
.subhero {
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(ellipse at top right, rgba(255,212,59,.15), transparent 55%),
    var(--white);
}
.subhero h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
.subhero .lede { margin-top: 1.5rem; }
.subhero .hero-ctas { margin-top: 2rem; }

.breadcrumb {
  font-size: 0.88rem;
  color: var(--grey-700);
  margin: 0 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--grey-700);
  border-bottom: 1.5px solid transparent;
  transition: border-color .15s, color .15s;
}
.breadcrumb a:hover { border-bottom-color: var(--yellow); color: var(--black); }

/* ===== SECTION SHARED ===== */
section { padding: clamp(60px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede.center { margin-left: auto; margin-right: auto; }

/* ===== PROBLEM SECTION (dark) ===== */
.problem {
  background: var(--black);
  color: var(--white);
}
.problem h2 { color: var(--white); }
.problem .lede { color: rgba(255,255,255,.72); }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.problem-list li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 18px; align-items: center;
  padding: 18px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.problem-list .time {
  font-family: var(--serif); font-weight: 700;
  color: var(--yellow); font-size: 1.15rem;
}
.problem-list .what { color: rgba(255,255,255,.85); font-size: 0.97rem; }
.verdict {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  color: var(--white);
}
.verdict .yellow-mark {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  color: var(--white);
}

/* Industry-specific dark pain list (single column) */
.problem-list.single { max-width: 760px; margin: 0 auto; }

/* ===== MODULES SECTION ===== */
.modules { background: var(--cream); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .modules-grid { grid-template-columns: 1fr; } }
.module-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.module-icon {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  font-family: var(--serif); font-weight: 900;
  font-size: 1.6rem; color: var(--black);
}
.module-card h3 { margin-bottom: 10px; }
.module-card p { color: var(--grey-700); font-size: 0.97rem; margin: 0; }

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 880px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .how-grid { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 48px; height: 48px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step .meta {
  display: inline-block; font-size: 0.78rem;
  color: var(--grey-500); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.step p { color: var(--grey-700); font-size: 0.96rem; margin: 0; }

/* ===== INDUSTRIES (homepage cards) ===== */
.industries { background: var(--cream); }
.industries-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 880px) { .industries-grid { grid-template-columns: 1fr; } }
.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--ink);
}
.industry-card:hover {
  background: var(--yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.industry-card .tag {
  display: inline-block; font-size: 0.72rem;
  color: var(--grey-500); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.industry-card:hover .tag { color: var(--black); }
.industry-card h3 { margin-bottom: 14px; }
.industry-card ul {
  list-style: none; padding: 0; margin: 0 0 18px;
  color: var(--grey-700); font-size: 0.93rem;
}
.industry-card:hover ul { color: var(--ink); }
.industry-card li {
  padding: 6px 0;
  border-top: 1px dashed var(--grey-200);
}
.industry-card li:first-child { border-top: 0; }
.industry-card .more {
  font-size: 0.88rem; font-weight: 700;
  color: var(--black);
  display: inline-flex; gap: 6px; align-items: center;
}
.industries-cta {
  margin-top: 40px; text-align: center;
  color: var(--grey-700); font-size: 1.02rem;
}
.industries-cta a {
  color: var(--black); font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}

/* ===== AUTOMATIONS GRID (industry detail pages) ===== */
.auto-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
@media (max-width: 760px) { .auto-grid { grid-template-columns: 1fr; } }
.auto-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--grey-200);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.auto-card .check {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900;
  color: var(--black);
}
.auto-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.auto-card p {
  color: var(--grey-700);
  font-size: 0.93rem;
  margin: 0;
}

/* ===== PROOF QUOTE BLOCK ===== */
.proof {
  background: var(--cream);
}
.proof-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  position: relative;
}
.proof-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 32px;
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--yellow);
  line-height: 1;
}
.proof-card blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--black);
  font-weight: 500;
}
.proof-card cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--grey-700);
  font-weight: 600;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--yellow);
  text-align: center;
}
.final-cta h2 {
  max-width: 880px; margin: 0 auto 28px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.final-cta .lede {
  color: var(--ink);
  margin: 0 auto 36px;
  text-align: center;
  max-width: 620px;
  font-weight: 500;
}

/* ===== FORM ===== */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .form-wrap { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-row label .req { color: #C8162A; margin-left: 2px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--yellow);
  background: var(--white);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.83rem; color: var(--grey-500); margin-top: 6px; }
.form-row.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 520px) { .form-row.two-col { grid-template-columns: 1fr; } }
.form-card .btn { width: 100%; justify-content: center; }

.contact-aside h3 { margin-bottom: 14px; }
.contact-aside p { color: var(--grey-700); }
.contact-aside ul {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 14px;
}
.contact-aside li {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 12px; align-items: start;
  font-size: 0.96rem;
  color: var(--grey-700);
}
.contact-aside li::before {
  content: '\2713';
  background: var(--yellow); color: var(--black);
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: 0.78rem;
  margin-top: 2px;
}

/* ===== ABOUT-PAGE STORY ===== */
.story {
  max-width: 760px;
  margin: 0 auto;
}
.story p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.4em;
}
.story p.lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 1.6em;
}
.story-divider {
  width: 60px; height: 4px;
  background: var(--yellow);
  margin: 3rem auto;
  border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255,255,255,.72);
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { max-width: 360px; line-height: 1.55; font-size: 0.95rem; }
footer h4 {
  font-family: var(--sans); font-size: 0.78rem;
  color: var(--white); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 16px;
  font-weight: 700;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(255,255,255,.72); font-size: 0.93rem; transition: color .15s; }
.footer-list a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-tag {
  font-family: var(--serif); font-style: italic;
  color: rgba(255,255,255,.62); font-size: 0.95rem;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
}
.chat-trigger {
  background: var(--black); color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(11,11,11,.28);
  display: flex; align-items: center; gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.chat-trigger:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,11,11,.36); }
.chat-trigger .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255,212,59,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,212,59,.7); }
  70% { box-shadow: 0 0 0 14px rgba(255,212,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,212,59,0); }
}
.chat-panel {
  position: absolute;
  bottom: 70px; right: 0;
  width: min(360px, calc(100vw - 48px));
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(11,11,11,.22);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(10px);
  opacity: 0; pointer-events: none;
  transition: all .2s ease;
  border: 1px solid var(--grey-200);
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1; pointer-events: auto;
}
.chat-head {
  background: var(--black); color: var(--white);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.chat-head .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  color: var(--black); font-family: var(--serif);
  font-weight: 900; font-size: 1.05rem;
}
.chat-head .who { font-weight: 700; font-size: 0.97rem; }
.chat-head .who small { display: block; font-weight: 400; font-size: 0.78rem; opacity: .65; }
.chat-body {
  padding: 18px 20px;
  max-height: 280px; overflow-y: auto;
  background: var(--cream);
}
.chat-msg {
  background: var(--white);
  padding: 12px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: 0.93rem;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.chat-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--grey-200);
  display: flex; gap: 8px;
  background: var(--white);
}
.chat-foot input {
  flex: 1; border: 0;
  font-family: inherit; font-size: 0.93rem;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
}
.chat-foot button {
  background: var(--yellow); color: var(--black);
  padding: 10px 14px; border-radius: 10px;
  font-weight: 700; font-size: 0.88rem;
}

/* ===== CHAT MESSAGE VARIANTS (smart chat) ===== */
.chat-body { display: flex; flex-direction: column; gap: 10px; }
.chat-msg.user {
  background: var(--yellow);
  color: var(--black);
  align-self: flex-end;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
  max-width: 85%;
}
.chat-msg.bot { align-self: flex-start; max-width: 85%; }
.chat-msg a {
  color: var(--black);
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}
.chat-msg.bot a { border-bottom-color: var(--yellow); }
.chat-typing {
  align-self: flex-start;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  display: flex; gap: 4px;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grey-500);
  animation: typing 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ===== DEMO DASHBOARD (industry interactive demos) ===== */
.demo-shell {
  background: var(--cream);
  min-height: calc(100vh - 80px);
  padding: 32px 0 80px;
}
.demo-bar {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.demo-bar .demo-id {
  display: flex; align-items: center; gap: 14px;
}
.demo-bar .demo-logo {
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900;
  color: var(--black); font-size: 1.2rem;
}
.demo-bar .demo-co h2 {
  font-size: 1.1rem; margin: 0;
  font-family: var(--sans);
  font-weight: 700;
}
.demo-bar .demo-co .demo-tag {
  font-size: 0.78rem;
  color: var(--grey-700);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.demo-bar .demo-co .demo-tag::before {
  content: ''; width: 7px; height: 7px;
  background: #2BD17C; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(43,209,124,.18);
}
.demo-bar .demo-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--grey-700);
  align-items: center;
}
.demo-bar .demo-cta {
  background: var(--yellow); color: var(--black);
  padding: 10px 18px; border-radius: 100px;
  font-weight: 700; font-size: 0.88rem;
  border: 0; cursor: pointer;
  text-decoration: none;
}
.demo-bar .demo-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-yellow); transition: transform .15s, box-shadow .15s; }

.demo-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 880px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-side {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 14px;
  position: sticky; top: 100px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) { .demo-side { position: static; } }
.demo-side h3 {
  font-family: var(--sans); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-500); font-weight: 700;
  padding: 8px 12px 12px;
}
.demo-tabs { list-style: none; padding: 0; margin: 0; }
.demo-tab {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  display: flex; align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.demo-tab:hover { background: var(--cream); }
.demo-tab.active {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
}
.demo-tab .tab-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900;
  font-size: 0.95rem;
}
.demo-tab .tab-badge {
  margin-left: auto;
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.demo-tab.active .tab-badge { background: var(--white); color: var(--black); }

.demo-main {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 36px);
  min-height: 600px;
  box-shadow: var(--shadow-sm);
}
.demo-pane { display: none; }
.demo-pane.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.demo-pane > h2 {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 4px;
}
.demo-pane > .pane-sub {
  color: var(--grey-700); font-size: 0.95rem;
  margin-bottom: 28px;
}

.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 760px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi-tile {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px;
}
.kpi-tile .kpi-label {
  font-size: 0.74rem; font-weight: 600;
  color: var(--grey-700);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.kpi-tile .kpi-num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--black); line-height: 1;
}
.kpi-tile .kpi-delta {
  font-size: 0.82rem; margin-top: 6px;
  font-weight: 600;
}
.kpi-delta.up { color: #1F8A4C; }
.kpi-delta.down { color: #B8242A; }
.kpi-delta.flat { color: var(--grey-500); }

.demo-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.demo-table th, .demo-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  white-space: nowrap;
}
.demo-table th {
  font-size: 0.74rem; font-weight: 700;
  color: var(--grey-700);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--cream);
}
.demo-table td.num { font-family: var(--serif); font-weight: 600; text-align: right; }
.demo-table tr:hover td { background: rgba(255,212,59,0.08); }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-pill.ok { background: #DDF5E5; color: #1F8A4C; }
.status-pill.warn { background: #FFF4D1; color: #8A6300; }
.status-pill.alert { background: #FBE0E2; color: #B8242A; }
.status-pill.info { background: #E6EEF8; color: #2A5BA8; }

.brief-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.brief-list li {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 0.93rem;
}
.brief-list .brief-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--grey-700);
  text-transform: uppercase;
}
.brief-list .brief-num {
  font-family: var(--serif); font-weight: 700;
  font-size: 1rem;
}

.draft-row {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
}
.draft-row .draft-meta { color: var(--grey-700); font-size: 0.78rem; margin-bottom: 4px; }
.draft-row .draft-title { font-weight: 700; margin-bottom: 6px; font-size: 0.97rem; }
.draft-row .draft-preview { color: var(--grey-700); font-size: 0.88rem; line-height: 1.5; }
.draft-row .draft-actions { display: flex; gap: 6px; flex-direction: column; }
.draft-btn {
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  background: var(--yellow); color: var(--black);
  border: 0; cursor: pointer;
  white-space: nowrap;
}
.draft-btn.secondary { background: transparent; border: 1.5px solid var(--grey-200); color: var(--grey-700); }
.draft-btn:hover { transform: translateY(-1px); }

.demo-callout {
  margin-top: 36px;
  padding: 24px;
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) { .demo-callout { grid-template-columns: 1fr; } }
.demo-callout p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.demo-callout .demo-callout-cta {
  background: var(--yellow); color: var(--black);
  padding: 12px 22px; border-radius: 100px;
  font-weight: 700; font-size: 0.9rem;
  white-space: nowrap;
}

/* ====================================================================
   MAGIC-WAND SINGLE-PAGE EXPERIENCE
   ==================================================================== */

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.screen { display: none; flex: 1; }
.screen.active { display: flex; flex-direction: column; }

/* ----- Mini brand bar (top of every screen) ----- */
.brand-bar {
  padding: 22px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand-bar .brand { font-size: 1.15rem; }
.brand-bar .brand-mini-actions {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.88rem;
}
.brand-bar .brand-mini-actions a {
  color: var(--grey-700);
  border-bottom: 1.5px solid transparent;
  transition: border-color .15s, color .15s;
}
.brand-bar .brand-mini-actions a:hover { color: var(--black); border-bottom-color: var(--yellow); }
.restart-btn {
  background: transparent;
  border: 1.5px solid var(--grey-200);
  color: var(--grey-700);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.restart-btn:hover { border-color: var(--black); color: var(--black); }

/* ----- LANDING SCREEN (one button) ----- */
#screen-landing {
  background:
    radial-gradient(ellipse at top, rgba(255,212,59,.22), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(255,212,59,.12), transparent 55%),
    var(--white);
}
.landing-content {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 40px);
}
.landing-eyebrow {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-700);
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 8px;
}
.landing-eyebrow::before, .landing-eyebrow::after {
  content: ''; height: 1px; width: 32px;
  background: var(--grey-200);
}
.landing-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 12ch;
}
.landing-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--grey-700);
  margin-bottom: 56px;
  max-width: 540px;
}
.magic-wand-btn {
  background: var(--yellow);
  color: var(--black);
  padding: 26px 56px;
  border-radius: 100px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 36px rgba(255,212,59,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 0; cursor: pointer;
  position: relative;
}
.magic-wand-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 48px rgba(255,212,59,.6);
}
.magic-wand-btn .wand-icon {
  font-size: 1.4em;
  display: inline-block;
  animation: sparkle 2.4s infinite ease-in-out;
}
@keyframes sparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-12deg) scale(1.05); }
  75% { transform: rotate(12deg) scale(1.05); }
}
.landing-foot {
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--grey-500);
}
.landing-foot a {
  color: var(--grey-700);
  font-weight: 600;
  border-bottom: 1.5px solid var(--yellow);
}

/* ----- CONVERSATION SCREEN ----- */
#screen-convo { background: var(--cream); }
.convo-shell {
  flex: 1;
  display: flex; flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 28px);
}
.convo-body {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 14px;
  padding: 28px 0 24px;
  overflow-y: auto;
}
.convo-msg {
  max-width: 92%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1.55;
  animation: convoFadeIn .3s ease;
}
@keyframes convoFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.convo-msg.bot {
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.convo-msg.bot.meta {
  background: transparent;
  box-shadow: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 700;
  padding: 4px 0;
  border-radius: 0;
}
.convo-msg.bot.question {
  background: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--black);
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
  border-bottom-left-radius: 8px;
}
.convo-msg.user {
  background: var(--yellow);
  color: var(--black);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}
.convo-msg.bot a {
  color: var(--black);
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}
.convo-typing {
  align-self: flex-start;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  display: flex; gap: 5px;
  box-shadow: var(--shadow-sm);
}
.convo-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grey-500);
  animation: typing 1.4s infinite ease-in-out;
}
.convo-typing span:nth-child(2) { animation-delay: 0.2s; }
.convo-typing span:nth-child(3) { animation-delay: 0.4s; }

.convo-input-area {
  padding: 14px 0 28px;
  position: sticky; bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--cream) 30%);
}
.convo-text-row {
  display: flex; gap: 10px;
  background: var(--white);
  padding: 8px 8px 8px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid transparent;
  transition: border-color .15s;
}
.convo-text-row:focus-within { border-color: var(--yellow); }
.convo-text-row input,
.convo-text-row textarea {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 1rem;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  resize: none;
}
.convo-send {
  background: var(--black);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s;
}
.convo-send:hover { transform: translateY(-1px); }
.convo-send:disabled { opacity: 0.4; cursor: not-allowed; }
.convo-choices {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-start;
}
.convo-choice-btn {
  background: var(--white);
  color: var(--black);
  padding: 18px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  flex: 1; min-width: 200px;
  display: flex; flex-direction: column; gap: 4px;
}
.convo-choice-btn:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}
.convo-choice-btn .choice-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
}
.convo-choice-btn .choice-sub {
  font-size: 0.85rem;
  color: var(--grey-700);
  font-weight: 400;
}
.convo-choice-btn:hover .choice-sub { color: var(--ink); }

/* Progress bar for path B */
.convo-progress {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  font-size: 0.78rem;
  color: var(--grey-700);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.convo-progress-track {
  flex: 1;
  height: 6px;
  background: var(--grey-200);
  border-radius: 100px;
  overflow: hidden;
}
.convo-progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 100px;
  transition: width .4s ease;
}

/* ----- RESULT BLOCKS (inside convo body when discovery completes) ----- */
.result-block {
  align-self: stretch;
  background: var(--white);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  margin: 16px 0;
  animation: convoFadeIn .5s ease;
}
.result-block .result-eyebrow {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-700);
  margin-bottom: 14px;
}
.result-block h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.result-roi-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
}
.result-roi-num .currency { color: var(--yellow); }
.result-roi-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.result-roi-meta .meta-tile {
  background: var(--cream);
  padding: 18px;
  border-radius: 12px;
}
.result-roi-meta .meta-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-700);
  margin-bottom: 8px;
}
.result-roi-meta .meta-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}

/* ----- OPPORTUNITY MATRIX (visual quadrant chart) ----- */
.matrix-block { padding: clamp(24px, 4vw, 32px) !important; }
.matrix-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-bottom: 24px;
}
.matrix-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.engine-legend { display: flex; gap: 8px; flex-wrap: wrap; }
.engine-chip {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.engine-chip.acquisition { background: #DCEAFB; color: #1E3F6E; }
.engine-chip.delivery { background: #DDF1DD; color: #1F5F1F; }
.engine-chip.support { background: #FFE5C4; color: #7A4A0A; }

.matrix {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  grid-template-rows: 1fr 1fr 40px;
  background: #F4EFE0;
  border-radius: 16px;
  padding: 18px;
  position: relative;
  min-height: 480px;
  gap: 12px;
}
@media (max-width: 600px) { .matrix { grid-template-rows: auto auto auto auto auto; grid-template-columns: 1fr; min-height: auto; } }

.matrix-y-axis {
  grid-row: 1 / 3;
  grid-column: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.matrix-y-axis .axis-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-700);
}
.matrix-y-axis .axis-edge {
  position: absolute; font-size: 0.72rem; font-weight: 600;
  color: var(--grey-500); letter-spacing: 0.06em; text-transform: uppercase;
}
.matrix-y-axis .axis-edge.top { top: 4px; }
.matrix-y-axis .axis-edge.bottom { bottom: 4px; }

.matrix-x-axis {
  grid-row: 3;
  grid-column: 2 / 4;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.matrix-x-axis .axis-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-700);
}
.matrix-x-axis .axis-edge {
  position: absolute; font-size: 0.72rem; font-weight: 600;
  color: var(--grey-500); letter-spacing: 0.06em; text-transform: uppercase;
}
.matrix-x-axis .axis-edge.left { left: 6px; }
.matrix-x-axis .axis-edge.right { right: 6px; }

.matrix-quad {
  background: var(--white);
  border: 1.5px dashed rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 8px;
  position: relative;
}
.matrix-quad-title {
  position: absolute;
  top: 10px; left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-700);
  letter-spacing: 0;
}
.matrix-quad-cards {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 7px;
}
.matrix-card {
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid rgba(0,0,0,.05);
  position: relative;
  display: block;
}
.matrix-card.acquisition { background: #DCEAFB; border-color: #B5D0EE; color: #1E3F6E; }
.matrix-card.delivery { background: #DDF1DD; border-color: #B6DFB6; color: #1F5F1F; }
.matrix-card.support { background: #FFE5C4; border-color: #F2CB97; color: #7A4A0A; }
.matrix-card.starred::before {
  content: '★';
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.66rem;
  color: var(--black);
  font-weight: 900;
  line-height: 1;
}

/* Result CTA block */
.result-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(28px, 5vw, 48px) !important;
}
.result-cta h3 { color: var(--white); margin-bottom: 14px; }
.result-cta p { color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.result-cta .btn {
  background: var(--yellow);
  color: var(--black);
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-yellow);
  transition: transform .15s, box-shadow .15s;
}
.result-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,212,59,.55); }

.vision-bullet {
  background: var(--yellow-soft) !important;
  border-left: 4px solid var(--yellow);
  border-bottom-left-radius: 8px;
  padding-left: 22px;
  font-family: var(--serif);
}

/* ===== UTILITY ===== */
::selection { background: var(--yellow); color: var(--black); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
