:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #1c2b3f;
  --muted: #56677d;
  --line: #e1e7ef;
  --accent: #8a742c;
  --accent-ink: #ffffff;
  --accent-soft: #f5f0e1;
  --brand-teal: #d1b45e;
  --teal: #8a742c;
  --gold: #e9a23b;
  --violet: #6c5ce7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(28,43,63, .08);
  --max: 1160px;
}

/* Per-audience accent */
body.aud-teachers { --accent: #00908e; --accent-soft: #e0f4f3; }
body.aud-safety { --accent: #e9a23b; --accent-soft: #fdf3e2; --accent-ink: #1c2b3f; }
body.aud-orgs { --accent: #2f6fd6; --accent-soft: #e6effc; }
body.aud-community { --accent: #e0603f; --accent-soft: #fdeee9; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, h4 { font-family: "Heebo", sans-serif; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
body.aud-safety .eyebrow { color: #9a6310; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit; font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Heebo"; font-weight: 800; font-size: 1.4rem; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: .95rem; letter-spacing: .5px;
}
.logo-mark { font-size: 1.2rem; color: var(--accent); }
.logo-4 { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }
.nav-links .btn { padding: 9px 20px; margin-inline-start: 8px; }
.nav-links .btn:hover { background: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; inset-inline: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: "Heebo"; font-size: 1.8rem; }
.hero-stats span { color: var(--muted); font-size: .92rem; }
.hero-visual {
  position: relative; min-height: 420px; border-radius: 32px;
  background: var(--ink);
  padding: 28px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-teal); filter: blur(60px); opacity: .55; top: -15%; inset-inline-end: -15%;
}
.chat-bubble {
  position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  padding: 12px 16px; border-radius: 16px; font-size: .95rem; max-width: 88%;
}
.chat-bubble.me { align-self: flex-start; border-bottom-right-radius: 4px; }
.chat-bubble.ai { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border: 0; border-bottom-left-radius: 4px; }
.chat-label { font-size: .75rem; opacity: .7; display: block; margin-bottom: 2px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: auto; min-height: 320px; }
}

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
body.aud-safety .icon { color: #b0750f; }
.icon svg { width: 26px; height: 26px; }

/* Audience cards on home */
.aud-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  border-top: 5px solid var(--c);
  position: relative;
}
.aud-card .icon { background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); }
.aud-card .more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--c); }
.aud-card ul { margin: 0 0 8px; padding-inline-start: 20px; color: var(--muted); font-size: .95rem; }

/* Formats */
.format { position: relative; }
.format .tag { font-size: .82rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
.format.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.format.featured .tag, .format.featured p { color: rgba(255,255,255,.75); }

/* Split / checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "check"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 3px;
}

/* Syllabus */
.syllabus { counter-reset: s; display: grid; gap: 14px; }
.syllabus .card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 22px 26px; }
.syllabus .card::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: "Heebo"; font-weight: 800; font-size: 1.6rem; color: var(--accent); line-height: 1.2;
}
body.aud-safety .syllabus .card::before { color: #b0750f; }
.syllabus h3 { margin-bottom: 4px; }
.syllabus p { color: var(--muted); }

/* Pain -> gain */
.pain { font-size: .95rem; color: var(--muted); margin-bottom: 10px; }
.pain b { color: var(--ink); }
.gain { font-weight: 500; }

/* Page hero (audience) */
.page-hero { padding: 72px 0 64px; background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.pill { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 99px; font-size: .9rem; font-weight: 500; }

/* Quote */
.quote { font-size: 1.1rem; }
.quote footer { margin-top: 14px; font-size: .9rem; color: var(--muted); font-style: normal; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--ink); color: #fff; border-radius: 28px;
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: var(--accent); opacity: .35; filter: blur(70px); inset-inline-start: -80px; bottom: -160px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 36px 26px; } }

/* Form */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form.sent .form-grid, .form.sent .btn, .form.sent .form-note { display: none; }
.form.sent .form-success { display: block; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list a { text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer { padding: 56px 0 32px; background: var(--ink); color: rgba(255,255,255,.75); margin-top: 88px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo-mark { background: #fff; color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
}
.wa-float svg { width: 30px; height: 30px; }
/* On the phone the page's buttons sit on the right; keep the floating button clear of them. */
@media (max-width: 720px) { .wa-float { inset-inline-start: auto; inset-inline-end: 16px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* About */
.about { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: center; }
.about-photo {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--ink); aspect-ratio: 4 / 5; width: 230px;
  display: flex; align-items: flex-end; justify-content: center;
  box-shadow: var(--shadow);
}
.about-photo::before {
  content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-teal); top: 12%; inset-inline-start: 7.5%;
}
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(209,180,94,.4), transparent 45%);
}
.about-photo img { position: relative; z-index: 1; width: 92%; height: auto; }
.about-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.about-facts strong { display: block; font-family: "Heebo"; color: var(--accent); }
.about-facts span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }
.about > * { min-width: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { width: 180px; }
}
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr; } }

