/* ============================================================
   Dalphene — multi-page additions (layered over styles.css)
   ============================================================ */

/* Active nav item */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: var(--purple); border-radius: 2px;
}

/* Page header (top of each interior page) */
.page-hero { padding: 132px 0 8px; }
.page-hero .wrap { max-width: 860px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(40px, 5vw, 68px); line-height: 1.0; margin: 0; }
.page-hero h1 em { font-style: italic; color: var(--purple); }
.page-hero .sub { margin: 20px 0 0; font-size: 20px; max-width: 640px; }
.page-lead { border-bottom: 1px solid var(--cream-line); }

/* Generic interior section padding — one focused idea per page */
.page-body { padding: 48px 0 96px; }
.page-body.tight { padding: 40px 0 88px; }

/* Home pillars — the router into the product */
.home-hero { padding: 132px 0 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.pillar {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper-2); border: 1px solid rgba(36,29,23,.5); border-radius: 16px;
  padding: 24px 24px 22px; text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-deep); }
.pillar .mini { font: 700 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--purple-ink); }
.pillar h3 { font: 600 24px/1.05 var(--display); letter-spacing: -.02em; margin: 2px 0 0; }
.pillar p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.pillar .go { margin-top: auto; padding-top: 14px; font: 600 13px var(--sans); color: var(--purple-deep); }
.pillar:hover .go { color: var(--purple); }

/* Section divider band used between home hero and pillars */
.home-pillars { padding: 72px 0 96px; }
.home-pillars .lab { font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }

/* Interior page CTA footer strip (quiet, not a whole dark section) */
.page-cta { border-top: 1px solid var(--cream-line); background: rgba(251,247,238,.6); }
.page-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 40px 0; }
.page-cta-in h2 { font: 600 clamp(26px,3vw,38px)/1 var(--display); letter-spacing: -.02em; margin: 0; }
.page-cta-in h2 em { font-style: italic; color: var(--purple); }
.page-cta-in .sub { margin: 8px 0 0; font-size: 16px; }

/* Light footer for interior pages */
footer.site-foot { background: var(--paper-2); color: var(--muted); border-top: 1px solid var(--cream-line); }
footer.site-foot .foot-in .logo { color: var(--ink); }
footer.site-foot .foot-links a { color: var(--muted); }
footer.site-foot .foot-links a:hover { color: var(--purple-deep); }

@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .page-hero { padding-top: 110px; } .home-hero, .home-pillars { padding-top: 108px; } }

/* ============================================================
   v6 trust polish — quieter, shorter, more product-led
   ============================================================ */
body {
  background: var(--paper);
  font-size: 17px;
}
body::before { opacity: .16; }

.nav {
  background: rgba(246,241,231,.94);
}
.nav-links { gap: 24px; }
.nav-links .labs { color: var(--muted); }
.logo span, h1 em, h2 em { color: var(--purple-deep); }

.btn {
  border-radius: 9px;
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(38,26,14,.12);
}
.btn.ghost:hover { box-shadow: none; }

.home-hero { padding: 122px 0 0; }
.hero-grid { gap: 48px; }
.hero h1 { font-size: clamp(44px, 5vw, 72px); }
.hero .sub,
.page-hero .sub {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.45;
}
.hero-note {
  letter-spacing: .06em;
  text-transform: none;
  font-family: var(--sans);
  font-size: 13px;
}

.browser,
.demo-shell,
.transcript,
.register,
.price-card {
  box-shadow: 0 12px 34px rgba(38,26,14,.09);
  border-color: rgba(36,29,23,.58);
}
.hero-browser:hover { transform: none; box-shadow: 0 14px 36px rgba(38,26,14,.11); }

.proof-row,
.proof-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.proof-row span,
.proof-stack span {
  border: 1px solid var(--cream-line);
  background: rgba(251,247,238,.78);
  border-radius: 999px;
  padding: 8px 11px;
  font: 700 11px var(--sans);
  color: var(--ink-soft);
}
.proof-stack { margin-top: 24px; }
.proof-stack span {
  display: inline-flex;
  width: fit-content;
}

