:root {
  --ink: #141414;
  --muted: #707070;
  --line: #ececef;
  --soft: #f3f3f5;
  --bg: #ffffff;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --fuzi-bg: #c7ab92;
  --blue: #2643f2;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.nav__brand img { display: block; height: 24px; width: auto; }

/* wide screens: the logo sits right above the badge strap (badge left + half its width - half the logo) */
@media (min-width: 1360px) {
  .nav { padding-left: calc(max(24px, 50% - 700px) + 40px); }
}

.nav__links { display: flex; gap: 28px; }

.nav__links a,
.nav__login {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}

.nav__links a:hover,
.nav__login:hover { color: var(--ink); }

.nav__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.01em;
  transition: transform .2s var(--ease-out), background .15s;
}

.btn:active { transform: scale(.97); }

.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2e; }

.btn--light { background: var(--soft); color: var(--ink); }
.btn--light:hover { background: #e8e8ec; }

/* dark pill with a white knob; on hover the knob slides to the far end, like a "slide to start" switch */
.btn--knob {
  position: relative;
  height: 54px;
  padding: 0 26px 0 64px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #141416;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 14px 28px -14px rgba(0, 0, 0, .55);
  transition: padding .45s var(--ease-out), transform .2s var(--ease-out);
}

.btn__knob {
  position: absolute;
  top: 5px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e6e6ea 70%, #cfcfd6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 -1px 1px rgba(0, 0, 0, .08) inset;
  color: var(--ink);
  transition: left .45s var(--ease-out);
}

.btn__knob svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn--knob:hover { padding: 0 64px 0 26px; }
.btn--knob:hover .btn__knob { left: calc(100% - 47px); }

/* ---------- hero ---------- */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) 24px 56px;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.02em;
}

/* each line blurs up into place, a beat apart */
.hero__title .line {
  display: block;
  animation: line-in .5s ease backwards;
}

.hero__title .line:nth-child(2) { animation-delay: 60ms; }
.hero__title .line:nth-child(3) { animation-delay: 120ms; }

@keyframes line-in {
  from { opacity: .15; filter: blur(8px); transform: translateY(.25em); }
}

/* the inline logo: starts closed so the line reads as plain text, then opens to
   the icon plus its trailing word space once main.js adds .is-open */
.slot {
  --icon: .85em;
  position: relative;
  display: inline-block;
  width: 0;
  height: var(--icon);
  padding: 0;
  border: 0;
  background: none;
  /* middle, not a length: Safari puts an empty button's baseline at its centre,
     which dropped the logos half an icon below the line */
  vertical-align: middle;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transform-origin: calc(var(--icon) / 2) 50%;
  transition:
    width .26s cubic-bezier(.16, 1, .3, 1),
    transform .35s var(--spring);
}

.slot.is-open { width: calc(var(--icon) + .2em); }

.slot:hover { transform: scale(1.08) rotate(-4deg); }
.slot:active { transform: scale(.92); }

.slot:focus-visible {
  outline: 3px solid #b9c6ff;
  outline-offset: 4px;
  border-radius: 24%;
}

.slot img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--icon);
  height: var(--icon);
  object-fit: contain;
  opacity: 0;
  transform: translateY(45%) scale(.6) rotate(10deg);
  transition:
    opacity .28s ease,
    transform .55s var(--spring);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.slot img.is-active {
  opacity: 1;
  transform: none;
}

/* first appearance: pop in with a small overshoot. No filters on these images:
   Safari paints a filtered, moving image as a blank white box for a frame */
.slot img.is-intro { animation: slot-in .44s ease-out both; }

@keyframes slot-in {
  0%   { opacity: 0; transform: scale(.72); }
  45%  { opacity: 1; transform: scale(1.02); }
  68%  { transform: scale(.995); }
  85%  { transform: scale(1.001); }
  100% { opacity: 1; transform: none; }
}

.slot img.is-leaving {
  opacity: 0;
  transform: translateY(-45%) scale(.6) rotate(-10deg);
  transition:
    opacity .22s ease,
    transform .4s var(--ease-out);
}

.hero__sub {
  max-width: 600px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 440;
  line-height: 1.3;
  color: var(--muted);
}

.hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- showcase: the product as a framed app window ---------- */

.showcase {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 32px 96px;
}

.showcase__frame {
  padding: 40px;
  border-radius: 48px;
  background: var(--soft);
  animation: frame-in .9s var(--ease-out) .35s backwards;
}

@keyframes frame-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(48px) scale(.97); }
}

.app {
  padding: 16px 40px 40px;
  border-radius: 32px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.app__bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px) 1fr;
  align-items: center;
  gap: 24px;
  height: 56px;
}

.app__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.app__logo { display: block; height: 20px; width: auto; }

.app__switch {
  display: flex;
  gap: 28px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}

.app__switch .is-current { color: var(--ink); }

.app__search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 17px;
  color: #9a9a9e;
}

.app svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app__search svg { color: var(--ink); }

.app__icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.app__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--fuzi-bg);
}

/* category index: small grey heading, big plain links */
.app__index {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.app__index > div {
  display: grid;
  align-content: start;
  grid-auto-flow: row;
}

.app__index-wide {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto repeat(5, auto);
  grid-auto-flow: column !important;
  column-gap: 24px;
}

.app__index-wide h3 { grid-column: 1 / -1; }

.app__index h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 440;
  color: var(--muted);
}

.app__index a {
  justify-self: start;
  font-size: 26px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -.015em;
  transition: color .15s;
}

.app__index a:hover { color: var(--muted); }

