/* Keeps the privacy-mask dots visually consistent with the underlying figures. */
.slide[hidden] { display: none !important; }
.privacy-active [data-value]:after { font-size: 10px !important; }
.privacy-active .amount:after { font-size: 22px !important; }

.phone-head .privacy {
  min-width: 38px;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid #b8c6d4;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: #40566b;
  font: 600 7px Inter,Arial,sans-serif;
}
.phone-head .privacy:hover { background: #fff; }
.phone-head .amount-visibility {
  width: 40px;
  min-width: 40px;
  min-height: 38px;
  padding: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.phone-head .amount-visibility .fa-solid { pointer-events: none; }

/* Viewport-safe composition: the navigation has its own reserved band. */
.slide {
  padding-top: clamp(76px, 8vh, 96px);
  padding-bottom: 104px;
}

/* The cover is a true two-column composition; the notification is the entry point. */
.cover.active { display: grid; }
.cover .cover-notification {
  align-self: center;
  justify-self: end;
  width: min(40vw, 520px);
  margin-top: 0;
  position: absolute;
  top: 45%;
  right: clamp(5vw, 8vw, 11vw);
  z-index: 2;
}

.cover .cover-notification::before {
  content: "";
  position: absolute;
  inset: -70px -90px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.48), rgba(203,220,239,.08) 58%, transparent 72%);
  filter: blur(10px);
}

.cover .cover-notification .chat-orbit {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 28px;
  background: rgba(244,248,252,.70);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 42px rgba(28,47,67,.17), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.notification-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(19,21,21,.16);
}