/* Contact card with photo */
.contact-card { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.contact-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); }
.contact-card strong { display: block; font-family: "Heebo"; }

/* Logo image */
.logo img { height: 42px; width: auto; }
.site-footer .logo img { height: 72px; }

/* ===== Hero v2 ===== */
.hero2 {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
  padding: 88px 0 44px;
}
.hero2-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 18% 30%, rgba(209,180,94,.35), transparent 70%),
    radial-gradient(500px 400px at 95% 90%, rgba(70,100,150,.35), transparent 70%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px;
}
.hero2-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero2-grid > * { min-width: 0; }
.hero2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: #efe3bd;
  background: rgba(209,180,94,.14); border: 1px solid rgba(209,180,94,.35);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 20px;
}
.hero2-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-teal); box-shadow: 0 0 0 4px rgba(209,180,94,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(209,180,94,0); } }
.hero2 h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); color: #fff; margin-bottom: 20px; }
.rotator { color: var(--brand-teal); white-space: nowrap; display: block; min-height: 1.25em; }
.caret { display: inline-block; width: 3px; height: .85em; background: var(--brand-teal); margin-inline-start: 4px; vertical-align: -0.06em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero2-lead { font-size: 1.2rem; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 30px; }
.hero2 .btn-primary { background: var(--brand-teal); color: var(--ink); box-shadow: 0 10px 30px rgba(209,180,94,.35); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.hero2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero2-chips a {
  text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 7px 14px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: background .15s, border-color .15s;
}
.hero2-chips a:hover { background: rgba(209,180,94,.2); border-color: var(--brand-teal); }

.hero2-visual { position: relative; aspect-ratio: 1; max-width: 470px; width: 100%; justify-self: center; }
.hero2-ring { position: absolute; inset: 1%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.22); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero2-circle {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ecd690, var(--brand-teal) 45%, #7d6927);
  box-shadow: 0 30px 80px rgba(209,180,94,.35);
}
/* Photo sits inside the circle: bottom half clipped round, head pops out above */
.hero2-visual img {
  position: absolute; left: 8%; width: 84%; bottom: 8%; height: auto;
  /* image width == circle diameter; circle centre sits 60.4% down the image */
  -webkit-mask-image: radial-gradient(50% 39.65% at 50% 60.4%, #000 99.5%, transparent 100%), linear-gradient(#000 60.4%, transparent 60.4%);
          mask-image: radial-gradient(50% 39.65% at 50% 60.4%, #000 99.5%, transparent 100%), linear-gradient(#000 60.4%, transparent 60.4%);
}
.float {
  position: absolute; z-index: 2;
  background: #fff; color: var(--ink);
  border-radius: 16px; padding: 10px 14px;
  font-weight: 600; font-size: .9rem; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center;
  animation: float 6s ease-in-out infinite;
}
.float small { grid-column: 2; font-weight: 400; font-size: .78rem; color: var(--muted); }
.f-ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.05rem; color: var(--accent); }
.f1 { top: 10%; inset-inline-end: 0; }
.f2 { top: 50%; inset-inline-start: -6%; animation-delay: -2s; }
.f3 { bottom: 4%; inset-inline-end: 2%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero2-stats {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
}
.hero2-stats > div { padding: 18px 22px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.hero2-stats > div:first-child { border-inline-start: 0; }
.hero2-stats strong { display: block; font-family: "Heebo"; font-size: 1.15rem; }
.hero2-stats span { font-size: .86rem; color: rgba(255,255,255,.65); }

@media (max-width: 900px) {
  .hero2 { padding: 40px 0 32px; }
  .hero2-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero2-visual { max-width: 330px; margin-top: 56px; }
  .float { font-size: .78rem; padding: 7px 10px; border-radius: 12px; }
  .float small { font-size: .68rem; }
  .f-ico { width: 26px; height: 26px; font-size: .9rem; border-radius: 8px; }
  .f2 { inset-inline-start: -4%; }
  .hero2-stats { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .hero2-stats > div:nth-child(3) { border-inline-start: 0; }
  .hero2-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .hero2-stats > div { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .float, .hero2-ring, .caret, .hero2-eyebrow .dot { animation: none; }
}

/* Scenes (AI illustrations in circle, hero style) */
.scene { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; justify-self: center; --sc: var(--accent); }
.scene-ring { position: absolute; inset: 1%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--sc) 50%, transparent); animation: spin 60s linear infinite; }
.scene-circle {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sc) 55%, white), var(--sc) 55%, color-mix(in srgb, var(--sc) 80%, black));
  box-shadow: 0 30px 70px color-mix(in srgb, var(--sc) 35%, transparent);
}
.scene-art { position: absolute; inset: 22%; width: 56%; height: 56%; filter: drop-shadow(0 10px 18px rgba(28,43,63,.25)); }
.scene .float { box-shadow: 0 14px 34px rgba(28,43,63,.16); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero-grid > * { min-width: 0; }
.about { grid-template-columns: 1.1fr .9fr; }
.flow-art { width: 100%; max-width: 420px; margin-top: 24px; }
.flow-lines { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .scene { max-width: 300px; }
  .about { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .scene-ring, .flow-lines { animation: none; } }

/* =========================================================
   Polish v2: icons, editorial labels, motion
   ========================================================= */
.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  display: inline-block; vertical-align: middle;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  transition: font-variation-settings .3s, transform .3s;
}
.icon .ms { font-size: 28px; }
.card:hover .icon .ms { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; transform: scale(1.08) rotate(-6deg); }
.f-ico .ms { font-size: 20px; }
.hero2-chips a { display: inline-flex; align-items: center; gap: 6px; }
.hero2-chips .ms { font-size: 18px; color: var(--brand-teal); }
.aud-card .more { display: inline-flex; align-items: center; gap: 4px; }
.aud-card .more .ms { font-size: 20px; transition: transform .25s; }
.aud-card:hover .more .ms { transform: translateX(-5px); }
.checklist li::before {
  content: "check"; font-family: "Material Symbols Rounded"; font-size: 17px; font-weight: 400;
  font-feature-settings: "liga"; direction: ltr;
}

/* Editorial section labels instead of pills */
.eyebrow, .hero2-eyebrow {
  background: none; border: 0; padding: 0; border-radius: 0;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.eyebrow::before {
  content: ""; width: 0; height: 2px; background: currentColor;
  transition: width .8s cubic-bezier(.2,.7,.2,1) .15s;
}
.eyebrow.in::before, .in .eyebrow::before, .page-hero .eyebrow::before { width: 32px; }
.hero2-eyebrow { color: #e9d9a5; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--brand-teal), #8a742c);
  transform: scaleX(var(--p, 0)); transform-origin: right;
}

/* Buttons: light sweep */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(-120%); }

/* Card spotlight following the pointer */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--accent)) 12%, transparent), transparent 60%);
}
.card:hover::after { opacity: 1; }
.aud-card { border-top: 0; }
.aud-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--c);
  transform: scaleX(.25); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.aud-card:hover::before { transform: scaleX(1); }