.app__tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 72px 0 24px;
  font-size: 17px;
  font-weight: 500;
  color: #a3a3a7;
}

.app__tabs .is-current {
  padding-bottom: 6px;
  margin-bottom: -8px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.app__filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--ink);
}

.app__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 20px;
}

.app__grid .shot__meta { display: none; }

/* ---------- trusted by: logos that blur into one another ---------- */

.trust {
  margin-top: 64px;
  text-align: center;
}

.trust__title {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
}

.trust__row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__slot {
  display: grid;
  place-items: center;
  width: 150px;
  height: 44px;
}

/* stacked in one cell: grey by default, the brand's own colours on hover */
.trust__logo {
  grid-area: 1 / 1;
  height: var(--h);
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  filter: grayscale(1) blur(8px);
  transform: translateY(8px);
  transition: opacity .7s ease, filter .7s ease, transform .7s var(--ease-out);
}

.trust__logo.is-active { opacity: .55; filter: grayscale(1); transform: none; }
.trust__slot:hover .trust__logo.is-active { opacity: 1; filter: none; transition-duration: .3s; }

.shot { margin: 0; }

.shot__tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--soft);
  transition: background .2s;
}

.shot:hover .shot__tile { background: #ebebee; }

.shot__tile video {
  position: absolute;
  top: 10%;
  left: 50%;
  display: block;
  height: 80%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: #ddd;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .3);
  transform: translateX(-50%);
  transition: transform .35s var(--ease-out);
}

.shot:hover .shot__tile video { transform: translateX(-50%) scale(1.03); }

.shot__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}

.shot__meta b {
  display: block;
  font-weight: 550;
  color: var(--ink);
}

.shot__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-size: 19px;
  font-weight: 650;
}

a.shot { display: block; }

/* ---------- shared pieces ---------- */

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 550;
  color: var(--blue);
}

.section-head h2,
.page-head h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.section-head { max-width: 1100px; margin: 0 auto 56px; text-align: center; }

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}

.pill--blue { background: #e9ecfe; color: var(--blue); }
.pill--green { background: #e3f5e8; color: #1d7a3a; }
.pill--amber { background: #fdf0d9; color: #9a5b00; }
.pill--grey { background: var(--soft); color: var(--muted); }


@keyframes pulse { 50% { opacity: .25; } }

.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- how it works: one row per step, text and picture card swapping sides ---------- */

.how {
  padding: clamp(72px, 10vh, 120px) 32px;
  background: var(--bg);
}

.how__inner { width: 100%; max-width: 1240px; margin: 0 auto; }

.how__title {
  margin: 0 auto clamp(24px, 4vh, 40px);
  max-width: 760px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-align: center;
}

.how__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 8vh, 88px) 0;
}

.how__row + .how__row { border-top: 1px solid #e2e2e7; }

/* every other row puts the card on the left */
.how__row:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.how__row:nth-of-type(even) .how__stage { order: -1; }

.how__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}


.how__text h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.how__text h3 + p {
  margin: 18px 0 32px;
  max-width: 440px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

.how__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #dcdce2;
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out);
}

/* hover: fills with the brand blue and lifts a little, so it reads as "press me" */
.how__cta:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(38, 67, 242, .55);
}

.how__cta:active { transform: translateY(0); box-shadow: none; }
.how__cta span { transition: transform .2s var(--ease-out); }
.how__cta:hover span { transform: translateX(4px); }

