/* ─────────────────────────────────────────────
   Raouf — application presentation
   Palette & type follow a quiet, white editorial direction.
   ───────────────────────────────────────────── */

:root {
  --ink: #0c0d11;
  --ink-2: #3d3f47;
  --mute: #a4a7ae;
  --line: #e6e6e8;
  --line-2: #d6d7da;
  --wash: #f5f5f5;
  --wash-2: #f2f2f2;
  --paper: #ffffff;

  --sans: "Inter", -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --say: clamp(1.9rem, 1.05rem + 3.4vw, 3.6rem);
  --gutter: clamp(24px, 6vw, 96px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
  scrollbar-width: none; /* a calm page, no scrollbar */
}
html::-webkit-scrollbar { display: none; }
.cv-note[hidden] { display: none !important; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .92em; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 50;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 14px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ── Chrome ─────────────────────────────── */

.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) 0;
  font-size: 13px; letter-spacing: -.005em;
  pointer-events: none;
}
.mark { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--ink); }
.mark img { width: 44px; height: 44px; }
@media (max-width: 640px) { .mark img { width: 36px; height: 36px; } }

/* ── Story ──────────────────────────────── */

.runway { position: relative; z-index: 0; height: 1px; } /* height set by JS */
html { scroll-snap-type: y mandatory; }
.runway > i {
  position: absolute; left: 0; width: 1px; height: 1px;
  scroll-snap-align: start;
  scroll-snap-stop: always; /* one thought per scroll, never skip */
}
html.rm, html.is-locked { scroll-snap-type: none; }

.story {
  position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 2; /* above the scroll track, so its buttons get clicks */
  display: grid;
  align-items: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.stage {
  position: relative;
  width: min(100%, 15.5em);
  font-size: var(--say);
  /* sit slightly left of centre, like a letter */
  margin-left: max(0px, calc((100vw - 2 * var(--gutter)) * .12));
  height: 5.2em;
  transform: translateY(-4vh);
}

.beat {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.beat.is-live { pointer-events: auto; }

.say {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.032em;
  color: var(--ink);
  text-wrap: balance;
}
.say + .say { margin-top: .08em; }
.mute { color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }

/* word wrappers created by JS */
.w {
  display: inline-block;
  will-change: transform, opacity, filter;
  white-space: pre;
}

/* inline brand marks, sitting in the sentence like a word */
.brand {
  display: inline-flex; align-items: baseline; gap: .2em;
  white-space: nowrap;
}
.ico {
  width: .78em; height: .78em;
  border-radius: .2em;
  align-self: center;
  transform: translateY(.03em);
  box-shadow: 0 0 0 1px rgba(12, 13, 17, .06), 0 1px 2px rgba(12, 13, 17, .06);
  object-fit: cover;
}
.ico--sm { width: 18px; height: 18px; border-radius: 5px; transform: none; }

/* text buttons inside the story */
.open {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; letter-spacing: inherit; line-height: inherit;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: .055em;
  text-underline-offset: .14em;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color .35s var(--ease), color .35s var(--ease);
  border-radius: .12em;
}
.open:hover { text-decoration-color: var(--ink); }
.open.brand { text-decoration: none; position: relative; }
.open.brand::after {
  content: ""; position: absolute; left: 1em; right: 0; bottom: -.06em;
  height: .055em; background: var(--line-2);
  transition: background .35s var(--ease);
}
.open.brand:hover::after { background: var(--ink); }

.links { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .32em; }
.dot { color: var(--line-2); }

.aside {
  margin: 1.4rem 0 0;
  font-size: 15px; line-height: 1.5; letter-spacing: -.01em;
  color: var(--mute);
}

/* CTA */
.cta-row { margin-top: .7em !important; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px 0 22px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .5s var(--ease-out), background .3s var(--ease);
}
.cta:hover { background: #22242c; }
.cta:active { transform: scale(.98); }
.cta svg { transition: transform .5s var(--ease-out); }
.cta:hover svg { transform: translateY(2px); }
.cv-note { font-size: 13px; letter-spacing: 0; color: var(--mute); font-weight: 400; line-height: 1.4; }

/* ── Scroll cue (inside the opening passage) ── */

.cue.w {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 2.6rem 0 0; padding: 0;
  border: 0; background: none;
  color: var(--ink-2);
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
}
.cue__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.cue__icon svg { animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(3px); }
}
.cue__label { transition: color .35s var(--ease); }
.cue.w:hover .cue__icon { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.cue.w:hover .cue__label { color: var(--ink); }
.cue__coarse { display: none; }
@media (pointer: coarse) {
  .cue__fine { display: none; }
  .cue__coarse { display: inline; }
}

/* ── Sheets ─────────────────────────────── */

.sheet {
  --dur: .55s;
  padding: 0; border: 0; margin: auto;
  width: min(760px, calc(100vw - 48px));
  max-width: none;
  max-height: min(88vh, 900px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(12, 13, 17, .06),
    0 24px 60px -12px rgba(12, 13, 17, .18),
    0 8px 20px -8px rgba(12, 13, 17, .08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.sheet--wide { width: min(880px, calc(100vw - 48px)); }
.sheet[open].is-in { opacity: 1; transform: none; }

.sheet::backdrop {
  background: rgba(250, 250, 250, .6);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.sheet.is-in::backdrop { opacity: 1; }

.sheet__inner {
  display: flex; flex-direction: column;
  max-height: inherit;
}
.grab { display: none; }

.sheet__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px 14px 32px;
  background: linear-gradient(var(--paper) 70%, rgba(255,255,255,0));
}
.eyebrow {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: -.005em;
}
.sep { color: var(--line-2); }
.close {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: var(--wash-2); color: var(--ink-2);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .4s var(--ease-out);
}
.close:hover { background: var(--line); color: var(--ink); }
.close:active { transform: scale(.94); }

.sheet__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 32px 40px;
  -webkit-overflow-scrolling: touch;
}
.sheet h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 40px); font-weight: 550; letter-spacing: -.035em; line-height: 1.05;
}
.lede {
  margin: 0 0 28px; max-width: 34em;
  font-size: 17px; line-height: 1.5; letter-spacing: -.012em; color: var(--ink-2);
}
.sheet h3 {
  margin: 0 0 8px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
}
.block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.block p { margin: 0 0 12px; max-width: 36em; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.008em; }

/* screens */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(12,13,17,.07);
  background: var(--wash);
}
.shot figcaption, .caption { margin-top: 10px; font-size: 13px; color: var(--mute); letter-spacing: -.005em; }
.block .shot { margin-top: 18px; }

.slot {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; text-align: center;
  border-radius: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(12,13,17,.022) 0 1px, transparent 1px 9px),
    var(--wash);
  box-shadow: inset 0 0 0 1px var(--line);
}
.shot--pair .slot { aspect-ratio: 16 / 8; }
.shot--phone .slot { aspect-ratio: 9 / 12; max-width: 300px; }
.slot__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 9px; border-radius: 999px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}
.slot__hint { font-size: 13px; color: var(--mute); max-width: 28em; line-height: 1.45; }
.slot__hint code { font-size: 11.5px; }