/* Reveal: staggered */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }

/* ---------- Hero entrance ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
.hero2-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero2-copy > :nth-child(2) { animation-delay: .08s; }
.hero2-copy > :nth-child(3) { animation-delay: .16s; }
.hero2-copy > :nth-child(4) { animation-delay: .24s; }
.hero2-copy > :nth-child(5) { animation-delay: .32s; }
.hero2-visual { animation: zoomIn 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
.hero2-visual .float { animation: pop .6s cubic-bezier(.3,1.4,.5,1) both, float 6s ease-in-out infinite; }
.hero2-visual .f1 { animation-delay: .9s, 1.5s; }
.hero2-visual .f2 { animation-delay: 1.1s, 3.5s; }
.hero2-visual .f3 { animation-delay: 1.3s, 5.5s; }
.hero2-stats > div { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero2-stats > div:nth-child(1) { animation-delay: .5s; }
.hero2-stats > div:nth-child(2) { animation-delay: .6s; }
.hero2-stats > div:nth-child(3) { animation-delay: .7s; }
.hero2-stats > div:nth-child(4) { animation-delay: .8s; }
.hero2-visual > img, .hero2-circle, .hero2-ring { transition: transform .4s ease-out; }
.hero2-visual > img { transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px)); }
.hero2-circle { transform: translate(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 6px)); }

/* drifting glows */
.hero2-bg::before, .hero2-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero2-bg::before { width: 420px; height: 420px; background: var(--brand-teal); top: -120px; right: 10%; animation: drift1 18s ease-in-out infinite alternate; }
.hero2-bg::after { width: 360px; height: 360px; background: #3e5a84; bottom: -140px; left: 5%; animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-180px, 120px) scale(1.2); } }
@keyframes drift2 { to { transform: translate(160px, -100px) scale(.85); } }

/* ---------- Tools marquee ---------- */
.tools { padding: 34px 0 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.tools-label { text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }
.marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: "Heebo", sans-serif; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem);
  padding: 0 34px; color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--ink) 45%, transparent);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.marquee-track span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scenes come alive ---------- */