.how__stage {
  position: relative;
  display: grid;
  height: clamp(380px, 40vw, 520px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(60% 70% at 55% 50%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(135deg, #8ea2f3 0%, #b7c4f8 45%, #dde4fc 100%);
  box-shadow: 0 40px 80px -40px rgba(38, 67, 242, .35), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.how__pane {
  grid-area: 1 / 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px) scale(.98);
  transition: opacity .35s ease, filter .35s ease, transform .5s var(--ease-out);
  pointer-events: none;
}

.how__pane.is-current { opacity: 1; filter: none; transform: none; }

/* "He writes the plan": Fuzi's activity, frosted glass, entries arriving one by one */
.feed {
  width: 100%;
  max-width: 460px;
  max-height: 100%;
  overflow: hidden;
  padding: 24px 24px 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 24px 50px -30px rgba(40, 30, 120, .45);
}

.feed__top { display: flex; align-items: center; justify-content: space-between; }
.feed__top .icon { color: #6b6b78; }

.feed__status { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }


.feed__mode { margin: 10px 0 0; font-size: 15px; color: #55556a; }

.feed__label {
  margin: 20px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 20, 40, .1);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #55556a;
}

.feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}

.feed__list li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.4;
  color: #55556a;
}

.feed__list li .icon { margin-top: 2px; color: #6b6b78; }
.feed__list b { font-weight: 550; color: var(--ink); }
.feed__list p { margin: 0; }

.how__pane.is-current .feed__list li { animation: feed-in .5s var(--ease-out) backwards; }
.how__pane.is-current .feed__list li:nth-child(1) { animation-delay: .2s; }
.how__pane.is-current .feed__list li:nth-child(2) { animation-delay: .8s; }
.how__pane.is-current .feed__list li:nth-child(3) { animation-delay: 1.4s; }
.how__pane.is-current .feed__list li:nth-child(4) { animation-delay: 2s; }
.how__pane.is-current .feed__list li:nth-child(5) { animation-delay: 2.6s; }

@keyframes feed-in { from { opacity: 0; transform: translateY(10px); } }

/* first card: Fuzi says hello */
.hello { display: flex; align-items: center; gap: 28px; }

.hello__bear {
  width: clamp(140px, 17vw, 230px);
  height: auto;
  -webkit-mask-image: linear-gradient(#000 72%, transparent 96%);
  mask-image: linear-gradient(#000 72%, transparent 96%);
}

.hello__chat { display: grid; justify-items: start; gap: 12px; }

.hello__chat p {
  margin: 0;
  padding: 14px 22px;
  border-radius: 20px;
  background: #fff;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: 0 12px 30px -14px rgba(20, 30, 90, .35);
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transform-origin: 0 50%;
}

.how__pane.is-current .hello__chat p { animation: bubble-in .45s var(--spring) .25s forwards; }
.how__pane.is-current .hello__chat p + p { animation-delay: .85s; }

@keyframes bubble-in { to { opacity: 1; transform: none; } }

/* "Connect": website and socials link up one by one, then Fuzi says what he learned */
.connect {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  overflow: hidden;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 30px 60px -30px rgba(40, 30, 120, .45);
}

.connect__title { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.connect__sub { margin: 2px 0 12px; font-size: 13px; color: var(--muted); }

.connect__list { margin: 0; padding: 0; list-style: none; }

.connect__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.connect__app { flex: none; width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.connect__app--site { display: grid; place-items: center; background: var(--soft); }

.connect__who { flex: 1; display: grid; min-width: 0; font-size: 12px; color: var(--muted); }
.connect__who b { font-size: 14px; font-weight: 600; color: var(--ink); }

/* spinner first, then a plain check once linked */
.connect__state { display: grid; justify-items: end; font-size: 12px; font-weight: 600; }
.connect__state > * { grid-area: 1 / 1; }

.connect__spin {
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.connect__done { display: flex; align-items: center; gap: 4px; color: var(--ink); opacity: 0; }
.connect__done .icon { color: #1d9a4a; stroke-width: 2.6; }

.connect__btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.connect__label {
  margin: 12px 0 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.connect__learned { margin: 0; padding: 0; list-style: none; }

.connect__learned li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 550;
}

.connect__learned .icon { color: var(--blue); }

/* plays once the step scrolls in: each account links, then the learnings arrive */
.how__pane.is-current .connect__list li:nth-child(1) .connect__spin { animation: spin .8s linear infinite, hide 0s .9s forwards; }
.how__pane.is-current .connect__list li:nth-child(2) .connect__spin { animation: spin .8s linear infinite, hide 0s 1.6s forwards; }
.how__pane.is-current .connect__list li:nth-child(3) .connect__spin { animation: spin .8s linear infinite, hide 0s 2.3s forwards; }
.how__pane.is-current .connect__list li:nth-child(1) .connect__done { animation: show .3s ease .9s forwards; }
.how__pane.is-current .connect__list li:nth-child(2) .connect__done { animation: show .3s ease 1.6s forwards; }
.how__pane.is-current .connect__list li:nth-child(3) .connect__done { animation: show .3s ease 2.3s forwards; }

.connect__learned li { opacity: 0; }
.how__pane.is-current .connect__learned li { animation: learn-in .5s var(--ease-out) 2.8s forwards; }
.how__pane.is-current .connect__learned li + li { animation-delay: 3.3s; }

@keyframes hide { to { visibility: hidden; } }
@keyframes show { to { opacity: 1; } }
@keyframes learn-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* "You say yes": the plan arrives in Telegram, gets changed and approved there,
   and the plan card in the app shows the same answer */
.how__pane:has(.tgwrap) { container-type: size; padding: 22px; }

.tgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100cqh;
}

.plancard {
  position: relative;
  z-index: 1;
  width: 236px;
  margin-right: -28px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 24px 50px -30px rgba(40, 30, 120, .45);
  font-size: 13px;
  color: #55556a;
}

.plancard p { margin: 0; }
.plancard__site { font-size: 12px; }
.plancard__title { margin-top: 6px !important; font-size: 17px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.plancard__meta { margin-top: 2px !important; }

.plancard__hook {
  margin: 14px 0 !important;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 40, .1);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  color: var(--ink);
}

.plancard__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.plancard__status .icon { stroke-width: 2.4; }


/* the phone: an iPhone with a titanium band, side buttons, Dynamic Island and status bar */
.iphone {
  --ph: min(100cqh, 540px);
  position: relative;
  height: var(--ph);
  aspect-ratio: 9 / 19.2;
  padding: 4px;
  border-radius: calc(var(--ph) * .11);
  background: linear-gradient(135deg, #8d8f94, #e3e4e7 22%, #7b7d82 48%, #d5d6d9 76%, #6f7176);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35),
    0 50px 80px -34px rgba(20, 20, 70, .55),
    0 18px 30px -18px rgba(20, 20, 70, .35);
}

/* side buttons: action + volume on the left, power on the right */
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6f7176, #c9cacd);
}

.iphone::before {
  left: -3px;
  top: 18%;
  height: 22%;
  box-shadow: 0 calc(var(--ph) * -.07) 0 0 #9a9ca1;
}

.iphone::after {
  right: -3px;
  top: 27%;
  height: 14%;
}

.tg {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 5px solid #0b0b0c;
  border-radius: calc(var(--ph) * .11 - 4px);
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .5) 0 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(160deg, #dfe6fb, #eef1fb 60%, #e7ecfa);
  font-size: 13px;
  line-height: 1.35;
}

.tg__status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 2px 20px;
  background: #fbfbfe;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.tg__island {
  width: 62px;
  height: 19px;
  border-radius: 999px;
  background: #0b0b0c;
}

.tg__sys {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  fill: var(--ink);
}

.tg__battery {
  position: relative;
  width: 19px;
  height: 10px;
  border: 1px solid rgba(20, 20, 20, .4);
  border-radius: 3.5px;
}

.tg__battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  right: 5px;
  border-radius: 1.5px;
  background: var(--ink);
}

.tg__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 10px;
  background: #fbfbfe;
  border-bottom: 1px solid rgba(20, 20, 40, .06);
}

.tg__head .icon { color: var(--blue); }
.tg__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--fuzi-bg); }
.tg__who { display: grid; line-height: 1.2; }
.tg__who b { font-size: 14px; font-weight: 600; }
.tg__who span { font-size: 11px; color: var(--muted); }

/* newest at the bottom; the oldest slip off the top when space runs out */
.tg__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 12px 10px;
  -webkit-mask-image: linear-gradient(transparent, #000 28px);
  mask-image: linear-gradient(transparent, #000 28px);
}

.tg__msg { display: grid; gap: 4px; max-width: 86%; }
.tg__msg--out { align-self: flex-end; }

.tg__bubble {
  padding: 7px 10px 6px;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(20, 20, 60, .08);
}

.tg__msg--out .tg__bubble { border-radius: 16px 16px 5px 16px; background: #d6e0ff; }

.tg__bubble time {
  float: right;
  margin: 6px 0 -2px 8px;
  font-size: 10px;
  color: #8a8aa0;
}

.tg__bubble time i { font-style: normal; color: var(--blue); letter-spacing: -.25em; margin-right: .25em; }

.tg__plan { display: grid; gap: 2px; }
.tg__plan b { font-size: 13px; font-weight: 600; }
.tg__plan span { font-size: 12px; color: var(--muted); }
.tg__plan em { margin-top: 6px; padding-left: 8px; border-left: 2px solid var(--blue); font-style: normal; }
.tg__plan time { justify-self: end; margin: 0; }

/* inline buttons under Fuzi's message */
.tg__keys { display: flex; gap: 4px; }

.tg__keys span {
  flex: 1;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(70, 86, 160, .42);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.tg__input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 8px 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: #9a9aac;
}

.tg__input span { flex: 1; }

/* the conversation plays out once the step is showing */
.tg__msg, .plancard__status { opacity: 0; }

.how__pane.is-current .tg__msg { animation: tg-in .4s var(--ease-out) forwards; }
.how__pane.is-current .tg__msg:nth-child(1) { animation-delay: .2s; }
.how__pane.is-current .tg__msg:nth-child(2) { animation-delay: 1.3s; }
.how__pane.is-current .tg__msg:nth-child(3) { animation-delay: 2.3s; }
.how__pane.is-current .tg__msg:nth-child(4) { animation-delay: 3.6s; }
.how__pane.is-current .tg__keys .is-pressed { animation: tg-press .5s ease 3.1s; }
.how__pane.is-current .plancard__status { animation: tg-in .4s var(--spring) 3.9s forwards; }

@keyframes tg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tg-press { 50% { transform: scale(.94); background: rgba(38, 67, 242, .6); } }

/* no room for both: the phone alone */
@container (max-width: 600px) {
  .plancard { display: none; }
}

@container (max-height: 380px) {
  .tg__status { padding-top: 6px; }
  .tg__head { padding: 8px 12px; }
  .tg__avatar { width: 26px; height: 26px; }
  .tg__input { display: none; }
}

/* ---------- the hub, in the last step: Fuzi in the middle, a line out to each account ---------- */

/* fills the pane, keeping its shape whichever side runs out first */
.how__pane:has(.hub) { container-type: size; }
.hub { position: relative; width: min(100cqw, 130cqh); height: min(100cqh, 76.9cqw); }

.hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.5;
}

.hub__lines path { vector-effect: non-scaling-stroke; }

/* a short bright dash runs out from Fuzi along each line, like a post going out */
.hub__pulses path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 100;
  stroke-dashoffset: 8;
  filter: drop-shadow(0 0 4px #fff);
  animation: hub-pulse 3.6s ease-in-out infinite;
}

.hub__pulses path:nth-child(2) { animation-delay: .6s; }
.hub__pulses path:nth-child(3) { animation-delay: 1.2s; }
.hub__pulses path:nth-child(4) { animation-delay: 1.8s; }
.hub__pulses path:nth-child(5) { animation-delay: 2.4s; }
.hub__pulses path:nth-child(6) { animation-delay: 3s; }

@keyframes hub-pulse {
  0% { stroke-dashoffset: 8; opacity: 0; }
  10% { opacity: 1; }
  60%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

/* Fuzi at his laptop, as a tile like the accounts around him */
.hub__fuzi {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  aspect-ratio: 1;
  padding: 1.6%;
  border-radius: 30%;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .85) inset, 0 24px 50px -20px rgba(40, 30, 120, .55);
  transform: translate(-50%, -50%);
}

.hub__fuzi video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26%;
  object-fit: cover;
  background: var(--fuzi-bg);
}

/* soft light behind Fuzi; kept off the image itself, since a filter plus a mask draws a box */
.hub::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), transparent);
  transform: translate(-50%, -50%);
}