.home-pillars { padding: 58px 0 80px; }
.home-pillars .lab {
  color: var(--ink-soft);
  letter-spacing: .1em;
}
.pillar {
  background: rgba(251,247,238,.7);
  border-color: var(--cream-line);
  padding: 22px;
  min-height: 210px;
}
.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(38,26,14,.08);
  border-color: rgba(36,29,23,.35);
}
.pillar .mini,
.cell .mini,
.demo-panel .mini,
.demo-step .num,
.demo-browserbar .label { color: var(--muted); }
.pillar h3 { font-size: 23px; }
.pillar p { font-family: var(--sans); font-size: 14.5px; }
.pillar .go { color: var(--purple-deep); }

.page-hero { padding: 116px 0 28px; }
.page-hero .wrap { max-width: 780px; }
.page-hero h1 { font-size: clamp(40px, 4.8vw, 64px); }
.page-body { padding: 48px 0 80px; }

.cell {
  border-color: var(--cream-line);
  box-shadow: none;
}
.cell:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(38,26,14,.08); }
.cell.treatment .txt { padding: 30px 34px; }
.cell p,
.cell li,
.demo-panel p,
.demo-proof li,
.split .copy p,
.split .points li,
.price-card li,
.price-grid .copy p,
.msg p,
.register td {
  font-family: var(--sans);
}
.cell li,
.demo-proof li,
.split .points li,
.price-card li { border-top-color: var(--cream-line); }

.demo-head { gap: 30px; margin-bottom: 22px; }
.demo-head h2 { font-size: clamp(34px, 4vw, 56px); }
.demo-head .sub { font-family: var(--sans); font-size: 16px; }
.demo-kicker {
  background: transparent;
  letter-spacing: .1em;
}
.demo-shell { border-radius: 16px; }
.demo-steps { background: rgba(251,247,238,.74); }
.demo-step[aria-selected="true"] {
  border-color: var(--cream-line);
  box-shadow: none;
  transform: none;
}
.demo-panel h3 { font-size: 30px; }
.demo-hotspots span,
.shot-ribbon span {
  background: rgba(251,247,238,.95);
  border-color: var(--cream-line);
  color: var(--ink-soft);
  letter-spacing: .08em;
}
.record-card { background: rgba(251,247,238,.7); border-color: var(--cream-line); }

.compact-split { margin-top: 38px; }
.split { gap: 54px; }
.split h2 { font-size: clamp(30px, 3vw, 42px); }
.simple-points { max-width: 560px; }
.transcript .tbar,
.register .tbar {
  border-bottom-color: var(--cream-line);
  background: rgba(239,230,214,.72);
}
.msg { padding: 16px 18px; }
.msg.reply p { font-style: normal; }
.fine-note {
  margin-top: 14px !important;
  color: var(--muted) !important;
  font: 600 12px var(--sans) !important;
}

.price-copy-short { max-width: 560px; }
.price-amt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 2px;
}
.price-amt .num {
  font: 600 clamp(54px, 6vw, 78px)/.9 var(--display);
  letter-spacing: -.04em;
  color: var(--ink);
}
.price-card .flag {
  background: var(--ink);
  letter-spacing: .1em;
}
.founder-card {
  max-width: 780px;
  background: rgba(251,247,238,.62);
  border: 1px solid var(--cream-line);
  border-radius: 18px;
  padding: 26px 28px 12px;
  border-top-width: 1px;
}
.letter p {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
}
.letter .who { margin-bottom: 18px; }
.letter .seal { background: var(--paper); border-color: var(--cream-line); }
.letter .seal-photo { object-fit: cover; object-position: center top; }

.page-cta { background: rgba(251,247,238,.5); }
.page-cta-in { padding: 34px 0; }
.page-cta-in h2 { font-size: clamp(26px, 2.8vw, 36px); }
.page-cta-in .sub { font-family: var(--sans); font-size: 15.5px; }

footer.site-foot { background: rgba(251,247,238,.7); }

@media (max-width: 640px) {
  .home-hero { padding-top: 108px; }
  .proof-row { margin-top: 16px; }
  .pillar { min-height: 0; }
  .page-hero { padding-top: 104px; }
  .cell.treatment .txt { padding: 24px; }
  .price-amt .num { font-size: 54px; }
}