.scene .scene-circle { transform: scale(.55); opacity: 0; transition: transform 1s cubic-bezier(.2,.8,.2,1.1), opacity .6s; }
.scene .scene-ring { opacity: 0; transition: opacity 1s .3s; }
.scene.in .scene-circle { transform: none; opacity: 1; }
.scene.in .scene-ring { opacity: 1; }
.scene .scene-art > *, .flow-art > * { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene.in .scene-art > *, .flow-art.in > * { animation: svgPop .6s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes svgPop { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
.scene-art > :nth-child(1), .flow-art > :nth-child(1) { animation-delay: .35s !important; }
.scene-art > :nth-child(2), .flow-art > :nth-child(2) { animation-delay: .45s !important; }
.scene-art > :nth-child(3), .flow-art > :nth-child(3) { animation-delay: .55s !important; }
.scene-art > :nth-child(4), .flow-art > :nth-child(4) { animation-delay: .65s !important; }
.scene-art > :nth-child(5), .flow-art > :nth-child(5) { animation-delay: .75s !important; }
.scene-art > :nth-child(6), .flow-art > :nth-child(6) { animation-delay: .85s !important; }
.scene-art > :nth-child(7), .flow-art > :nth-child(7) { animation-delay: .95s !important; }
.scene-art > :nth-child(8), .flow-art > :nth-child(8) { animation-delay: 1.05s !important; }
.scene-art > :nth-child(n+9), .flow-art > :nth-child(n+9) { animation-delay: 1.15s !important; }
.scene.in .scene-art circle { transform-box: fill-box; transform-origin: center; animation: nodePulse 2.6s ease-in-out infinite; }
.scene.in .scene-art circle:nth-child(2n) { animation-delay: 1.3s; }
@keyframes nodePulse { 50% { transform: scale(1.35); } }
.scene.in .bars rect { transform-box: fill-box; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.scene.in .bars rect:nth-child(1) { animation-delay: .8s; }
.scene.in .bars rect:nth-child(2) { animation-delay: .9s; }
.scene.in .bars rect:nth-child(3) { animation-delay: 1s; }
.scene.in .bars rect:nth-child(4) { animation-delay: 1.1s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
.draw, .draw path { stroke-dasharray: 220; stroke-dashoffset: 220; }
.scene.in .draw, .scene.in .draw path { animation: draw 1.4s ease 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scene .float { opacity: 0; }
.scene.in .float { animation: pop .6s cubic-bezier(.3,1.4,.5,1) both, float 6s ease-in-out infinite; }
.scene.in .f1 { animation-delay: 1s, 1.6s; }
.scene.in .f2 { animation-delay: 1.2s, 3.6s; }
.scene.in .f3 { animation-delay: 1.4s, 5.6s; }

/* Syllabus numbers tick in */
.syllabus .card.reveal::before { display: inline-block; transition: transform .6s cubic-bezier(.3,1.4,.5,1) .2s; transform: scale(.4) rotate(-12deg); }
.syllabus .card.reveal.in::before { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero2-copy > *, .hero2-visual, .hero2-visual .float, .hero2-stats > div, .marquee-track,
  .hero2-bg::before, .hero2-bg::after, .scene.in .scene-art *, .scene.in .float, .flow-art.in > * { animation: none !important; opacity: 1 !important; }
  .scene .scene-circle, .scene .scene-ring, .scene .scene-art > *, .flow-art > *, .scene .float { opacity: 1; transform: none; }
  .draw, .draw path { stroke-dashoffset: 0; }
}

/* =========================================================
   v3: hero AI core, orbit, photo scene, chat demo
   ========================================================= */
/* Hero core */
.core-art {
  position: absolute; inset: 14%; width: 72%; height: 72%; z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.25));
  transform: translate(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -10px));
  transition: transform .4s ease-out;
}
.core-art .rp { transform-box: fill-box; transform-origin: center; animation: ripple 3.2s ease-out infinite; }
.core-art .rp2 { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.core-art .links { animation: flowIn 1s linear infinite; }
@keyframes flowIn { to { stroke-dashoffset: 12; } }
.core-art .node { transform-box: fill-box; transform-origin: center; animation: nodePulse 2.6s ease-in-out infinite; }
.core-art .node:nth-child(2n) { animation-delay: 1.3s; }
.core-art .chip { transform-box: fill-box; transform-origin: center; animation: chipBeat 3.2s ease-in-out infinite; }
@keyframes chipBeat { 0%, 100% { transform: none; } 8% { transform: scale(1.06); } 16% { transform: none; } }

/* Orbiting audience badges */
.orbit { position: absolute; inset: 1%; z-index: 1; animation: spin 48s linear infinite; }
.orb {
  position: absolute; width: 48px; height: 48px; margin: -24px; border-radius: 50%;
  background: #fff; color: var(--accent); display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  animation: spin 48s linear infinite reverse;
}
.orb .ms { font-size: 24px; }
.o1 { top: 0; left: 50%; } .o2 { top: 50%; left: 100%; } .o3 { top: 100%; left: 50%; } .o4 { top: 50%; left: 0; }
.hero2-visual .orbit { animation: spin 48s linear infinite, fadeIn 1s .6s both; }
@keyframes fadeIn { from { opacity: 0; } }

/* About: small photo in a circle, head popping out */
.scene-photo { max-width: 300px; }
.scene-photo img {
  position: absolute; left: 9%; width: 82%; bottom: 9%; height: auto; z-index: 1;
  -webkit-mask-image: radial-gradient(50% 39.65% at 50% 60.4%, #000 99.5%, transparent 100%), linear-gradient(#000 60.4%, transparent 60.4%);
          mask-image: radial-gradient(50% 39.65% at 50% 60.4%, #000 99.5%, transparent 100%), linear-gradient(#000 60.4%, transparent 60.4%);
  opacity: 0; transform: translateY(24px); transition: opacity .8s .3s, transform .9s cubic-bezier(.2,.8,.2,1) .3s;
}
.scene-photo.in img { opacity: 1; transform: none; }
.scene-photo .float { font-size: .8rem; padding: 8px 11px; }
.scene-photo .float small { font-size: .7rem; }
.scene-photo .f-ico { width: 28px; height: 28px; }
.scene-photo .f1 { top: 4%; inset-inline-end: -18%; }
.scene-photo .f2 { top: 48%; inset-inline-start: -22%; }
.scene-photo .f3 { bottom: 0; inset-inline-end: -12%; }

/* Chat demo */
.demo { background: linear-gradient(180deg, var(--bg), #eef1f5); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.demo-tabs button {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); transition: all .2s;
}
.demo-tabs button .ms { font-size: 19px; color: var(--accent); }
.demo-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-tabs button[aria-selected="true"] .ms { color: var(--brand-teal); }
.chat-demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 60px rgba(28,43,63,.14); overflow: hidden; max-width: 520px; width: 100%; justify-self: center;
}
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--ink); color: #fff; }
.chat-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.chat-title .ms { color: var(--brand-teal); font-size: 20px; }
.chat-dots { display: flex; gap: 6px; direction: ltr; }
.chat-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.chat-body { padding: 20px 18px; min-height: 250px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .98rem; line-height: 1.6; }
.msg.user { align-self: flex-start; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; min-height: 48px; }
.msg.ai { align-self: flex-end; background: #f5f0e1; color: var(--ink); border-bottom-left-radius: 5px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.msg.ai.show { opacity: 1; transform: none; }
.msg.ai .msg-text span { opacity: 0; animation: wordIn .3s forwards; }
@keyframes wordIn { to { opacity: 1; } }
.type-caret { display: inline-block; width: 2px; height: 1em; background: var(--brand-teal); vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
.thinking { display: none; gap: 5px; padding: 4px 0; direction: ltr; }
.msg.ai.wait .thinking { display: inline-flex; }
.thinking i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: bounce 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .92rem; padding-inline-start: 16px; }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.send .ms { font-size: 20px; }

@media (max-width: 900px) {
  .orb { width: 38px; height: 38px; margin: -19px; }
  .orb .ms { font-size: 19px; }
  .scene-photo { max-width: 230px; }
  .scene-photo .f1 { inset-inline-end: -26%; }
  .scene-photo .f2 { inset-inline-start: -30%; }
  .chat-body { min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .core-art *, .orbit, .orb, .thinking i, .type-caret { animation: none !important; }
  .scene-photo img { opacity: 1; transform: none; }
}
.hero2-visual .f2 { top: 64%; inset-inline-start: -10%; }
@media (max-width: 900px) { .hero2-visual .f2 { top: 70%; inset-inline-start: -4%; } .hero2-visual .f3 { bottom: -2%; } }

/* Contact form: honeypot, error, sending */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.form-error { color: #c0392b; font-size: .92rem; text-align: center; margin: 10px 0 0; }
.form-error:empty { display: none; }
.form-note a { color: var(--accent); font-weight: 600; }
.form .btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* =========================================================
   v4: automation-first home
   ========================================================= */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo img { height: 76px; }
.page-hero .rotator { color: var(--accent); }
.page-hero .caret { background: var(--accent); }
.hero2 h1 .rotator { font-size: .82em; }

/* Pipeline demo */
.pipe-sec { background: linear-gradient(180deg, var(--bg), #eef1f5); }
.pipe-tabs { justify-content: center; margin: -12px 0 34px; }
.pipe {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px 28px 26px; box-shadow: 0 30px 60px rgba(28,43,63,.10);
}
.pipe-track { position: absolute; top: 66px; inset-inline: 12%; height: 4px; border-radius: 4px; background: var(--line); }
.pipe-fill {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: inherit;
  background: linear-gradient(270deg, var(--brand-teal), #8a742c);
  transform: scaleX(var(--prog, 0)); transform-origin: right; transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.pipe-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pipe-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; opacity: .45; transition: opacity .4s; }
.pipe-ico {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--bg); border: 1.5px solid var(--line); color: var(--muted); position: relative;
  transition: background .4s, color .4s, border-color .4s, transform .5s cubic-bezier(.3,1.5,.5,1), box-shadow .4s;
}
.pipe-ico .ms { font-size: 30px; }
.pipe-step strong { font-family: "Heebo"; font-size: 1.02rem; }
.pipe-step small { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.pipe-step.active, .pipe-step.done { opacity: 1; }
.pipe-step.active .pipe-ico { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); }
.pipe-step.done .pipe-ico { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.pipe-step.done .pipe-ico::after {
  content: "check"; font-family: "Material Symbols Rounded"; font-feature-settings: "liga"; direction: ltr;
  position: absolute; top: -8px; inset-inline-end: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-teal); color: #fff; font-size: 15px; display: grid; place-items: center;
  animation: pop .4s cubic-bezier(.3,1.5,.5,1) both;
}
.pipe-log { margin-top: 28px; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 18px; min-height: 214px; }
.pipe-log-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .05em; color: #e9d9a5; margin-bottom: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }
.pipe-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pipe-log li { display: flex; gap: 14px; font-size: .93rem; animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.pipe-log time { color: var(--brand-teal); font-variant-numeric: tabular-nums; direction: ltr; flex: none; }
@media (max-width: 760px) {
  .pipe { padding: 22px 18px; }
  .pipe-track { display: none; }
  .pipe-steps { grid-template-columns: 1fr; gap: 16px; }
  .pipe-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 0; align-items: center; text-align: start; }
  .pipe-ico { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .pipe-step strong { align-self: end; }
  .pipe-step small { align-self: start; }
}

/* Project cases */
.case { display: flex; flex-direction: column; gap: 10px; }
.case-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--accent); }
.case-tag .ms { font-size: 20px; }
.case h3 { margin: 0; font-size: 1.3rem; }
.case p { color: var(--muted); margin: 0; }
.case-stack { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.case-stack li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); direction: ltr; }
.case .case-result { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; }
.case-result .ms { color: var(--brand-teal); font-size: 22px; }

/* Training band */
.aud-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.aud-chips a {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 16px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .2s, transform .2s;
}
.aud-chips a .ms { font-size: 19px; color: var(--accent); }
.aud-chips a:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn .ms { font-size: 20px; }

/* =========================================================
   v5: pains + shift
   ========================================================= */
.pains .grid { max-width: 980px; margin-inline: auto; }
.pain { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; --c: #e0603f; }
.pain h3 { font-size: 1.18rem; margin-bottom: 6px; }
.pain p { color: var(--muted); margin: 0; }
.pain-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: #fdeee9; color: #d4532f;
}
.pain-ico .ms { font-size: 28px; }
.pain.reveal.in .pain-ico { animation: wobble .9s ease .4s both; }
@keyframes wobble { 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } 100% { transform: none; } }
.pain:hover .pain-ico { background: #d4532f; color: #fff; }

.shift { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: 96px 0 84px; }
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.shift-grid > * { min-width: 0; }
.shift h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; margin: 0 0 18px; }
.shift h2 span { color: var(--brand-teal); }
.shift-copy p { color: rgba(255,255,255,.78); font-size: 1.15rem; margin: 0; }
.shift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.shift-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateX(-30px); transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1), background .3s;
}
.shift-list li:hover { background: rgba(209,180,94,.14); }
.shift-list li strong { display: block; font-family: "Heebo"; font-size: 1.12rem; }
.shift-list li small { color: rgba(255,255,255,.66); font-size: .92rem; }
.tick { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(209,180,94,.6); display: grid; place-items: center; color: transparent; transition: background .4s, color .4s, border-color .4s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.tick .ms { font-size: 24px; font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24; }
.shift-list.in li { opacity: 1; transform: none; }
.shift-list.in .tick { background: var(--brand-teal); border-color: var(--brand-teal); color: var(--ink); transform: scale(1.08); }
.shift-list li:nth-child(1), .shift-list li:nth-child(1) .tick { transition-delay: .1s; }
.shift-list li:nth-child(2), .shift-list li:nth-child(2) .tick { transition-delay: .45s; }
.shift-list li:nth-child(3), .shift-list li:nth-child(3) .tick { transition-delay: .8s; }
.shift-list li:nth-child(4), .shift-list li:nth-child(4) .tick { transition-delay: 1.15s; }
.shift-list.in li .tick { transition-delay: inherit; }
.shift-quote { margin: 64px auto 0; max-width: 820px; text-align: center; padding: 0; }
.shift-quote > .ms { font-size: 56px; color: var(--brand-teal); transform: scaleX(-1); display: block; margin: 0 auto 4px; width: fit-content; }
.shift-quote p { font-family: "Heebo"; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.45; margin: 0 0 28px; }
.shift .btn-primary { background: var(--brand-teal); color: var(--ink); }
@media (max-width: 900px) {
  .shift { padding: 64px 0 60px; }
  .shift-grid { grid-template-columns: 1fr; gap: 32px; }
  .pain { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .shift-list li { opacity: 1; transform: none; }
  .pain.reveal.in .pain-ico { animation: none; }
}

/* v6: hero message */
.hero2 h1 .rotator { font-size: 1em; }
.hero2 h1 .h1-soft { display: block; color: rgba(255,255,255,.82); font-weight: 700; }

/* v7: keep floating cards away from the face in the about photo */
.scene-photo .f1 { top: 2%; inset-inline-end: -46%; }
.scene-photo .f2 { top: 70%; inset-inline-start: -40%; }
.scene-photo .f3 { bottom: -6%; inset-inline-end: -30%; }
@media (max-width: 900px) {
  .scene-photo { margin-top: 48px; }
  .scene-photo .f1 { top: 56%; inset-inline-end: -40%; }
  .scene-photo .f2 { top: 78%; inset-inline-start: -30%; }
  .scene-photo .f3 { top: auto; bottom: -14%; inset-inline-end: -16%; }
}

/* =========================================================
   v8: CALM layer (ref: calmodigital.com)
   light hero, one font, floating header, dashed dividers,
   flat cards, slow & sparse motion
   ========================================================= */
:root {
  --bg: #f4f4f7;
  --line: #e4e5ea;
  --muted: #656b79;
  --shadow: 0 12px 34px rgba(28,43,63,.07);
}
body { line-height: 1.75; }
h1, h2, h3, h4 { font-family: "Heebo", sans-serif; letter-spacing: -.02em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
.lead { color: var(--muted); font-weight: 400; }

/* quieter motion everywhere */
.progress, .card::after, .btn-primary::after, .hero2-bg::before, .hero2-bg::after { display: none !important; }
.reveal { transform: translateY(10px); transition-duration: .9s; }
.scene-ring, .hero2-ring, .orbit, .orb { animation: none !important; }
.scene.in .scene-art circle, .core-art .node, .core-art .rp, .core-art .chip, .core-art .links { animation: none !important; }
.scene .float, .hero2-visual .float { animation-name: pop, floatCalm !important; animation-duration: .7s, 9s !important; }
@keyframes floatCalm { 50% { transform: translateY(-5px); } }
.pain.reveal.in .pain-ico { animation: none; }
.hero2-eyebrow .dot, .live-dot { animation: none; }
.card:hover, .aud-card:hover { transform: translateY(-2px); }
.card:hover .icon .ms { transform: none; }

/* floating pill header */
.site-header { background: transparent; border: 0; backdrop-filter: none; padding-top: 14px; }
.site-header .nav {
  height: 66px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; padding-inline: 22px 12px;
  box-shadow: 0 6px 24px rgba(28,43,63,.05);
}
.site-header .logo img { height: 36px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--bg); }
.nav-links .btn { box-shadow: none; }
@media (max-width: 900px) {
  .site-header { padding: 10px 12px 0; }
  .site-header .nav { padding-inline: 18px 8px; height: 58px; }
  .nav-links { top: 74px; inset-inline: 12px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
}

/* buttons: flat */
.btn-primary { box-shadow: none; }
.btn-primary:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent); }
.btn-ghost { border-width: 1.5px; }

/* sections: one background, dashed dividers */
.section { padding: 96px 0; }
.section.alt { background: transparent; border: 0; border-top: 1px dashed #cfd1d9; }
.section + .section:not(.alt) { border-top: 1px dashed #cfd1d9; }
.pipe-sec, .demo { background: transparent; }

/* cards: flat, white, soft */
.card { border-radius: 22px; border-color: var(--line); box-shadow: none; }
.card:hover { box-shadow: var(--shadow); }
.icon { background: var(--bg); color: var(--accent); border-radius: 14px; }
.aud-card .icon { background: color-mix(in srgb, var(--c) 10%, white); }
.pain-ico { background: #f3eeee; color: #a2584b; }
.pain:hover .pain-ico { background: #a2584b; }

/* ---------- light hero ---------- */
.hero2 { background: var(--bg); color: var(--ink); padding: 72px 0 40px; }
.hero2-bg { display: none; }
.hero2 h1 { color: var(--ink); font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.12; }
.hero2 h1 .h1-soft { color: #7d828f; font-weight: 300; margin-top: 4px; }
.hero2 h1 .rotator { color: var(--accent); font-weight: 300; }
.hero2 .caret { background: var(--accent); width: 2px; }
.hero2-eyebrow { color: var(--accent); }
.hero2-eyebrow .dot { background: var(--accent); box-shadow: none; }
.hero2-lead { color: var(--muted); }
.hero2 .btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.hero2 .btn-light { border-color: var(--ink); color: var(--ink); }
.hero2 .btn-light:hover { background: var(--ink); color: #fff; }
.hero2-stats { background: #fff; border-color: var(--line); }
.hero2-stats > div { border-color: var(--line) !important; }
.hero2-stats strong { color: var(--ink); }
.hero2-stats span { color: var(--muted); }

/* hero product mock */
.hero2-visual.calm-visual { aspect-ratio: auto; max-width: 520px; animation: rise 1s cubic-bezier(.2,.7,.2,1) .2s both; }
.cv-panel { position: relative; background: #e8e9ee; border-radius: 34px; padding: 70px 46px; }
.cv-card { background: #fff; border-radius: 24px; box-shadow: 0 24px 50px rgba(28,43,63,.09); overflow: hidden; }
.cv-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.cv-dot { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 45%, white); flex: none; }
.cv-steps { list-style: none; margin: 0; padding: 0; }
.cv-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); opacity: .28; transition: opacity .8s ease; }
.cv-steps li:last-child { border-bottom: 0; }
.cv-steps li.done { opacity: 1; }
.cv-steps strong { display: block; font-weight: 600; font-size: 1rem; }
.cv-steps small { color: var(--muted); font-size: .85rem; }
.cv-check { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; transition: background .7s ease; }
.cv-check .ms { font-size: 18px; font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24; }
.cv-steps li.done .cv-check { background: var(--ink); }
.cv-chip {
  position: absolute; background: #fff; border-radius: 18px; padding: 12px 18px;
  box-shadow: 0 14px 34px rgba(28,43,63,.10); font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; gap: 8px; animation: floatCalm 9s ease-in-out infinite;
}
.cv-chip.c1 { top: 34px; inset-inline-end: -26px; }
.cv-chip.c2 { top: -22px; inset-inline-start: 34px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -4s; }
.cv-chip.c2 small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.cv-chip.c2 strong { font-size: 2rem; line-height: 1.1; font-weight: 600; }
@media (max-width: 900px) {
  .hero2 { padding: 40px 0 30px; }
  .cv-panel { padding: 56px 16px 40px; border-radius: 26px; }
  .cv-chip.c1 { inset-inline-end: -6px; top: 14px; font-size: .82rem; padding: 9px 13px; }
  .cv-chip.c2 { inset-inline-start: 16px; top: -26px; padding: 9px 14px; }
  .cv-chip.c2 strong { font-size: 1.5rem; }
  .cv-steps li { padding: 13px 16px; }
}

/* tools marquee: quiet grey wordmarks */
.tools { background: transparent; border-bottom: 0; border-top: 1px dashed #cfd1d9; }
.marquee-track { animation-duration: 70s; }
.marquee-track span { color: #a6acb8; -webkit-text-stroke: 0; font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }

/* the one dark band: rounded card, no glow/grid */
.shift { width: min(calc(var(--max) - 40px), calc(100% - 32px)); margin: 24px auto 72px; border-radius: 34px; padding: 80px 0 72px; }
.shift .hero2-bg { display: none; }
.shift-list li { background: rgba(255,255,255,.05); }

/* CTA: light, not another dark block */
.cta-band { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cta-band::after { display: none; }
.cta-band p { color: var(--muted); }
.cta-band .btn-ghost[style] { border-color: var(--ink) !important; color: var(--ink) !important; }

/* inner page heroes */
.page-hero { background: var(--bg); border-bottom: 1px dashed #cfd1d9; }
.scene-circle { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sc) 70%, white), var(--sc) 70%); box-shadow: 0 24px 50px color-mix(in srgb, var(--sc) 18%, transparent); }

/* product pages */
.prod-hero { background: var(--bg) !important; }
.prod-hero .blob { display: none !important; }
.shine { animation: none !important; background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--accent) !important; }
.proof::before { display: none !important; }
.ticker-track { animation-duration: 70s !important; }

/* v8.1 calm fixes */
.nav-links .btn { border-radius: 999px; }
.pipe { box-shadow: none; border-radius: 26px; }
.pipe-log { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.pipe-log-head { color: var(--muted); }
.pipe-log time { color: var(--accent); }
.pipe-step.active .pipe-ico { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); transform: scale(1.06); }

@media (max-width: 900px) {
  main > section { overflow-x: clip; }
  .scene-photo .f1 { inset-inline-end: -30%; }
}