.hub__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translate(-50%, -38%);
  font-size: 15px;
  font-weight: 600;
  color: #2a2a44;
}

.hub__node i {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 14px 30px -16px rgba(40, 30, 120, .5);
}

.hub__node img { width: 50px; height: 50px; border-radius: 14px; }

.hub__site { color: #fff; }

.hub__site .icon {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 12px;
  border-radius: 16px;
  background: var(--ink);
}

/* ---------- apps: the accounts and assistants Fuzi works with ---------- */

/* ---------- grow: the loop that runs after the first video, told as a views chart ---------- */

.grow { padding: clamp(40px, 8vh, 96px) 32px clamp(72px, 12vh, 140px); }
.grow__inner { max-width: 1240px; margin: 0 auto; }

.grow__head { max-width: 720px; margin: 0 auto clamp(32px, 5vh, 56px); text-align: center; }

.grow__head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.grow__head p { margin: 18px auto 0; max-width: 600px; font-size: 18px; line-height: 1.5; color: var(--muted); }

.growcard {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--bg);
  box-shadow: 0 40px 80px -48px rgba(20, 20, 60, .28);
}

.growcard__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.growcard__label { margin: 0; font-size: 14px; color: var(--muted); }

.growcard__num {
  margin: 4px 0 0;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 650;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.growcard__delta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #157a3a;
}