/* labels for missing / confidential details */
.todo, .note { display: flex; gap: 10px; align-items: baseline; }
.todo__tag, .note__tag {
  flex: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 6px; transform: translateY(-1px);
}
.todo__tag { background: #fff6e0; color: #8a5a00; box-shadow: inset 0 0 0 1px #f3e2b5; }
.note__tag { background: var(--wash-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.block .todo, .block .note { color: var(--ink-2); }

/* facts and stats */
.facts {
  margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
}
.facts dt, .stats dt { font-size: 12.5px; color: var(--mute); margin-bottom: 2px; letter-spacing: -.003em; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }

.stats {
  margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { padding: 18px 0 18px 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dd {
  margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 550; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.arrow { color: var(--mute); font-weight: 400; }

/* reel of real screens */
.reel {
  display: flex; gap: 14px;
  margin: 0 -32px; padding: 4px 32px 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel img {
  flex: none; width: clamp(180px, 26%, 220px); height: auto; aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border-radius: 16px; scroll-snap-align: start;
  box-shadow: 0 0 0 1px rgba(12,13,17,.07);
  background: var(--wash);
}
.reel:focus-visible { outline-offset: -2px; }

.more {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-size: 13px; color: var(--mute);
}
.more span { margin-right: 6px; }
.swap {
  border: 0; cursor: pointer;
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--wash-2); color: var(--ink);
  font-size: 14px; letter-spacing: -.01em;
  transition: background .25s var(--ease);
}
.swap:hover { background: var(--line); }

/* ── Small screens ──────────────────────── */

@media (max-width: 640px) {
  .chrome { font-size: 12px; }
  .stage { margin-left: 0; width: 100%; height: 7em; transform: translateY(-3vh); }
  .say { line-height: 1.14; letter-spacing: -.028em; }
  .aside { font-size: 14px; }

  .sheet, .sheet--wide {
    width: 100vw; max-height: 92vh; max-height: 92dvh;
    margin: auto 0 0 0;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    opacity: 1;
    transition: transform var(--dur) cubic-bezier(.32, .72, 0, 1);
  }
  .sheet[open].is-in { transform: translateY(var(--drag, 0px)); }
  .sheet.is-dragging { transition: none; }
  .grab {
    display: block; position: absolute; left: 50%; top: 8px; z-index: 3;
    width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: var(--line-2);
  }
  .sheet__inner { position: relative; }
  .sheet__head { padding: 22px 14px 12px 22px; touch-action: none; }
  .sheet__body { padding: 4px 22px calc(32px + env(safe-area-inset-bottom)); }
  .lede { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:last-child { padding-left: 16px; border-left: 1px solid var(--line); }
  .reel { margin: 0 -22px; padding: 4px 22px 8px; }
  .reel img { width: 58vw; }
  .shot--pair .slot { aspect-ratio: 4 / 3; }
}

/* ── Reduced motion: a calm, static letter ── */

.rm .story { position: static; display: block; padding: 18vh var(--gutter) 22vh; pointer-events: auto; }
.rm .stage { height: auto; transform: none; }
.rm .beat { position: static; transform: none; pointer-events: auto; margin-bottom: 1.4em; }
.rm .runway, .rm .cue { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .sheet, .sheet--wide { transform: none !important; }
}

/* units that hold running text must still wrap */
.aside.w, .cta-row .w { white-space: normal; }
.aside.w { display: block; }
.reel { scroll-padding-inline: 32px; }
@media (max-width: 640px) { .reel { scroll-padding-inline: 22px; } }
.rm .chrome { position: absolute; }

/* ── Opening passage ────────────────────── */

.kicker, .meta { white-space: normal; }
.kicker.w {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 1.5rem;
  font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: -.005em;
  color: var(--ink-2);
}
.kicker__dot {
  position: relative; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: calc(.7em - 3px);
  background: var(--ink);
}
.kicker__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
  opacity: 0;
  animation: dot-ring 2.8s var(--ease-out) infinite;
}
@keyframes dot-ring {
  0%   { transform: scale(.4); opacity: .35; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

.meta.w {
  display: flex; align-items: center; gap: 14px;
  margin: 2rem 0 0;
  font-size: 14px; line-height: 1.45; letter-spacing: -.008em;
  color: var(--mute);
}
.meta__sep { color: var(--line-2); margin: 0 .3em; }
.stack { display: flex; flex: none; align-items: center; padding: 0 2px; }
.stack img + img { margin-left: -7px; }
.stack img:nth-child(2) { position: relative; z-index: 1; }
.stack img {
  width: 30px; height: 30px; border-radius: 8px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(12, 13, 17, .06), 0 3px 8px -3px rgba(12, 13, 17, .18);
  object-fit: cover;
}
.meta:hover .stack img { transform: rotate(0deg); }

@media (max-width: 640px) {
  .cue.w { margin-top: 2.4rem; }
  .kicker.w { margin-bottom: 1.1rem; font-size: 12.5px; }
  .meta.w { margin-top: 1.5rem; font-size: 13px; align-items: flex-start; }
  .meta__sep { display: block; height: 0; overflow: hidden; }
}


/* ── Opening choreography ───────────────── */

.intro-wait .beat--open .w { opacity: 0; }


/* kicker: the dot pops, the line draws out from it */
.intro-play .beat--open .kicker { animation: in-show .01s linear 100ms both; }
.intro-play .kicker__dot { animation: in-pop .5s cubic-bezier(.34, 1.8, .5, 1) 110ms both; }
.intro-play .kicker__text { animation: in-wipe .7s cubic-bezier(.16, 1, .3, 1) 180ms both; }
@keyframes in-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes in-wipe {
  from { opacity: 0; clip-path: inset(-20% 100% -20% 0); transform: translateX(-6px); }
  to   { opacity: 1; clip-path: inset(-20% -2% -20% 0); transform: none; }
}

/* the greeting: each word swings up into place */
.intro-play .beat--open .ia {
  transform-origin: 0 100%;
  animation: in-swing .8s cubic-bezier(.16, 1, .3, 1) var(--d) both;
}
@keyframes in-swing {
  0%   { opacity: 0; transform: translateY(.5em) rotate(7deg) scale(.94); filter: blur(12px); }
  55%  { filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* the grey line: words slide up quickly, like a breath after */
.intro-play .beat--open .ib { animation: in-slide .7s cubic-bezier(.16, 1, .3, 1) var(--d) both; }
@keyframes in-slide {
  from { opacity: 0; transform: translateY(.8em); }
  to   { opacity: 1; transform: none; }
}

/* product marks drop in and land at their own angle */
.intro-play .beat--open .meta { animation: in-show .01s linear 850ms both; }
.intro-play .stack img { animation: in-drop .7s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
@keyframes in-drop {
  0%   { opacity: 0; transform: translateY(-18px) rotate(calc(var(--tilt) * -2.5)) scale(.6); }
  40%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--tilt)); }
}
.intro-play .meta__text { animation: in-nudge .6s cubic-bezier(.16, 1, .3, 1) 1000ms both; }
@keyframes in-nudge {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

/* the prompt: the circle pops, the words follow */

/* the wave */
.wave { display: inline-block; font-size: .9em; }
.wave__hand {
  display: inline-block;
  transform-origin: 70% 75%;
  animation: wave 1.5s ease-in-out 1.1s 2 both;
}
.say:hover .wave__hand { animation: wave 1.5s ease-in-out 0s 1; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(16deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

/* a logo mark (not an app icon): no tile, no shadow */
.ico--mark { box-shadow: none; border-radius: 0; width: .74em; height: .74em; }

/* ── Work links: unmistakably clickable ─── */

.works.w { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; white-space: normal; }
.chip {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px; height: 62px; padding: 0 12px 0 10px;
  border: 0; border-radius: 16px;
  background: #fff; color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -14px rgba(12,13,17,.35);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.chip__ico { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.chip__txt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.chip__txt b { font-size: 15.5px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.chip__txt em { font-style: normal; font-size: 12.5px; color: var(--mute); letter-spacing: -.005em; }
.chip__go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wash-2); color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out); }
.chip:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #dcdde3, 0 18px 32px -16px rgba(12,13,17,.4); }
.chip:hover .chip__go { background: var(--ink); color: #fff; transform: translateX(2px); }
.chip:active { transform: translateY(-1px) scale(.985); }
/* one soft light sweep, shortly after the passage settles */
.chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(123,127,240,.16) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.chip.is-nudge::after { animation: chip-sweep 1.3s cubic-bezier(.4,0,.2,1) forwards; }
.chip.is-nudge .chip__go { animation: chip-go 1.3s var(--ease-out); }
@keyframes chip-sweep { to { transform: translateX(120%); } }
@keyframes chip-go { 40% { transform: translateX(4px); background: var(--ink); color: #fff; } }
@media (max-width: 640px) {
  .works.w { flex-direction: column; align-items: stretch; }
  .chip { width: 100%; height: 58px; }
}
@media (prefers-reduced-motion: reduce) { .chip::after, .chip .chip__go { animation: none !important; } }
.works + .aside { margin-top: .9rem; }
@media (min-width: 641px) { .works.w:has(> .chip:nth-child(4)) { display: grid; grid-template-columns: repeat(2, minmax(220px, max-content)); } }

/* ── Zoie campaign flow player ──────────── */

.flow { margin: 4px 0 0; }
.flow__stage {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #050816;
  box-shadow: 0 0 0 1px rgba(12, 13, 17, .08), 0 18px 40px -18px rgba(12, 13, 17, .35);
  isolation: isolate;
}
.flow__cam {
  position: absolute; inset: 0;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(var(--zoom, 1));
  transition: transform 1.3s cubic-bezier(.65, 0, .35, 1), transform-origin 1.3s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.flow__cam img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1);
}
.flow__cam img.is-on { opacity: 1; }

.flow__caption {
  display: flex; align-items: baseline; gap: 12px;
  margin: 16px 0 0; min-height: 2.9em;
  font-size: 15px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink);
}
.flow__count { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mute); flex: none; transform: translateY(-1px); }
.flow__note { transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.flow__note.is-swapping { opacity: 0; transform: translateY(4px); }

.flow__bar { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.flow__play {
  flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wash-2); color: var(--ink); cursor: pointer;
  transition: background .25s var(--ease);
}
.flow__play:hover { background: var(--line); }
.flow__play .i-play { display: none; }
.flow:not(.is-playing) .flow__play .i-play { display: block; }
.flow:not(.is-playing) .flow__play .i-pause { display: none; }

.flow__segs { flex: 1; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.flow__segs li { flex: 1; min-width: 0; }
.flow__seg {
  width: 100%; padding: 8px 0 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  border-radius: 4px;
}
.flow__track { position: relative; display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.flow__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.flow__seg.is-done .flow__fill { transform: scaleX(1); }
.flow__seg.is-on .flow__fill { animation: flow-fill var(--dur, 2600ms) linear both; animation-play-state: paused; }
.flow.is-playing .flow__seg.is-on .flow__fill { animation-play-state: running; }
.flow:not(.is-playing) .flow__seg.is-on.is-held .flow__fill { animation: none; transform: scaleX(1); }
@keyframes flow-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.flow__name {
  font-size: 12px; letter-spacing: -.003em; color: var(--mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s var(--ease);
}
.flow__seg:hover .flow__name { color: var(--ink-2); }
.flow__seg.is-on .flow__name { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .flow__stage { margin: 0 -6px; border-radius: 12px; }
  .flow__name { display: none; }
  .flow__segs { gap: 4px; }
  .flow__seg { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__cam, .flow__cam img, .flow__note { transition: none !important; }
}

/* ── Workflows sheet ────────────────────── */

.sheet--xl { width: min(1120px, calc(100vw - 48px)); max-height: min(92vh, 1000px); }

.wf-stage {
  position: relative; overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 1px 1px, #d9dae1 1px, transparent 1.3px) 0 0 / 18px 18px,
    #f7f7f9;
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.wf-board {
  position: absolute; left: 0; top: 0;
  width: 1151px; height: 756px;
  transform-origin: 0 0;
  transition: transform 1.2s cubic-bezier(.65, 0, .35, 1);
  font-family: var(--sans);
}
.wf-board.no-cam { transition: none; }

/* connectors: dotted like the design, drawn in through a mask */
.wf-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wf-dash { fill: none; stroke: #a9abba; stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; }
.wf-draw {
  fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1);
}
.wf-edge.is-in .wf-draw { stroke-dashoffset: 0; }
.wf-port { fill: #fff; stroke: #a9abba; stroke-width: 1.4; opacity: 0; transition: opacity .3s ease; }
.wf-edge.is-in .wf-port { opacity: 1; }

/* nodes, as designed: a kind chip sitting on a white card */
.wf-node {
  position: absolute; display: block; width: 353px; height: 102px;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .55s var(--ease-out), transform .7s cubic-bezier(.34, 1.4, .64, 1);
}
.wf-node.is-in { opacity: 1; transform: none; }
.wf-chip {
  position: absolute; left: 50%; top: 0; z-index: 0;
  display: inline-flex; align-items: center; gap: 6px;
  height: 33px; padding: 0 14px 2px;
  border-radius: 9px 9px 0 0;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transform: translate(-50%, 6px); opacity: 0;
  transition: transform .5s cubic-bezier(.34, 1.6, .64, 1) .18s, opacity .3s ease .18s;
}
.wf-node.is-in .wf-chip { transform: translate(-50%, 0); opacity: 1; }
.wf-chip--trigger   { background: #e4e6fb; color: #5257c8; }
.wf-chip--condition { background: #fdd9d9; color: #b64d4d; }
.wf-chip--action    { background: #d8f3e0; color: #2c8a4f; }
.wf-chip--wait      { background: #fbefc4; color: #94780a; }
.wf-card {
  position: absolute; left: 0; right: 0; top: 31px; height: 71px; z-index: 1;
  display: flex; align-items: center; gap: 13px; padding: 0 18px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px #e6e6ec, 0 6px 16px -8px rgba(20, 22, 40, .16);
  transition: box-shadow .5s var(--ease);
}
.wf-node.is-new .wf-card { box-shadow: 0 0 0 2px #7b7ff0, 0 10px 26px -10px rgba(82, 87, 200, .45); }
.wf-ico {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #eceefb; color: #2e3170;
}
.wf-ico--ai { background: radial-gradient(circle at 35% 30%, #fff 0 12%, #f3b5d6 30%, #8f9bf3 62%, #1d2140 100%); border-radius: 50%; }
.wf-ico--wa { background: #25d366; }
.wf-ico--ig { background: radial-gradient(circle at 30% 110%, #fdd56e 0 20%, #f4673b 45%, #d6249f 70%, #7a3bd6 100%); }
.wf-ico--fb { background: linear-gradient(160deg, #3fa3ff, #7a4cff); border-radius: 50%; }
.wf-ico--shop { background: #e9f6df; color: #5e9e2e; }
.wf-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.wf-title { font-size: 15.5px; color: #16171d; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-sub { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: #16171d; }
.wf-edit { color: #8a8cab; flex: none; align-self: flex-start; margin-top: 14px; }

.wf-pill {
  position: absolute; z-index: 2;
  height: 25px; padding: 0 9px; border-radius: 7px;
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: scale(.7);
  transition: opacity .35s ease .35s, transform .5s cubic-bezier(.34, 1.7, .64, 1) .35s;
}
.wf-pill.is-in { opacity: 1; transform: none; }
.wf-pill--yes { background: #e3f5e9; color: #2c8a4f; }
.wf-pill--no  { background: #fde4e4; color: #c24141; }

.wf-dot {
  position: absolute; z-index: 2;
  width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: #3a3c4c;
  box-shadow: 0 0 0 1px #e1e2e8, 0 4px 12px -6px rgba(20, 22, 40, .2);
  opacity: 0; transform: scale(.5);
  transition: opacity .35s ease, transform .55s cubic-bezier(.34, 1.7, .64, 1);
}
.wf-dot.is-in { opacity: 1; transform: none; }
.wf-dot--end { color: #8a8cab; }

/* a lead travelling the finished flow */
.wf-pulse {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: #7b7ff0;
  box-shadow: 0 0 0 5px rgba(123, 127, 240, .18), 0 0 18px 4px rgba(123, 127, 240, .45);
  offset-distance: 0%; offset-rotate: 0deg;
  opacity: 0;
}
.wf.is-running .wf-pulse { animation: wf-run 3.4s cubic-bezier(.45, 0, .25, 1) .3s infinite; }
@keyframes wf-run {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.wf.is-clearing .wf-board > * { opacity: 0 !important; transition: opacity .5s ease !important; }
.wf.is-clearing .wf-draw { stroke-dashoffset: 1; }

@media (max-width: 640px) {
  .sheet--xl { width: 100vw; max-height: 94vh; max-height: 94dvh; }
  .wf-stage { margin: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-board, .wf-node, .wf-chip, .wf-pill, .wf-dot, .wf-draw, .wf-port { transition: none !important; }
}

/* ── Workflows case study ───────────────── */

.cs-meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: -6px 0 30px; }
.cs-meta dt { font-size: 12.5px; color: var(--mute); }
.cs-meta dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); letter-spacing: -.01em; }

.cs__n { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--mute); text-transform: uppercase; }
.sheet .ch h3 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.cs__p { margin: 0; max-width: 32em; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.012em; text-wrap: pretty; }

.ch { margin-top: clamp(80px, 11vw, 132px); }
.ch--center { text-align: center; }
.ch--center .cs__p { margin: 0 auto; }
.ch--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ch--outcome { padding-top: 40px; border-top: 1px solid var(--line); }
.ch--outcome .todo { margin-top: 14px; }
.ch .flow { margin-top: 28px; }

/* a block component, scaled in place */
.nd { --s: .62; position: relative; display: block; width: calc(353px * var(--s)); height: calc(102px * var(--s)); flex: none; }
.nd .wf-node { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: 0 0; transition: none; }
.nd .wf-chip { transform: translate(-50%, 0); opacity: 1; transition: none; }

/* 01 · follow-ups slipping */
.todo-card {
  border-radius: 18px; background: #fff; padding: 18px 20px 10px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(12, 13, 17, .28);
}
.todo-card__head { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.todo-card__count { color: var(--mute); font-weight: 400; font-size: 13px; }
.todo-card ul { list-style: none; margin: 0; padding: 0; }
.todo-card li {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-top: 1px solid var(--line); font-size: 14.5px; letter-spacing: -.01em; color: var(--ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.todo-card li:first-child { border-top: 0; }
.todo-card.is-on li { opacity: 1; transform: none; }
.todo-card li:nth-child(2) { transition-delay: .1s; } .todo-card li:nth-child(3) { transition-delay: .2s; }
.todo-card li:nth-child(4) { transition-delay: .3s; } .todo-card li:nth-child(5) { transition-delay: .4s; }
.tk { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; position: relative; }
.todo-card li.is-done .tk { background: var(--ink); box-shadow: none; }
.todo-card li.is-done .tk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.todo-card li.is-done { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--line-2); }
.st { margin-left: auto; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--wash-2); color: var(--mute); text-decoration: none; transition: background .4s ease 1.1s, color .4s ease 1.1s; }
.todo-card li.is-done .st { background: #e3f5e9; color: #2c8a4f; }
.todo-card.is-on li.is-late .st { background: #fde4e4; color: #c24141; }

/* 02 · a sentence and its blocks */
.sentence { margin-top: 40px; }
.sentence__line { margin: 0 auto; max-width: 30em; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.45; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.cl { color: #c9cad2; border-radius: 6px; padding: 0 .12em; transition: color .5s var(--ease), background .5s var(--ease); }
.cl.is-lit { color: var(--ink); }
.cl.is-now[data-k="trigger"] { background: #e4e6fb; }
.cl.is-now[data-k="condition"] { background: #fde3e3; }
.cl.is-now[data-k="action"] { background: #dcf5e4; }
.cl.is-now[data-k="wait"] { background: #fbf1cc; }
.sentence__nodes { --s: .6; display: flex; justify-content: center; gap: 18px; margin-top: 34px; position: relative; }
.sentence__nodes .nd { --s: inherit; opacity: .28; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.sentence__nodes .nd.is-lit { opacity: 1; transform: none; }
.sentence__nodes .nd.is-now .wf-card { box-shadow: 0 0 0 2px #7b7ff0, 0 12px 26px -12px rgba(82, 87, 200, .5); }
.sentence__nodes .nd + .nd::before {
  content: ""; position: absolute; left: -18px; top: calc(102px * var(--s) * .64); width: 18px;
  border-top: 1.6px dotted #b4b6c4;
}

/* 03 · four kinds, around the text */
.hub { position: relative; isolation: isolate; }
.hub.is-wide { height: 560px; }
.hub__center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hub.is-wide .hub__center { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(390px, 37%); transform: translate(-50%, -55%); }
.hub__center .cs__p { margin: 0 auto; font-size: 15.5px; }
.hub__plus {
  position: relative; margin-top: 26px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px #e1e2e8, 0 8px 22px -10px rgba(20, 22, 40, .35);
}
.hub__plus::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1px #7b7ff0; opacity: 0; animation: hub-ring 2.8s var(--ease-out) infinite; }
@keyframes hub-ring { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.hub:not(.is-wide) .hub__plus { display: none; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.hub__lines { -webkit-mask-image: radial-gradient(ellipse 25% 24% at 50% 40%, transparent 70%, #000 100%); mask-image: radial-gradient(ellipse 25% 24% at 50% 40%, transparent 70%, #000 100%); }
.hub__lines path { fill: none; stroke: #b7b9c8; stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0; transition: opacity .8s ease var(--d); animation: hub-flow 1.6s linear infinite; }
.hub.is-on .hub__lines path { opacity: 1; }
@keyframes hub-flow { to { stroke-dashoffset: -16; } }

.kg { --s: .7; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.kg .nd { --s: inherit; }
.kg__head { margin: 0 0 2px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.kg__chip { position: static; transform: none !important; opacity: 1 !important; height: 26px; font-size: 13px; padding: 0 10px; border-radius: 7px; transition: none; }
.hub.is-wide .kg { position: absolute; width: calc(353px * var(--s)); }
.hub.is-wide .kg[data-pos="tl"] { left: 0; top: 0; }
.hub.is-wide .kg[data-pos="tr"] { right: 0; top: 0; }
.hub.is-wide .kg[data-pos="bl"] { left: 0; bottom: 0; }
.hub.is-wide .kg[data-pos="br"] { right: 0; bottom: 0; }
.hub.is-wide .kg {
  opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.45);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
}
.hub.is-wide .kg[data-pos="tr"] { transition-delay: .09s; }
.hub.is-wide .kg[data-pos="bl"] { transition-delay: .18s; }
.hub.is-wide .kg[data-pos="br"] { transition-delay: .27s; }
.hub.is-wide.is-on .kg { opacity: 1; transform: none; }
.hub.is-wide .kg .nd { animation: hub-float 6s ease-in-out infinite alternate; }
.hub.is-wide .kg .nd + .nd { animation-delay: -3s; }
@keyframes hub-float { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.hub__groups { position: static; }
.hub:not(.is-wide) .hub__groups { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 34px; }
.hub:not(.is-wide) .kg { --s: .44; }
.hub:not(.is-wide) .kg { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 10px; }
.hub:not(.is-wide) .kg__head { grid-column: 1 / -1; }

/* 04 · the four steps of adding a block */
.journey { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; }
.jstep { position: relative; display: flex; flex-direction: column; gap: 14px; opacity: .45; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.jstep.is-now, .jstep.is-past { opacity: 1; transform: none; }
.jstep + .jstep::before {
  content: ""; position: absolute; left: -12px; top: 118px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg);
}
.jcard {
  height: 250px; border-radius: 16px; background: #fff; padding: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 18px 36px -26px rgba(12, 13, 17, .3);
  transition: box-shadow .5s var(--ease);
}
.jstep.is-now .jcard { box-shadow: 0 0 0 2px #7b7ff0, 0 22px 40px -22px rgba(82, 87, 200, .45); }
.jcard--plus { display: grid; place-items: center; background: radial-gradient(circle at 1px 1px, #d9dae1 1px, transparent 1.3px) 0 0 / 16px 16px, #f7f7f9; }
.jplus { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #e1e2e8, 0 10px 24px -10px rgba(20,22,40,.35); transition: transform .5s cubic-bezier(.34,1.6,.64,1); }
.jstep.is-now .jplus { transform: scale(1.12); }
.jcard__h { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; color: #4b4e7a; }
.jgroup { margin: 10px 0 4px; font-size: 11.5px; color: var(--mute); }
.jmenu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.jmenu li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 9px; transition: background .4s var(--ease); }
.jmenu li span { display: flex; flex-direction: column; font-size: 11.5px; color: var(--mute); line-height: 1.3; min-width: 0; }
.jmenu li b { font-size: 13px; font-weight: 500; color: var(--ink); }
.jstep.is-now .jmenu li.is-pick, .jstep.is-past .jmenu li.is-pick { background: #eef0fd; }
.dot { flex: none; width: 22px; height: 22px; border-radius: 7px; }
.dot--trigger { background: #e4e6fb; } .dot--action { background: #d8f3e0; } .dot--condition { background: #fdd9d9; } .dot--wait { background: #fbefc4; } .dot--end { background: var(--wash-2); }
.jfield { display: flex; flex-direction: column; gap: 3px; margin-bottom: 7px; }
.jfield span { font-size: 11px; color: var(--mute); }
.jfield b { font-size: 12.5px; font-weight: 500; padding: 6px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.jtags { display: flex; flex-wrap: wrap; gap: 4px; }
.jfield .jtags { box-shadow: none; padding: 0; }
.jtags i { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.jstep.is-now .jtags i.is-pick, .jstep.is-past .jtags i.is-pick { background: #eef0fd; box-shadow: inset 0 0 0 1px #c9ccf5; }
.jradio { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 12.5px; }
.jradio i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--ink); }
.jstep__t { margin: 0; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.jstep__t b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; background: var(--wash-2); color: var(--ink-2); transition: background .4s var(--ease), color .4s var(--ease); }
.jstep.is-now .jstep__t b { background: var(--ink); color: #fff; }

/* 05 · anatomy of a block */
.anat { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; }
.anat__node { position: relative; width: min(380px, calc(100% - 44px)); padding-top: 32px; text-align: left; }
.anat__chip { position: absolute; left: 50%; top: 0; transform: translateX(-50%) !important; opacity: 1 !important; transition: none; }
.anat__card { position: relative; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 0 0 1px #e6e6ec, 0 24px 48px -26px rgba(20,22,40,.3); }
.anat__top { display: flex; align-items: center; gap: 13px; }
.anat__top > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.anat__top b { font-weight: 400; font-size: 16px; color: #16171d; }
.anat__top em { font-style: normal; font-size: 14px; font-weight: 500; color: #16171d; }
.anat__ico { width: 42px; height: 42px; border-radius: 11px; background: #eceefb; position: relative; }
.anat__ico::before, .anat__ico::after { content: ""; position: absolute; top: 12px; width: 7px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #2e3170; }
.anat__ico::before { left: 12px; } .anat__ico::after { left: 22px; }
.anat__edit { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.4px #8a8cab; transform: rotate(45deg) scaleX(.45); align-self: flex-start; margin-top: 6px; }
.anat__rule { margin: 16px 0 10px; font-size: 13.5px; color: #6e7193; }
.anat__box { border-radius: 12px; padding: 4px 14px; box-shadow: inset 0 0 0 1px #ececf1; background: #fcfcfd; }
.anat__box p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; font-size: 13.5px; color: #6e7193; }
.anat__box p + p { border-top: 1px solid #ececf1; }
.anat__box b { font-weight: 500; color: var(--ink); }
.anat__box .neg { color: #c24141; }
.anat__box .jtags { justify-content: flex-end; }
.anat__branches { display: flex; justify-content: space-between; margin-top: 26px; padding: 0 18%; position: relative; }
.anat__branches::before { content: ""; position: absolute; left: 22%; right: 22%; top: -14px; height: 14px; border: 1.6px dotted #b4b6c4; border-bottom: 0; border-radius: 8px 8px 0 0; }
.anat__branches .wf-pill { position: static; opacity: 1; transform: none; }
.pin {
  position: absolute; left: var(--px); top: var(--py); z-index: 4;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500;
  box-shadow: 0 0 0 4px #fff;
  opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .5s cubic-bezier(.34,1.7,.64,1);
}
.anat.is-on .pin { opacity: 1; transform: none; }
.anat.is-on .pin:nth-of-type(2) { transition-delay: .25s; } .anat.is-on .pin:nth-of-type(3) { transition-delay: .5s; } .anat.is-on .pin:nth-of-type(4) { transition-delay: .75s; }
.anat__notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; text-align: left; max-width: 760px; }
.anat__notes li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.anat__notes li > b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; background: var(--ink); color: #fff; margin-top: 1px; }
.anat__notes strong { font-weight: 500; color: var(--ink); }

/* 06 · real follow-ups */
.usecases { list-style: none; margin: 0; padding: 0; }
.usecases li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.usecases li:last-child { border-bottom: 1px solid var(--line); }
.usecases b { font-weight: 500; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.usecases span { font-size: 14px; color: var(--mute); }
.flow--light .flow__stage { background: #f4f4f6; }

@media (max-width: 760px) {
  .ch--split { grid-template-columns: 1fr; }
  .sentence__nodes { flex-wrap: wrap; gap: 26px 14px; }
  .sentence__nodes .nd + .nd::before { display: none; }
  .journey { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .jstep + .jstep::before { display: none; }
  .jcard { height: 236px; padding: 13px; }
  .anat__notes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .journey { grid-template-columns: 1fr; }
  .jcard { height: auto; min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub__lines path, .hub__plus::before, .hub.is-wide .kg .nd { animation: none !important; }
  .hub.is-wide .kg, .todo-card li, .jstep, .pin, .sentence__nodes .nd { transition: none !important; }
}

/* ── Campaigns case study: Zoie's dark UI, rebuilt ── */

.zd {
  --zbg: #070b1f; --zcard: #0e1331; --zline: rgba(255, 255, 255, .08); --zmute: #8b91b5;
  position: relative; overflow: hidden; color: #fff; text-align: left;
  border-radius: 22px;
  background:
    radial-gradient(90% 60% at 70% -10%, rgba(70, 110, 210, .35), transparent 60%),
    radial-gradient(60% 50% at 0% 0%, rgba(40, 60, 140, .3), transparent 70%),
    var(--zbg);
  box-shadow: 0 30px 60px -30px rgba(7, 11, 31, .55);
}
.zico { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.zico--cal { color: #ec7cc0; } .zico--num { color: #3ddc97; }
.zorb { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff 0 12%, #f3b5d6 30%, #8f9bf3 62%, #1d2140 100%); }
.zchev { width: 8px; height: 8px; margin-left: auto; border-right: 1.5px solid var(--zmute); border-bottom: 1.5px solid var(--zmute); transform: rotate(45deg) translateY(-3px); flex: none; }
.zsel { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 10px; background: #0a0f2a; box-shadow: inset 0 0 0 1px var(--zline); font-size: 14.5px; white-space: nowrap; }
.zbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 9px; background: #fff; color: #0b0e1f; font-size: 14px; font-weight: 500; white-space: nowrap; flex: none; }
.zbtn--ghost { background: #fff; }
.zchip { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 9px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--zline); font-size: 13.5px; color: #dfe2f5; white-space: nowrap; }
.zchip--add { background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); border-radius: 999px; color: #fff; }
.zmsg { margin: 0; font-size: 14.5px; line-height: 1.55; color: #eef0fb; }
.zlink { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--zmute); }
.zback { font-size: 14px; color: #dfe2f5; margin-right: auto; }

/* 01 · the wall of settings (illustration) */
.wall { position: relative; border-radius: 18px; background: #fff; padding: 18px 18px 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(12,13,17,.28); }
.wall__h { margin: 0 0 14px; font-size: 14px; font-weight: 500; }
.wall__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.wall__grid span { display: flex; flex-direction: column; gap: 5px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .45s var(--ease-out); }
.wall__grid .wide { grid-column: 1 / -1; }
.wall__grid i { font-style: normal; font-size: 11.5px; color: var(--mute); }
.wall__grid b { display: block; height: 30px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); background: #fbfbfc; }
.wall__grid b.tall { height: 54px; }
.wall.is-on .wall__grid span { opacity: 1; transform: none; }
.wall.is-on .wall__grid span:nth-child(n) { transition-delay: calc(var(--n, 0) * 60ms); }
.wall__f { display: flex; justify-content: flex-end; gap: 8px; margin: 14px 0 0; }
.wall__btn { font-size: 12.5px; padding: 7px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.wall__btn.is-dark { background: var(--wash-2); color: var(--mute); box-shadow: none; }
.wall__tag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

/* 02 · the conversation */
.convo { margin: 44px auto 0; max-width: 760px; padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 430px; }
.convo__q { display: flex; gap: 14px; align-items: flex-start; max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .7s var(--ease-out), opacity .5s ease, margin .7s var(--ease-out), filter .5s ease; }
.convo__q > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.convo__q b { font-size: 16px; font-weight: 500; }
.convo__q em { font-style: normal; font-size: 14px; color: #c9cdea; }
.convo__ic { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-top: 1px; color: transparent; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.85); position: relative; }
.convo__q.is-now .convo__ic { box-shadow: none; }
.convo__q.is-now .convo__ic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.8px dashed rgba(255,255,255,.9); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.convo__q.is-past .convo__ic { background: #1f9d55; color: #fff; box-shadow: none; }
.convo__q.is-past, .convo__q.is-now { max-height: 90px; opacity: 1; margin-bottom: 26px; }
.convo__q.is-past { opacity: .32; }
.convo__ans { position: relative; height: 100px; }
.convo__a { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: var(--zcard); box-shadow: inset 0 0 0 1px var(--zline); opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .55s var(--ease-out); pointer-events: none; }
.convo__a { transition-duration: .25s, .3s; }
.convo__a.is-now { opacity: 1; transform: none; transition-duration: .45s, .55s; transition-delay: .22s; }
.convo__a .zmsg { font-size: 14px; }

/* 03 · start: channel or sentence */
.start { margin: 44px auto 0; max-width: 860px; padding: 46px 40px 28px; text-align: center; }
.start__spark { display: block; width: 44px; height: 44px; margin: 0 auto 18px; background: linear-gradient(135deg, #fff, #9fd8ff 45%, #b9a4ff); -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 2px, transparent 3px), conic-gradient(#000 0 0); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 6px 16px rgba(120, 170, 255, .5)); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(45deg) scale(.92); } }
.start__hi { margin: 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; letter-spacing: -.02em; }
.start__sub { margin: 10px 0 0; font-size: 14.5px; color: #c9cdea; }
.start__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; text-align: left; }
.zcard { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--zcard); box-shadow: inset 0 0 0 1px var(--zline); color: #c9cdea; transition: transform .4s var(--ease-out), box-shadow .4s ease; opacity: 0; translate: 0 10px; }
.zcard b { font-size: 15px; font-weight: 500; color: #fff; margin-top: 8px; }
.zcard em { font-style: normal; font-size: 13px; color: var(--zmute); }
.zcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.start.is-on .zcard { opacity: 1; translate: 0 0; transition: opacity .5s ease, translate .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s ease; }
.start.is-on .zcard:nth-child(2) { transition-delay: .1s; } .start.is-on .zcard:nth-child(3) { transition-delay: .2s; }
.start__prompt { display: flex; align-items: center; gap: 12px; margin-top: 44px; padding: 16px 16px 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--zline); font-size: 13.5px; color: var(--zmute); text-align: left; }
.start__prompt span { flex: 1; }
.start__send { width: 38px; height: 38px; border-radius: 9px; background: #fff; flex: none; position: relative; }
.start__send::before { content: ""; position: absolute; left: 50%; top: 11px; width: 8px; height: 8px; border-left: 1.8px solid #0b0e1f; border-top: 1.8px solid #0b0e1f; transform: translateX(-50%) rotate(45deg); }
.start__send::after { content: ""; position: absolute; left: 50%; top: 12px; width: 1.8px; height: 15px; background: #0b0e1f; transform: translateX(-50%); }

/* 04 · control */
.control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; text-align: left; }
.control__item { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.zpanel { padding: 18px; min-height: 188px; display: flex; flex-direction: column; gap: 12px; border-radius: 18px; }
.zpanel__label { margin: 0; font-size: 12.5px; color: var(--zmute); }
.zpanel__foot { margin: auto 0 0; display: flex; gap: 16px; flex-wrap: wrap; }
.zpanel__chips { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.control__item figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.control__item figcaption b { font-size: 15px; font-weight: 500; color: var(--ink); }

/* 05 · review → launching → live */
.launch { margin: 44px auto 0; max-width: 820px; height: 500px; padding: 0 34px; }
.launch__state { position: absolute; inset: 0; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .8s var(--ease-out); pointer-events: none; }
.launch__state.is-now { opacity: 1; transform: none; }
.launch__state.is-dim { opacity: .22; transform: translateY(-116px) scale(.95); transform-origin: 50% 100%; }
.launch__title { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 500; }
.launch__title em { font-style: normal; font-weight: 400; font-size: 14px; color: #c9cdea; }
.launch__card { border-radius: 18px; padding: 6px 20px; background: var(--zcard); box-shadow: inset 0 0 0 1px rgba(110, 231, 207, .35), 0 0 40px -20px rgba(110, 231, 207, .5); }
.launch__row { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--zline); }
.launch__row span, .launch__sec { display: flex; flex-direction: column; gap: 6px; }
.launch__row i, .launch__sec > i { font-style: normal; font-size: 14px; font-weight: 500; color: #fff; }
.launch__row b { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 13.5px; color: #c9cdea; white-space: nowrap; }
.launch__sec { padding: 14px 0; border-bottom: 1px solid var(--zline); }
.launch__sec p { margin: 0; font-size: 13.5px; color: #c9cdea; line-height: 1.5; }
.launch__foot { display: flex; align-items: center; gap: 10px; padding: 14px 0; }
.launch__bar { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--zcard); box-shadow: inset 0 0 0 1px rgba(150, 130, 255, .45), 0 0 50px -22px rgba(150, 130, 255, .6); }
.launch__bar > span:nth-last-child(2), .launch__bar > span:first-child:not(.launch__ok) { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.launch__bar b { font-size: 16px; font-weight: 500; }
.launch__bar em { font-style: normal; font-size: 14px; color: #c9cdea; }
.launch__bar.is-live { box-shadow: inset 0 0 0 1px var(--zline); }
.launch__ok { width: 26px; height: 26px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; color: #fff; flex: none; }
.zpause { width: 42px; height: 42px; border-radius: 10px; background: #fff; position: relative; flex: none; }
.zpause::before, .zpause::after { content: ""; position: absolute; top: 13px; width: 4px; height: 16px; border-radius: 1px; background: #0b0e1f; }
.zpause::before { left: 15px; } .zpause::after { right: 15px; }
.launch__state[data-s="1"] .launch__bar { position: relative; overflow: hidden; }
.launch__state[data-s="1"] .launch__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%); animation: sheen 1.6s linear infinite; }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 760px) {
  .convo { padding: 24px 18px 18px; min-height: 470px; }
  .convo__ans { height: 150px; }
  .convo__a { flex-wrap: wrap; }
  .convo__a .zsel { flex: 1 1 100%; }
  .start { padding: 34px 18px 18px; }
  .start__cards, .control { grid-template-columns: 1fr; }
  .launch { height: 620px; padding: 0; }
  .launch__state { padding: 20px 16px; }
  .launch__row { grid-template-columns: 1fr 1fr; }
  .launch__foot { flex-wrap: wrap; }
  .wall__tag { top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .convo__q, .convo__a, .launch__state, .wall__grid span, .zcard { transition: none !important; }
  .start__spark, .convo__q.is-now .convo__ic::before, .launch__state[data-s="1"] .launch__bar::after { animation: none !important; }
}
.zico--phone { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5.5%202.5%204%202.6c-.8.1-1.4.9-1.3%201.7.6%204.6%204.4%208.4%209%209%20.8.1%201.6-.5%201.7-1.3l.1-1.5-2.6-1.2-1.3%201.3a7%207%200%200%201-3.2-3.2l1.3-1.3z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5.5%202.5%204%202.6c-.8.1-1.4.9-1.3%201.7.6%204.6%204.4%208.4%209%209%20.8.1%201.6-.5%201.7-1.3l.1-1.5-2.6-1.2-1.3%201.3a7%207%200%200%201-3.2-3.2l1.3-1.3z%22/%3E%3C/svg%3E"); }
.zico--sms { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%204.5a2%202%200%200%201%202-2h6a2%202%200%200%201%202%202v4a2%202%200%200%201-2%202H7l-3%202.5v-2.6A2%202%200%200%201%203%208.5z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%204.5a2%202%200%200%201%202-2h6a2%202%200%200%201%202%202v4a2%202%200%200%201-2%202H7l-3%202.5v-2.6A2%202%200%200%201%203%208.5z%22/%3E%3C/svg%3E"); }
.zico--mail { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222.3%22%20y%3D%223.5%22%20width%3D%2211.4%22%20height%3D%229%22%20rx%3D%222%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m3%205%205%203.6L13%205%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222.3%22%20y%3D%223.5%22%20width%3D%2211.4%22%20height%3D%229%22%20rx%3D%222%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m3%205%205%203.6L13%205%22/%3E%3C/svg%3E"); }
.zico--cal { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222.5%22%20y%3D%223.5%22%20width%3D%2211%22%20height%3D%2210%22%20rx%3D%222.2%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M2.5%207h11M5.5%202v3M10.5%202v3%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222.5%22%20y%3D%223.5%22%20width%3D%2211%22%20height%3D%2210%22%20rx%3D%222.2%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M2.5%207h11M5.5%202v3M10.5%202v3%22/%3E%3C/svg%3E"); }
.zico--wand { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m3%2013%207-7M9%203v2M12%206h2M12.5%203.5%2011%205%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m3%2013%207-7M9%203v2M12%206h2M12.5%203.5%2011%205%22/%3E%3C/svg%3E"); }
.zico--wave { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%207v2M5.5%205v6M8%203v10M10.5%205v6M13%207v2%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%207v2M5.5%205v6M8%203v10M10.5%205v6M13%207v2%22/%3E%3C/svg%3E"); }
.zico--ext { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%203h4v4M13%203%207.5%208.5M11%209.5V13H3V5h3.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%203h4v4M13%203%207.5%208.5M11%209.5V13H3V5h3.5%22/%3E%3C/svg%3E"); }
.zico--num { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%202.5%2013.5%2013h-11z%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%207v2.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%202.5%2013.5%2013h-11z%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%207v2.5%22/%3E%3C/svg%3E"); }
/* ── Ask Zoie case study ─────────────────── */

.zspark { display: inline-block; width: 22px; height: 22px; flex: none; background: linear-gradient(140deg, #fff 10%, #9fdcff 45%, #8f7dff 90%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.zpill { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; background: #131838; box-shadow: inset 0 0 0 1px var(--zline); font-size: 13.5px; color: #e7e9f8; white-space: nowrap; transition: background .35s ease, box-shadow .35s ease; }
.zpill.is-pick { background: #1c2350; box-shadow: inset 0 0 0 1px rgba(160, 170, 255, .35); }
.zref { color: #8fb0ff; font-size: .95em; }
.zav { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1e47b8; color: #fff; font-size: 11.5px; font-weight: 500; font-style: normal; flex: none; }
.zav--a { background: #2b2f3a; } .zav--b { background: #b4277f; } .zav--c { background: #2a8aa0; }

/* 01 · pages piling up (illustration) */
.tabs-pile { position: relative; height: 320px; }
.pile__w { position: absolute; left: calc(var(--i) * 9%); top: calc(var(--i) * 34px); width: 62%; height: 190px; border-radius: 14px; background: #fff; padding: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(12,13,17,.3); display: flex; flex-direction: column; gap: 9px; opacity: 0; transform: translateY(14px) rotate(-1deg); transition: opacity .5s ease, transform .7s var(--ease-out); transition-delay: calc(var(--i) * .12s); }
.pile__w b { font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 4px; }
.pile__w i { display: block; height: 10px; border-radius: 4px; background: var(--wash-2); }
.pile__w i.s { width: 55%; }
.tabs-pile.is-on .pile__w { opacity: 1; transform: none; }
.pile__q { position: absolute; right: 0; bottom: 8px; max-width: 62%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity .5s ease .7s, transform .6s var(--ease-out) .7s; }
.tabs-pile.is-on .pile__q { opacity: 1; transform: none; }

/* 02 · the conversation */
.chat { margin: 44px auto 0; max-width: 820px; height: 520px; padding: 30px; display: flex; flex-direction: column; }
.chat__hello { text-align: center; margin: auto 0; transition: opacity .6s ease, transform .8s var(--ease-out); }
.chat__hello .zspark { width: 46px; height: 46px; filter: drop-shadow(0 8px 18px rgba(120,170,255,.45)); }
.chat__hi { margin: 14px 0 0; font-size: 22px; letter-spacing: -.02em; }
.chat__sub { margin: 8px 0 0; font-size: 14.5px; color: #b9bedc; }
.chat__chips, .chat__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; }
.chat__acts { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
.chat__thread { position: absolute; inset: 30px 30px 100px; display: flex; flex-direction: column; gap: 16px; pointer-events: none; }
.chat__me { align-self: flex-end; margin: 0; max-width: 70%; padding: 12px 16px; border-radius: 14px; background: #1a2045; font-size: 14.5px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .55s var(--ease-out); }
.chat__think { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #b9bedc; opacity: 0; transition: opacity .4s ease; }
.chat__think .zspark { width: 18px; height: 18px; animation: twinkle 1.6s ease-in-out infinite; }
.chat__ans { display: flex; flex-direction: column; gap: 10px; margin-top: -26px; }
.chat__ans > p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #eef0fb; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.chat__ans > p:nth-child(2) { transition-delay: .25s; } .chat__ans > p:nth-child(3) { transition-delay: .5s; } .chat__ans > p:nth-child(4) { transition-delay: .8s; }
.chat__input { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--zline); font-size: 14px; color: var(--zmute); }
.chat__input span { flex: 1; } .chat__input .zico { color: var(--zmute); width: 18px; height: 18px; }
.chat.s1 .chat__hello, .chat.s2 .chat__hello, .chat.s3 .chat__hello { opacity: 0; transform: translateY(-20px); }
.chat.s1 .chat__me, .chat.s2 .chat__me, .chat.s3 .chat__me { opacity: 1; transform: none; }
.chat.s2 .chat__think { opacity: 1; }
.chat.s3 .chat__ans > p { opacity: 1; transform: none; }
.chat.s3 .chat__think { opacity: 0; }

/* 03 · answer → action */
.act { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; text-align: left; }
.act__panel { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 520px; justify-content: flex-start; }
.act__lead { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #c9cdea; }
.act__sum { margin: 0; font-size: 14.5px; line-height: 1.55; color: #eef0fb; transition: opacity .5s ease; }
.act__panel .chat__acts { margin: 0; transition: opacity .5s ease; }
.act__me { opacity: 0; transform: translateY(10px); }
.act__card { border-radius: 18px; padding: 4px 20px; background: var(--zcard); box-shadow: inset 0 0 0 1px rgba(110, 231, 207, .35), 0 0 40px -20px rgba(110, 231, 207, .5); opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .7s var(--ease-out); }
.act__row { display: flex; gap: 40px; padding: 14px 0; border-bottom: 1px solid var(--zline); }
.act__row span { display: flex; flex-direction: column; gap: 6px; }
.act__row i:not(.zico) { font-style: normal; font-size: 14px; font-weight: 500; }
.act__row b { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 13.5px; color: #c9cdea; }
.act.s2 .act__sum { opacity: .35; }
.act.s3 .act__sum, .act.s3 .chat__acts { opacity: .28; }
.act.s3 .act__me { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s var(--ease-out); }
.act.s3 .act__card { opacity: 1; transform: none; transition-delay: .35s; }
.act .zpill.is-pick { transition: background .35s ease, box-shadow .35s ease; }
.act:not(.s2):not(.s3) .zpill.is-pick { background: #131838; box-shadow: inset 0 0 0 1px var(--zline); }
.act__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.act__steps li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.5; color: var(--mute); transition: color .4s ease; }
.act__steps li span { display: flex; flex-direction: column; gap: 2px; }
.act__steps strong { font-weight: 500; color: var(--ink); font-size: 16px; opacity: .45; transition: opacity .4s ease; }
.act__steps li > b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--wash-2); color: var(--ink-2); transition: background .4s ease, color .4s ease; }
.act.s1 .act__steps li:nth-child(1), .act.s2 .act__steps li:nth-child(2), .act.s3 .act__steps li:nth-child(3) { color: var(--ink-2); }
.act.s1 .act__steps li:nth-child(1) strong, .act.s2 .act__steps li:nth-child(2) strong, .act.s3 .act__steps li:nth-child(3) strong { opacity: 1; }
.act.s1 .act__steps li:nth-child(1) > b, .act.s2 .act__steps li:nth-child(2) > b, .act.s3 .act__steps li:nth-child(3) > b { background: var(--ink); color: #fff; }

/* 04 · context next to the conversation */
.ctx { margin: 44px auto 0; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; text-align: left; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 28px 56px -34px rgba(12,13,17,.35); }
.ctx__inbox { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ctx__h { margin: 0 0 8px 8px; font-size: 14px; font-weight: 500; }
.ctx__row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background .5s ease; }
.ctx__row > span { display: flex; flex-direction: column; min-width: 0; }
.ctx__row b { font-weight: 500; font-size: 14px; }
.ctx__row em { font-style: normal; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx.is-on .ctx__row.is-on { background: #eef0fd; }
.ctx__side { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #fcfcfd; }
.ctx__label { margin: 0; display: flex; justify-content: space-between; font-size: 13px; color: #6e7193; }
.ctx__label b { font-weight: 500; color: var(--ink); }
.ctx__mem { padding: 16px; border-radius: 16px; display: flex; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease .4s, transform .8s var(--ease-out) .4s; }
.ctx.is-on .ctx__mem { opacity: 1; transform: none; }
.ctx__mem > span { display: flex; flex-direction: column; gap: 6px; }
.ctx__mem b { font-weight: 500; font-size: 14.5px; }
.ctx__mem em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: #c9cdea; }
.ctx__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.ctx__tags i { font-style: normal; font-size: 12px; padding: 4px 9px; border-radius: 7px; background: rgba(255,255,255,.08); color: #dfe2f5; }
.ctx__tags b { margin-left: auto; font-size: 13px; }
.ctx__status { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.ctx__status i { width: 9px; height: 9px; border-radius: 50%; background: #22a35a; }

/* 05 · trust */
.trust { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; align-items: start; }
.trust__item { margin: 0; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .7s var(--ease-out); }
.trust.is-on .trust__item { opacity: 1; transform: none; }
.trust.is-on .trust__item:nth-child(2) { transition-delay: .15s; } .trust.is-on .trust__item:nth-child(3) { transition-delay: .3s; }
.trust__item figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.trust__item figcaption b { font-size: 15px; font-weight: 500; color: var(--ink); }
.tcard { min-height: 250px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -26px rgba(12,13,17,.3); display: flex; flex-direction: column; gap: 10px; }
.tcard__h { margin: 0 0 2px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tcard__h .zspark { width: 16px; height: 16px; background: linear-gradient(140deg, #2a3a8f, #7aa7ff); }
.tfact { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--wash); }
.tfact > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tfact i { font-style: normal; font-size: 12px; color: #6e7193; }
.tfact b { font-weight: 400; font-size: 13.5px; }
.tfact em { font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; flex: none; }
.sure { background: #d9f7e2; color: #1d7a43; } .likely { background: #fde6d8; color: #a2521f; }
.tcard__p { margin: 0; padding: 13px; border-radius: 12px; background: var(--wash); font-size: 13.5px; line-height: 1.5; }
.tforget { display: grid; place-items: center; height: 42px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: #d92d2d; font-size: 14px; }
.tpop { min-height: 250px; padding: 22px 18px; border-radius: 18px; background: #0b0c10; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 22px; box-shadow: 0 18px 36px -22px rgba(12,13,17,.5); }
.tpop__row { display: flex; gap: 14px; align-items: flex-start; }
.tpop__row > span { display: flex; flex-direction: column; gap: 6px; }
.tpop__row em { font-style: normal; font-size: 14px; }
.tpop__row b { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 13.5px; color: #d9dbe6; }
.tpop__tags { flex-wrap: wrap; } .tpop__tags i { font-style: normal; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tpop__ic { width: 40px; height: 40px; border-radius: 10px; background: #26272d; flex: none; position: relative; }
.tpop__ic::after { content: ""; position: absolute; inset: 11px; background: #cfd1da; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* 06 · voice */
.ch--voice { align-items: center; }
.modes { display: flex; gap: 8px; margin: 22px 0 0; flex-wrap: wrap; }
.mode { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--wash-2); color: var(--ink-2); }
.voice { height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.orb { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(from 200deg, #f4f5f8, #cfd8ee 18%, #7fa7e6 30%, #1b2a55 46%, #05060c 62%, #2a3c78 78%, #e9edf7 92%, #f4f5f8); filter: blur(.4px); box-shadow: 0 0 60px -10px rgba(140, 170, 255, .45); animation: orb 7s linear infinite, breathe 3.2s ease-in-out infinite; }
@keyframes orb { to { rotate: 360deg; } }
@keyframes breathe { 50% { scale: 1.05; } }
.voice__t { margin: 26px 0 0; font-size: 19px; line-height: 1.35; letter-spacing: -.015em; }
.voice__tip { margin-top: 36px; max-width: 260px; padding: 9px 13px; border-radius: 10px; background: #fff; color: #0b0e1f; font-size: 12.5px; line-height: 1.4; }
.voice__bar { margin-top: 10px; display: flex; gap: 26px; padding: 14px 26px; border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--zline); }
.vb { width: 20px; height: 20px; background: #9aa0bd; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

@media (max-width: 760px) {
  .tabs-pile { height: 280px; }
  .chat { height: 600px; padding: 20px; }
  .chat__thread { inset: 20px 20px 90px; }
  .act, .trust { grid-template-columns: 1fr; }
  .act__panel { min-height: 0; }
  .ctx { grid-template-columns: 1fr; }
  .ctx__inbox { border-right: 0; border-bottom: 1px solid var(--line); }
  .voice { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .chat__think .zspark { animation: none !important; }
  .pile__w, .pile__q, .chat__hello, .chat__me, .chat__ans > p, .act__card, .ctx__mem, .trust__item { transition: none !important; }
}

.tpop__ic--bolt::after { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M9%201.8%203.6%209h4l-.8%205.2L12.4%207h-4z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M9%201.8%203.6%209h4l-.8%205.2L12.4%207h-4z%22/%3E%3C/svg%3E"); }
.tpop__ic--tool::after { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10.5%202.5a3%203%200%200%200-3.3%204l-4.4%204.4a1.3%201.3%200%200%200%201.8%201.8l4.4-4.4a3%203%200%200%200%204-3.3l-1.8%201.8-1.7-.4-.4-1.7z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10.5%202.5a3%203%200%200%200-3.3%204l-4.4%204.4a1.3%201.3%200%200%200%201.8%201.8l4.4-4.4a3%203%200%200%200%204-3.3l-1.8%201.8-1.7-.4-.4-1.7z%22/%3E%3C/svg%3E"); }
.vb--chat { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M8%202C4.4%202%201.5%204.4%201.5%207.4c0%201.5.7%202.9%201.9%203.9L3%2014l3.1-1.6c.6.1%201.2.2%201.9.2%203.6%200%206.5-2.4%206.5-5.4S11.6%202%208%202z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M8%202C4.4%202%201.5%204.4%201.5%207.4c0%201.5.7%202.9%201.9%203.9L3%2014l3.1-1.6c.6.1%201.2.2%201.9.2%203.6%200%206.5-2.4%206.5-5.4S11.6%202%208%202z%22/%3E%3C/svg%3E"); }
.vb--mic { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%225.5%22%20y%3D%221.5%22%20width%3D%225%22%20height%3D%228%22%20rx%3D%222.5%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%207.5a5%205%200%200%200%2010%200M8%2012.5V15%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%225.5%22%20y%3D%221.5%22%20width%3D%225%22%20height%3D%228%22%20rx%3D%222.5%22/%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M3%207.5a5%205%200%200%200%2010%200M8%2012.5V15%22/%3E%3C/svg%3E"); }
.vb--min { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222%22%20y%3D%222%22%20width%3D%228.5%22%20height%3D%228.5%22%20rx%3D%221.5%22/%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M6%206h7.5a.5.5%200%200%201%20.5.5V14a.5.5%200%200%201-.5.5H6.5A.5.5%200%200%201%206%2014z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Crect%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20x%3D%222%22%20y%3D%222%22%20width%3D%228.5%22%20height%3D%228.5%22%20rx%3D%221.5%22/%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M6%206h7.5a.5.5%200%200%201%20.5.5V14a.5.5%200%200%201-.5.5H6.5A.5.5%200%200%201%206%2014z%22/%3E%3C/svg%3E"); }

/* a full product screen, presented large */
.fullshot { margin-left: 0; margin-right: 0; text-align: center; }
.fullshot img { margin: 28px auto 0; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(12,13,17,.08), 0 40px 80px -40px rgba(12,13,17,.45); }
.fullshot figcaption { margin-top: 14px; font-size: 13.5px; color: var(--mute); }

/* block nodes always read left-aligned, even inside centred chapters */
.wf-node, .wf-card, .wf-text { text-align: left; }

/* a clean cover: one real screen, presented large */
.cover { margin: 8px 0 0; }
.cover img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(12,13,17,.08), 0 40px 80px -40px rgba(7,11,31,.55);
  transform: scale(1.025); opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity .9s ease;
}
.sheet.is-in .cover img { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cover img { transform: none; opacity: 1; transition: none; } }

/* ── Real screens: two rows drifting past ── */
.shots__rows { display: flex; flex-direction: column; gap: 16px; margin: 40px -32px 0; }
.shots__row {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.shots__track { flex: none; display: flex; gap: 16px; margin: 0; padding: 6px 16px 12px 0; list-style: none; animation: shots-move calc(var(--n) * 8s) linear infinite; }
.shots__row--b .shots__track { animation-direction: reverse; }
.shots__row:hover .shots__track, .shots__row:focus-within .shots__track { animation-play-state: paused; }
@keyframes shots-move { to { transform: translateX(-100%); } }
.shots__item {
  display: block; width: 440px; padding: 0; border: 0; background: #0b0f22; cursor: zoom-in;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(12,13,17,.08), 0 14px 30px -18px rgba(12,13,17,.4);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.shots__item:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(12,13,17,.1), 0 22px 40px -18px rgba(12,13,17,.5); }
.shots__item img { display: block; width: 100%; height: auto; }

.lightbox { padding: 0; border: 0; background: none; max-width: none; max-height: none; width: 100vw; height: 100vh; display: none; place-items: center; overflow: hidden; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(6, 8, 18, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.lightbox.is-in::backdrop { opacity: 1; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .45s var(--ease-out); cursor: zoom-out; }
.lightbox.is-in img { opacity: 1; transform: none; }
.lightbox__close { position: fixed; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 640px) {
  .shots__rows { margin: 32px -22px 0; gap: 12px; }
  .shots__item { width: 270px; border-radius: 10px; }
  .shots__track { gap: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .shots__track { animation: none !important; }
  .shots__row { overflow-x: auto; }
  .shots__track[aria-hidden="true"] { display: none; }
  .lightbox img, .lightbox::backdrop { transition: none !important; }
}

/* ── Senior case-study sections ─────────── */

.hypo {
  display: inline-flex; align-items: center; vertical-align: middle;
  margin-left: 10px; padding: 3px 8px; border-radius: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: #8a5a00; background: #fff6e0; box-shadow: inset 0 0 0 1px #f3e2b5;
  transform: translateY(-4px);
}
.gp__h .hypo { transform: none; margin-left: 8px; }
.hypo-note { margin: 18px 0 0; font-size: 13px; color: var(--mute); }

/* overview */
.ov { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; margin: 4px 0 40px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.ov__ctx { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); letter-spacing: -.01em; }
.ov__meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.ov__meta dt { font-size: 12.5px; color: var(--mute); }
.ov__meta dd { margin: 3px 0 0; font-size: 14.5px; color: var(--ink); letter-spacing: -.01em; }

/* research */
.ins-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ins { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 18px; background: var(--wash); }
.ins__n { font-size: clamp(34px, 4vw, 48px); font-weight: 550; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.ins__t { font-size: 15.5px; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.ins__so { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); line-height: 1.45; }

/* goals + principles */
.gp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; margin-top: 32px; }
.gp__h { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--mute); display: flex; align-items: center; }
.goals { list-style: none; margin: 0; padding: 0; }
.goals li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.goals li:last-child { border-bottom: 1px solid var(--line); }
.goals b { flex: none; min-width: 7.2em; font-size: 22px; font-weight: 550; letter-spacing: -.03em; }
.goals span { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.princ { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.princ li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.princ i { font-style: normal; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12.5px; }
.princ span { display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.princ b { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }

/* decisions */
.decs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dec { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -28px rgba(12,13,17,.3); }
.dec p { margin: 0; }
.dec__chose, .dec__over { display: flex; flex-direction: column; gap: 3px; font-size: 16px; letter-spacing: -.01em; }
.dec__chose span, .dec__over span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.dec__chose { font-weight: 500; color: var(--ink); }
.dec__over { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--line-2); }
.dec__over span { text-decoration: none; display: inline-block; }
.dec__why { margin-top: 6px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* impact */
.ch--impact { padding-top: 40px; border-top: 1px solid var(--line); }
.impact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.impact li { display: flex; flex-direction: column; gap: 10px; padding: 4px 22px 4px 0; }
.impact li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.impact b { font-size: clamp(36px, 4.6vw, 58px); font-weight: 550; letter-spacing: -.05em; line-height: 1; }
.impact span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* reflection */
.reflect { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 26px; }
.reflect p:not(.gp__h) { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); letter-spacing: -.01em; }
.ch--reflect .note { margin-top: 36px; }

@media (max-width: 760px) {
  .ov, .gp, .reflect { grid-template-columns: 1fr; gap: 28px; }
  .ins-grid, .decs { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .impact li:nth-child(3) { padding-left: 0; border-left: 0; }
  .goals b { min-width: 6em; font-size: 20px; }
}

/* findings in words, metrics with targets */
.ins__n--word { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; line-height: 1.15; }
.impact--measure li { gap: 14px; }
.impact--measure span { font-size: 15px; color: var(--ink); line-height: 1.4; }
.impact--measure b { font-size: 15px; font-weight: 500; letter-spacing: -.005em; color: var(--ink-2); padding: 6px 10px; border-radius: 8px; background: var(--wash-2); align-self: flex-start; line-height: 1.2; }

/* ── Ask Zoie · MCP (Claude) ─────────────── */
.mcp { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; text-align: left; align-items: start; }
.mcp__chat { border-radius: 22px; padding: 22px; background: #f5f4ef; box-shadow: 0 0 0 1px #e8e6dc, 0 28px 56px -34px rgba(12,13,17,.35); display: flex; flex-direction: column; gap: 14px; min-height: 470px; }
.mcp__bar { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6b6a63; }
.mcp__logos { display: inline-flex; gap: 4px; }
.zlogo { display: inline-block; width: 26px; height: 26px; border-radius: 8px; background: #2b2f3a url("assets/icons/zoie.png") center / cover; }
.zlogo--sm { width: 18px; height: 18px; border-radius: 5px; }
.clogo { display: inline-block; width: 26px; height: 26px; border-radius: 8px; background: #d97757; position: relative; }
.clogo::before { content: ""; position: absolute; inset: 6px; background: #fff; clip-path: polygon(50% 0, 56% 40%, 85% 15%, 60% 46%, 100% 50%, 60% 54%, 85% 85%, 56% 60%, 50% 100%, 44% 60%, 15% 85%, 40% 54%, 0 50%, 40% 46%, 15% 15%, 44% 40%); }
.mcp__me { align-self: flex-end; margin: 0; padding: 11px 15px; border-radius: 16px; background: #e9e7df; font-size: 14.5px; color: #1f1e1b; }
.mcp__via { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b6a63; }
.mcp__card { border-radius: 16px; padding: 14px 16px 6px; background: #fff; box-shadow: 0 0 0 1px #e8e6dc; }
.mcp__h { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.mcp__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #f0eee8; }
.mcp__row:first-of-type { border-top: 0; }
.mcp__row > span { display: flex; flex-direction: column; gap: 1px; }
.mcp__row b { font-weight: 400; font-size: 14px; }
.mcp__row em { font-style: normal; font-size: 12.5px; color: #8a897f; }
.ava { font-style: normal; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11.5px; }
.mcp__more { margin: 0; display: flex; justify-content: space-between; padding: 10px 0 8px; border-top: 1px solid #f0eee8; font-size: 13px; color: #6b6a63; }
.mcp__open { color: #4a7be0; }
.mcp__me, .mcp__via, .mcp__card { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.mcp.is-on .mcp__me { opacity: 1; transform: none; }
.mcp.is-on .mcp__via { opacity: 1; transform: none; transition-delay: .5s; }
.mcp.is-on .mcp__card { opacity: 1; transform: none; transition-delay: .8s; }
.mcp__card .mcp__row { opacity: 0; transition: opacity .4s ease; }
.mcp.is-on .mcp__card .mcp__row { opacity: 1; }
.mcp.is-on .mcp__card .mcp__row:nth-of-type(1) { transition-delay: 1.1s; } .mcp.is-on .mcp__card .mcp__row:nth-of-type(2) { transition-delay: 1.25s; }
.mcp.is-on .mcp__card .mcp__row:nth-of-type(3) { transition-delay: 1.4s; } .mcp.is-on .mcp__card .mcp__row:nth-of-type(4) { transition-delay: 1.55s; }

.mcp__side { display: flex; flex-direction: column; gap: 12px; }
.mcp__box { border-radius: 18px; padding: 16px 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -28px rgba(12,13,17,.3); }
.mcp__box .gp__h { margin-bottom: 10px; color: var(--ink); }
.mcp__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.mcp__steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.mcp__steps i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #d6d7da; flex: none; transition: background .4s ease; }
.mcp.is-on .mcp__steps li i { background: #1f9d55; }
.mcp.is-on .mcp__steps li:nth-child(1) i { transition-delay: .3s; } .mcp.is-on .mcp__steps li:nth-child(2) i { transition-delay: .7s; }
.mcp.is-on .mcp__steps li:nth-child(3) i { transition-delay: 1.1s; } .mcp.is-on .mcp__steps li:nth-child(4) i { transition-delay: 1.5s; }
.mcp__perms, .mcp__log { list-style: none; margin: 0; padding: 0; }
.mcp__perms li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mcp__perms li:first-child { border-top: 0; }
.mcp__perms span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mcp__perms b { font-weight: 400; font-size: 14px; }
.mcp__perms em { font-style: normal; font-size: 12.5px; color: #6e7193; }
.mcp__perms i { font-style: normal; flex: none; font-size: 11.5px; padding: 3px 7px; border-radius: 6px; background: var(--wash-2); color: var(--ink-2); }
.mcp__log li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mcp__log li:first-child { border-top: 0; }
.mcp__log code { font-size: 11.5px; padding: 2px 6px; border-radius: 5px; background: var(--wash-2); color: var(--ink); }
.mcp__log span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcp__log em { font-style: normal; font-size: 12px; color: var(--mute); }
.mcp__revoke { margin: 10px 0 0; display: grid; place-items: center; height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); color: #d92d2d; font-size: 13.5px; }
.mcp__tour { margin-top: 36px !important; text-align: left; }
.decs:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 760px) {
  .mcp { grid-template-columns: 1fr; }
  .mcp__chat { min-height: 0; }
  .mcp__steps { grid-template-columns: 1fr; }
  .mcp__log li { grid-template-columns: 1fr auto; }
  .mcp__log span { grid-column: 1 / -1; white-space: normal; }
  .decs:has(> li:nth-child(4)) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mcp__me, .mcp__via, .mcp__card, .mcp__card .mcp__row, .mcp__steps i { transition: none !important; }
}

/* feature app-icons */
.t-row { display: flex; align-items: center; gap: 16px; }
.t-ico { width: clamp(44px, 5vw, 56px); height: clamp(44px, 5vw, 56px); border-radius: 13px; flex: none; }
.swap { display: inline-flex; align-items: center; gap: 8px; padding-left: 5px; }
.swap__ico { width: 24px; height: 24px; border-radius: 7px; }

/* ── AI assistants → MCP → Zoie ── */
.aihub { position: relative; margin: 48px auto 0; max-width: 900px; padding-bottom: 6px; }
.aihub__apps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 22px; position: relative; z-index: 2; }
.aihub__apps li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 66px; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.aihub.is-on .aihub__apps li { opacity: 1; transform: none; }
.aitile { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgba(12,13,17,.35); transition: transform .4s var(--ease-out); }
.aitile img { width: 30px; height: 30px; }
.aihub__apps li:hover .aitile { transform: translateY(-3px); }
.aihub__apps em { font-style: normal; font-size: 12px; color: var(--mute); white-space: nowrap; }
.aihub__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.aihub__lines path { fill: none; stroke: #c4c6d1; stroke-width: 1.3; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0; transition: opacity .8s ease .5s; animation: hub-flow 1.4s linear infinite; }
.aihub.is-on .aihub__lines path { opacity: 1; }
.aihub__mcp { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 56px; }
.aihub__mcp span { height: 36px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; box-shadow: 0 10px 24px -12px rgba(12,13,17,.6); }
.aihub__zoie { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.aihub__zoie img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 16px 30px -16px rgba(7,10,28,.6); }
.aihub__zoie span { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.aihub__zoie b { font-weight: 500; font-size: 17px; }
.aihub__zoie em { font-style: normal; font-size: 13px; color: var(--mute); }
.aihub__cap { margin: 40px 0 0; font-size: 13.5px; color: var(--mute); }
@media (max-width: 640px) {
  .aihub__apps { display: grid; grid-template-columns: repeat(3, 66px); justify-content: center; gap: 18px 22px; }
  .aihub__apps li { width: 66px; }
  .aitile { width: 52px; height: 52px; border-radius: 13px; }
  .aitile img { width: 26px; height: 26px; }
  .aihub__zoie em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aihub__apps li { transition: none; opacity: 1; transform: none; }
  .aihub__lines path { animation: none; transition: none; }
}

/* real screens, right after the overview */
.shots--top { margin-top: 8px; margin-bottom: clamp(56px, 8vw, 96px); }
.shots--top .shots__rows { margin-top: 30px; }

/* ── Seeker case study ───────────────────── */

/* portrait screens in the marquee */
.shots--portrait .shots__item { width: 190px; border-radius: 22px; background: #000; }
@media (max-width: 640px) { .shots--portrait .shots__item { width: 140px; border-radius: 16px; } }

/* phone frame for the videos */
.phone { margin: 0; justify-self: center; width: min(300px, 78vw); aspect-ratio: 480 / 1040; padding: 9px; border-radius: 46px; background: #0b0c10; box-shadow: 0 0 0 1px rgba(12,13,17,.12), 0 40px 80px -34px rgba(12,13,17,.55); position: relative; }
.phone__v { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: #111; }
.ch--video { align-items: center; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ch--video.ch--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

/* 01 · the problem, in the character's words */
.bubbles { margin: 40px auto 0; max-width: 560px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bubbles span { padding: 12px 18px; border-radius: 20px 20px 20px 6px; background: var(--wash-2); font-size: 16px; color: var(--ink); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s ease, transform .6s var(--ease-out); }
.bubbles span:nth-child(even) { align-self: flex-end; border-radius: 20px 20px 6px 20px; }
.bubbles span:last-child { background: var(--ink); color: #fff; }
.bubbles.is-on span { opacity: 1; transform: none; }
.bubbles.is-on span:nth-child(2) { transition-delay: .5s; } .bubbles.is-on span:nth-child(3) { transition-delay: 1s; }
.bubbles.is-on span:nth-child(4) { transition-delay: 1.5s; } .bubbles.is-on span:nth-child(5) { transition-delay: 2.1s; }

/* 02 · one character, many states */
.moods { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.moods li { display: flex; flex-direction: column; gap: 4px; text-align: left; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.moods.is-on li { opacity: 1; transform: none; }
.moods img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; margin-bottom: 8px; box-shadow: 0 0 0 1px rgba(12,13,17,.06); }
.moods b { font-size: 15px; font-weight: 500; }
.moods span { font-size: 13px; color: var(--mute); }

.bigstat { margin: 28px 0 0; display: flex; flex-direction: column; gap: 4px; }
.bigstat b { font-size: clamp(36px, 4.4vw, 54px); font-weight: 550; letter-spacing: -.05em; line-height: 1; }
.bigstat span { font-size: 14px; color: var(--mute); }

.signals, .billing { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.signals li, .billing li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.signals li span, .billing li span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--mute); line-height: 1.45; }
.signals b, .billing b { font-size: 15px; font-weight: 500; color: var(--ink); }
.sig { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #c9cad2; }
.sig--on { background: #22a35a; box-shadow: 0 0 0 4px rgba(34,163,90,.15); }
.bd { flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; }
.bd--ok { background: #d9f5e3; box-shadow: inset 0 0 0 7px #d9f5e3, inset 0 0 0 13px #1f9d55; }
.bd--b { background: #dfe8ff; box-shadow: inset 0 0 0 8px #dfe8ff, inset 0 0 0 13px #3b6ee8; }
.bd--p { background: #ece2ff; box-shadow: inset 0 0 0 8px #ece2ff, inset 0 0 0 13px #7b4fe0; }
.bd--y { background: #fff1cc; box-shadow: inset 0 0 0 8px #fff1cc, inset 0 0 0 13px #d9a400; }
.beats3 { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: b; }
.beats3 li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--wash); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.beats3 b { font-size: 15px; font-weight: 500; color: var(--ink); }

@media (max-width: 760px) {
  .ch--video, .ch--video.ch--flip { grid-template-columns: 1fr; }
  .ch--video.ch--flip .phone { order: -1; }
  .moods { grid-template-columns: repeat(2, 1fr); }
  .moods li:last-child { grid-column: 1 / -1; max-width: 50%; }
  .beats3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles span, .moods li { transition: none !important; opacity: 1; transform: none; }
}

/* ── Up / down: the homepage cue, on every passage ───── */
.scrollnav {
  position: fixed; z-index: 6;
  left: calc(var(--gutter) + max(0px, (100vw - 2 * var(--gutter)) * .12));
  bottom: max(36px, calc(env(safe-area-inset-bottom) + 20px));
  display: flex; align-items: center; gap: 10px;
  animation: in-nudge .7s cubic-bezier(.16, 1, .3, 1) 1.3s both;
  transition: opacity .35s var(--ease);
}
.sn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1;
  border-radius: 999px;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.sn:hover .cue__icon, .scrollnav:has(.sn--label:hover) .sn--down .cue__icon { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.sn--label:hover .cue__label, .scrollnav:has(.sn--down:hover) .cue__label { color: var(--ink); }
.sn--up .cue__icon svg { animation: none; }
.scrollnav { gap: 8px; }
/* up appears once there is somewhere to go back to; down leaves on the last passage */
/* first passage: label right beside the down arrow. Up grows in beside it and eases the label over. */
.scrollnav .sn--label { margin-left: 4px; }
.scrollnav .sn--up {
  width: 40px; overflow: hidden;
  transition: width .5s cubic-bezier(.22, 1, .36, 1), margin .5s cubic-bezier(.22, 1, .36, 1), opacity .35s var(--ease), transform .5s cubic-bezier(.22, 1, .36, 1);
}
.scrollnav.is-first .sn--up { width: 0; margin-left: -8px; opacity: 0; transform: scale(.7); pointer-events: none; }
/* last passage: the down control turns around and reads "Back to the start"; the extra up circle tucks away */
.sn--down .cue__icon svg { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.scrollnav.is-back .sn--down .cue__icon svg { transform: rotate(180deg); animation: none; }
.scrollnav.is-back .sn--up { width: 0; margin-left: -8px; opacity: 0; transform: scale(.7); pointer-events: none; }
.sn__back { display: none; }
.scrollnav.is-back .sn__fwd { display: none; }
.scrollnav.is-back .sn__back { display: inline; }
html.is-locked .scrollnav, .rm .scrollnav { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .scrollnav { left: var(--gutter); bottom: max(26px, calc(env(safe-area-inset-bottom) + 16px)); } }
@media (prefers-reduced-motion: reduce) { .scrollnav { animation: none; } }

/* the greeting: Epiminds, with its mark, in full ink */
.brand--epi { color: var(--ink); gap: .22em; }
.brand--epi .ico--mark { width: .78em; height: .78em; }
.sn .cue__icon { flex: none; }

/* ── Agents case study ─────────────────── */
.ag-raw { position: relative; text-align: left; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(12,13,17,.35); padding: 18px 20px 26px; display: flex; flex-direction: column; gap: 9px; }
.ag-raw__h { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); }
.ag-raw__h i { width: 9px; height: 9px; border-radius: 50%; background: var(--wash-2); box-shadow: inset 0 0 0 1px var(--line); }
.ag-raw__h span { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ag-raw__l { margin: 0; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); }
.ag-raw__bar { display: block; height: 8px; border-radius: 4px; background: var(--wash-2); width: 0; transition: width .9s var(--ease-out); }
.ag-raw.is-on .ag-raw__bar { width: var(--w); }
.ag-raw.is-on .ag-raw__bar:nth-of-type(2) { transition-delay: .08s } .ag-raw.is-on .ag-raw__bar:nth-of-type(3) { transition-delay: .16s } .ag-raw.is-on .ag-raw__bar:nth-of-type(4) { transition-delay: .24s } .ag-raw.is-on .ag-raw__bar:nth-of-type(5) { transition-delay: .32s } .ag-raw.is-on .ag-raw__bar:nth-of-type(6) { transition-delay: .4s } .ag-raw.is-on .ag-raw__bar:nth-of-type(7) { transition-delay: .48s }
.ag-raw__q { position: absolute; right: 18px; bottom: -16px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease 1s, transform .6s var(--ease-out) 1s; }
.ag-raw.is-on .ag-raw__q { opacity: 1; transform: none; }
.ag-raw .wall__tag { position: absolute; top: 14px; right: 16px; }

.ag-sk { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #ececef; position: relative; }
.ag-sk::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; background: rgba(255,255,255,.9); }
.ag-sk--pink { background: #f472b6; } .ag-sk--blue { background: #7cc4e8; } .ag-sk--green { background: #4fd1a5; } .ag-sk--yellow { background: #f6c945; } .ag-sk--grey { background: #c9cbd1; }
.ag-st { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--mute); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ag-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9cbd1; }
.ag-st--on { color: #16a34a; } .ag-st--on::before { background: #22c55e; }
.ag-st--off { color: #dc2626; } .ag-st--off::before { background: #dc2626; }

.ag-team { margin: 44px auto 0; max-width: 440px; text-align: left; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(12,13,17,.35); padding: 22px 0 10px; }
.ag-agent { display: flex; align-items: center; gap: 12px; padding: 0 22px 18px; border-bottom: 1px solid var(--line); }
.ag-av, .ag-orb { flex: none; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #d6a7d8 30%, #6b2a63 62%, #14101c 90%); }
.ag-agent__t { display: flex; flex-direction: column; } .ag-agent__t b { font-weight: 500; font-size: 16px; } .ag-agent__t em { font-style: normal; font-size: 13px; color: var(--mute); }
.ag-team__h { margin: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 8px; font-size: 13.5px; color: var(--ink-2); }
.ag-team__h b { font-weight: 400; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.ag-skill { display: flex; align-items: center; gap: 12px; padding: 12px 22px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out), background .4s ease; transition-delay: calc(var(--i) * .15s + .1s); }
.ag-skill > span { display: flex; flex-direction: column; } .ag-skill b { font-weight: 500; font-size: 14px; } .ag-skill > span em { font-style: normal; font-size: 12px; color: var(--mute); }
.ag-skill:first-of-type { background: var(--wash); }
.ag-team.is-on .ag-skill { opacity: 1; transform: none; }
.ag-team__more { margin: 8px 0 0; padding: 10px 22px 6px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--mute); }

.ag-make { margin: 44px auto 0; max-width: 620px; text-align: left; }
.ag-make__steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; justify-content: center; gap: 8px; }
.ag-make__steps li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mute); padding: 6px 12px 6px 6px; border-radius: 999px; transition: background .4s ease, color .4s ease; }
.ag-make__steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 11.5px; background: var(--wash-2); color: var(--ink-2); transition: background .4s ease, color .4s ease; }
.ag-make[data-s="0"] li:nth-child(1), .ag-make[data-s="1"] li:nth-child(2), .ag-make[data-s="2"] li:nth-child(3), .ag-make[data-s="3"] li:nth-child(4) { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.ag-make[data-s="0"] li:nth-child(1) b, .ag-make[data-s="1"] li:nth-child(2) b, .ag-make[data-s="2"] li:nth-child(3) b, .ag-make[data-s="3"] li:nth-child(4) b { background: var(--ink); color: #fff; }
.ag-make__stage { display: grid; }
.ag-p { grid-area: 1 / 1; opacity: 0; transform: translateY(12px) scale(.985); pointer-events: none; transition: opacity .45s ease, transform .6s var(--ease-out); }
.ag-make[data-s="0"] .ag-p[data-p="0"], .ag-make[data-s="1"] .ag-p[data-p="1"], .ag-make[data-s="2"] .ag-p[data-p="2"], .ag-make[data-s="3"] .ag-p[data-p="3"] { opacity: 1; transform: none; transition-delay: .15s; }
.ag-card { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(12,13,17,.35); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 330px; }
.ag-card__h { margin: 0 0 4px; display: flex; flex-direction: column; gap: 3px; } .ag-card__h b { font-weight: 500; font-size: 17px; letter-spacing: -.015em; } .ag-card__h em { font-style: normal; font-size: 13px; color: var(--mute); }
.ag-card__h--c { align-items: center; text-align: center; }
.ag-f { display: flex; flex-direction: column; gap: 6px; flex: 1; } .ag-f i { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.ag-f > span { height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; }
.ag-f2 { display: flex; gap: 12px; }
.ag-type { color: var(--ink) !important; }
.ag-make[data-s="0"] .ag-type { animation: ag-type 1.1s steps(var(--n)) .5s both; }
.ag-make[data-s="0"] .ag-type--long { animation-duration: 1.8s; animation-delay: 1.4s; }
@keyframes ag-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ag-pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .55s var(--ease-out); }
.ag-pick > span { display: flex; flex-direction: column; flex: 1; } .ag-pick b { font-weight: 500; font-size: 14px; } .ag-pick > span em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.ag-make[data-s="1"] .ag-pick { opacity: 1; transform: none; transition-delay: calc(var(--i) * .2s + .35s); }
.ag-check { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--ink); position: relative; }
.ag-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ag-q { margin: 4px 0 0; font-size: 13.5px; color: var(--ink); }
.ag-opts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ag-opts span { font-size: 13px; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: background .4s ease, color .4s ease, box-shadow .4s ease; }
.ag-make[data-s="2"] .ag-opts span.is-on { background: var(--ink); color: #fff; box-shadow: none; transition-delay: .6s; }
.ag-build { align-items: center; justify-content: center; }
.ag-build__mark { width: 28px; height: 28px; background: var(--ink); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.ag-make[data-s="3"] .ag-build__mark { animation: ag-spin 2.4s linear infinite; }
@keyframes ag-spin { to { transform: rotate(360deg); } }
.ag-build__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mute); }
.ag-build__list li::before { content: "✓ "; color: #22c55e; opacity: 0; transition: opacity .3s ease; }
.ag-make[data-s="3"] .ag-build__list li::before { opacity: 1; }
.ag-make[data-s="3"] .ag-build__list li:nth-child(1)::before { transition-delay: .6s } .ag-make[data-s="3"] .ag-build__list li:nth-child(2)::before { transition-delay: 1.3s } .ag-make[data-s="3"] .ag-build__list li:nth-child(3)::before { transition-delay: 2s }
.ag-build__bar { width: 140px; height: 4px; border-radius: 2px; background: var(--wash-2); overflow: hidden; }
.ag-build__bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.ag-make[data-s="3"] .ag-build__bar i { width: 100%; transition: width 2.6s var(--ease) .3s; }

.ag-ch { margin: 44px auto 0; max-width: 720px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.ag-mode, .ag-eng { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ag-mode__o, .ag-eng__o { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 46px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .45s ease; }
.ag-mode__o > i, .ag-eng__o > i { position: absolute; left: 18px; top: 20px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9cbd1; transition: box-shadow .4s ease; }
.ag-mode__o.is-on, .ag-eng__o.is-on { box-shadow: 0 0 0 1.5px var(--ink); }
.ag-mode__o.is-on > i, .ag-eng__o.is-on > i { box-shadow: inset 0 0 0 5px var(--ink); }
.ag-mode__o b, .ag-eng__o b { font-weight: 500; font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ag-mode__o > em, .ag-eng__o > em { font-style: normal; font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.ag-rec { font-style: normal; font-weight: 400; font-size: 11.5px; color: #16a34a; background: #e8f8ee; padding: 2px 7px; border-radius: 6px; }
.ag-chs { display: flex; flex-direction: column; gap: 10px; }
.ag-chan { border-radius: 14px; background: var(--wash); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; transition: opacity .5s ease, transform .6s var(--ease-out); }
.ag-chan p { margin: 0; display: flex; align-items: center; gap: 12px; }
.ag-chan p > span { flex: 1; display: flex; flex-direction: column; } .ag-chan b { font-weight: 500; font-size: 14px; } .ag-chan p > span em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.ag-ci { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.ag-ci::after { content: ""; width: 15px; height: 15px; background: center / contain no-repeat; }
.ag-ci--voice::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230c0d11' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.ag-ci--sms::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230c0d11' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ag-ci--wa::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2322c55e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M12 3.5a8.5 8.5 0 0 0-7.3 12.8L3.5 20.5l4.3-1.1A8.5 8.5 0 1 0 12 3.5z'/%3E%3C/svg%3E"); }
.ag-ci--mail::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ea4335' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6h17v12h-17zM3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.ag-ci--ig::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d6297a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M7 3.5h10A3.5 3.5 0 0 1 20.5 7v10a3.5 3.5 0 0 1-3.5 3.5H7A3.5 3.5 0 0 1 3.5 17V7A3.5 3.5 0 0 1 7 3.5zM12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zM17 6.8v.01'/%3E%3C/svg%3E"); }
.ag-tog { flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--ink); position: relative; }
.ag-tog::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ag-msg { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); }
.ag-msg--sel::after { content: "⌄"; float: right; color: var(--mute); }
.ag-ch .ag-chan { opacity: 0; transform: translateY(10px); }
.ag-ch.is-on .ag-chan { opacity: 1; transform: none; transition-delay: calc(var(--i) * .15s + .2s); }
.ag-ch.is-shared .ag-chan:not(:first-child) { opacity: .35; transform: scale(.985); }
.ag-ch.is-shared .ag-mode__o:first-child { box-shadow: 0 0 0 1px var(--line); } .ag-ch.is-shared .ag-mode__o:first-child > i { box-shadow: inset 0 0 0 1.5px #c9cbd1; }
.ag-ch.is-shared .ag-mode__o:last-child { box-shadow: 0 0 0 1.5px var(--ink); } .ag-ch.is-shared .ag-mode__o:last-child > i { box-shadow: inset 0 0 0 5px var(--ink); }

.ag-crit { margin: 44px auto 0; max-width: 600px; text-align: left; display: grid; }
.ag-crit__run, .ag-crit__res { grid-area: 1 / 1; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(12,13,17,.4); transition: opacity .5s ease, transform .7s var(--ease-out); }
.ag-crit__run { align-self: start; margin-top: 40px; justify-self: center; width: min(100%, 340px); padding: 34px 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ag-crit__run p { margin: 0; } .ag-crit__run b { font-weight: 500; font-size: 17px; }
.ag-crit__run ul { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--mute); display: flex; flex-direction: column; gap: 5px; }
.ag-crit__spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--wash-2); border-top-color: var(--ink); animation: ag-spin 1s linear infinite; }
.ag-crit__res { padding: 26px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(14px); }
.ag-crit.s1 .ag-crit__run { opacity: 0; transform: scale(.96); }
.ag-crit.s1 .ag-crit__res { opacity: 1; transform: none; transition-delay: .2s; }
.ag-crit__top { margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.ag-crit__top > span:not(.ag-ring) { flex: 1; display: flex; flex-direction: column; } .ag-crit__top b { font-weight: 500; font-size: 15px; } .ag-crit__top > span em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.ag-ring { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #16a34a; }
.ag-ring b { font-weight: 500; } .ag-ring em { font-style: normal; color: var(--mute); font-size: 12px; }
.ag-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.ag-ring circle { stroke: var(--wash-2); } .ag-ring .ag-ring__v { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease-out) .5s; }
.ag-crit.s1 .ag-ring__v { stroke-dashoffset: 13; }
.ag-crit__k { margin: 6px 0 0; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.ag-crit__box { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.ag-crit__box--warn { background: #fdeeee; } .ag-crit__box--ok { background: #ecf9f0; }
.ag-crit__box p { margin: 0; display: flex; gap: 10px; }
.ag-crit__box p > i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; }
.ag-crit__box--warn i { background: #dc2626; color: #fff; } .ag-crit__box--ok i { color: #16a34a; font-size: 14px; }
.ag-crit__box span { display: flex; flex-direction: column; gap: 2px; } .ag-crit__box b { font-weight: 500; font-size: 14px; } .ag-crit__box span em { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

.ag-eng { margin: 44px auto 0; max-width: 720px; text-align: left; }
.ag-flow { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.ag-flow s { text-decoration: none; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--wash-2); color: var(--ink-2); }
.ag-flow u { text-decoration: none; font-size: 11.5px; color: var(--mute); }
.ag-eng__row { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ag-eng__row span { display: flex; flex-direction: column; gap: 6px; } .ag-eng__row i { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.ag-eng__row b { font-weight: 400; font-size: 13.5px; height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ag-eng .ag-eng__o, .ag-eng__row { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out), box-shadow .45s ease; }
.ag-eng.is-on .ag-eng__o, .ag-eng.is-on .ag-eng__row { opacity: 1; transform: none; }
.ag-eng.is-on .ag-eng__o + .ag-eng__o { transition-delay: .12s; } .ag-eng.is-on .ag-eng__row { transition-delay: .25s; }

.ag-live { text-align: left; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(12,13,17,.35); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ag-live__h { margin: 0 0 6px; display: flex; justify-content: space-between; align-items: center; } .ag-live__h b { font-weight: 500; font-size: 16px; }
.ag-live__h span { font-size: 13px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.ag-live__k { margin: 0; font-size: 13px; color: var(--mute); }
.ag-row { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .55s var(--ease-out); transition-delay: calc(var(--i) * .12s + .1s); }
.ag-row b { font-weight: 400; flex: 1; } .ag-row em { font-style: normal; font-size: 12px; padding: 3px 7px; border-radius: 6px; background: var(--wash-2); color: var(--ink-2); }
.ag-live.is-on .ag-row { opacity: 1; transform: none; }
.ag-test { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ag-test .ag-orb { width: 56px; height: 56px; margin-bottom: 8px; }
.ag-live.is-on .ag-orb { animation: ag-breathe 3.2s ease-in-out infinite; }
@keyframes ag-breathe { 50% { transform: scale(1.06); } }
.ag-test b { font-weight: 500; font-size: 14.5px; } .ag-test em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.ag-test__btn { margin-top: 8px; font-size: 13px; padding: 7px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 640px) {
  .ag-mode, .ag-eng, .ag-eng__row { grid-template-columns: 1fr; }
  .ag-f2 { flex-direction: column; }
  .ag-card { padding: 18px; min-height: 360px; }
  .ag-make__steps li { padding-right: 6px; } .ag-make__steps li span { display: none; }
  .ag-make[data-s="0"] li:nth-child(1) span, .ag-make[data-s="1"] li:nth-child(2) span, .ag-make[data-s="2"] li:nth-child(3) span, .ag-make[data-s="3"] li:nth-child(4) span { display: inline; }
  .ag-crit__res { padding: 18px; }
  .ag-raw .wall__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-make .ag-type, .ag-build__mark, .ag-crit__spin, .ag-orb { animation: none !important; }
}

/* ── Ending: contact ───────────────────── */
.contact.w { display: flex; flex-direction: column; gap: 10px; margin: 1.6rem 0 0; width: 100%; max-width: 440px; white-space: normal; position: relative; }
.contact__row { display: flex; gap: 8px; }
.contact__link {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px;
  height: 64px; padding: 0 14px 0 12px; border-radius: 16px;
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -14px rgba(12,13,17,.35);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.contact__link:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #dcdde3, 0 18px 32px -16px rgba(12,13,17,.4); }
.contact__link:active { transform: scale(.985); }
.contact__ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.contact__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.contact__txt em { font-style: normal; font-size: 12.5px; color: var(--mute); letter-spacing: -.005em; }
.contact__txt b { font-weight: 500; font-size: 15.5px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact__go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wash-2); transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out); }
.contact__link:hover .contact__go { background: var(--ink); color: #fff; transform: translateX(2px); }
.contact__link:hover .contact__go--dl { transform: translateY(2px); }
.contact__copy {
  flex: none; width: 64px; height: 64px; border: 0; border-radius: 16px; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line); transition: background .3s ease, color .3s ease;
}
.contact__copy:hover { background: var(--wash); color: var(--ink); }
.contact__copy .i-done, .contact__copy.is-done .i-copy { display: none; }
.contact__copy.is-done .i-done { display: block; color: #16a34a; }
.contact__toast { position: absolute; left: 0; bottom: -34px; margin: 0; font-size: 13px; color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .4s var(--ease-out); pointer-events: none; }
.contact__toast.is-on { opacity: 1; transform: none; }
.contact .cv-note { margin: 0; }
@media (max-width: 640px) {
  .contact.w { max-width: none; }
  .contact__link { height: 58px; }
  .contact__copy { width: 50px; height: 58px; }
  .contact__go:not(.contact__go--dl) { display: none; }
  .contact__link { gap: 12px; }
  .contact__ico { width: 36px; height: 36px; }
}