/* ============================================================
   v7 restraint pass — less copy density, more trust
   ============================================================ */
.hero h1,
.page-hero h1 {
  max-width: 760px;
}
.hero .sub,
.page-hero .sub {
  max-width: 600px;
}
.hero-ctas {
  margin-top: 24px;
}
.proof-row {
  margin-top: 14px;
}
.proof-row span,
.proof-stack span {
  background: transparent;
  border-color: rgba(36,29,23,.16);
  padding: 7px 10px;
}

.pillars {
  gap: 14px;
}
.pillar {
  min-height: 0;
  padding: 20px;
}
.pillar h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.pillar .mini {
  color: var(--muted);
}
.pillar .go {
  padding-top: 10px;
}

.page-body {
  padding-top: 40px;
}
.cell.treatment h3,
.demo-head h2,
.split h2,
.price-grid h2,
.page-cta-in h2 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.025em;
}
.cell.treatment h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}
.cell.treatment .txt {
  padding: 28px;
}
.cell p,
.cell li,
.split .copy p,
.split .points li,
.price-card li,
.price-grid .copy p,
.demo-panel p,
.demo-proof li {
  color: #453d37;
}

.demo-head {
  margin-top: 52px !important;
}
.demo-panel h3 {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.demo-proof li,
.price-card li,
.split .points li {
  padding: 8px 0;
}

.transcript,
.register,
.price-card,
.demo-shell,
.browser {
  box-shadow: 0 8px 24px rgba(38,26,14,.07);
}
.msg p,
.register td {
  font-size: 14.5px;
}

.price-grid {
  align-items: start;
}
.price-card {
  padding: 28px;
}
.letter p {
  font-size: 15.5px;
}
.founder-card {
  padding-bottom: 10px;
}

@media (max-width: 640px) {
  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }
  .page-body {
    padding-bottom: 64px;
  }
}

/* v8 — no interior hero blocks on product/front-desk/compliance */
.page-start {
  padding-top: 108px;
  padding-bottom: 72px;
}
.page-start .compact-split {
  margin-top: 0;
}
.quiet-copy {
  align-self: center;
  max-width: 430px;
}
.quiet-copy p:first-child {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.55;
}
.quiet-copy p b {
  color: var(--ink);
  font-weight: 650;
}
.quiet-copy .points {
  margin-top: 14px;
}
.quiet-copy .points li {
  font-size: 14.5px;
  padding: 7px 0;
}

@media (max-width: 640px) {
  .page-start {
    padding-top: 94px;
    padding-bottom: 56px;
  }
  .quiet-copy {
    max-width: none;
  }
}

/* ============================================================
   Pricing page — value stack + transparency list
   (category grid + standalone tick list; matches pillar aesthetic)
   ============================================================ */
.price-positioning { max-width: 720px; }
.price-positioning h2 {
  font-family: var(--sans); font-weight: 650; letter-spacing: -.025em;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; margin: 0;
}
.price-positioning p {
  font-family: var(--serif); font-size: 17.5px; line-height: 1.62;
  color: var(--ink-soft); margin: 16px 0 0;
}