/* the chart: line and fill wipe in left to right; markers pop as the line reaches them */
.growchart { position: relative; height: clamp(220px, 26vw, 320px); margin: 28px 0 8px; }
.growchart__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.growchart__grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.growchart__area { fill: url(#grow-fill); }

.growchart__line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.growchart__plot {
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--draw, 3s) linear;
}

.grow.is-on .growchart__plot { clip-path: inset(0 0 0 0); }

.growchart__marks { margin: 0; padding: 0; list-style: none; }

.growchart__marks li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* the point on the line */
.growchart__marks li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
  box-sizing: border-box;
  transform: scale(0);
  transition: transform .4s var(--spring) var(--delay);
}

/* its label, above the point, on a hairline stem */
.growchart__marks li::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 10px 24px -14px rgba(20, 20, 60, .35);
  color: var(--ink);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .35s ease var(--delay), transform .45s var(--ease-out) var(--delay);
}

.grow.is-on .growchart__marks li::before { transform: scale(1); }
.grow.is-on .growchart__marks li::after { opacity: 1; transform: translate(-50%, 0); }

/* the first and last labels hug the inside edge so they never spill off the card */
.growchart__marks li:first-child::after { transform: translate(-16px, 6px); }
.grow.is-on .growchart__marks li:first-child::after { transform: translate(-16px, 0); }
.growchart__marks li:last-child::after { transform: translate(calc(-100% + 16px), 6px); }
.grow.is-on .growchart__marks li:last-child::after { transform: translate(calc(-100% + 16px), 0); }

/* the loop, step by step; each lights up as the line reaches its point */
.growsteps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.growsteps li { display: grid; align-content: start; gap: 6px; color: #a2a2ab; transition: color .4s ease var(--delay); }
.growsteps .icon { margin-bottom: 6px; color: #c4c4cc; transition: color .4s ease var(--delay); }
.growsteps b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.growsteps span { font-size: 14px; line-height: 1.45; }

.grow.is-on .growsteps li { color: var(--muted); }
.grow.is-on .growsteps b { color: var(--ink); transition: color .4s ease var(--delay); }
.grow.is-on .growsteps .icon { color: var(--blue); }

.apps { padding: 0 32px 24px; }

.apps__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  max-width: 1296px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 96px);
  border-radius: 48px;
  background: var(--ink);
  color: #fff;
}

.apps h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.apps__copy p {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  color: #a5a5ab;
}

.apps__tags { display: flex; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }

.apps__tags li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #232327;
  box-shadow: inset 0 0 0 1px #34343a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #d6d6db;
}

/* six by five; the centre is sharp and the outer ring falls away into blur */
.apps__grid {
  display: grid;
  grid-template-columns: repeat(6, 72px);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.appicon {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .8);
}

.appicon > img, .appicon > svg { display: block; width: 100%; height: 100%; object-fit: cover; }

/* the 3D app icons carry their own transparent margin; scale them to fill the tile */
.appicon:not(.appicon--mark) { overflow: visible; box-shadow: none; }
.appicon:not(.appicon--mark) > img { transform: scale(1.3); }

/* logo marks sit on a white tile, like an app icon */
.appicon--mark { padding: 15px; background: #fff; }
.appicon--mark > svg { width: 100%; height: 100%; }
.appicon--mark > img { object-fit: contain; }
.appicon--dark { background: #000; box-shadow: inset 0 0 0 1px #2c2c30, 0 12px 28px -14px rgba(0, 0, 0, .8); }


.appicon.is-far { filter: blur(7px); opacity: .45; transform: scale(.94); }

/* ---------- nothing made up ---------- */

.truth { padding: 0 32px; }

.truth__inner {
  max-width: 1296px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px);
  border-radius: 48px;
  background: var(--ink);
  color: #fff;
}

.truth h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 650;
  line-height: .95;
  letter-spacing: -.035em;
}

.truth__lead {
  max-width: 640px;
  margin: 24px 0 64px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  color: #a5a5ab;
}

.truth__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid #2c2c30;
}