.notification-icon img { width: 32px; height: 32px; }
.notification-copy { min-width: 0; }
.notification-copy header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.notification-copy strong { color: #1c242b; font: 600 15px Outfit, Arial, sans-serif; }
.notification-copy time { color: #6b747d; font: 400 12px Inter, Arial, sans-serif; }
.notification-copy p { margin: 1px 0 0; color: #1d252c; font: 400 18px/1.25 Outfit, Arial, sans-serif; }

.cover .author { display: grid; gap: 2px; }
.cover .author small { color: #667587; font: 500 9px Inter,Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cover .author strong { margin-top: 3px; font: 600 17px Outfit,Arial,sans-serif; }
.cover .author a { width: max-content; color: #526171; font: 500 11px Inter,Arial,sans-serif; text-decoration: none; border-bottom: 1px solid rgba(82,97,113,.35); }
.cover .author a:hover { color: #1f4f76; border-bottom-color: currentColor; }

/* The cover notification behaves like a calm iOS arrival, not decorative motion. */
.cover .cover-notification {
  opacity: 0;
  transform: translateY(42px) scale(.975);
  filter: blur(2px);
  transition: opacity 500ms ease-out, transform 560ms cubic-bezier(.16,1,.3,1), filter 420ms ease-out;
}
.cover .cover-notification.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.deck-nav {
  bottom: 14px;
  height: 44px;
}

.solution {
  padding-top: clamp(78px, 8vh, 92px);
  padding-bottom: 74px;
}

.solution .top h2 {
  font-size: clamp(32px, 3.7vw, 56px);
}

.solution .phone-wrap {
  height: min(530px, calc(100vh - 245px));
  min-height: 340px;
  margin-top: 8px;
}

.solution .phone {
  width: auto;
  height: min(530px, calc(100vh - 245px));
  max-height: 100%;
  aspect-ratio: 371 / 748;
  border-radius: 13.6% / 6.8%;
}

.solution .phone::before {
  top: 6px;
  width: 116px;
  height: 31px;
  border-radius: 0 0 17px 17px;
  background:
    linear-gradient(#697075,#697075) 43% 11px / 34px 3px no-repeat,
    radial-gradient(circle at 75% 13px,#555c60 0 2px,#101213 2.5px 4px,transparent 4.5px),
    #252929;
}

.problem .problem-grid {
  margin-top: clamp(24px, 4vh, 48px);
}

.problem .dense-data {
  width: 100%;
  min-height: 250px;
  padding: 20px;
  transform: rotate(-1.5deg);
}

.dense-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dense-header span { color: #63768a; font: 600 8px Inter, Arial, sans-serif; letter-spacing: .1em; }
.dense-header b { padding: 5px 8px; border-radius: 99px; background: #f0e6e7; color: #8f4b52; font: 600 8px Inter, Arial, sans-serif; }
.dense-total { display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 20px 0 14px; }
.dense-total small { color: #69798a; font: 500 9px Inter, Arial, sans-serif; }
.dense-total strong { grid-row: 2; color: #1d2933; font: 700 27px Inter, Arial, sans-serif; letter-spacing: -.06em; }
.dense-total em { grid-column: 2; grid-row: 2; color: #467078; font: 600 9px Inter, Arial, sans-serif; }
.dense-bars { display: grid; gap: 7px; margin: 8px 0 14px; }
.dense-bars i { display: block; width: var(--dw); height: 7px; margin: 0; border-radius: 7px; background: #b8c7d8; }
.dense-bars i:nth-child(2) { background: #6faed8; }
.dense-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.dense-meta span { padding: 8px 6px; border: 1px solid #d8e0e8; border-radius: 8px; background: #f7f9fb; color: #56687a; font: 500 8px Inter, Arial, sans-serif; text-align: center; }

.problem .big-statement {
  margin-top: clamp(18px, 2.5vh, 30px);
}

.problem .three-q {
  margin-top: 18px;
}

.flow { margin-top: clamp(52px, 9vh, 95px); }

.flow > .branches {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.flow > div:not(.branches),
.branches > div {
  width: 185px;
  height: 132px;
  min-height: 132px;
}

.layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  height: 330px;
  margin-top: clamp(30px, 4vh, 48px);
}

.layers .layer {
  position: relative;
  inset: auto;
  width: auto;
  padding: 24px;
  overflow: hidden;
}

.layers .l1 { height: 220px; }
.layers .l2 { height: 270px; }
.layers .l3 { height: 320px; }

.layers .layer h3 { margin-top: 28px; }
.layers + .pencil-note { margin-top: 16px; }

@media (max-height: 820px) {
  .slide { padding-top: 70px; padding-bottom: 88px; }
  .top h2, .slide h2 { font-size: clamp(32px, 4vw, 48px); }
  .solution .phone-wrap { height: calc(100vh - 210px); }
  .solution .phone { height: calc(100vh - 210px); }
  .problem .problem-grid { transform: scale(.86); transform-origin: center top; margin-bottom: -48px; }
  .problem .big-statement { font-size: clamp(18px, 2vw, 25px); }
  .three-q span { padding: 7px 12px; font-size: 12px; }
}

/* Official hand-drawn Mal mark supplied with the project. */
.cover .pencil-mark {
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  right: -9vw;
  top: -20vw;
  border: 0;
  border-radius: 0;
  transform: rotate(13deg);
  opacity: 1;
  mix-blend-mode: multiply;
}

.cover .pencil-mark::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: url("data/logo-pencil.png") center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .22;
}

.cover .pencil-mark::after { display: none; }

.cover .pencil-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  opacity: .22;
  filter: grayscale(1) contrast(1.25);
}

/* Motion system: movement is reserved for product behaviour, not decoration. */
.slide.active { animation: none; }

[data-reveal] {
  transform: none;
  transition: opacity 220ms ease-out;
}

/* A tiny scale cue keeps visual groupings legible without "flying" around. */
#slide-03 .layer,
#slide-04 .flow > div,
#slide-07 .compare-grid article {
  transform: scale(.985);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}

#slide-03 .layer.revealed,
#slide-04 .flow > div.revealed,
#slide-07 .compare-grid article.revealed { transform: scale(1); }

/* Data earns the only directional animation: category bars grow on reveal. */
#slide-05 .category i { transition: width 360ms cubic-bezier(.2,.8,.2,1); }
#slide-05 .category.revealed i { animation: none; }

/* The assistant's typing indicator is deliberate, short and contextual. */
.typing i { animation-duration: 900ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], #slide-03 .layer, #slide-04 .flow > div, #slide-07 .compare-grid article {
    transition: none;
  }
}

/* Conversation map: one presentation-readable system view, not an architecture diagram. */
.conversation-map {
  padding: 68px 6vw 74px;
  background: var(--ice);
}
.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.map-heading h2 { font-size: clamp(32px, 3.6vw, 52px); }
.map-heading > p { margin: 0 0 4px; color: #526171; font: 400 12px/1.45 Inter, Arial, sans-serif; text-align: right; }
.conversation-flow-map { margin-top: 18px; }
.map-main-path { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1.12fr 26px 124px; align-items: center; gap: 8px; }
.map-node { min-width: 0; min-height: 78px; padding: 12px 14px; border: 1px solid rgba(19,21,21,.14); border-radius: 15px; background: rgba(255,255,255,.86); }
.map-node small { display: block; margin-bottom: 7px; color: #657487; font: 600 8px Inter, Arial, sans-serif; letter-spacing: .1em; }
.map-node b { display: block; font-size: 14px; font-weight: 500; line-height: 1.15; }
.map-node span { display: block; margin-top: 5px; color: #59636d; font: 400 9px/1.35 Inter, Arial, sans-serif; }
.user-node { border-top: 3px solid #776ee8; }
.ai-node { border-top: 3px solid #0099ff; }
.system-node { border-top: 3px solid #9aa5af; background: rgba(235,240,246,.88); }
.optional-node { border-top: 3px solid #c658fd; }
.map-arrow { color: #60758b; font-style: normal; font-size: 22px; text-align: center; }
.map-decision { width: 112px; height: 112px; margin: -16px auto; display: grid; place-content: center; text-align: center; border: 1px solid #776ee8; background: rgba(255,255,255,.84); transform: rotate(45deg); border-radius: 18px; }
.map-decision > * { transform: rotate(-45deg); }
.map-decision b { font-size: 13px; font-weight: 600; }
.map-decision span { margin-top: 5px; color: #657181; font: 400 8px/1.25 Inter, Arial, sans-serif; }
.map-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 19px 0 0 20%; }
.map-branch { position: relative; display: grid; grid-template-columns: 1fr 26px 1.18fr; align-items: center; gap: 7px; padding: 18px 12px 9px; border-top: 1px solid rgba(19,21,21,.14); }
.map-branch::before { content: ""; position: absolute; left: 50%; top: -20px; height: 20px; border-left: 1px solid #74879a; }
.branch-label { position: absolute; top: 4px; left: 12px; color: #657487; font: 600 7px Inter, Arial, sans-serif; letter-spacing: .09em; }
.map-branch .map-node { min-height: 69px; padding: 10px 12px; }
.map-branch em { grid-column: 1 / -1; color: #5e6f80; font: 500 8px Inter, Arial, sans-serif; text-align: center; }
.assistant-branch { border-top-style: dashed; }
.assistant-branch::before { border-left-style: dashed; }
.map-note { margin: 5px 0 0; color: #5a6875; font: 500 9px Inter, Arial, sans-serif; text-align: center; }
.journey-map { margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(19,21,21,.14); }
.journey-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.journey-title b { font: 700 10px Inter, Arial, sans-serif; letter-spacing: .1em; }
.journey-title span { color: #5a6875; font: 400 9px Inter, Arial, sans-serif; }
.journey-stages { display: grid; grid-template-columns: repeat(7, 1fr); }
.journey-stages article { position: relative; min-width: 0; padding: 8px 10px 7px; border-left: 1px solid rgba(19,21,21,.12); }
.journey-stages article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #776ee8; transform-origin: left; }
.journey-stages article:nth-child(n+4)::before { background: #0099ff; }
.journey-stages article:nth-child(n+6)::before { background: #c658fd; }
.journey-stages small { color: #728094; font: 600 8px Inter, Arial, sans-serif; }
.journey-stages b, .journey-stages span, .journey-stages em { display: block; }
.journey-stages b { margin-top: 3px; font-size: 12px; font-weight: 600; }
.journey-stages span { margin-top: 3px; color: #425b74; font: 600 8px Inter, Arial, sans-serif; }
.journey-stages em { margin-top: 5px; color: #68737e; font: 400 8px/1.25 Inter, Arial, sans-serif; }
.conversation-map [data-reveal] { transform: translateY(10px); transition: opacity 360ms ease-out, transform 440ms cubic-bezier(.2,.8,.2,1); }
.conversation-map [data-reveal].revealed { transform: none; }

@media (max-height: 760px) {
  .conversation-map { padding-top: 64px; padding-bottom: 68px; }
  .conversation-flow-map { margin-top: 12px; }
  .map-node { min-height: 68px; padding: 9px 11px; }
  .map-decision { width: 94px; height: 94px; }
  .map-branches { margin-top: 13px; }
  .journey-map { margin-top: 8px; padding-top: 8px; }
}

/* Traditional conversation user flow — decisions, branches, loops and optional paths. */
.conversation-map { padding: 66px 6vw 70px; }
.flow-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.flow-heading h2 { font-size: clamp(31px, 3.5vw, 50px); }
.flow-heading > p { margin: 0 0 4px; color: #526171; font: 500 10px/1.45 Inter, Arial, sans-serif; text-align: right; }
.traditional-flow { position: relative; width: min(1100px, 100%); height: min(430px, calc(100vh - 200px)); min-height: 390px; margin: 16px auto 0; }
.flow-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.connector path { fill: none; stroke: #66798e; stroke-width: 1.35; marker-end: url(#flowArrow); }
.connector.user-path path { stroke: #776ee8; }
.connector.assistant-path path { stroke: #0099ff; }
.connector.optional-path path { stroke: #b45ee3; stroke-dasharray: 5 5; }
.flow-key { position: absolute; left: 0; top: 5%; width: 11%; display: grid; gap: 7px; padding: 10px; border: 1px solid rgba(19,21,21,.14); border-radius: 12px; background: rgba(255,255,255,.62); }
.flow-key b { font: 700 8px Inter, Arial, sans-serif; letter-spacing: .1em; }
.flow-key span { display: flex; align-items: center; gap: 6px; color: #536273; font: 500 7px Inter, Arial, sans-serif; }
.flow-key i { width: 9px; height: 9px; border: 1px solid #776ee8; border-radius: 2px; }
.flow-key i.ai { border-color: #0099ff; background: #e8f6ff; }
.flow-key i.system { border-color: #9aa5af; background: #edf1f5; }
.flow-key i.decision { border-color: #776ee8; transform: rotate(45deg); border-radius: 1px; }
.flow-node { position: absolute; width: 12.5%; min-height: 86px; padding: 11px 12px; border: 1px solid rgba(19,21,21,.14); border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 7px 18px rgba(31,48,68,.055); }
.flow-node small { display: block; margin-bottom: 7px; color: #68788b; font: 600 7px Inter, Arial, sans-serif; letter-spacing: .08em; }
.flow-node b { display: block; font-size: 12px; font-weight: 600; line-height: 1.15; }
.flow-node span { display: block; margin-top: 5px; color: #536170; font: 400 7.5px/1.45 Inter, Arial, sans-serif; }
.flow-node.user { border-color: rgba(119,110,232,.52); background: #faf9ff; }
.flow-node.ai { border-color: rgba(0,153,255,.48); background: #f8fcff; }
.flow-node.system { border-color: rgba(112,125,137,.45); background: #eef2f6; }
.flow-node.optional { border-color: rgba(198,88,253,.55); background: #fff9ff; }
.flow-decision { position: absolute; width: 76px; height: 76px; display: grid; place-items: center; padding: 12px; border: 1px solid #776ee8; border-radius: 12px; background: rgba(255,255,255,.92); transform: rotate(45deg); text-align: center; }
.flow-decision b { font-size: 9px; line-height: 1.2; transform: rotate(-45deg); }
.f-trigger { left: 14%; top: 8%; }
.f-thinking { left: 28%; top: 8%; }
.f-primary { left: 42.5%; top: 8%; width: 15%; }
.f-main-decision { left: 61.5%; top: 8%; }
.f-category { left: 72.5%; top: 8%; }
.f-category-detail { left: 86%; top: 8%; }
.f-transaction { left: 86%; top: 39%; }
.f-transaction-detail { left: 87%; top: 65%; }
.f-insight { left: 42.5%; top: 65%; width: 15%; }
.f-insight-decision { left: 60%; top: 65%; }
.f-insight-detail { left: 74%; top: 65%; }
.f-dismiss { left: 60%; top: 86%; min-height: 58px; }
.f-roundup { left: 74%; top: 86%; width: 12%; }
.f-end { left: 64%; top: 39%; }
.flow-callout { position: absolute; margin: 0; color: #526d90; font: 600 14px/1.05 Caveat, cursive; }
.callout-answer { left: 45%; top: 0; }
.callout-tap { right: .5%; top: 0; text-align: right; }
.callout-value { right: 0; bottom: -3px; color: #8b5a98; text-align: right; }
.conversation-map [data-reveal] { transform: translateY(8px); transition: opacity 320ms ease-out, transform 380ms ease-out; }
.conversation-map [data-reveal].revealed { transform: none; }

/* Journey map gets its own slide so the research value remains readable. */
.journey-slide { padding: 66px 5.5vw 72px; }
.journey-table { display: grid; grid-template-columns: 118px repeat(7,minmax(0,1fr)); margin-top: 20px; border: 1px solid rgba(19,21,21,.14); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.58); }
.journey-table > * { min-width: 0; border-right: 1px solid rgba(19,21,21,.1); border-bottom: 1px solid rgba(19,21,21,.1); }
.journey-corner { background: rgba(228,234,245,.8); }
.journey-stage { min-height: 66px; padding: 10px 8px; text-align: center; background: rgba(255,255,255,.58); }
.journey-stage small,.journey-stage b,.journey-stage span { display: block; }
.journey-stage small { color: #6f65d8; font: 700 8px Inter,Arial,sans-serif; }
.journey-stage b { margin-top: 4px; font-size: 12px; font-weight: 600; }
.journey-stage span { margin-top: 4px; color: #657180; font: 400 7.5px/1.2 Inter,Arial,sans-serif; }
.journey-row-label { display: grid; place-items: center start; min-height: 62px; padding: 10px 12px; background: rgba(228,234,245,.72); color: #34475a; font: 700 8px Inter,Arial,sans-serif; letter-spacing: .07em; }
.journey-row-label.opportunity { background: rgba(252,236,241,.72); color: #8b4d5a; }
.journey-table > p { min-height: 62px; margin: 0; padding: 12px 8px; display: grid; place-items: center; color: #343e47; font: 500 8.5px/1.35 Inter,Arial,sans-serif; text-align: center; }
.journey-emotion { grid-column: 2 / -1; position: relative; min-height: 60px; padding: 4px 8px 16px; display: grid; grid-template-columns: repeat(7,1fr); align-items: end; }
.journey-emotion svg { position: absolute; inset: 3px 12px 16px; width: calc(100% - 24px); height: 42px; }
.journey-emotion path { fill: none; stroke: #776ee8; stroke-width: 2; }
.journey-emotion circle { fill: #f5bf32; stroke: #fff; stroke-width: 2; }
.journey-emotion span { position: relative; color: #536170; font: 600 7px Inter,Arial,sans-serif; text-align: center; }
.journey-note { margin: 10px 0 0; color: #5c6976; font: 500 9px Inter,Arial,sans-serif; text-align: right; }
.journey-slide [data-reveal] { transform: translateY(7px); transition: opacity 300ms ease-out, transform 360ms ease-out; }
.journey-slide [data-reveal].revealed { transform: none; }

/* In-phone conversation playback: send → user bubble → typing → response. */
.natural-chat .messages { height: calc(100% - 112px); overflow-y: auto; scrollbar-width: none; }
.natural-chat .messages::-webkit-scrollbar { display: none; }
.natural-chat .chat-response-content { display: none; }
.natural-chat.chat-replied .chat-response-content { display: block; animation: chatReplyIn 360ms ease-out both; }
.natural-chat.chat-replied .chat-response-content [data-reveal] { opacity: 1; transform: none; pointer-events: auto; }
.chat-starter { min-height: 115px; display: grid; place-content: center; text-align: center; color: #667789; }
.chat-starter[hidden] { display: none !important; }
.chat-starter span { font-size: 12px; font-weight: 600; }
.chat-starter small { margin-top: 6px; font: 400 8px Inter,Arial,sans-serif; }
.chat-demo-composer { position: absolute; left: 13px; right: 13px; bottom: 13px; z-index: 5; height: 39px; display: flex; gap: 6px; padding: 4px; border: 1px solid #cbd5df; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 5px 15px rgba(31,49,67,.1); }
.chat-send { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 10px; border: 0; border-radius: 11px; background: transparent; color: #4c5b69; font: 500 8px Inter,Arial,sans-serif; text-align: left; }
.chat-send b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #25313b; color: #fff; font-size: 12px; }
.chat-send:disabled { opacity: .5; }
.chat-demo-reset { width: 32px; border: 0; border-radius: 10px; background: #e8edf3; font-size: 15px; }
.chat-send[hidden],.chat-demo-reset[hidden] { display: none !important; }
.natural-chat .generated-chat { animation: chatReplyIn 300ms ease-out both; }
.natural-chat .phone-scroll-cue { display: none; }
#slide-08 .natural-chat .roundup-card { margin-top: 10px; }
#slide-08 .try { display: none !important; }
@keyframes chatReplyIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* A short-lived coachmark makes the interactive phones discoverable. */
.phone-interaction-cue {
  position: absolute;
  z-index: 8;
  width: 190px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(72,101,128,.24);
  border-radius: 13px;
  background: rgba(250,252,255,.97);
  color: #26394b;
  box-shadow: 0 9px 24px rgba(29,46,63,.17);
  transition: opacity 220ms ease-out, transform 260ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.phone-interaction-cue i { position: absolute; top: 50%; color: #587592; font: 600 30px/1 Outfit,Arial,sans-serif; transform: translateY(-52%); animation: cueNudge 1.35s ease-in-out infinite; }
.phone-interaction-cue span { color: #587592; font: 700 6.5px Inter,Arial,sans-serif; letter-spacing: .1em; }
.phone-interaction-cue b { font: 600 9px/1.25 Outfit,Arial,sans-serif; }
.phone-interaction-cue.dismissed { opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity 220ms ease-out, transform 260ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 260ms; }
#slide-05 .phone-interaction-cue,#slide-08 .phone-interaction-cue { left: calc(67% + 166px); top: 56%; }
#slide-05 .phone-interaction-cue i,#slide-08 .phone-interaction-cue i { left: -38px; }
#slide-06 .phone-interaction-cue { right: calc(69% + 166px); top: 56%; }
#slide-06 .phone-interaction-cue i { right: -38px; }
.final-demo > .phone-interaction-cue { right: calc(100% + 18px); top: 68%; width: 168px; }
.final-demo > .phone-interaction-cue i { right: -38px; }
@keyframes cueNudge { 50% { transform: translateY(-52%) translateX(5px); } }

@media (max-width: 1050px) {
  #slide-05 .phone-interaction-cue,#slide-08 .phone-interaction-cue { left: calc(70% + 155px); width: 165px; }
  #slide-06 .phone-interaction-cue { right: calc(73% + 155px); width: 165px; }
}

@media (max-height: 760px) {
  .traditional-flow { transform: scale(.9); transform-origin: center top; width: 111%; margin-left: -5.5%; }
  .journey-table { margin-top: 12px; }
  .journey-stage { min-height: 57px; padding: 7px; }
  .journey-row-label,.journey-table > p { min-height: 53px; }
  .journey-emotion { min-height: 51px; }
}

/* Focused additions to the core narrative. */
.primary-insight {
  margin: 8px 0 4px !important;
  padding: 7px 8px;
  border-left: 2px solid #7794ad;
  border-radius: 0 7px 7px 0;
  background: #f0f4f8;
  color: #4d6072;
  font: 500 8.5px/1.35 Inter, Arial, sans-serif !important;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 8px;
}

.primary-actions button {
  min-height: 30px;
  padding: 6px 7px;
  border: 1px solid #afbdcb;
  border-radius: 8px;
  background: #fff;
  color: #355d7b;
  font: 600 8px Inter, Arial, sans-serif;
}

.full-breakdown {
  color: #566579;
  font: 400 9px Inter, Arial, sans-serif;
  margin: 8px 0 0;
}

.compare-state {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 9px;
  background: #f3f6f9;
}

.compare-state span { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "bar bar"; gap: 4px 8px; align-items: center; color: #5b6d7e; font: 600 7.5px Inter, Arial, sans-serif; }
.compare-state b { grid-area: label; color: #2e4357; }
.compare-state em { grid-area: value; color: #3f5367; font: 600 7.5px Inter, Arial, sans-serif; }
.compare-state i { grid-area: bar; width: 100%; height: 5px; border-radius: 5px; background: linear-gradient(90deg,#3f9fdc 0 var(--compare),#d7e0e8 var(--compare) 100%); }
.compare-state span:nth-child(2) i { background: linear-gradient(90deg,#8297ab 0 var(--compare),#d7e0e8 var(--compare) 100%); }

.branch-note {
  margin: 11px auto 0;
  max-width: 500px;
  color: #61738a;
  font: 500 11px Inter, Arial, sans-serif;
  line-height: 1.35;
}

.flow-branch-note {
  margin: 28px auto 0;
  width: max-content;
  padding: 7px 12px;
  border: 1px solid rgba(19,21,21,.12);
  border-radius: 99px;
  background: rgba(255,255,255,.48);
  color: #5d7085;
  font: 500 10px Inter, Arial, sans-serif;
}

#slide-04 .legend { margin-top: 15px; }

.ritual-note em {
  font-style: normal;
  color: #366a91;
  white-space: nowrap;
}

/* Editorial phone slides: alternate the device and reasoning instead of stacking vertically. */
#slide-05 .top,
#slide-06 .top,
#slide-08 .top {
  position: absolute;
  top: clamp(105px, 14vh, 145px);
  width: min(40vw, 560px);
  z-index: 2;
  text-align: left;
}

#slide-05 .top,
#slide-08 .top { left: 8.5vw; }
#slide-06 .top { left: 57vw; }

#slide-05 .top h2,
#slide-06 .top h2,
#slide-08 .top h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: .98;
}

#slide-05 .phone-wrap,
#slide-06 .phone-wrap,
#slide-08 .phone-wrap {
  position: absolute;
  inset: 78px 0 70px;
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

#slide-05 .phone,
#slide-06 .phone,
#slide-08 .phone {
  position: absolute;
  top: 51%;
  width: auto;
  height: min(calc(100vh - 150px), 570px);
  aspect-ratio: 371 / 748;
  transform: translate(-50%,-50%);
}

#slide-05 .messages.compact,
#slide-06 .messages.compact,
#slide-08 .messages.compact {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

#slide-05 .messages.compact::-webkit-scrollbar,
#slide-06 .messages.compact::-webkit-scrollbar,
#slide-08 .messages.compact::-webkit-scrollbar { display: none; }

.phone-scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(29,48,65,.16);
  border-radius: 99px;
  background: rgba(247,250,253,.92);
  color: #4b6176;
  box-shadow: 0 4px 12px rgba(31,50,68,.14);
  font: 600 7px Inter, Arial, sans-serif;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.phone-scroll-cue.is-hidden { opacity: 0; }

#slide-05 .phone,
#slide-08 .phone { left: 67%; }
#slide-06 .phone { left: 31%; }

#slide-05 .annotation,
#slide-06 .annotation,
#slide-08 .annotation {
  width: min(31vw, 390px);
  padding: 12px 14px;
  border: 1px solid rgba(19,21,21,.11);
  border-radius: 13px;
  background: rgba(255,255,255,.46);
  color: #53677f;
  font: 500 13px/1.35 Outfit, Arial, sans-serif;
  box-shadow: 0 7px 18px rgba(34,52,71,.05);
  transform: none;
}

#slide-05 .annotation.left,
#slide-08 .annotation.left { left: 8.5vw; right: auto; top: 55%; }
#slide-05 .annotation.right,
#slide-08 .annotation.right { left: 8.5vw; right: auto; top: 69%; }
#slide-06 .annotation.left { left: 57vw; right: auto; top: 55%; }
#slide-06 .annotation.right { left: 57vw; right: auto; top: 69%; }

#slide-05 .annotation b,
#slide-06 .annotation b,
#slide-08 .annotation b { color: #23384e; }

#slide-05 .try,
#slide-06 .try,
#slide-08 .try {
  left: auto;
  right: 8vw;
  top: auto;
  bottom: 25px;
  padding: 6px 10px;
  border-radius: 99px;
  background: #28343e;
  color: #fff;
  font: 600 9px Inter, Arial, sans-serif;
}

@media (max-width: 1050px) {
  #slide-05 .top, #slide-06 .top, #slide-08 .top { width: 42vw; }
  #slide-06 .top { left: 54vw; }
  #slide-05 .phone, #slide-08 .phone { left: 70%; }
  #slide-06 .phone { left: 27%; }
  #slide-06 .annotation.left, #slide-06 .annotation.right { left: 54vw; }
}

/* Validation closes the design argument before the interactive finale. */
.validation .top { text-align: center; }

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(980px, 84vw);
  margin: clamp(34px, 6vh, 62px) auto 0;
}

.validation-grid article {
  min-height: 255px;
  padding: 24px;
  border: 1px solid rgba(19,21,21,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 12px 28px rgba(32,50,69,.06);
}

.validation-grid article:nth-child(2) { background: rgba(255,255,255,.88); }
.validation-grid span { color: #4f7190; font: 600 9px Inter, Arial, sans-serif; letter-spacing: .1em; }
.validation-grid h3 { margin: 34px 0 10px; font-size: 23px; font-weight: 500; }
.validation-grid p { min-height: 64px; margin: 0; color: #53606c; font: 400 12px/1.45 Inter, Arial, sans-serif; }
.validation-grid small { display: block; margin-top: 22px; color: #263a4e; font: 600 10px Inter, Arial, sans-serif; }
.validation-path { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.validation-path span { padding: 8px 13px; border: 1px solid rgba(19,21,21,.12); border-radius: 99px; background: rgba(255,255,255,.52); font: 500 10px Inter, Arial, sans-serif; }
.validation-path i { color: #52708d; font-style: normal; }

/* Final slide: a real, scrollable conversation rather than a static summary. */
.finale > h2,
.finale > .lede,
.finale > .principles { max-width: 50%; }

.final-demo {
  position: absolute;
  right: clamp(6vw, 9vw, 12vw);
  top: clamp(88px, 11vh, 128px);
  width: auto;
  z-index: 1;
}

.final-demo-label {
  margin: 0 0 8px;
  color: #9eafc0;
  font: 600 10px Inter, Arial, sans-serif;
  letter-spacing: .11em;
}

.final-demo-phone {
  height: min(69vh, 690px);
  min-height: 480px;
  aspect-ratio: 371 / 748;
  position: relative;
  border: 7px solid #252b2f;
  border-radius: 38px;
  overflow: hidden;
  background: #dfe8f4;
  box-shadow: 0 24px 50px #0000004d;
}

.final-demo-phone::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 6px;
  left: 50%;
  width: 112px;
  height: 30px;
  border-radius: 0 0 17px 17px;
  background:
    linear-gradient(#697075,#697075) 43% 10px / 34px 3px no-repeat,
    radial-gradient(circle at 75% 12px,#555c60 0 2px,#101213 2.5px 4px,transparent 4.5px),
    #252b2f;
  transform: translateX(-50%);
}

.final-demo-head {
  height: 66px;
  padding: 32px 16px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d2933;
  background: #edf3fa;
  border-bottom: 1px solid #bfccda;
  font-size: 11px;
}

.final-demo-head span { font-size: 17px; font-weight: 700; letter-spacing: -.08em; }
.final-demo-head i { margin-left: auto; color: #3a526b; font-style: normal; font-size: 10px; }

.final-reset {
  margin-left: auto;
  min-height: 25px;
  padding: 4px 6px;
  border: 1px solid #b8c6d4;
  border-radius: 7px;
  background: #fff;
  color: #40566b;
  font: 600 7px Inter, Arial, sans-serif;
}

.final-reset > span { margin-left: 2px; font: inherit; letter-spacing: 0; }
.final-chat-log {
  height: calc(100% - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  scroll-behavior: smooth;
}

.final-welcome {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid #c5d2e0;
  border-radius: 15px;
  color: #304151;
  background: #ffffffa8;
  font-size: 11px;
}

.final-welcome span { color: #66788b; }
.final-user { margin: 8px 0 11px 42px; padding: 10px 11px; border-radius: 14px 14px 3px 14px; background: #2b3742; color: #fff; font-size: 10px; line-height: 1.35; }
.final-user.compact { margin-top: 12px; margin-bottom: 8px; width: max-content; }
.final-assistant { margin: 9px 10px 11px 0; font-size: 10px; color: #344352; line-height: 1.35; }
.final-assistant > p { margin: 0 0 7px 2px; }
.final-assistant article { padding: 12px; border: 1px solid #c8d5e2; border-radius: 15px; background: #fff; box-shadow: 0 3px 9px #334b6b12; }
.final-assistant small { display: block; color: #66798c; font: 600 8px Inter, Arial, sans-serif; letter-spacing: .08em; }
.final-assistant strong { display: block; margin: 3px 0; color: #17232d; font: 700 22px Inter, Arial, sans-serif; letter-spacing: -.06em; }
.final-assistant article > span { color: #3e6972; font: 600 9px Inter, Arial, sans-serif; }
.final-assistant article p { margin: 9px 0; }
.final-assistant button { min-height: 29px; margin: 3px 3px 0 0; padding: 6px 8px; border: 1px solid #afc0d0; border-radius: 8px; background: #fff; color: #31526e; font: 600 8px Inter, Arial, sans-serif; }
.final-assistant button:disabled { opacity: 1; cursor: default; color:#8190a0; border-color:#d2dbe4; background:#f4f7f9; }
.final-typing { display: flex; gap: 4px; width: max-content; margin: 8px 0; padding: 8px 9px; border-radius: 12px; background: #fff; }
.final-typing i { width: 4px; height: 4px; border-radius: 50%; background: #8092a6; animation: blink .9s infinite; }
.final-typing i:nth-child(2) { animation-delay: .15s; }.final-typing i:nth-child(3) { animation-delay: .3s; }
.final-merchant { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #d9e1e9; font-size: 9px; }.final-merchant span { font: 9px Inter, Arial, sans-serif; }
.final-breakdown { display: grid; gap: 5px; }.final-breakdown span { color: #607184; font: 9px/1.45 Inter, Arial, sans-serif; }.final-roundup { background: #f6f8fb!important; }
.final-composer { height: 50px; padding: 8px 10px; background: #edf3fa; border-top: 1px solid #c2cfdd; }
.final-send { width: 100%; min-height: 33px; padding: 0 10px; border: 0; border-radius: 9px; background: #27343e; color: #fff; text-align: left; font: 500 9px Inter, Arial, sans-serif; }.final-send b { float: right; font-size: 14px; }.final-send:disabled { opacity: .58; }

@media (max-width: 900px), (max-height: 760px) {
  .final-demo { right: 6vw; width: auto; top: 90px; }
  .final-demo-phone { height: min(64vh, 560px); min-height: 400px; }
  .finale > h2 { font-size: clamp(39px, 5vw, 58px); }
}

body:has(.finale.active) .deck-header { color: #b9c5d0; }
body:has(.finale.active) .brand img { filter: invert(1); }
.finale footer { left: 9vw; right: auto; text-align: left; bottom: 9vh; }

/* Final composition: consistent device language and a collision-free summary column. */
.finale.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  padding: 72px 8vw 68px;
}
.final-copy { min-width: 0; max-width: 680px; align-self: center; }
.finale .final-copy > h2 { max-width: none; font-size: clamp(47px, 5.1vw, 74px); line-height: .91; }
.finale .final-copy > .lede { max-width: 610px; margin: 24px 0 20px; font-size: clamp(15px, 1.35vw, 20px); }
.finale .final-copy > .principles { max-width: 540px; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; }
.finale .principles span { padding: 8px 13px; font-size: 11px; }
.finale .final-copy > footer { position: static; margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(210,222,234,.17); color: #f5f8fb; font-size: 23px; text-align: left; }
.finale .final-copy > footer small { margin-top: 3px; font-size: 9px; }
.final-demo { position: relative; top: auto; right: auto; width: min(100%, 340px); justify-self: end; z-index: 1; }
.final-demo-label { display: none; }
.final-demo-phone {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 371 / 748;
  border: 7px solid #b8c6d3;
  border-radius: 13.6% / 6.8%;
  background: #e4eaf5;
  box-shadow: 0 0 0 3px rgba(244,248,251,.92), 0 26px 56px rgba(0,0,0,.42);
}
.final-demo-phone::before { display: none; }
.final-demo-head { height: 58px; padding: 14px 15px 10px; background: #e4eaf5; border-bottom-color: #b9c7d5; }
.final-chat-log { height: calc(100% - 108px); padding: 14px; background: #e4eaf5; }
.final-welcome { margin-top: 5px; padding: 14px; background: #fff; border-color: #c8d3df; }
.final-welcome small { color: #66798c; font: 600 7px Inter,Arial,sans-serif; letter-spacing: .09em; }
.final-composer { padding: 6px 9px 8px; background: #e4eaf5; }
.final-send {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 5px 4px 12px;
  border: 1px solid #c7d2dd;
  border-radius: 16px;
  background: #fff;
  color: #46586a;
  font: 500 8.5px Inter,Arial,sans-serif;
}
.final-send b {
  float: none;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #28343e;
  color: #fff;
  font-size: 14px;
}
.final-send:disabled { opacity: 1; color: #7a8792; background: #f7f9fb; }
.final-send:disabled b { background: #87939d; }
.final-user { margin-left: auto; max-width: 82%; background: #28313a; }
.final-user.compact { margin-left: auto; margin-right: 0; }
.final-assistant article { border-color: #c9d4df; }
.final-inline-response { display:grid; gap:7px; }
.final-inline-response p { margin:0!important; color:#344555; }
.final-inline-response > span { display:block; color:#607487!important; font:500 9px/1.4 Inter,Arial,sans-serif!important; }
.final-merchant-response > div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:7px; border-top:1px solid #dce3ea; }
.final-merchant-response > div b { color:#283846; font:600 9px Inter,Arial,sans-serif; }
.final-merchant-response > div span { color:#607487; font:500 8px Inter,Arial,sans-serif; white-space:nowrap; }

@media (max-height: 760px) {
  .finale.active { padding-top: 66px; padding-bottom: 62px; grid-template-columns: minmax(0,1fr) minmax(260px,310px); gap: 54px; }
  .finale .final-copy > h2 { font-size: clamp(43px, 4.7vw, 62px); }
  .finale .final-copy > .lede { margin: 18px 0 15px; }
  .finale .final-copy > footer { margin-top: 16px; padding-top: 11px; }
  .final-demo { width: min(100%, 300px); }
  .final-demo-phone { height: auto; min-height: 0; }
}

/* Final audit pass: make the brief, branching logic and interaction states explicit. */
.platform-note {
  display: block;
  margin-top: 9px;
  color: #5d7186;
  font: 600 10px Inter,Arial,sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scope-note {
  max-width: 690px;
  margin: 14px 0 0;
  color: #607287;
  font: 500 10px/1.45 Inter,Arial,sans-serif;
}

/* Two real branches: user-led exploration and an independent assistant-led moment. */
#slide-04 .flow-v2 {
  display: grid;
  grid-template-columns: 190px 46px 220px 78px minmax(300px,360px);
  align-items: center;
  gap: 12px;
  width: min(1040px,88vw);
  margin: clamp(38px,7vh,72px) auto 0;
  transform: none;
}
#slide-04 .flow-v2 > .flow-entry,
#slide-04 .flow-v2 > .flow-primary {
  width: auto;
  height: 142px;
  min-height: 142px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#slide-04 .flow-v2 > .flow-arrow { font-size: 31px; text-align: center; }
.flow-kicker { display: block; margin-bottom: 11px; color: #62758a; font: 700 7px Inter,Arial,sans-serif; letter-spacing: .12em; }
#slide-04 .flow-v2 b { font-size: 18px; }
#slide-04 .flow-v2 small { font-size: 10px; }
#slide-04 .flow-fork {
  position: relative;
  width: 78px;
  height: 220px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#slide-04 .flow-fork::before { content:""; position:absolute; left:-12px; top:50%; width:47px; border-top:1.5px solid #637991; }
#slide-04 .flow-fork::after { content:""; position:absolute; left:35px; top:23.5%; bottom:23.5%; border-left:1.5px solid #637991; }
#slide-04 .flow-fork i::before,
#slide-04 .flow-fork i::after { content:""; position:absolute; left:35px; right:-12px; width:auto; border-top:1.5px solid #637991; }
#slide-04 .flow-fork i::before { top:23.5%; }
#slide-04 .flow-fork i::after { bottom:23.5%; border-top-style:dashed; border-top-color:#a369bf; }
#slide-04 .path-stack {
  width: auto;
  height: 220px;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#slide-04 .path-card { position:relative; padding:15px 18px; border:1px solid rgba(19,21,21,.14); border-radius:17px; background:rgba(255,255,255,.9); }
#slide-04 .path-card::before { content:""; position:absolute; left:-1px; top:50%; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:8px solid #637991; transform:translate(-100%,-50%); }
#slide-04 .path-card.assistant-path { border-color:rgba(198,88,253,.48); background:rgba(255,250,255,.9); }
#slide-04 .path-card.assistant-path::before { border-left-color:#a369bf; }
#slide-04 .path-card .flow-kicker { margin-bottom:7px; }
#slide-04 .path-card b { font-size:15px; }
#slide-04 .path-card small { margin-top:4px; }
#slide-04 .path-card em { display:block; margin-top:7px; color:#5e7185; font:500 8px Inter,Arial,sans-serif; }
#slide-04 .assistant-path em { color:#87569b; }
#slide-04 .flow-branch-note { margin-top:18px; }
#slide-04 .legend { margin-top:11px; }

/* Category bars encode share of total; change is a separate, consistently placed label. */
.category { min-height: 46px; padding: 7px 0 11px; }
.category::before { content:""; position:absolute; left:0; right:0; bottom:4px; height:3px; border-radius:4px; background:#e0e7ee; }
.category span strong { display:block; color:#222b33; font:600 10px Inter,Arial,sans-serif; }
.category span small { display:block; margin-top:2px; font-size:8px; }
.category b { text-align:right; }
.category b em { display:block; margin-top:2px; color:#607488; font:600 7.5px Inter,Arial,sans-serif; white-space:nowrap; }
.category.dining b em { color:#40728b; }
.category i { z-index:1; bottom:4px; }
.primary-actions button,
.chips button,
.roundup-card button,
.insight-card button { min-height:44px; }
.phone-head .privacy { min-width:58px; min-height:40px; font-size:7px; }
.phone-head .amount-visibility { min-width:40px; width:40px; }

/* Each product slide owns one interaction: answer, category drill-down, or optional insight. */
.branch-demo .messages { height:calc(100% - 70px); overflow-y:auto; overscroll-behavior:contain; padding-bottom:78px; scrollbar-width:none; }
.branch-demo .messages::-webkit-scrollbar { display:none; }
.branch-demo .chat-response-content[hidden] { display:none; }
.branch-demo .chat-response-content { animation:chatReplyIn 340ms ease-out both; }
.drill-context,.roundup-context { display:grid; gap:9px; }
.drill-prior-answer { display:grid; gap:7px; padding:12px 14px; border:1px solid #cbd6e1; border-radius:15px; background:rgba(255,255,255,.72); box-shadow:0 4px 12px rgba(38,57,76,.045); }
.drill-helper { color:#6a7d90; font:700 7.5px Inter,Arial,sans-serif; letter-spacing:.1em; }
.drill-prior-answer > div { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.drill-prior-answer > div span { color:#586b7d; font:500 8px Inter,Arial,sans-serif; }
.drill-prior-answer > div b { color:#26343f; font:700 16px Inter,Arial,sans-serif; letter-spacing:-.04em; }
.drill-prior-answer > p { margin:0; color:#526577; font:500 8px/1.4 Inter,Arial,sans-serif; }
.drill-helper { margin:2px 3px 0; letter-spacing:0; line-height:1.45; font-weight:600; }
.drill-overview { padding:12px 14px; }
.drill-overview > small,.value-delivered small,.assistant-teaser small { color:#687b8e; font:700 7.5px Inter,Arial,sans-serif; letter-spacing:.1em; }
.drill-overview .category { margin-top:6px; }
.drill-overview .category:disabled { opacity:.58; }
.branch-reset { position:absolute; z-index:7; left:17px; bottom:17px; width:44px; height:44px; border:0; border-radius:13px; background:#e9eef4; color:#26343f; font-size:17px; box-shadow:0 3px 10px rgba(31,49,67,.1); }
.branch-reset[hidden] { display:none!important; }
.value-delivered { display:grid; gap:8px; padding:14px 15px; border:1px solid #c9d5e1; border-radius:16px; background:#fff; box-shadow:0 5px 14px rgba(38,57,76,.06); }
.value-delivered small { display:block; }
.value-row { display:grid; gap:4px; min-width:0; }
.value-row b { white-space:nowrap; font:700 22px Inter,Arial,sans-serif; letter-spacing:-.055em; }
.value-row span { white-space:nowrap; color:#3f7078; font:600 8px Inter,Arial,sans-serif; }
.assistant-teaser { padding:15px; border:1px solid rgba(167,102,194,.34); border-radius:16px; background:#fffaff; box-shadow:0 5px 14px rgba(90,53,108,.045); }
.assistant-teaser p { margin:8px 0 13px; font-size:10px; line-height:1.45; }
.teaser-actions { display:flex; align-items:stretch; flex-wrap:wrap; gap:8px; }
.assistant-teaser button { min-height:42px; padding:8px 12px; border:1px solid #b6c4d2; border-radius:11px; background:#fff; font-size:8.5px; }
.assistant-teaser .roundup-start { background:#28343e; border-color:#28343e; color:#fff; }
.assistant-teaser button:disabled { opacity:.48; }
.assistant-ack { margin:10px 0; padding:11px 12px; border-radius:13px; background:#fff; color:#4d6072; font-size:10px; line-height:1.4; }
.roundup-demo .roundup-card { margin-top:2px; }
.roundup-demo .roundup-more { padding-bottom:13px; }
.roundup-demo .messages { padding:14px 15px 82px; }
.roundup-demo .roundup-context { gap:11px; }
.roundup-demo .assistant-intro { margin:7px 3px 2px; }
.roundup-card > div[data-reveal],
.roundup-more > div,
.insight-card > div,
.chips { display:flex; align-items:stretch; flex-wrap:wrap; gap:8px; }
.roundup-card > div[data-reveal] button,
.roundup-more > div button,
.insight-card > div button,
.chips button { margin:0; }
.primary-actions { gap:8px; }
.final-assistant button { margin:3px 5px 0 0; }
.phone-head .privacy { min-width:54px; min-height:38px; padding:6px 8px; border-radius:9px; }
.phone-head .amount-visibility { min-width:40px; width:40px; padding:0; }

/* Trust states now separate processing, recovery and privacy. */
.edge-grid { width:min(1000px,88vw); gap:42px; margin-left:auto; margin-right:auto; }
.edge-phone { width:330px; padding:24px 20px; }
.processing-state > small,.edge-notes small { color:#61778d; font:700 7px Inter,Arial,sans-serif; letter-spacing:.11em; }
.processing-state .skeleton { height:112px; display:grid; align-content:center; gap:9px; padding:18px; }
.processing-state .skeleton i { display:block; height:9px; border-radius:8px; background:linear-gradient(90deg,#d7e1eb,#f7f9fb,#d7e1eb); }
.processing-state .skeleton i:nth-child(2) { width:72%; }.processing-state .skeleton i:nth-child(3) { width:48%; }
.processing-state p { display:grid; gap:5px; margin:14px 0; font-size:11px; }
.processing-state p span { color:#637181; font:400 9px/1.4 Inter,Arial,sans-serif; }
.edge-actions { display:flex; gap:7px; }
.edge-actions button { min-height:44px; padding:8px 11px; border:1px solid #b8c5d5; border-radius:10px; background:#fff; font-size:8px; }
.edge-notes { width:570px; grid-template-columns:1fr 1fr; gap:12px; }
.edge-notes span { min-height:106px; padding:14px; font-size:10px; }
.edge-notes span small { display:block; margin-bottom:8px; }
.edge-notes span b { font-size:13px; }
.edge-notes span em { color:#366a91; font-style:normal; font-weight:600; }
.edge-notes .privacy-state strong { display:block; margin:7px 0 5px; color:#283b4e; font:700 17px Inter,Arial,sans-serif; letter-spacing:.05em; }
.edge-notes .ritual-note { grid-column:1/-1; min-height:82px; }

/* The alternative is a trade-off, not a wrong-answer quiz. */
.rejected-mark { top:112px; right:27px; color:#9b6970; font-size:46px; opacity:.68; }
.approved>b { color:#567c65; opacity:.8; }

/* Final prototype exposes both branches after the shared answer. */
.final-chat-log { padding-bottom:24px; }
.final-reset { min-height:36px; padding:6px 9px; }
.final-reset[hidden] { display:none!important; }
.final-assistant { font-size:10.5px; }
.final-assistant button { min-height:42px; padding:8px 10px; font-size:8.5px; }
.final-path-label { margin:10px 0 4px; color:#60768b; font:700 7px Inter,Arial,sans-serif; letter-spacing:.1em; }
.final-nudge article { border-color:rgba(181,111,211,.42); background:#fffaff; }
.final-nudge small { color:#8a589d; }
.final-breakdown { gap:7px; }
.final-breakdown > b { margin-bottom:2px; }
.final-breakdown > span { position:relative; display:grid; grid-template-columns:1fr auto; gap:4px 8px; padding-bottom:8px; }
.final-breakdown > span::before { content:""; position:absolute; left:0; right:0; bottom:1px; height:3px; border-radius:4px; background:#e1e7ed; }
.final-breakdown > span i { position:absolute; left:0; bottom:1px; z-index:1; width:var(--bw); height:3px; border-radius:4px; background:#7b9db9; }
.final-breakdown > span:nth-of-type(2) i { background:#0099ff; }
.final-breakdown > span em { color:#405161; font:600 8px Inter,Arial,sans-serif; }
.final-breakdown > span strong { margin:0; color:#283846; font:600 8px Inter,Arial,sans-serif; letter-spacing:0; }
.final-composer { height:56px; }
.final-send { min-height:44px; }
.final-chat-log { height:calc(100% - 114px); }

@media (max-height:760px) {
  #slide-04 .flow-v2 { margin-top:30px; transform:scale(.9); transform-origin:center top; }
  .edge-grid { margin-top:4vh; transform:scale(.9); transform-origin:center top; }
}