.value-head { max-width: 720px; margin-bottom: 30px; }
.value-head h2 {
  font-family: var(--sans); font-weight: 650; letter-spacing: -.025em;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.04; margin: 0;
}
.value-head .sub {
  font-family: var(--serif); font-size: 16.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 12px 0 0; max-width: 560px;
}
.value-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.value-card {
  background: rgba(251,247,238,.7); border: 1px solid var(--cream-line);
  border-radius: 16px; padding: 20px;
}
.value-card .vlabel {
  display: block; margin-bottom: 10px;
  font: 700 10px var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--purple-ink);
}
.value-card p { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.62; color: #453d37; }

/* Standalone tick list (transparency "what I don't do") */
.plain-list { list-style: none; margin: 26px 0 0; padding: 0; max-width: 720px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.plain-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  padding: 11px 0; border-top: 1px solid var(--cream-line);
  font-family: var(--sans); font-size: 15px; line-height: 1.45; color: #453d37;
}
.plain-list .tick { color: var(--teal); font: 800 12px var(--mono); padding-top: 2px; }

@media (max-width: 860px) {
  .value-stack { grid-template-columns: 1fr; }
  .plain-list { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   Pricing page — classic two-tier layout
   ============================================================ */
.tiers-intro { max-width: 640px; margin: 0 auto 34px; text-align: center; }
.tiers-intro p { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; max-width: 880px; margin: 8px auto 0; }
.tiers .price-card { margin: 0; }
.price-card.featured { border-color: var(--ink); box-shadow: 0 22px 52px -26px rgba(38,26,14,.42); }
.price-card .tname { font: 700 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--purple-ink); margin: 2px 0 8px; }
.price-amt .word { font: 600 40px/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; max-width: 420px; }
}

/* Reassurance ("We've got you") grid */
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.assure-card { background: var(--paper-2); border: 1px solid var(--cream-line); border-radius: 16px; padding: 24px 26px; }
.assure-card h3 { font-family: var(--sans); font-weight: 650; font-size: 18px; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.assure-card p { font-family: var(--serif); font-size: 15.5px; line-height: 1.58; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .assure { grid-template-columns: 1fr; } }

/* Pricing FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 48px; }
.faq-item { padding: 20px 0; border-top: 1px solid var(--cream-line); }
.faq-item h3 { font-family: var(--sans); font-weight: 650; font-size: 16px; letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.faq-item p { font-family: var(--serif); font-size: 15px; line-height: 1.56; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Product — charting hero + iPad mockup */
.chart-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); gap: 56px; align-items: center; }
.chart-copy .mini { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--purple-ink); margin-bottom: 12px; display: block; }
.chart-copy h2 { font: 600 clamp(32px,4vw,52px)/1.0 var(--display); letter-spacing: -.025em; margin: 0 0 16px; color: var(--ink); }
.chart-copy > p { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.chart-copy ul { list-style: none; margin: 22px 0 0; padding: 0; }
.chart-copy li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--cream-line); font-family: var(--sans); font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.chart-copy li:first-child { border-top: 0; }
.chart-copy li .tick { color: var(--teal); font: 800 12px var(--mono); padding-top: 2px; }
.chart-copy .proof-stack { margin-top: 22px; }

.chart-device { position: relative; }
.device-showcase { position: relative; width: 100%; padding: 12px 0 34px; }