.truth__grid b { font-size: 18px; font-weight: 600; }
.truth__grid p { margin: 8px 0 0; line-height: 1.45; color: #a5a5ab; }

/* ---------- Fuzi's name badge: hangs on a lanyard to the left of the headline ---------- */

main { position: relative; }

.badge {
  position: absolute;
  top: 0;
  left: max(24px, calc(50% - 700px));
  z-index: 2;
  width: 188px;
}

/* the strap, clip and card swing together from the top of the strap */
.badge__swing {
  display: grid;
  justify-items: center;
  transform-origin: 50% 0;
  animation: badge-drop 1.1s var(--spring) .3s backwards, badge-swing 5s ease-in-out 1.4s infinite;
}

@keyframes badge-drop { from { transform: translateY(-70%) rotate(-6deg); } }

@keyframes badge-swing {
  0%, 100% { transform: rotate(-2.2deg); }
  50% { transform: rotate(2.2deg); }
}

.badge__strap {
  width: 22px;
  height: clamp(40px, 7vh, 72px);
  background:
    repeating-linear-gradient(180deg, transparent 0 10px, rgba(255, 255, 255, .14) 10px 11px),
    linear-gradient(90deg, #1f37d6, var(--blue) 30%, #4a64ff 70%, #1f37d6);
}

.badge__clip {
  position: relative;
  width: 30px;
  height: 22px;
  margin-top: -2px;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(90deg, #a9adb6, #eef0f3 45%, #c4c8cf 60%, #8e939c);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.badge__clip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #9aa0a8, #e4e6ea, #9aa0a8);
  transform: translateX(-50%);
}

.badge__card {
  position: relative;
  width: 100%;
  margin-top: 6px;
  padding: 26px 12px 12px;
  border-radius: 22px;
  background: var(--bg);
  box-shadow: 0 30px 60px -28px rgba(20, 20, 40, .35), 0 0 0 1px rgba(0, 0, 0, .06);
  text-align: left;
}

/* the punched slot the clip goes through */
.badge__slot {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 7px;
  border-radius: 4px;
  background: var(--soft);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
  transform: translateX(-50%);
}

.badge__photo {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--fuzi-bg);
}

.badge__photo video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.badge__photo video.is-shown { opacity: 1; }

.badge__name { margin: 12px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.badge__role { margin: 2px 0 0; font-size: 13px; color: var(--muted); }


/* says hi once per visit, under the card */
.badge__hello {
  position: relative;
  width: 210px;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 4px 18px 18px 18px;
  background: var(--bg);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .04);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transform: translateY(-6px) scale(.94);
  transform-origin: 0 0;
  transition: opacity .35s ease, transform .45s var(--spring);
}

.badge__hello span { display: block; font-weight: 450; color: var(--muted); }
.badge__hello.is-shown { opacity: 1; transform: none; }

/* without room beside the headline: a smaller landscape badge hanging above it */
@media (max-width: 1359px) {
  .badge { position: relative; left: auto; width: 300px; margin: 0 auto; }
  .badge + .hero { padding-top: 28px; }
  .badge__strap { height: 28px; }

  .badge__card {
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-areas:
      "photo name"
      "photo role";
    column-gap: 12px;
    align-content: center;
    padding: 22px 12px 10px;
    border-radius: 18px;
  }

  .badge__slot { top: 8px; }
  .badge__photo { grid-area: photo; border-radius: 12px; }
  .badge__name { grid-area: name; align-self: end; margin: 0; font-size: 19px; }
  .badge__role { grid-area: role; align-self: start; font-size: 12px; }
  .badge__hello { display: none; }
}

/* ---------- final call to action ---------- */

.cta-band { padding: 120px 24px; text-align: center; }

.cta-band h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -.03em;
}

/* homepage section headings: Bricolage Grotesque against the Inter body and hero */
.how__title,
.apps h2,
.truth h2,
.cta-band h2 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-weight: 650;
  letter-spacing: -.035em;
}

.how__title { font-size: clamp(34px, 4.2vw, 58px); }
.apps h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; }
.truth h2 { font-size: clamp(44px, 7vw, 104px); line-height: .95; }
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); }

.cta-band p { margin: 14px 0 32px; font-size: 18px; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  border-top: 1px solid var(--line);
}

.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand img { display: block; height: 22px; width: auto; }

.footer__brand p {
  max-width: 300px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols div { display: grid; align-content: start; gap: 10px; }
.footer__cols h4 { margin: 0 0 4px; font-size: 14px; font-weight: 550; color: var(--muted); }
.footer__cols a { font-size: 15px; font-weight: 500; }
.footer__cols a:hover { color: var(--muted); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Fuzi, the corner companion ---------- */

.fuzi {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.fuzi > * { pointer-events: auto; }

.fuzi__avatar {
  position: relative;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--fuzi-bg) url("media/fuzi/idle.jpg") center / cover;
  box-shadow:
    0 14px 34px -12px rgba(70, 45, 20, .5),
    0 0 0 1px rgba(0, 0, 0, .04);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--spring);
  animation: fuzi-in .7s var(--spring) 1.6s backwards;
}

.fuzi__avatar:hover { transform: scale(1.06) rotate(-3deg); }
.fuzi__avatar:active { transform: scale(.94); }

.fuzi__avatar:focus-visible {
  outline: 3px solid #b9c6ff;
  outline-offset: 3px;
}

@keyframes fuzi-in {
  from { opacity: 0; transform: translateY(24px) scale(.6); }
}

/* clips are stacked; main.js shows one at a time, swapping at loop boundaries
   where every clip rests on the same neutral pose */
.fuzi__avatar video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.fuzi__avatar video.is-shown { opacity: 1; }

.fuzi__bubble,
.fuzi__card {
  transform-origin: calc(100% - 38px) 100%;
  transition:
    opacity .2s ease,
    transform .35s var(--spring),
    visibility 0s .35s;
}

.fuzi__bubble {
  position: relative;
  max-width: 236px;
  margin: 0 6px 0 0;
  padding: 12px 16px;
  border-radius: 18px 18px 6px 18px;
  background: var(--bg);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .05);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}

.fuzi__bubble:not(.is-shown),
.fuzi__card:not(.is-open) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.94);
  pointer-events: none;
}

.fuzi__bubble.is-shown,
.fuzi__card.is-open { transition-delay: 0s; }

.fuzi__card {
  position: relative;
  width: 320px;
  padding: 10px 10px 18px;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .05);
}

/* square when there is room; on short screens it gives up height so the card fits */
.fuzi__scene {
  overflow: hidden;
  height: clamp(120px, calc(100vh - 440px), 300px);
  border-radius: 20px;
  background: var(--fuzi-bg) url("media/fuzi/work.jpg") center / cover;
}

.fuzi__scene video { display: block; width: 100%; height: 100%; object-fit: cover; }

.fuzi__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fuzi__close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.fuzi__title {
  margin: 16px 10px 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.fuzi__text {
  margin: 6px 10px 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

.fuzi__cta {
  display: flex;
  justify-content: center;
  margin: 0 8px;
}

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; padding: 0 16px; height: 60px; }
  .nav__links { display: none; }
  .nav__login { display: none; }
  .hero { padding: 48px 16px 40px; }
  .showcase { padding: 8px 12px 64px; }
  .showcase__frame { padding: 10px; border-radius: 28px; }
  .app { padding: 8px 16px 24px; border-radius: 20px; }
  .app__bar { grid-template-columns: 1fr auto; }
  .app__switch, .app__search { display: none; }
  .app__index { grid-template-columns: 1fr 1fr; margin-top: 24px; row-gap: 28px; }
  .app__index-wide { grid-column: 1 / -1; grid-row: 2; }
  .app__index a { font-size: 20px; }
  .app__tabs { margin-top: 40px; font-size: 15px; gap: 20px; }
  .app__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .trust { margin-top: 40px; }
  .trust__row { flex-wrap: wrap; gap: 20px 12px; }
  .trust__slot { width: calc(50% - 6px); }
  .trust__logo { height: calc(var(--h) * .8); }
  .shot__tile { border-radius: 18px; }
  .shot__meta { font-size: 13px; gap: 10px; }
  .shot__icon { width: 34px; height: 34px; border-radius: 9px; font-size: 15px; }
  .fuzi { right: 16px; bottom: 16px; }
  .fuzi__avatar { width: 60px; height: 60px; border-radius: 19px; }
  .fuzi__card { width: min(320px, calc(100vw - 32px)); }
  .fuzi__bubble,
  .fuzi__card { transform-origin: calc(100% - 30px) 100%; }
  .section-head { margin-bottom: 32px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .how { padding: 56px 16px; }
  .grow { padding: 24px 16px 72px; }
  .grow__head p { font-size: 16px; }
  .growcard { border-radius: 24px; }
  .growchart { margin-top: 20px; }
  .growchart__marks li::after { display: none; }
  .growsteps { grid-template-columns: 1fr; gap: 18px; }
  .how__title { font-size: 30px; margin-bottom: 8px; }
  .how__row,
  .how__row:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .how__stage { order: -1; height: 330px; border-radius: 24px; }
  .how__text h3 { font-size: 26px; }
  .how__text h3 + p { margin: 12px 0 20px; font-size: 16px; }
  .how__pane { padding: 16px; }
  .connect { padding: 16px 16px 12px; border-radius: 20px; }
  .connect__sub { margin-bottom: 6px; }
  .connect__list li { padding: 6px 0; }
  .connect__app { width: 28px; height: 28px; }
  .connect__label { margin-top: 8px; padding-top: 8px; }
  .hello { gap: 12px; }
  .hello__bear { width: 120px; }
  .hello__chat p { padding: 10px 14px; border-radius: 16px; }
  .hub__node { font-size: 12px; gap: 4px; }
  .feed { padding: 14px 16px 0; border-radius: 18px; }
  .feed__status { font-size: 15px; }
  .feed__mode { font-size: 13px; margin-top: 6px; }
  .feed__label { margin-top: 10px; padding-bottom: 6px; font-size: 11px; }
  .feed__list li { padding: 7px 0; font-size: 13px; gap: 10px; }
  .hub__node i { width: 44px; height: 44px; border-radius: 14px; }
  .hub__node img { width: 30px; height: 30px; border-radius: 8px; }
  .hub__site .icon { width: 16px; height: 16px; padding: 7px; border-radius: 8px; }
  .apps { padding: 0 12px 12px; }
  .apps__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; border-radius: 28px; }
  .apps__grid { grid-template-columns: repeat(6, 1fr); gap: 10px; justify-self: center; width: 100%; max-width: 340px; }
  .appicon { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; }
  .appicon--mark { padding: 9px; }
  .appicon.is-far { filter: blur(4px); }
  .truth { padding: 0 12px; }
  .truth__inner { border-radius: 28px; }
  .truth__lead { margin-bottom: 40px; }
  .truth__grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { padding: 80px 16px; }
  .footer { padding: 40px 16px 32px; }
  .footer__cols { gap: 40px; }
  .footer__bottom { flex-direction: column; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--knob, .btn__knob { transition: none; }
  .growchart__plot, .growchart__marks li::before, .growchart__marks li::after,
  .growsteps li, .growsteps b, .growsteps .icon { transition: none; }
  .hero__title .line,
  .slot img.is-intro { animation: none; }
  .slot { transition: none; }
  .slot img,
  .slot img.is-leaving { transform: none; transition: opacity .25s ease; }
  .showcase__frame { animation: none; }
  .shot__tile video { transition: none; }
  .fuzi__avatar { animation: none; transition: none; }
  .how__pane { transition: opacity .2s ease; filter: none; transform: none; }
  .badge__swing { animation: none; }
  .hello__chat p { animation: none !important; opacity: 1; transform: none; }
  .how__pane.is-current .feed__list li { animation: none; }
  .tg__msg, .plancard__status { opacity: 1; animation: none !important; }
  .hub__pulses { display: none; }
  .connect__spin { display: none; }
  .connect__done, .connect__learned li { opacity: 1; animation: none !important; }
  .fuzi__bubble,
  .fuzi__card { transform: none !important; transition: opacity .2s ease, visibility 0s .2s; }
}

/* ---------- On autopilot: what Fuzi does after a video goes live ---------- */

.auto { padding: clamp(40px, 8vh, 96px) 32px clamp(72px, 12vh, 140px); background: var(--soft); }
.auto__inner { max-width: 1240px; margin: 0 auto; }

.auto__head { max-width: 720px; margin: 0 auto clamp(32px, 5vh, 56px); text-align: center; }

.auto__head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.auto__head p:last-child { margin: 18px auto 0; max-width: 600px; font-size: 18px; line-height: 1.5; color: var(--muted); }

.auto__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.autocard {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
}

.autocard__pane {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 228px;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 13px;
}

.autocard h3 { margin: 0 12px; font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.autocard > p { margin: 8px 12px 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* auto-post schedule */
.sched { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sched li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg); }
.sched img { width: 28px; height: 28px; border-radius: 8px; }
.sched span { display: grid; flex: 1; color: var(--muted); font-size: 12px; }
.sched b { color: var(--ink); font-size: 13px; font-weight: 600; }
.sched em { padding: 3px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 11px; font-style: normal; font-weight: 600; }
.sched em.is-done { background: #e6f6ec; color: #1d7a43; }

/* reel stats */
.reelstats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.reelstats li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.reelstats span { color: var(--ink); font-weight: 500; }
.reelstats b { font-variant-numeric: tabular-nums; font-weight: 600; }
.reelstats i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 99px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--w) 100% no-repeat, #e2e2e8; }

.fuzinote { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 10px; border-radius: 12px; background: var(--bg); line-height: 1.4; }
.fuzinote img { width: 24px; height: 24px; flex: none; border-radius: 8px; object-fit: cover; }

/* patterns */
.patterns { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.patterns li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--bg); }
.patterns b { color: #1d7a43; font-weight: 600; white-space: nowrap; }
.patterns__next { margin: 4px 0 0; padding: 10px; border: 1px dashed #c9cff9; border-radius: 12px; color: var(--ink); line-height: 1.4; }
.patterns__next span { display: block; margin-bottom: 2px; color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* learns over time */
.learned { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 0 20px; list-style: none; line-height: 1.4; }
.learned::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: #dcdce4; }
.learned li { position: relative; }
.learned li::before { content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--blue); }
.learned li:last-child::before { background: var(--blue); }
.learned span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }

/* comment thread */
.thread { display: grid; gap: 10px; }
.thread__src { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.thread__src img { width: 18px; height: 18px; border-radius: 5px; }
.thread__msg { display: flex; gap: 8px; align-items: flex-start; }
.thread__msg--you { margin-left: 24px; }
.thread__msg i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; overflow: hidden; border-radius: 50%; background: #e4d9ff; color: #5a3fb8; font-size: 10px; font-style: normal; font-weight: 700; }
.thread__msg i img { width: 100%; height: 100%; object-fit: cover; }
.thread__msg p { margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--bg); line-height: 1.4; }
.thread__msg b { display: block; font-size: 12px; font-weight: 600; }
.thread__tag { margin: 0 0 0 58px; color: var(--blue); font-size: 11px; font-weight: 600; }

/* DMs */
.dm { display: grid; gap: 8px; }
.dm p { margin: 0; max-width: 85%; padding: 9px 12px; border-radius: 16px; line-height: 1.4; }
.dm__in { justify-self: start; border-bottom-left-radius: 4px; background: var(--bg); }
.dm__out { justify-self: end; border-bottom-right-radius: 4px; background: var(--blue); color: #fff; }
.dm .dm__src { justify-self: end; display: flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--muted); font-size: 11px; }

/* 3D and stick-figure reels */
.threed {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 16px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: #0e0e10;
  color: #fff;
}

.threed h3 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 650; line-height: 1.1; letter-spacing: -.025em; }
.threed__copy > p:not(.how__eyebrow) { margin: 16px 0 28px; max-width: 440px; font-size: 16px; line-height: 1.5; color: #a6a6b0; }
.threed .how__eyebrow { color: #8e9cff; }
.threed__links { display: flex; flex-wrap: wrap; gap: 10px; }
.threed .how__cta { border-color: #34343c; background: transparent; color: #fff; }
.threed .how__cta:hover { border-color: var(--blue); background: var(--blue); }

.threed__reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.threed__reel { display: block; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 16px; background: #1a1a1e; }
.threed__reel video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.threed__reel:hover video { transform: scale(1.03); }

@media (max-width: 1000px) {
  .auto__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .threed { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .auto { padding: 56px 16px 72px; }
  .auto__head p:last-child { font-size: 16px; }
  .auto__grid { grid-template-columns: 1fr; }
  .autocard__pane { min-height: 0; }
  .threed { padding: 20px; }
  .threed__reels { gap: 8px; }
  .threed__reel { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .threed__reel video { transition: none; }
}