/* Desktop / iMac-style screen showing the real app */
.desktop { position: relative; width: 90%; margin: 0 auto; z-index: 1; }
.desktop-screen { background: #241d19; border-radius: 18px; padding: 12px 12px 14px; box-shadow: 0 34px 64px -32px rgba(38,26,14,.5); }
.desktop-screen img { width: 100%; display: block; border-radius: 7px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #fff; }
.desktop-neck { width: 74px; height: 38px; margin: -1px auto 0; background: linear-gradient(180deg,#d3c5ad,#bcaa8b); clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); }
.desktop-foot { width: 164px; height: 9px; border-radius: 0 0 8px 8px; background: #b7a688; margin: 0 auto; box-shadow: 0 8px 14px -6px rgba(38,26,14,.3); }

/* iPad overlapping in front, showing the chart */
.ipad { position: absolute; right: -1%; bottom: 2px; width: 47%; z-index: 2; background: #241d19; border-radius: 22px; padding: 10px; box-shadow: 0 26px 46px -20px rgba(38,26,14,.55); }
.ipad-cam { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #4a423c; }
.ipad .screen { border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.ipad .screen img, .ipad .screen video { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Apple Pencil — cylindrical, resting on the iPad edge */
.pencil { position: absolute; right: -13px; bottom: 20%; width: 9px; height: 152px; border-radius: 5px;
  background: linear-gradient(90deg,#d8cab2 0%,#fbf6ec 34%,#efe3cd 62%,#cdbd9e 100%);
  transform: rotate(24deg); box-shadow: 0 9px 16px -4px rgba(38,26,14,.28); }
.pencil::before { content: ''; position: absolute; bottom: -13px; left: 0; width: 9px; height: 15px;
  background: linear-gradient(90deg,#a8977a,#cabfa8 40%,#9d8c6f); clip-path: polygon(0 0,100% 0,50% 100%); }
.pencil::after { content: ''; position: absolute; bottom: -18px; left: 3px; width: 3px; height: 5px; background: #2f2822; border-radius: 0 0 2px 2px; }

@media (max-width: 860px) {
  .chart-hero { grid-template-columns: 1fr; gap: 30px; }
  .device-showcase { max-width: 540px; margin: 0 auto; }
  .pencil { right: -11px; }
}
@media (max-width: 620px) {
  .pencil { display: none; }
}

/* Product — unified inbox visual */
.inbox-hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 48px; align-items: center; }
.inbox-copy .mini { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--purple-ink); margin-bottom: 12px; display: block; }
.inbox-copy h2 { font: 600 clamp(30px,3.6vw,46px)/1.02 var(--display); letter-spacing: -.025em; margin: 0 0 14px; color: var(--ink); }
.inbox-copy p { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.inbox-map { position: relative; display: grid; grid-template-columns: minmax(0,.8fr) 64px minmax(0,1.5fr); align-items: stretch; }
.channels { display: flex; flex-direction: column; justify-content: space-between; gap: 9px; }
.chan { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: center; background: var(--paper-2); border: 1px solid var(--cream-line); border-radius: 11px; padding: 9px 13px; }
.chan-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.chan-ic svg { width: 16px; height: 16px; }
.chan b { font: 600 13.5px var(--sans); color: var(--ink); line-height: 1.2; }
.merge { width: 100%; height: 100%; }
.merge path { fill: none; stroke: var(--cream-line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.inbox-shot { align-self: center; }
.shot-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--cream-line); box-shadow: 0 24px 48px -26px rgba(38,26,14,.42); background: #fff; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: var(--paper-3); border-bottom: 1px solid var(--cream-line); }
.shot-bar .d { width: 9px; height: 9px; border-radius: 50%; background: #d9c9a8; }
.shot-bar .d:first-child { background: #d98f86; }
.shot-bar .d:nth-child(2) { background: #d9c078; }
.shot-bar .d:nth-child(3) { background: #9cc49a; }
.shot-bar em { margin-left: 8px; font: 600 11px var(--mono); font-style: normal; color: var(--muted); }
.shot-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #fff; }
.shot-cap { margin: 12px 2px 0; font-family: var(--serif); font-size: 13.5px; color: var(--muted); }

@media (max-width: 860px) {
  .inbox-hero { grid-template-columns: 1fr; gap: 30px; }
  .inbox-map { grid-template-columns: 1fr 56px 1.1fr; }
  .merge { height: 190px; }
}
@media (max-width: 560px) {
  .inbox-map { grid-template-columns: 1fr; gap: 20px; }
  .merge { display: none; }
}

/* Compliance — safety tech grid */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.safety-card { background: var(--paper-2); border: 1px solid var(--cream-line); border-radius: 16px; padding: 22px 24px; }
.safety-card .vlabel { display: block; font: 700 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--purple-ink); margin-bottom: 14px; }
.sc-visual { background: var(--paper); border: 1px solid var(--cream-line); border-radius: 12px; padding: 16px; margin-bottom: 16px; min-height: 132px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.safety-card h3 { font: 600 19px var(--display); letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.safety-card > p { margin: 0; font-family: var(--serif); font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* lot traceability */
.lot-chip { display: flex; align-items: baseline; justify-content: space-between; background: var(--paper-3); border: 1px solid var(--cream-line); border-radius: 8px; padding: 8px 12px; }
.lot-chip b { font: 700 13px var(--mono); color: var(--ink); }
.lot-chip span { font: 600 10px var(--mono); color: var(--muted); }
.lot-flow { font: 700 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); text-align: center; }
.lot-people { display: flex; gap: 7px; justify-content: center; }
.lot-people .who { width: 30px; height: 30px; border-radius: 50%; background: var(--purple-deep); color: #fff; display: grid; place-items: center; font: 700 11px var(--sans); }
.lot-people .who.more { background: var(--paper-3); color: var(--ink-soft); border: 1px solid var(--cream-line); }

/* danger-zone face map */
.sc-visual-shot { padding: 0; overflow: hidden; }
.danger-shot { display: block; width: 100%; height: 100%; min-height: 132px; max-height: 168px; object-fit: cover; object-position: center 32%; }
.face-map { width: 100%; max-height: 128px; }
.fm-face { stroke: var(--cream-line); stroke-width: 1.6; fill: var(--paper-3); }
.fm-artery { stroke: #c8642e; stroke-width: 1.7; opacity: .8; }
.fm-zone { fill: #c8642e; fill-opacity: .22; stroke: #c8642e; stroke-width: 1.1; }

/* compliance library chat */
.lib-q { align-self: flex-start; background: var(--paper-3); border-radius: 11px; border-bottom-left-radius: 4px; padding: 9px 12px; font: 500 12.5px var(--sans); color: var(--ink); max-width: 92%; }
.lib-a { align-self: flex-end; background: var(--purple-deep); color: #fff; border-radius: 11px; border-bottom-right-radius: 4px; padding: 9px 12px; font: 500 12.5px var(--sans); max-width: 94%; }
.lib-a .cite { display: block; margin-top: 6px; font: 700 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #d7c9ff; }

/* cumulative dose meter */
.dose-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dose-top span { font-family: var(--serif); font-size: 12.5px; color: var(--ink-soft); }
.dose-top b { font: 700 18px var(--display); color: var(--ink); }
.dose-bar { height: 9px; border-radius: 5px; background: var(--paper-3); overflow: hidden; border: 1px solid var(--cream-line); }
.dose-bar i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg,var(--teal),#c8a53e); }
.dose-scale { display: flex; justify-content: space-between; font: 600 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

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

/* Product — AI context chain (horizontal tree with mini visuals) */
.chain-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.chain-intro .mini { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--purple-ink); margin-bottom: 12px; display: block; }
.chain-intro h2 { font: 600 clamp(30px,3.8vw,48px)/1.02 var(--display); letter-spacing: -.025em; margin: 0 0 14px; color: var(--ink); }
.chain-intro p { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.chain-incl { display: inline-block; margin-top: 18px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(47,143,126,.08); border: 1px solid rgba(47,143,126,.22); border-radius: 999px; padding: 8px 18px; }

/* animated pulse */
.pulse { width: 16px; height: 16px; border-radius: 50%; background: var(--purple-deep); margin-bottom: 8px; position: relative; }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--purple); opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* horizontal tree */
.tree { display: grid; grid-template-columns: auto 120px 1fr; align-items: center; gap: 0; max-width: 1100px; margin: 0 auto; overflow-x: auto; }
.tree-source { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; min-width: 130px; }
.tree-source b { font: 700 22px var(--display); color: var(--ink); letter-spacing: -.02em; }
.tree-source span { font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.tree-lines { width: 100%; height: 100%; min-height: 420px; }
.tree-lines path { fill: none; stroke: var(--cream-line); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 500; stroke-dashoffset: 500; }
.tree.revealed .tree-lines path { animation: draw-branch .8s ease-out forwards; }
.tree.revealed .tree-lines path:nth-child(1) { animation-delay: .1s; }
.tree.revealed .tree-lines path:nth-child(2) { animation-delay: .25s; }
.tree.revealed .tree-lines path:nth-child(3) { animation-delay: .4s; }
.tree.revealed .tree-lines path:nth-child(4) { animation-delay: .55s; }
.tree.revealed .tree-lines path:nth-child(5) { animation-delay: .7s; }
.tree.revealed .tree-lines path:nth-child(6) { animation-delay: .85s; }
@keyframes draw-branch { to { stroke-dashoffset: 0; stroke: var(--purple); } }

.tree-leaves { display: flex; flex-direction: column; gap: 8px; }

/* each leaf = label + tiny visual + AI note */
.leaf { background: var(--paper-2); border: 1px solid var(--cream-line); border-radius: 14px; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; align-items: center; opacity: .3; transform: translateX(12px); transition: opacity .5s ease, transform .5s ease; }
.tree.revealed .leaf { opacity: 1; transform: none; }
.tree.revealed .leaf:nth-child(1) { transition-delay: .2s; }
.tree.revealed .leaf:nth-child(2) { transition-delay: .35s; }
.tree.revealed .leaf:nth-child(3) { transition-delay: .5s; }
.tree.revealed .leaf:nth-child(4) { transition-delay: .65s; }
.tree.revealed .leaf:nth-child(5) { transition-delay: .8s; }
.tree.revealed .leaf:nth-child(6) { transition-delay: .95s; }

.leaf em { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--purple-ink); font-style: normal; min-width: 72px; }
.ai-did { font: 600 10px var(--mono); letter-spacing: .04em; color: var(--teal); text-align: right; white-space: nowrap; }

/* Mini visuals inside each leaf */
.leaf-vis { display: flex; align-items: center; gap: 8px; }

/* invoice mini */
.lv-row { display: flex; justify-content: space-between; gap: 14px; font: 500 12px var(--sans); color: var(--ink-soft); }
.lv-row b { font-weight: 650; color: var(--ink); }
.lv-row.total { border-top: 1px solid var(--cream-line); padding-top: 4px; margin-top: 2px; }

/* aftercare SMS bubble */
.sms-bub { background: var(--purple-deep); color: #fff; font: 500 11.5px var(--sans); padding: 7px 11px; border-radius: 10px 10px 4px 10px; max-width: 200px; line-height: 1.35; }
.sms-tag { font: 700 8px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--purple-ink); }

/* inventory vial */
.vial { display: flex; align-items: center; gap: 8px; background: var(--paper-3); border: 1px solid var(--cream-line); border-radius: 8px; padding: 5px 10px; }
.vl { font: 700 11px var(--mono); color: var(--ink); }
.vx { font: 700 14px var(--display); color: #c8642e; }
.vexp { font: 600 9px var(--mono); color: var(--muted); }

/* compliance checks */
.comp-checks { display: flex; gap: 6px; }
.ck { font: 700 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--paper-3); color: var(--muted); border: 1px solid var(--cream-line); }
.ck.on { background: rgba(47,143,126,.1); color: var(--teal); border-color: rgba(47,143,126,.25); }

/* dose mini meter */
.dose-mini { width: 100px; height: 7px; border-radius: 4px; background: var(--paper-3); border: 1px solid var(--cream-line); overflow: hidden; }
.dm-fill { height: 100%; width: 62%; background: linear-gradient(90deg, var(--teal), #c8a53e); }
.dm-val { font: 600 9px var(--mono); color: var(--muted); white-space: nowrap; }

/* rebook calendar mini */
.cal-mini { display: flex; flex-direction: column; align-items: center; background: var(--paper-3); border: 1px solid var(--cream-line); border-radius: 8px; padding: 4px 14px; }
.cal-month { font: 700 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--purple-ink); }
.cal-day { font: 700 20px var(--display); color: var(--ink); line-height: 1; }
.cal-note { font: 600 10px var(--mono); color: var(--muted); }

@media (max-width: 860px) {
  .tree { grid-template-columns: 1fr; gap: 20px; }
  .tree-lines { display: none; }
  .tree-source { flex-direction: row; gap: 12px; }
  .leaf { grid-template-columns: 1fr; gap: 8px; }
  .ai-did { text-align: left; }
}

/* Product — "What happens when..." scenario workflows */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.scenario { background: var(--paper-2); border: 1px solid var(--cream-line); border-radius: 16px; padding: 22px 24px; }
.sc-q { display: block; font: 600 18px var(--display); color: var(--ink); letter-spacing: -.01em; margin-bottom: 16px; }
.sc-flow { display: flex; flex-direction: column; gap: 0; }
.sc-step { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--cream-line); font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.sc-step:first-child { border-top: 0; }
.sn { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--cream-line); font: 700 10px var(--mono); color: var(--purple-ink); }
.sc-step.done { color: var(--teal); font-weight: 600; }
.sc-step.done .sn { background: rgba(47,143,126,.12); border-color: rgba(47,143,126,.3); color: var(--teal); }
@media (max-width: 760px) { .scenario-grid { grid-template-columns: 1fr; } }
