/* public/fonts/inter.css */
/* Inter 4.1, self-hosted (build.mjs: SITE.selfHostInter).
   File: InterVariable-4.1.woff2 from the Inter project's own release,
   https://github.com/rsms/inter (tag v4.1, docs/font-files/InterVariable.woff2),
   SIL Open Font License 1.1: Inter-LICENSE.txt beside it.
   One variable file holds every weight and the optical-size axis, which the
   browser sets from the font size (font-optical-sizing: auto). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable-4.1.woff2") format("woff2");
}

/* Until Inter arrives the text is drawn in Arial scaled to Inter's metrics,
   so the swap does not move the lines (values as computed by Next.js'
   font tooling for Inter on Arial). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}
/* The family tokens are declared on :root in 00-base.css and again in the
   skins; :root:root outweighs them all without !important. */
:root:root {
  --font-body: "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Geist 1.3.1 (Vercel with basement.studio), self-hosted, used only by the
   /studio page's headlines (src/skins/studio.css). File: Geist-Variable.woff2
   from the npm package geist@1.3.1 (dist/fonts/geist-sans/), SHA-256
   28258d0621216948416a859d32487ab6ad1c9effa0d08795698e70be3c917630.
   SIL Open Font License 1.1: Geist-LICENSE.txt beside it. A page that sets
   no text in Geist never downloads it. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/GeistVariable-1.3.1.woff2") format("woff2");
}

/* src/css/00-base.css */
/* GoKiwi base: tokens, themes, frame, type, shared components, nav.
   Section stylesheets build on this and must not redefine anything here. */

:root {
  /* neutrals lean slightly cool so the blue sits in them on both bands */
  --ink: #0b0d12;
  --paper: #f9fafb;
  --white: #ffffff;
  --tint: #f3f4f6;
  --tint-2: #e5e7eb;
  /* done, automatic */
  --kiwi: #22a06b;
  --kiwi-ink: #17754a;
  --kiwi-bright: #63d6a0;
  /* ask first, waiting */
  --warn: #d99413;
  --warn-ink: #8a5a00;
  --warn-bright: #f0b955;

  /* primary: one blue for both bands. White sits on it at 5.3:1. */
  --blue: #2b5cf6;
  --blue-hover: #2450e0;
  --blue-ink: #1f45cc;
  --blue-bright: #8eaaff;
  --danger: #d43d2f;

  /* one family for everything: Inter. The three tokens stay as roles
     (headlines, running text, labels) so rules keep saying what they set. */
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font-body);
  --font-mono: var(--font-body);
  /* weight of every headline and title set in the display face */
  --display-w: 500;

  --frame: 1300px;
  --pad: 32px;
  --nav-h: 72px;
  --sec-top: 104px;
  --sec-gap: 64px;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;

  /* fixed shadow and illustration colours, the same on every band */
  --shade-xs: color-mix(in srgb, var(--ink) 6%, transparent);
  --shade-sm: color-mix(in srgb, var(--ink) 8%, transparent);
  --btn-hilite: color-mix(in srgb, var(--white) 18%, transparent);
  --btn-drop: color-mix(in srgb, var(--blue-ink) 35%, transparent);
  --c-neutral: #667085;

  /* module hues: one per module, used only by that module's tag.
     All sit at the same lightness, so no tag is louder than another. */
  --m-inbox: #0891c9;
  --m-customer-agent: #8f6edb;
  --m-phone: #069c82;
  --m-marketing: #ca5794;
  --m-crm: #cf630d;
  --m-work: #848f02;
  --m-meetings: #d55759;
  --m-revenue: #2b9f4a;
  --m-agent: var(--blue);
  --m-workflows: #b261be;
  --m-control: #0d98a4;
  --m-mcp: #ae7c02;
}

/* ── themes: every band sets data-theme and uses only these variables ─── */
:root,
[data-theme="light"],
[data-theme="white"],
[data-theme="tint"],
[data-theme="hue"],
.sec[data-theme="dark"] .kplate,
.sec[data-theme="dark"] .wf-canvas {
  --bg: var(--paper);
  --surface: var(--white);
  --surface-2: var(--tint);
  --fg: var(--ink);
  --fg-2: rgba(11, 13, 18, 0.68);
  --fg-3: rgba(11, 13, 18, 0.42);
  --line: rgba(11, 13, 18, 0.08);
  --line-2: rgba(11, 13, 18, 0.14);
  --ok: var(--kiwi-ink);
  --warn-text: var(--warn-ink);
  --primary: var(--blue);
  --primary-fg: var(--white);
  --primary-text: var(--blue-ink);
  --primary-tint: color-mix(in srgb, var(--blue) 10%, var(--surface));
  --primary-line: color-mix(in srgb, var(--blue) 26%, transparent);
  --plate-dot: rgba(11, 13, 18, 0.1);
  --ui-shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 12px 32px -12px rgba(11, 13, 18, 0.14);
}
[data-theme="white"] {
  --bg: var(--white);
}
[data-theme="tint"] {
  --bg: var(--tint);
  --surface-2: #e9ebef;
}
/* a pastel band in the module's own hue: needs data-mod on the same element */
[data-theme="hue"] {
  --bg: color-mix(in srgb, var(--m) 5%, var(--white));
  --surface-2: color-mix(in srgb, var(--m) 4%, var(--white));
  --line: color-mix(in srgb, var(--m) 10%, rgba(11, 13, 18, 0.08));
  --line-2: color-mix(in srgb, var(--m) 14%, rgba(11, 13, 18, 0.14));
  --plate-dot: color-mix(in srgb, var(--m) 16%, rgba(11, 13, 18, 0.1));
}
[data-theme="dark"] {
  --bg: var(--ink);
  --surface: #14161c;
  --surface-2: #1c1f27;
  --fg: var(--white);
  --fg-2: rgba(255, 255, 255, 0.7);
  --fg-3: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.18);
  --ok: var(--kiwi-bright);
  --warn-text: var(--warn-bright);
  --primary: var(--blue);
  --primary-fg: var(--white);
  --primary-text: var(--blue-bright);
  --primary-tint: color-mix(in srgb, var(--blue) 22%, var(--surface));
  --primary-line: color-mix(in srgb, var(--blue-bright) 34%, transparent);
  --plate-dot: rgba(255, 255, 255, 0.1);
  --ui-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

/* ── reset ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/24px var(--font-body);
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
svg {
  display: block;
  flex: none;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
::selection {
  background: color-mix(in srgb, var(--blue) 24%, transparent);
}
html {
  accent-color: var(--blue);
  caret-color: var(--blue);
}

/* ── bands and the frame ──────────────────────────────────────────────── */
.sec {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
}
main > .sec:first-child {
  border-top: 0;
}
.frame {
  position: relative;
  max-width: var(--frame);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}
.cell {
  padding: var(--pad);
}
/* a horizontal hairline that crosses the whole viewport from inside a frame:
   a 1px strip at the frame's width whose fill is pushed out past both edges
   by border-image-outset; html and body clip the overhang */
.rule {
  width: auto;
  height: 1px;
  margin: 0;
  border: 0;
  border-image: linear-gradient(var(--line), var(--line)) fill 0 / 0 / 0 100vmax;
}
/* columns divided by hairlines, not gaps */
.cols {
  display: grid;
}
.cols--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cols > * + * {
  border-left: 1px solid var(--line);
}

/* section head: tag, then headline, flush left */
.sec-head {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding: var(--sec-top) var(--pad) var(--sec-gap);
}
.sec-head--center {
  justify-items: center;
  text-align: center;
}
.sec-head > .h2 {
  max-width: 18em;
}

/* ── type ─────────────────────────────────────────────────────────────── */
.h1,
.h2,
.h3,
.title {
  font-family: var(--font-display);
  font-weight: var(--display-w);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(36px, 2.6vw + 26px, 56px);
  line-height: 1.07;
}
.h2 {
  font-size: clamp(30px, 1.8vw + 22px, 44px);
  line-height: 1.14;
}
.h3 {
  font-size: clamp(24px, 1vw + 20px, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.title {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.5px;
  text-wrap: pretty;
}
.body {
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.small {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  text-wrap: pretty;
}
.micro {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
}
.mono,
.mono-s,
.mono-xs {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mono {
  font-size: 14px;
  line-height: 20px;
}
.mono-s {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.mono-xs {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.04em;
}
.soft {
  color: var(--fg-2);
}
.dim {
  color: var(--fg-3);
}
.ok {
  color: var(--ok);
}
.num {
  font-variant-numeric: tabular-nums;
}
/* visually hidden, still read by assistive tech */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── button ───────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-sm);
  font: 500 14px/20px var(--font-mono);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow:
    inset 0 1px 0 var(--btn-hilite),
    0 1px 2px var(--btn-drop);
}
.btn--primary:hover {
  background: var(--blue-hover);
}
.btn--quiet {
  background: var(--surface-2);
  color: var(--fg);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 1px 2px var(--shade-sm);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--line-2);
}
.btn--quiet:hover,
.btn--ghost:hover {
  box-shadow:
    0 0 0 1px var(--fg-3),
    0 1px 2px var(--shade-sm);
}
/* press: a 1px drop, instant, outside the motion query */
.btn:active {
  transform: translateY(1px);
}
/* label roll: <span class="btn__roll"><span data-label="Text">Text</span></span> */
.btn__roll {
  display: block;
  height: 20px;
  overflow: hidden;
}
.btn__roll > span {
  display: block;
}
.btn__roll > span::after {
  content: attr(data-label);
  display: block;
}

/* ── tag ──────────────────────────────────────────────────────────────── */
.tag {
  --tag-bg: var(--surface);
  --tag-line: var(--line-2);
  --tag-fg: var(--fg);
  --tag-ico: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px 0 5px;
  border-radius: var(--r-xs);
  background: var(--tag-bg);
  box-shadow:
    0 0 0 1px var(--tag-line),
    0 1px 2px var(--shade-xs);
  color: var(--tag-fg);
  font: 600 11px/16px var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* the 14px square with a pale disc: <i class="tag__ico"></i> */
.tag__ico {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: var(--r-xs);
  background: var(--tag-ico);
}
.tag__ico::before,
.tag__ico::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--tag-bg);
}
.tag__ico::after {
  inset: 5.5px;
  background: var(--tag-ico);
}
/* data-mod sets --m, the module's hue. It goes on the module's section and
   on its tag: <section class="sec" data-mod="inbox" …>, <span class="tag" data-mod="inbox">. */
/* a module's tag carries the module's hue.
   The label mixes the hue into --fg, so it stays readable on a dark band. */
.tag[data-mod] {
  --tag-bg: color-mix(in srgb, var(--m) 10%, var(--surface));
  --tag-line: color-mix(in srgb, var(--m) 30%, transparent);
  --tag-fg: color-mix(in srgb, var(--m) 62%, var(--fg));
  --tag-ico: var(--m);
}
[data-theme="dark"] .tag[data-mod] {
  --tag-bg: color-mix(in srgb, var(--m) 16%, var(--surface));
}
[data-mod="inbox"] { --m: var(--m-inbox); }
[data-mod="customer-agent"] { --m: var(--m-customer-agent); }
[data-mod="phone"] { --m: var(--m-phone); }
[data-mod="marketing"] { --m: var(--m-marketing); }
[data-mod="crm"] { --m: var(--m-crm); }
[data-mod="work"] { --m: var(--m-work); }
[data-mod="meetings"] { --m: var(--m-meetings); }
[data-mod="revenue"] { --m: var(--m-revenue); }
[data-mod="agent"] { --m: var(--m-agent); }
[data-mod="workflows"] { --m: var(--m-workflows); }
[data-mod="control"] { --m: var(--m-control); }
[data-mod="mcp"] { --m: var(--m-mcp); }

/* ── text link with arrow ─────────────────────────────────────────────── */
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 14px/20px var(--font-mono);
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.link:hover {
  text-decoration-color: currentColor;
}

/* ── product UI primitives ────────────────────────────────────────────── */
.ui {
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    var(--ui-shadow);
  color: var(--fg);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
}
.ui__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font: 500 11px/16px var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.plate {
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 6px;
  border-radius: var(--r-xs);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2);
  color: var(--fg);
  font: 600 10px/14px var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kiwi);
}
.dot--warn {
  background: var(--warn);
}
.dot--primary {
  background: var(--primary);
}
.dot--danger {
  background: var(--danger);
}
.dot--idle {
  background: var(--fg-3);
}
/* tick ruler: 1px ticks every 6px */
.ticks {
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 6px);
}

/* ── colour for illustrations ─────────────────────────────────────────────
   The palette is deliberately short: blue (the brand and the agent), green (done,
   automatic), amber (ask first, waiting) and a cool neutral. Everything else is
   ink, paper and real brand marks. data-c sets --c, --c-bg and --c-fg.
   The other names are kept only so older markup degrades to neutral. */
[data-c] {
  --c: var(--c-neutral);
  --c-bg: color-mix(in srgb, var(--c) 13%, var(--surface));
  --c-fg: color-mix(in srgb, var(--c) 72%, var(--fg));
}
[data-c="blue"],
[data-c="orange"] {
  --c: var(--blue);
  --c-fg: var(--primary-text);
}
[data-c="green"] {
  --c: var(--kiwi);
  --c-fg: var(--ok);
}
[data-c="amber"] {
  --c: var(--warn);
  --c-fg: var(--warn-text);
}
/* tinted chip: status, score, tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--r-xs);
  background: var(--c-bg, var(--surface-2));
  color: var(--c-fg, var(--fg-2));
  font: 500 11px/1 var(--font-body);
  letter-spacing: 0;
  white-space: nowrap;
}
/* module icon tile: always neutral, told apart by its icon. .is-on marks the module in use. */
.mtile {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg-2);
}
.mtile--s {
  width: 20px;
  height: 20px;
  border-radius: var(--r-xs);
}
.mtile.is-on {
  background: var(--primary-tint);
  box-shadow: inset 0 0 0 1px var(--primary-line);
  color: var(--primary-text);
}
/* a white tile that holds a real brand mark in its own colour */
.mtile--brand {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg);
}
/* person: a soft blue-tinted disc with initials */
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-tint);
  box-shadow: inset 0 0 0 1px var(--primary-line);
  color: var(--primary-text);
  font: 600 10px/1 var(--font-body);
  letter-spacing: 0;
}
/* the agent itself: the solid blue disc with the kiwi mark */
.avatar--agent {
  /* the kiwi mark cuts its seeds out with --bg, so point that at the disc colour */
  --bg: var(--primary);
  background: var(--primary);
  box-shadow: none;
  color: var(--primary-fg);
}
/* a plate with a fine dot grid, the stage for a colour illustration */
.plate--dots {
  background-image: radial-gradient(circle, var(--plate-dot) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--frame);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 var(--pad);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 22px/1 var(--font-display);
  letter-spacing: -0.03em;
}
.nav__brand svg {
  color: var(--primary);
}
.nav__links {
  display: flex;
  gap: 4px;
}
.nav__links a {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font: 500 14px/20px var(--font-mono);
  letter-spacing: -0.01em;
}
.nav__links a:hover {
  background: var(--surface-2);
}
.nav__cta {
  margin-left: auto;
}

/* ── motion ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .nav,
  .btn,
  .link,
  .nav__links a {
    transition:
      background-color var(--dur) var(--ease),
      color var(--dur) var(--ease),
      box-shadow var(--dur) var(--ease),
      border-color var(--dur) var(--ease),
      text-decoration-color var(--dur) var(--ease);
  }
  .btn__roll > span {
    transition: transform 320ms var(--ease);
  }
  .btn:hover .btn__roll > span {
    transform: translateY(-20px);
  }
  /* fade up once on entering the viewport: add data-reveal, optional data-reveal="1|2|3" for a stagger */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 700ms var(--ease),
      transform 700ms var(--ease);
  }
  .js [data-reveal="1"] {
    transition-delay: 80ms;
  }
  .js [data-reveal="2"] {
    transition-delay: 160ms;
  }
  .js [data-reveal="3"] {
    transition-delay: 240ms;
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav__links {
    display: none;
  }
}
@media (max-width: 900px) {
  :root {
    --sec-top: 72px;
    --sec-gap: 40px;
  }
  .cols--3,
  .cols--4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .cols--3 > * + *,
  .cols--4 > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 700px) {
  :root {
    --pad: 20px;
    --nav-h: 60px;
  }
  .cols--2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .cols--2 > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .nav__in {
    gap: 16px;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
   Kit: pillar, plate, card row, mockup
   Shared blocks for every section. Reference: tools/kit.md.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── section header: .sec-head > .tag + .h2 + .lead.soft.kit-sub ───────── */
.kit-sub {
  max-width: 40em;
  /* one short sentence: two even lines, never a lone word on the second */
  text-wrap: balance;
}

/* ── pillar: four numbered rows beside a plate ────────────────────────────
   <div class="pillar" data-pillar> <ol class="pillar__list"> li.pillar__item
   > button.pillar__row[data-panel] + .pillar__text + .pillar__bar </ol>
   <div class="pillar__stage"><div class="kplate"> .kplate__panel[data-panel] */
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}
.pillar__list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.pillar--flip .pillar__list {
  order: 2;
  border-right: 0;
  border-left: 1px solid var(--line);
}
.pillar__item {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
}
.pillar__item + .pillar__item {
  border-top: 1px solid var(--line);
}
.pillar__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: baseline;
  width: 100%;
  min-height: 44px;
  padding: 22px var(--pad);
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.pillar__row:focus-visible {
  outline-offset: -4px;
}
.pillar__num {
  font: 500 14px/20px var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--fg-3);
}
.pillar__title {
  font: var(--display-w) 20px/26px var(--font-display);
  letter-spacing: -0.01em;
  color: var(--fg-2);
}
.pillar__row:hover .pillar__title,
.pillar__item.is-active .pillar__title {
  color: var(--fg);
}
.pillar__item.is-active .pillar__num {
  color: var(--primary-text);
}
/* the mini line under a row's title: a few words, always shown, so the rows
   keep their height when the active one changes */
.pillar__text {
  margin-top: -14px;
  padding: 0 var(--pad) 24px calc(var(--pad) + 36px);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--fg-2);
  text-wrap: pretty;
}
.pillar__bar {
  position: absolute;
  right: var(--pad);
  bottom: -1px;
  left: var(--pad);
  z-index: 1;
  height: 2px;
  overflow: hidden;
}
.pillar__bar > i {
  display: block;
  height: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
}
.pillar__item.is-run .pillar__bar > i {
  transform: scaleX(1);
}
.pillar__stage {
  display: grid;
  padding: 16px;
}

/* ── plate: the tinted ground behind a mockup ─────────────────────────── */
.kplate {
  --kplate-dot: color-mix(in srgb, var(--primary) 20%, transparent);
  position: relative;
  display: grid;
  min-height: var(--kplate-h, 480px);
  padding: 48px 32px;
  border-radius: var(--r-lg);
  background-color: var(--primary-tint);
  background-image: radial-gradient(circle, var(--kplate-dot) 1px, transparent 1.2px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px var(--primary-line);
  place-items: center;
}
.kplate--neutral {
  --kplate-dot: var(--plate-dot);
  background-color: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* every panel sits in the same cell, so the plate keeps one height */
.kplate__panel {
  display: grid;
  grid-area: 1 / 1;
  place-self: stretch;
  place-items: center;
}
.kplate__panel:not(.is-active) {
  visibility: hidden;
  opacity: 0;
}

/* ── card row: three cards, each with a mini mockup ───────────────────── */
.kcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 32px var(--pad);
}
.kcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2);
}
.kcard__label {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font: 600 11px/16px var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.kcard__mock {
  display: grid;
  height: var(--kcard-mock-h, 180px);
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--plate-dot) 1px, transparent 1.2px);
  background-size: 12px 12px;
  place-items: center;
}
.kcard__body {
  display: grid;
  gap: 8px;
  padding: 20px 20px 24px;
}
.kcard__title {
  font: var(--display-w) 22px/28px var(--font-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.kcard__text {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ── mockup primitives: one product object, drawn at 13 to 14px ───────── */
.mk-card {
  position: relative;
  width: min(100%, var(--mk-w, 400px));
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line-2),
    var(--ui-shadow);
  color: var(--fg);
  font: 400 13px/20px var(--font-body);
  letter-spacing: 0;
  text-align: left;
}
.mk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.mk-head__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mk-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.mk-meta {
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-3);
}
.mk-key {
  font: 400 12px/16px var(--font-mono);
  color: var(--fg-2);
}
.mk-ico {
  width: 16px;
  height: 16px;
}
/* customer bubble (left, white) and reply bubble (right, quiet grey) */
.mk-bubble {
  justify-self: start;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 1px 2px var(--shade-xs);
  font-size: 14px;
  line-height: 20px;
}
.mk-bubble--reply {
  justify-self: end;
  background: color-mix(in srgb, var(--surface-2) 70%, var(--surface));
}
.mk-bubble__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
/* the small "AI reply" marker: a filled sparkle and the words */
.mk-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 11px/16px var(--font-body);
  color: var(--primary-text);
}
.mk-mark svg {
  width: 12px;
  height: 12px;
}
/* labelled field rows: label left, value right */
.mk-fields {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}
.mk-fields dt {
  font-size: 12px;
  line-height: 20px;
  color: var(--fg-2);
}
.mk-fields dd {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}
/* status pill: neutral, --done, --wait, --blue, --ink */
.mk-pill {
  --pc: var(--fg);
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 7%, var(--surface));
  color: var(--fg-2);
  font: 500 12px/1 var(--font-body);
  white-space: nowrap;
}
.mk-pill--done {
  --pc: var(--kiwi);
  color: var(--ok);
}
.mk-pill--wait {
  --pc: var(--warn);
  color: var(--warn-text);
}
.mk-pill--blue {
  background: var(--primary-tint);
  color: var(--primary-text);
}
.mk-pill--ink {
  background: color-mix(in srgb, var(--fg) 12%, var(--surface));
  color: var(--fg);
}
/* small button at mockup scale (a drawing, so a span, not a control) */
.mk-btns {
  display: flex;
  gap: 8px;
}
.mk-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 1px 2px var(--shade-xs);
  color: var(--fg);
  font: 500 12px/1 var(--font-body);
  white-space: nowrap;
}
.mk-btn--primary {
  background: var(--primary);
  box-shadow: 0 1px 2px var(--btn-drop);
  color: var(--primary-fg);
}
/* step line: module icon, what it did, an optional end mark (tick) */
.mk-steps {
  display: grid;
  gap: 8px;
}
.mk-step {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--fg-2);
  font-size: 13px;
  line-height: 20px;
}
.mk-step > svg:first-child {
  width: 16px;
  height: 16px;
}
.mk-step__end {
  width: 14px;
  height: 14px;
  color: var(--ok);
}
.mk-step--wait {
  color: var(--warn-text);
}
/* avatar with initials, the agent avatar, and the channel badge */
.mk-avatar {
  position: relative;
  display: grid;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-tint);
  box-shadow: inset 0 0 0 1px var(--primary-line);
  color: var(--primary-text);
  font: 600 11px/1 var(--font-body);
  place-items: center;
}
.mk-avatar--s {
  width: 20px;
  height: 20px;
  font-size: 11px;
}
/* the kiwi mark paints its disc in currentColor and cuts its seeds with --bg */
.mk-avatar--agent {
  --bg: var(--primary-fg);
  background: none;
  box-shadow: none;
  color: var(--primary);
}
.mk-avatar--agent > svg {
  width: 100%;
  height: 100%;
}
.mk-avatar__badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  place-items: center;
}
.mk-avatar__badge svg {
  width: 10px;
  height: 10px;
}
/* list row */
.mk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.mk-row + .mk-row {
  border-top: 1px solid var(--line);
}
/* fact chip: flat, upright, hairline; pin it to a mockup edge */
.mk-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2);
  color: var(--fg);
  font: 500 12px/1 var(--font-body);
  white-space: nowrap;
}
.mk-chip svg {
  width: 14px;
  height: 14px;
  color: var(--primary-text);
}
.mk-chip--tr {
  top: -14px;
  right: 16px;
}
.mk-chip--tl {
  top: -14px;
  left: 16px;
}
.mk-chip--br {
  right: 16px;
  bottom: -14px;
}
.mk-chip--bl {
  bottom: -14px;
  left: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .pillar__title,
  .pillar__num {
    transition: color var(--dur) var(--ease);
  }
  .kplate__panel {
    transition:
      opacity 400ms var(--ease),
      visibility 0s linear 0s;
  }
  .kplate__panel:not(.is-active) {
    transition:
      opacity 400ms var(--ease),
      visibility 0s linear 400ms;
  }
  .pillar__item.is-run .pillar__bar > i {
    transition: transform var(--pillar-dur, 5500ms) linear;
  }
}

@media (max-width: 1100px) {
  .kcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kcards > .kcard:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .pillar {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar__list,
  .pillar--flip .pillar__list {
    order: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }
  .pillar__stage {
    padding: 16px var(--pad) 24px;
  }
  .kplate {
    --kplate-h: 420px;
    padding: 40px 16px;
  }
}
@media (max-width: 640px) {
  .kcards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ═════════════════════════════════════════════════════════════════════════
   Module sections and chapters
   A module section is: .sec-head.sec-head--mod, hr.rule, .pillar (three or
   four rows), hr.rule, p.sec-close. A chapter marker groups four of them.
   ═════════════════════════════════════════════════════════════════════════ */

/* compact section head for module sections */
.sec-head--mod {
  gap: 16px;
  padding: 80px var(--pad) 48px;
}
.sec-head--mod > .h2 {
  max-width: 21em;
}

/* the closing line under a module's pillar: what changes for the customer */
.sec-close {
  max-width: 46em;
  padding: 28px var(--pad) 80px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: pretty;
}

/* chapter marker: the chapter name and links to its sections */
.chapter__in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  padding: 56px var(--pad);
}
.chapter__title {
  color: var(--fg);
}
.chapter__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.chapter__links a {
  font: 600 11px/16px var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.chapter__links a:hover {
  color: var(--primary-text);
}

@media (max-width: 900px) {
  .sec-head--mod {
    padding: 56px var(--pad) 32px;
  }
  .sec-close {
    padding: 24px var(--pad) 56px;
  }
  .chapter__in {
    padding: 40px var(--pad);
  }
}

/* a flipped pillar keeps the plate in the wide column */
.pillar--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}
@media (max-width: 900px) {
  .pillar--flip {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* the stage, the plate and its panels never grow wider than their column,
   whatever the mockup inside would like */
.pillar__stage,
.kplate,
.kplate__panel {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

/* ── feature caption: a short title and one mini line ───────────────────
   Used wherever a section shows its features as static captions instead of
   pillar rows: <div class="feat"><h3 class="feat__title">…</h3><p class="feat__text">…</p></div>
   The text is a mini line of at most 8 words, never a sentence of spec. */
.feat {
  display: grid;
  align-content: start;
  gap: 4px;
}
.feat__title {
  font: var(--display-w) 20px/26px var(--font-display);
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}
.feat__text {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ═════════════════════════════════════════════════════════════════════════
   Bands in a module's hue
   A module section sets data-mod (its hue, --m) and one of three bands:
   data-theme="white"  neutral band, the plate carries the hue
   data-theme="hue"    pastel band in the hue, the plate a shade deeper
   data-theme="dark"   black band, the plate a dark shade of the hue
   Sections read --m-tint, --m-line, --m-dot and --m-text; never --m-<name>.
   ═════════════════════════════════════════════════════════════════════════ */
.sec[data-mod] {
  --m-tint: color-mix(in srgb, var(--m) 7%, var(--surface));
  --m-line: color-mix(in srgb, var(--m) 18%, transparent);
  --m-dot: color-mix(in srgb, var(--m) 20%, transparent);
  --m-text: color-mix(in srgb, var(--m) 62%, var(--fg));
}
.sec[data-mod][data-theme="hue"] {
  --m-tint: color-mix(in srgb, var(--m) 11%, var(--white));
  --m-line: color-mix(in srgb, var(--m) 20%, transparent);
  --m-dot: color-mix(in srgb, var(--m) 24%, transparent);
}
/* small hue accents that sit straight on a black band (icon tiles, lines) */
.sec[data-mod][data-theme="dark"] {
  --m-tint: color-mix(in srgb, var(--m) 20%, var(--surface));
  --m-line: color-mix(in srgb, var(--m) 44%, transparent);
  --m-dot: color-mix(in srgb, var(--m) 30%, transparent);
}
/* On a black band the plate (and the workflows canvas, which is its own kind
   of plate) is a light island: the drawing keeps its light
   look and stands out against the black. Dark cards on a dark tinted plate
   were tried and read as mud. The plate resets the theme variables to light
   (see the themes block) and takes the hue as it would on a white band. */
.sec[data-mod][data-theme="dark"] .kplate,
.sec[data-mod][data-theme="dark"] .wf-canvas {
  --m-tint: color-mix(in srgb, var(--m) 9%, var(--white));
  --m-line: color-mix(in srgb, var(--m) 18%, transparent);
  --m-dot: color-mix(in srgb, var(--m) 22%, transparent);
  --m-text: color-mix(in srgb, var(--m) 62%, var(--ink));
  color: var(--fg);
}
.sec[data-mod] .kplate:not(.kplate--neutral) {
  --kplate-dot: var(--m-dot);
  background-color: var(--m-tint);
  box-shadow: inset 0 0 0 1px var(--m-line);
}

/* a chapter marker opens its chapter with a large title. It carries the same
   band as every section of the chapter: one chapter, one colour. */
.chapter .chapter__in {
  align-items: center;
  padding-block: 72px;
}
.chapter .chapter__title {
  font-size: clamp(36px, 2.6vw + 26px, 56px);
  line-height: 1.07;
}
@media (max-width: 900px) {
  .chapter .chapter__in {
    padding-block: 48px;
  }
}

/* ── skeleton bar: stands for a line of text a drawing does not need to spell out.
   <i class="mk-skel" style="--w: 60%"></i>; add mk-skel--strong for a title-weight bar */
.mk-skel {
  display: block;
  width: var(--w, 100%);
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
}
.mk-skel--strong {
  background: color-mix(in srgb, var(--fg) 22%, transparent);
}

/* src/css/01-consent.css */
/* Cookie banner: a card in the bottom-left corner, on every page.
   Markup in src/shell.html, behaviour in src/js/01-consent.js. */
.consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  width: min(420px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--fg);
  box-shadow:
    0 0 0 1px var(--line-2),
    var(--ui-shadow);
  font: 400 14px/20px var(--font-body);
}
.consent[hidden],
.consent [hidden] {
  display: none;
}
.consent__title {
  margin: 0 0 6px;
  font: var(--display-w) 16px/24px var(--font-display);
  letter-spacing: -0.01em;
}
.consent__text {
  margin: 0;
  color: var(--fg-2);
}
.consent__text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent__prefs {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.consent__prefs[hidden] {
  display: none;
}
.consent__opt {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--fg-2);
  cursor: pointer;
}
.consent__opt input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.consent__opt input:disabled {
  cursor: default;
}
.consent__opt b {
  display: block;
  color: var(--fg);
  font-weight: 500;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.consent__choose,
.consent__save {
  margin-right: auto;
}
.consent__actions .btn {
  height: 36px;
  padding: 0 14px;
}

@media (max-width: 560px) {
  .consent {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 16px;
  }
  .consent__actions .btn {
    flex: 1 1 auto;
  }
  .consent__choose,
  .consent__save {
    flex-basis: 100%;
    margin-right: 0;
  }
}

@media print {
  .consent {
    display: none;
  }
}

/* src/skins/studio.css */
/* GoKiwi · studio skin (/studio)
   A second home page, in the spirit of chatbase.co's look (nothing copied:
   no text, image, logo or illustration of theirs). See studio.md.
   - near-white paper, a 1200px column held by hairlines, every section a
     boxed frame with a ruled gap and a small node between sections
   - Geist for headlines (500, tight), Inter for everything else
   - two-tone headlines: ink, then grey
   - saturated colour panels (GoKiwi blue, kiwi green, warm orange) with a
     fine dot grid, carrying white product cards
   - real photos with a colour wash
   - black primary buttons; colour lives in panels and photos, not in UI
   Everything is scoped to st- classes so the shared base does not leak in. */

:root {
  --st-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --st-paper: #fafafa;
  --st-white: #ffffff;
  --st-ink: #09090b;
  --st-ink-2: #3f3f46;
  --st-mute: #71717a;
  --st-mute-2: #a1a1aa;
  --st-line: #e4e4e7;
  --st-line-2: #d4d4d8;
  --st-blue: #2a4bd0;
  --st-blue-deep: #1f2f8f;
  --st-green: #12784c;
  --st-green-deep: #0b5536;
  --st-orange: #c24a17;
  --st-orange-deep: #92360f;
  --st-lime: #b7dd3c; /* kiwi flesh: small accents only, never text on white */
  --st-ok: #16a34a;
  --st-warn: #d97706;
  --st-display: "Geist", "Inter", "Inter Fallback", "Helvetica Neue", Arial, sans-serif;
  --st-body: "Inter", "Inter Fallback", "Helvetica Neue", Arial, sans-serif;
  --st-w: 1200px;
  --st-gap: 40px;
  --st-pad-x: 64px;
  --st-r: 12px;
  --st-shadow: 0 1px 2px rgba(9, 9, 11, 0.06), 0 16px 40px -16px rgba(9, 9, 11, 0.28);
  --nav-h: 64px;
}

body {
  background: var(--st-paper);
  color: var(--st-ink);
  font: 400 16px/1.5 var(--st-body);
  letter-spacing: -0.01em;
}

/* ── frame, sections and the ruled gap between them ─────────────────────── */
.st-sec {
  position: relative;
  padding-top: var(--st-gap);
  color: var(--st-ink);
}
/* the gap: a full-width rule through its middle and a node where it meets
   the column's centre line */
.st-sec::before {
  content: "";
  position: absolute;
  inset: calc(var(--st-gap) / 2) 0 auto;
  border-top: 1px solid var(--st-line);
}
.st-sec::after {
  content: "";
  position: absolute;
  top: calc(var(--st-gap) / 2 - 5px);
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -5px;
  border: 1px solid var(--st-line-2);
  border-radius: 50%;
  background: var(--st-paper);
}
.st-hero::before,
.st-hero::after {
  display: none;
}
.st-hero {
  padding-top: 0;
}
.st-frame {
  position: relative;
  max-width: var(--st-w);
  margin-inline: auto;
  border: 1px solid var(--st-line);
  background: var(--st-paper);
}
.st-sec[data-theme="white"] .st-frame {
  background: var(--st-white);
}
.st-hero .st-frame {
  border-top: 0;
}
.st-pad {
  padding: 88px var(--st-pad-x);
}
.st-center {
  text-align: center;
  margin-inline: auto;
}

/* ── type ──────────────────────────────────────────────────────────────── */
.st-h1,
.st-h2,
.st-h3 {
  font-family: var(--st-display);
  font-weight: 500;
  color: var(--st-ink);
  text-wrap: balance;
}
.st-h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.st-h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 820px;
}
.st-h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.st-mute {
  color: var(--st-mute);
}
.st-lead {
  max-width: 500px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--st-ink-2);
}
.st-lead b {
  font-weight: 500;
  color: var(--st-ink);
}
.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-mute);
}
.st-kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
}
.st-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--st-mute-2);
}

/* ── buttons ───────────────────────────────────────────────────────────── */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 14px/1 var(--st-body);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.st-btn--lg {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.st-btn--xs {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 6px;
}
.st-btn--dark {
  background: var(--st-ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(9, 9, 11, 0.2);
}
.st-btn--dark:hover {
  background: #27272a;
}
.st-btn--line {
  background: var(--st-white);
  border-color: var(--st-line);
  color: var(--st-ink);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.st-btn--line:hover {
  border-color: var(--st-line-2);
  background: #f4f4f5;
}
.st-btn--light {
  background: #fff;
  color: var(--st-ink);
}
.st-btn--light:hover {
  background: #e4e4e7;
}
.st-btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.st-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.st-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.st-trial {
  margin-top: 14px;
  font-size: 13px;
  color: var(--st-mute);
}

/* ── header ────────────────────────────────────────────────────────────── */
.st-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--st-paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--st-line);
}
.st-nav__in {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--st-w);
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: 4px;
}
.st-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 19px/1 var(--st-display);
  letter-spacing: -0.03em;
  color: var(--st-ink);
}
.st-nav__brand svg {
  color: var(--st-green);
}
.st-nav__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--st-ink-2);
}
.st-nav__links a:hover,
.st-nav__login:hover {
  color: var(--st-ink);
}
.st-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.st-nav__login {
  font-size: 14px;
  color: var(--st-ink-2);
}
.st-nav__menu {
  display: none;
}

/* ── shared bits: photos, panels, cards, pills ──────────────────────────── */
.st-photo {
  position: relative;
  overflow: hidden;
  background: #d4d4d8;
}
.st-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the colour wash: a gradient laid over the photo, strongest at one edge */
.st-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  background: linear-gradient(var(--wash-dir, 200deg), transparent 15%, var(--wash) 100%);
  opacity: var(--wash-o, 1);
}
.st-photo--blue {
  --wash: #2a4bd0;
  background: #8c97de;
}
.st-photo--green {
  --wash: #12784c;
  background: #7fb79b;
}
.st-photo--orange {
  --wash: #c24a17;
  --wash-dir: 270deg;
  background: #e3a07f;
}
.st-photo--warm {
  --wash: #c24a17;
  --wash-dir: 180deg;
  background: #e3a07f;
}

.st-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--p);
}
/* a dot grid (24px, a larger dot every fourth, chosen by the owner on
   30 November 2026 over a drafting grid and hexagons) that fades out towards
   the panel's far corner, and a soft light from the top left */
.st-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Ccircle cx='12' cy='36' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='12' cy='60' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='12' cy='84' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='36' cy='12' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='36' cy='36' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='36' cy='60' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='36' cy='84' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='60' cy='12' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='60' cy='36' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='60' cy='60' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='60' cy='84' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='84' cy='12' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='84' cy='36' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='84' cy='60' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='84' cy='84' r='1' fill='%23fff' fill-opacity='.42'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23fff' fill-opacity='.6'/%3E%3C/svg%3E") 0 0 / 96px 96px repeat;
  -webkit-mask-image: radial-gradient(110% 110% at 60% 45%, #000 45%, transparent 100%);
  mask-image: radial-gradient(110% 110% at 60% 45%, #000 45%, transparent 100%);
}
.st-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    var(--st-grain) 0 0 / 180px 180px,
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.st-panel--blue {
  --p: var(--st-blue);
}
.st-panel--green {
  --p: var(--st-green);
}
.st-panel--orange {
  --p: var(--st-orange);
}

.st-card {
  background: #fff;
  border: 1px solid rgba(9, 9, 11, 0.06);
  border-radius: var(--st-r);
  box-shadow: var(--st-shadow);
  color: var(--st-ink);
  font-size: 13px;
  line-height: 1.45;
}
.st-card small {
  display: block;
  font-size: 12px;
  color: var(--st-mute);
}
.st-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f4f4f5;
  color: var(--st-ink-2);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.st-pill--ok {
  background: #dcfce7;
  color: #166534;
}
.st-pill--warn {
  background: #fef3c7;
  color: #92400e;
}
.st-pill--blue {
  background: #e0e8ff;
  color: #1f3fc4;
}
.st-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-mute-2);
}
.st-dot--ok {
  background: var(--st-ok);
}
.st-dot--warn {
  background: var(--st-warn);
}
.st-dot--blue {
  background: var(--st-blue);
}
.st-ava {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--st-ink-2);
}
.st-ava--o {
  background: var(--st-orange);
}
.st-ava--b {
  background: var(--st-blue);
}
.st-ava--g {
  background: var(--st-green);
}
.st-bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #f4f4f5;
  font-size: 13px;
  line-height: 1.45;
}
.st-bubble--ai {
  background: #eef2ff;
  color: #1e2a6b;
}
.st-bubble--me {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--st-ink);
  color: #fff;
}

/* ── hero ──────────────────────────────────────────────────────────────── */
.st-hero__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(680px, calc(100vh - var(--nav-h)));
}
.st-hero__copy {
  align-self: center;
  padding: 72px var(--st-pad-x);
}
.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-ink-2);
}
.st-eyebrow__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--st-green);
}
.st-hero .st-lead {
  margin-top: 24px;
}
.st-hero__art {
  min-height: 520px;
}
.st-hero__photo {
  position: absolute;
  inset: 56px 56px 120px 96px;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(9, 9, 11, 0.45);
}
.st-hero__chat {
  position: absolute;
  left: 32px;
  bottom: 48px;
  width: min(340px, 70%);
  padding: 14px;
  display: grid;
  gap: 8px;
}
.st-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
}
.st-card__head b {
  display: block;
  font-size: 13px;
}
.st-card__head small {
  display: flex;
  align-items: center;
  gap: 4px;
}
.st-card__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  font-size: 12px;
  color: var(--st-mute);
}
.st-hero__task {
  position: absolute;
  top: 88px;
  right: 28px;
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 12px 14px;
}
.st-hero__task b {
  font-size: 13px;
  font-weight: 500;
}

/* ── strip: channels around a photo ─────────────────────────────────────── */
/* the strip follows the hero with the usual ruled gap (the logo wall that
   sat between them moved further down) */
.st-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 92px);
  gap: 1px;
  background: var(--st-line);
  overflow: hidden;
}
.st-strip__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--st-paper);
  font: 500 17px/1 var(--st-display);
  letter-spacing: -0.02em;
  color: var(--st-ink-2);
}
/* the photo takes columns 3–4 of both rows; the cells flow around it */
.st-strip__photo {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}
.st-strip__cell:nth-child(n + 8) {
  display: none;
}
.st-strip__photo figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  display: grid;
  color: #fff;
}
.st-strip__photo figcaption b {
  font: 500 44px/1 var(--st-display);
  letter-spacing: -0.04em;
}
.st-strip__photo figcaption span {
  font-size: 14px;
  opacity: 0.9;
}

/* ── pillars: three photo cards ─────────────────────────────────────────── */
.st-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.st-pcard {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px 10px 22px;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.st-pcard:hover {
  border-color: var(--st-line-2);
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}
.st-pcard figure {
  aspect-ratio: 7 / 5;
  margin-bottom: 10px;
  border-radius: 10px;
}
.st-pcard h3,
.st-pcard p,
.st-pcard .st-more {
  padding-inline: 12px;
}
.st-pcard h3 {
  font: 500 22px/1.2 var(--st-display);
  letter-spacing: -0.03em;
}
.st-pcard p {
  color: var(--st-mute);
  font-size: 15px;
}
.st-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
}
.st-pcard:hover .st-more svg {
  transform: translateX(3px);
}
.st-more svg {
  transition: transform 0.2s;
}

/* ── bento of tiles with two-tone titles ────────────────────────────────── */
.st-bento {
  display: grid;
  margin-top: 56px;
  border: 1px solid var(--st-line);
  background: var(--st-line);
  gap: 1px;
}
.st-bento--2 {
  grid-template-columns: 1fr 1fr;
}
.st-bento--3 {
  grid-template-columns: repeat(3, 1fr);
}
.st-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: 28px 28px 0;
  background: var(--st-paper);
  overflow: hidden;
}
.st-tile--wide {
  grid-column: span 2;
}
.st-tile h3 {
  max-width: 440px;
  font: 400 18px/1.35 var(--st-body);
  letter-spacing: -0.015em;
  color: var(--st-mute);
}
.st-tile h3 b {
  font-weight: 500;
  color: var(--st-ink);
}
.st-tile__art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 220px;
  padding: 0 8px;
}
.st-tile__art > .st-card {
  width: min(100%, 380px);
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.st-list {
  display: grid;
  padding: 6px;
}
.st-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
}
.st-list li + li {
  border-top: 1px solid #f4f4f5;
}
.st-list b {
  display: block;
  font-weight: 500;
}
.st-know,
.st-call,
.st-agent,
.st-wa,
.st-flow,
.st-mcp,
.st-audit {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.st-know__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #f4f4f5;
}
.st-call li,
.st-agent__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
}
.st-post {
  padding: 10px 10px 14px;
  display: grid;
  gap: 10px;
}
.st-post__img {
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #e7e0d6;
}
.st-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-post p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 4px;
}
.st-post__act {
  justify-content: flex-end;
  gap: 6px !important;
}
.st-flow li {
  display: grid;
  padding: 10px 12px;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
  position: relative;
}
.st-flow li + li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -11px;
  height: 10px;
  border-left: 1px dashed var(--st-line-2);
}
.st-flow .st-pill {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.st-mcp li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
}
.st-mcp li .st-pill {
  margin-left: auto;
}
.st-mcp__url {
  display: grid !important;
  gap: 2px !important;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  background: #fafafa;
}
.st-audit {
  grid-template-columns: repeat(3, 1fr);
}
.st-audit li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #fafafa;
}
.st-audit b {
  font: 500 26px/1 var(--st-display);
  letter-spacing: -0.03em;
}
.st-audit li:nth-child(1) b {
  color: var(--st-ok);
}
.st-audit li:nth-child(2) b {
  color: var(--st-warn);
}
.st-audit span {
  font-size: 11.5px;
  color: var(--st-mute);
}

/* the stage: a wide colour panel with a chat widget, then the channels */
.st-stage {
  display: grid;
  place-items: center;
  margin-top: 40px;
  padding: 56px 24px 0;
  border-radius: 4px 4px 0 0;
  min-height: 380px;
}
.st-widget {
  width: min(100%, 400px);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  align-self: end;
}
.st-widget__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--st-ink);
  color: #fff;
  font-size: 14px;
}
.st-widget__head svg {
  color: #63d6a0;
}
.st-widget__head b {
  font-weight: 500;
}
.st-widget__body {
  display: grid;
  gap: 10px;
  padding: 18px 16px 28px;
}
.st-typing {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  width: max-content;
  border-radius: 14px;
  background: #eef2ff;
}
.st-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b7fd6;
  animation: st-blink 1.2s infinite;
}
.st-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.st-typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes st-blink {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}
.st-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px 0;
  font: 500 17px/1 var(--st-display);
  letter-spacing: -0.02em;
}
.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  font: 500 14px/1 var(--st-body);
}

/* ── story: copy beside a photo ─────────────────────────────────────────── */
.st-story__in {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.st-story__in--flip {
  grid-template-columns: 1fr 1.1fr;
}
.st-story__photo {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: visible;
}
.st-story__photo img {
  border-radius: 4px;
}
.st-story__photo::after {
  border-radius: 4px;
}
/* a band of the photo's colour under it, as a printed label would sit */
.st-story__photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background: var(--wash);
}
.st-story__badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 500;
}
.st-story__badge .st-ava {
  width: 24px;
  height: 24px;
}
.st-timeline {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-left: 1px solid var(--st-line);
}
.st-timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 10px 0 10px 20px;
  position: relative;
  color: var(--st-ink-2);
}
.st-timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-green);
}
.st-timeline time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--st-ink);
}
.st-ticks {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.st-ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--st-ink-2);
}
.st-ticks svg {
  color: var(--st-green);
}

/* ── split: steps beside a colour panel ─────────────────────────────────── */
.st-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.st-split__copy {
  padding-right: 48px;
}
.st-steps {
  display: grid;
  gap: 4px;
  margin: 40px 0 36px;
}
.st-steps li {
  padding-left: 18px;
  border-left: 2px solid var(--st-line);
  transition: border-color 0.2s;
}
.st-steps li:has([aria-pressed="true"]) {
  border-left-color: var(--st-green);
}
.st-steps__btn {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  font: 500 19px/1.2 var(--st-display);
  letter-spacing: -0.02em;
  color: var(--st-mute);
  cursor: pointer;
  text-align: left;
}
.st-steps__btn[aria-pressed="true"] {
  color: var(--st-ink);
}
.st-steps__n {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--st-mute-2);
}
.st-steps__btn[aria-pressed="true"] .st-steps__n {
  color: var(--st-green);
}
.st-steps p {
  display: none;
  max-width: 380px;
  padding-bottom: 10px;
  color: var(--st-mute);
  font-size: 15px;
}
.st-steps li:has([aria-pressed="true"]) p {
  display: block;
}
.st-split__art {
  display: grid;
  align-items: center;
  padding: 48px 40px;
}
.st-tabpanel {
  display: none;
}
.st-tabpanel.is-on {
  display: block;
  animation: st-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes st-in {
  from { opacity: 0; transform: translateY(8px); }
}
.st-kanban {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.st-kanban .st-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 6px;
  padding: 16px;
}
.st-kanban .st-card b {
  font-size: 15px;
  font-weight: 500;
}
.st-kanban__wide {
  grid-column: span 2;
}
.st-kanban__ai {
  border: 1px solid #c7f0d9 !important;
}
.st-kanban__ai p b {
  font-size: 13px !important;
}
.st-check {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 1.5px solid var(--st-line-2);
  border-radius: 4px;
}
.st-check.is-done {
  border-color: var(--st-ok);
  background: var(--st-ok);
}
.st-cal__row {
  display: flex;
  gap: 4px;
  margin: 4px 0;
}
.st-cal__row span {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--st-mute);
  background: #f4f4f5;
}
.st-cal__row .is-on {
  background: var(--st-green);
  color: #fff;
}
.st-quote p {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  border-bottom: 1px solid #f4f4f5;
}
.st-quote__total {
  border-bottom: 0 !important;
  font-weight: 500;
}

/* ── dark band ─────────────────────────────────────────────────────────── */
.st-dark .st-frame {
  background: #0a0a0c;
  border-color: #0a0a0c;
}
.st-dark .st-h2 {
  color: #fff;
}
.st-dark .st-mute {
  color: #8b8b94;
}
.st-dark__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.st-orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 360px;
  justify-self: end;
  width: 100%;
  border: 1px solid #222228;
  background:
    linear-gradient(#222228, #222228) center / 1px 100% no-repeat,
    linear-gradient(#222228, #222228) center / 100% 1px no-repeat;
}
.st-orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid #2a2a31;
  border-radius: 50%;
}
.st-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px;
  border-radius: 20px;
  background: var(--st-green);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(18, 120, 76, 0.15), 0 0 60px rgba(18, 120, 76, 0.5);
}
.st-orbit__n {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px;
  border-radius: 50%;
  background: #1a1a1f;
  border: 1px solid #2f2f36;
  color: #d4d4d8;
  transform: rotate(var(--a)) translateY(-118px) rotate(calc(-1 * var(--a)));
}
.st-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}
.st-modes li {
  padding-left: 20px;
  border-left: 1px solid #26262c;
}
.st-modes b {
  display: block;
  margin: 10px 0 6px;
  font-weight: 500;
  color: #fff;
}
.st-modes p {
  font-size: 14px;
  color: #9a9aa3;
}
.st-modes__ic {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.st-modes__ic--ok {
  background: #b7dd3c;
}
.st-modes__ic--warn {
  background: #fbbf24;
}
.st-modes__ic--off {
  background: #52525b;
}

/* ── three steps ───────────────────────────────────────────────────────── */
.st-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.st-three__art {
  display: grid;
  place-items: end center;
  height: 230px;
  margin-bottom: 22px;
  padding: 28px 22px 0;
  border-radius: 12px;
}
.st-mini {
  width: 100%;
  display: grid;
  padding: 8px 14px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.st-mini p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.st-mini p + p {
  border-top: 1px solid #f4f4f5;
}
.st-mini .st-pill {
  margin-left: auto;
}
.st-three__n {
  font: 500 14px/1 var(--st-display);
  color: var(--st-mute-2);
}
.st-three h3 {
  margin: 8px 0 4px;
  font: 500 20px/1.25 var(--st-display);
  letter-spacing: -0.025em;
}
.st-three p {
  color: var(--st-mute);
  font-size: 15px;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.st-faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}
.st-faq__list details {
  border-bottom: 1px solid var(--st-line);
}
.st-faq__list details:first-child {
  border-top: 1px solid var(--st-line);
}
.st-faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.st-faq__list summary::-webkit-details-marker {
  display: none;
}
.st-faq__list summary::after {
  content: "+";
  font: 300 22px/1 var(--st-body);
  color: var(--st-mute);
  transition: transform 0.2s;
}
.st-faq__list details[open] summary::after {
  transform: rotate(45deg);
}
.st-faq__list p {
  padding: 0 40px 22px 0;
  color: var(--st-mute);
}

/* ── closing band ──────────────────────────────────────────────────────── */
.st-cta__in {
  overflow: hidden;
  min-height: 460px;
  display: grid;
  align-items: end;
  background: #0a0a0c;
  border-color: #0a0a0c;
}
.st-cta__photo {
  position: absolute;
  inset: 0;
}
.st-cta__photo::after {
  --wash-dir: 0deg;
  opacity: 1;
  mix-blend-mode: normal;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.6) 55%, rgba(42, 75, 208, 0.35) 100%);
}
.st-cta__copy {
  position: relative;
  padding: 88px var(--st-pad-x);
  color: #fff;
}
.st-cta .st-h1 {
  color: #fff;
  max-width: 720px;
}
.st-cta .st-mute {
  color: rgba(255, 255, 255, 0.55);
}
.st-cta .st-lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.75);
}
.st-cta .st-trial {
  color: rgba(255, 255, 255, 0.6);
}

/* ── footer ────────────────────────────────────────────────────────────── */
.st-foot {
  padding: var(--st-gap) 0 48px;
}
.st-foot__in {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 56px var(--st-pad-x);
}
.st-foot__brand p {
  margin-top: 14px;
  color: var(--st-mute);
  font-size: 14px;
}
.st-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.st-foot h3 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-mute);
}
.st-foot ul {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.st-foot a:hover {
  color: var(--st-mute);
}
.st-foot__base {
  display: flex;
  justify-content: space-between;
  padding: 18px var(--st-pad-x);
  border-top: 0;
  font-size: 13px;
  color: var(--st-mute);
}

/* ── rating chip in the hero's eyebrow (placeholder until real reviews) ─── */
.st-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--st-ink);
}
.st-stars {
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: 1px;
}
.st-rating b {
  font-weight: 600;
}
.st-eyebrow__sep {
  width: 1px;
  height: 14px;
  background: var(--st-line);
}
.st-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── hero: the conversation plays (studio.js adds .is-demo) ─────────────── */
.is-demo .st-demo__s:not(.is-on) {
  display: none;
}
.is-demo .st-demo__s.is-on {
  animation: st-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.is-demo .st-hero__chat,
.is-demo .st-hero__task {
  transition: opacity 0.4s, filter 0.4s;
}
.is-demo.is-out .st-hero__chat,
.is-demo.is-out .st-hero__task {
  opacity: 0;
  filter: blur(6px);
}
@keyframes st-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ── headlines that focus word by word (studio.js sets each word's style) ─ */
.st-focus .st-w {
  display: inline-block;
  will-change: opacity, filter, transform;
}

/* ── tabbed steps: a line fills the active step while the tabs advance ──── */
.st-steps li {
  position: relative;
}
.is-auto li:has([aria-pressed="true"]) {
  border-left-color: var(--st-line);
}
.is-auto li.is-run:has([aria-pressed="true"])::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--st-green);
  transform-origin: top;
  animation: st-fill 6s linear both;
}
@keyframes st-fill {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* ── orbit: spokes, and a pulse running from each channel into GoKiwi ───── */
.st-orbit__s,
.st-orbit__p {
  position: absolute;
  left: 50%;
  top: 50%;
}
.st-orbit__s {
  width: 1px;
  height: 118px;
  margin-left: -0.5px;
  background: linear-gradient(to top, rgba(18, 120, 76, 0.5), #26262c);
  transform-origin: top;
  transform: rotate(calc(var(--a) + 180deg));
}
.st-orbit__p {
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #b7dd3c;
  box-shadow: 0 0 10px #b7dd3c;
  opacity: 0;
}
.st-orbit__core {
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .st-orbit__p {
    animation: st-pulse 2.8s cubic-bezier(0.5, 0, 0.7, 1) infinite;
    animation-delay: var(--d);
  }
  .st-orbit__core::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 26px;
    border: 1px solid rgba(183, 221, 60, 0.5);
    animation: st-ring 2.8s ease-out infinite;
  }
}
@keyframes st-pulse {
  0% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-118px);
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-40px);
  }
}
@keyframes st-ring {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ── logo wall under the hero (placeholder logos for now) ───────────────── */
/* owner: "la sezione clienti mettiamola a parte da sola ... in un'altra
   sezione apposita più in basso" — the client logos are a section of their
   own after the customer stories, with a heading, no longer under the hero */
.st-logos__head {
  padding: 72px var(--st-pad-x) 48px;
}
.st-logos__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border-top: 1px solid var(--st-line);
  background: var(--st-line);
}
.st-logos__cell {
  position: relative;
  height: 88px;
  background: var(--st-paper);
}
.st-logos__cell:nth-child(3n + 1)::after {
  content: "+";
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 13px;
  line-height: 1;
  color: var(--st-mute-2);
}
.st-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: var(--lf);
  letter-spacing: -0.02em;
  color: #8b8b94;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(6px);
  transition: opacity 0.6s, filter 0.6s, transform 0.6s;
}
.st-logo.is-on {
  opacity: 1;
  filter: none;
  transform: none;
}

/* ── a customer's words: number, quote, person, photo with their logo ───── */
.st-review__in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.st-review__metric b {
  display: block;
  font: 500 52px/1 var(--st-display);
  letter-spacing: -0.04em;
}
.st-review__metric span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--st-mute);
}
.st-review__text {
  margin: 56px 0 0;
  font: 500 clamp(20px, 2vw, 24px)/1.4 var(--st-display);
  letter-spacing: -0.02em;
  color: var(--st-ink);
}
.st-review__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.st-review__by b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.st-review__by small {
  font-size: 13px;
  color: var(--st-mute);
}
.st-review__ava {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4f4f5;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-ink-2);
}
.st-review__photo {
  aspect-ratio: 1;
  border-bottom: 10px solid var(--wash);
}
.st-review__logo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 26px/1 var(--st-display);
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* ── customer stories: a rail of photo + colour cards ───────────────────── */
.st-stories__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
}
.st-rail__btns {
  display: flex;
  gap: 8px;
}
.st-rail__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  background: #fff;
  color: var(--st-ink);
  cursor: pointer;
}
.st-rail__btn:hover {
  background: #f4f4f5;
}
.st-rail__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--st-pad-x);
  padding: 0 var(--st-pad-x) 88px;
  scrollbar-width: none;
}
.st-rail__track::-webkit-scrollbar {
  display: none;
}
.st-case {
  display: grid;
  grid-template-columns: 300px 420px;
  flex: none;
  height: 400px;
  scroll-snap-align: start;
}
.st-case__photo {
  height: 100%;
}
.st-case__logo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font: 600 24px/1 var(--st-display);
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.st-case__card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  color: #fff;
}
.st-case__card h3 {
  font: 500 24px/1.25 var(--st-display);
  letter-spacing: -0.025em;
}
.st-case__card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 auto;
}
.st-case__card dt {
  font: 500 32px/1 var(--st-display);
  letter-spacing: -0.03em;
}
.st-case__card dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.st-case__card .st-btn {
  align-self: flex-start;
}

/* ── industries: four colour tiles ─────────────────────────────────────── */
.st-ind__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.st-ind__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: #fff;
  background-color: var(--p);
  background-image:
    linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.18) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.18) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 25% 25%, 25% 25%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-ind__art::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
}
.st-ind__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--st-grain) 0 0 / 180px 180px;
}
.st-ind__art svg {
  position: relative;
  z-index: 1;
}
.st-ind__grid li:hover .st-ind__art {
  transform: translateY(-4px);
}
.st-ind__art--blue {
  --p: var(--st-blue);
}
.st-ind__art--green {
  --p: var(--st-green);
}
.st-ind__art--orange {
  --p: var(--st-orange);
}
.st-ind__art--ink {
  --p: #18181b;
}
.st-ind__grid h3 {
  margin-top: 16px;
  font: 500 17px/1.3 var(--st-display);
  letter-spacing: -0.02em;
}
.st-ind__grid p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--st-mute);
}

/* ── footer on a blue band ─────────────────────────────────────────────── */
.st-foot {
  background-color: var(--st-blue);
  background-image: var(--st-grain), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='1' fill='%23fff' fill-opacity='.25'/%3E%3C/svg%3E");
}
.st-foot .st-frame {
  border-color: transparent;
}
.st-foot .st-foot__in {
  border-bottom: 1px solid var(--st-line);
}

/* ── reveal (the base script adds .is-in) ───────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .st-sec [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .st-sec [data-reveal="2"] {
    transition-delay: 0.08s;
  }
  .js .st-sec [data-reveal="3"] {
    transition-delay: 0.16s;
  }
  .js .st-sec [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st-typing span,
  .st-tabpanel.is-on {
    animation: none;
  }
}

/* ── narrower screens ──────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .st-frame {
    margin-inline: 16px;
  }
  .st-nav__in {
    padding-inline: 20px;
  }
}
@media (max-width: 1000px) {
  :root {
    --st-pad-x: 32px;
  }
  .st-nav__links {
    gap: 18px;
  }
  .st-hero__in,
  .st-split,
  .st-story__in,
  .st-story__in--flip,
  .st-dark__top,
  .st-faq,
  .st-foot__in {
    grid-template-columns: 1fr;
  }
  .st-hero__art {
    min-height: 560px;
  }
  .st-split__copy {
    padding-right: var(--st-pad-x);
  }
  .st-story__in {
    gap: 48px;
  }
  .st-story__in--flip .st-story__photo {
    order: 2;
  }
  .st-orbit {
    justify-self: center;
  }
  .st-bento--3 {
    grid-template-columns: 1fr 1fr;
  }
  .st-faq {
    gap: 32px;
  }
  .st-review__in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .st-review__text {
    margin-top: 32px;
  }
  .st-ind__grid {
    grid-template-columns: 1fr 1fr;
  }
  .st-logos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-logos__cell:nth-child(n + 7) {
    display: none;
  }
  .st-logos__cell {
    height: 72px;
  }
  .st-case {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto;
    width: min(82vw, 380px);
    height: auto;
  }
  .st-case__card {
    padding: 24px;
  }
  .st-stories__head {
    padding-bottom: 32px;
  }
}
@media (max-width: 900px) {
  .st-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--st-paper);
    border-bottom: 1px solid var(--st-line);
    font-size: 17px;
  }
  .st-nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--st-line);
  }
  .st-nav.is-open .st-nav__links {
    display: flex;
  }
  .st-nav__menu {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0 9px;
    border: 1px solid var(--st-line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }
  .st-nav__menu span {
    height: 1.5px;
    background: var(--st-ink);
    transition: transform 0.2s;
  }
  .st-nav.is-open .st-nav__menu span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .st-nav.is-open .st-nav__menu span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .st-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px;
    grid-auto-rows: 64px;
  }
  .st-strip__photo {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .st-strip__cell:nth-child(n + 8) {
    display: flex;
  }
  .st-pillars__grid,
  .st-three,
  .st-modes {
    grid-template-columns: 1fr;
  }
  .st-pillars__grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  :root {
    --st-pad-x: 20px;
    --st-gap: 28px;
  }
  .st-frame {
    margin-inline: 12px;
  }
  .st-nav__in {
    gap: 12px;
    padding-inline: 14px;
  }
  .st-nav__login {
    display: none;
  }
  .st-pad {
    padding-block: 56px;
  }
  .st-hero__copy {
    padding-block: 48px;
  }
  .st-hero__art {
    min-height: 460px;
  }
  .st-hero__photo {
    inset: 28px 20px 110px 48px;
  }
  .st-hero__chat {
    left: 14px;
    bottom: 20px;
    width: calc(100% - 28px);
  }
  .st-hero__task {
    top: 44px;
    right: 10px;
  }
  .st-bento--2,
  .st-bento--3 {
    grid-template-columns: 1fr;
  }
  .st-tile--wide {
    grid-column: auto;
  }
  .st-tile {
    padding: 22px 18px 0;
  }
  .st-tile__art {
    min-height: 0;
  }
  .st-kanban {
    grid-template-columns: 1fr;
  }
  .st-kanban__wide {
    grid-column: auto;
  }
  .st-split__art {
    padding: 28px 16px;
  }
  .st-stage {
    padding: 32px 12px 0;
    min-height: 0;
  }
  .st-orbit__n {
    transform: rotate(var(--a)) translateY(-104px) rotate(calc(-1 * var(--a)));
  }
  .st-foot__cols {
    grid-template-columns: 1fr 1fr;
  }
  .st-foot__base {
    flex-direction: column;
    gap: 6px;
  }
}

/* the problem each pillar photo shows, as a small tag on the photo */
.st-pain {
  position: absolute;
  z-index: 1;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--st-ink);
  font-size: 12px;
  font-weight: 500;
}
.st-pain::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

/* ── full-bleed bands (owner, 30 Nov): the dark band and the closing band run
   edge to edge; their content stays in the column, whose hairlines carry on
   faintly through the dark ───────────────────────────────────────────────── */
.st-dark .st-frame {
  border-color: transparent #222228;
  box-shadow: 0 0 0 100vmax #0a0a0c;
  clip-path: inset(0 -100vmax);
}
.st-cta .st-frame {
  max-width: none;
  margin-inline: 0;
  border-inline: 0;
}
.st-cta__copy {
  width: 100%;
  max-width: var(--st-w);
  margin-inline: auto;
}
@media (max-width: 1240px) {
  .st-cta .st-frame {
    margin-inline: 0;
  }
  .st-cta__copy {
    padding-inline: calc(var(--st-pad-x) + 16px);
  }
}

/* ── stories rail runs off the right edge of the screen (owner, 30 Nov):
   the heading stays in the column, the cards start on its left edge and the
   next one peeks in from the right ───────────────────────────────────────── */
html {
  overflow-x: clip;
}
.st-stories .st-frame {
  overflow: visible;
}
.st-rail__track {
  /* the gap between the column and the screen edge (scroll-padding resolves % against the track, so no %) */
  --bleed: max(16px, (100vw - var(--st-w)) / 2);
  margin-inline: calc(-1 * var(--bleed));
  padding-left: calc(var(--bleed) + var(--st-pad-x));
  padding-right: 64px;
  scroll-padding-inline: calc(var(--bleed) + var(--st-pad-x));
}
.st-case {
  grid-template-columns: 1.45fr 1fr;
  width: min(940px, 78vw);
  height: 460px;
}
.st-case__card {
  padding: 40px 44px;
}
.st-case__card h3 {
  max-width: 460px;
  font-size: 28px;
}
.st-case__card dt {
  font-size: 40px;
}
.st-case__card dd {
  font-size: 14px;
}
.st-case__logo {
  font-size: 30px;
}
.st-panel--ink {
  --p: #141416;
}
@media (max-width: 1000px) {
  .st-case {
    grid-template-columns: 1fr;
    grid-template-rows: auto 200px;
    width: min(84vw, 400px);
    height: auto;
  }
  .st-case__card {
    padding: 24px;
  }
  .st-case__card h3 {
    font-size: 22px;
  }
  .st-case__card dt {
    font-size: 30px;
  }
  .st-case__card .st-btn {
    margin-top: 24px;
  }
}

/* ── the ending (owner, 30 Nov): one full-bleed green band with grain holds
   the last call to action and the footer on a white card, then a giant
   GoKiwi wordmark, cut by the bottom of the page, with three stickers ───── */
.st-end {
  position: relative;
  overflow: hidden;
  margin-top: var(--st-gap);
  padding: 72px 16px 0;
  background-color: var(--st-green);
  background-image:
    var(--st-grain),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='1' fill='%23fff' fill-opacity='.22'/%3E%3C/svg%3E"),
    radial-gradient(80% 60% at 50% 0%, rgba(183, 221, 60, 0.22), transparent 70%);
  color: var(--st-ink);
}
.st-end__card {
  position: relative;
  z-index: 1;
  max-width: var(--st-w);
  margin-inline: auto;
  background: var(--st-paper);
  border-radius: 4px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}
.st-end__cta {
  display: grid;
  justify-items: center;
  padding: 104px var(--st-pad-x) 88px;
  text-align: center;
  border-bottom: 1px solid var(--st-line);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(18, 120, 76, 0.08), transparent 70%);
}
.st-end__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--st-green);
}
.st-end__title {
  max-width: 900px;
  margin-top: 20px;
  font-size: clamp(42px, 6vw, 80px);
}
.st-end__lead {
  max-width: 560px;
  margin-top: 24px;
}
.st-end__ctas {
  justify-content: center;
}
.st-end__chans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.st-end__chans li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--st-ink-2);
}
.st-end__nav {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px var(--st-pad-x);
}
.st-end__brand p {
  margin-top: 14px;
  max-width: 260px;
  font-size: 14px;
  color: var(--st-mute);
}
.st-end__mail {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--st-line-2);
}
.st-end__nav h3 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-mute);
}
.st-end__nav ul {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.st-end__nav a:hover {
  color: var(--st-green);
}
.st-end__base {
  display: flex;
  justify-content: space-between;
  padding: 18px var(--st-pad-x);
  border-top: 1px solid var(--st-line);
  font-size: 13px;
  color: var(--st-mute);
}
/* the wordmark: as wide as the column, its lower third cut off by the page */
.st-end__mark {
  position: relative;
  max-width: var(--st-w);
  margin: 40px auto 0;
  height: clamp(64px, 17vw, 230px);
}
.st-end__word {
  display: flex;
  justify-content: space-between;
  font: 600 clamp(80px, 24.5vw, 330px)/0.8 var(--st-display);
  letter-spacing: -0.06em;
  color: #fff;
  user-select: none;
}
.st-end__word span {
  display: inline-block;
}
.st-sticker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: clamp(68px, 9vw, 116px);
  aspect-ratio: 1;
  border-radius: 50%;
  font: 600 clamp(9.5px, 1.1vw, 14px)/1.15 var(--st-display);
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45), inset 0 0 0 3px rgba(255, 255, 255, 0.9);
  transform: rotate(var(--r));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-sticker:hover {
  transform: rotate(calc(var(--r) * -1)) scale(1.06);
}
.st-sticker--lime {
  background: var(--st-lime);
  color: #1a2e05;
}
.st-sticker--white {
  background: #fff;
  color: var(--st-ink);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45), inset 0 0 0 3px var(--st-green);
}
.st-sticker--orange {
  background: var(--st-orange);
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .js .st-end__word span {
    transform: translateY(60%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s;
    transition-delay: calc(var(--i) * 70ms);
  }
  .js .st-end__word.is-in span {
    transform: none;
    opacity: 1;
  }
  .st-sticker {
    animation: st-bob 5s ease-in-out infinite;
    animation-delay: calc(var(--x) * -0.05);
  }
  @keyframes st-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }
}
@media (max-width: 900px) {
  .st-end {
    padding-top: 40px;
  }
  .st-end__cta {
    padding-block: 72px 56px;
  }
  .st-end__nav {
    grid-template-columns: 1fr 1fr;
  }
  .st-end__brand {
    grid-column: 1 / -1;
  }
  .st-end__base {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 600px) {
  .st-sticker--white {
    display: none;
  }
  .st-end__mark {
    margin-top: 28px;
  }
}

/* ── pillars as agent tiles (owner, 30 Nov, after chatbase.co): each tile
   shows the agent's own piece of the product (a WhatsApp chat, a lead with
   its quote, call notes); on hover, focus, or in view on touch screens the
   agent finishes the job ──────────────────────────────────────────────── */
.st-pillars .st-h2 {
  max-width: none;
}
.st-pt {
  display: grid;
  align-content: start;
  color: var(--st-ink);
}
.st-pt--blue { --p: var(--st-blue); }
.st-pt--green { --p: var(--st-green); }
.st-pt--orange { --p: var(--st-orange); }
.st-pt__art {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  aspect-ratio: 6 / 5;
  padding: 26px 22px 0;
  overflow: hidden;
  background-color: var(--p);
  background-image:
    linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.14) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.14) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 25% 20%, 25% 20%;
}
.st-pt__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--st-grain) 0 0 / 180px 180px;
  pointer-events: none;
}
.st-pt h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font: 500 22px/1.2 var(--st-display);
  letter-spacing: -0.03em;
}
.st-pt h3 svg {
  color: var(--st-mute);
  transition: translate 0.25s ease, color 0.25s ease;
}
.st-pt > p {
  margin-top: 8px;
  max-width: 340px;
  color: var(--st-mute);
  font-size: 15px;
}
.st-pt:is(:hover, :focus-visible) h3 svg {
  color: var(--st-ink);
  translate: 3px 0;
}
.st-pt:focus-visible {
  outline: none;
}
.st-pt:focus-visible .st-pt__art {
  outline: 2px solid var(--st-ink);
  outline-offset: 3px;
}

/* the product piece */
.st-ux {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(100%, 300px);
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 40px -22px rgba(9, 9, 11, 0.7);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: left;
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
:where(.st-ux) :where(p, ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.st-ux__h {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
}
.st-ux__h b {
  font-weight: 600;
}
.st-ux__h small {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--st-mute);
}
.st-ux__h:not(:has(.st-ux__l)) small {
  grid-column: 1 / -1;
}
.st-ux__h:not(:has(.st-ux__l)) b {
  grid-column: 1 / -1;
}
.st-ux__l {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--st-line);
  background: #f1f1f3;
  font-size: 11px;
  color: var(--st-mute);
}
.st-ux__wa {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.st-ux__ok {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--st-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* chat */
.st-ux--chat .st-ux__h {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--st-line);
}
.st-ux__in,
.st-ux__out {
  justify-self: start;
  max-width: 84%;
  padding: 7px 10px;
  border-radius: 12px 12px 12px 4px;
  background: #f1f1f3;
}
.st-ux__out {
  justify-self: end;
  border-radius: 12px 12px 4px 12px;
  background: color-mix(in srgb, var(--p) 12%, white);
  color: color-mix(in srgb, var(--p) 70%, black);
}
.st-ux__done {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--st-green) 8%, white);
  color: var(--st-green-deep);
  font-size: 11.5px;
  font-weight: 500;
}

/* lead + quote */
.st-ux__tag {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--st-blue) 8%, white);
  color: var(--st-blue);
  font-size: 11px;
  font-weight: 500;
}
.st-ux__doc {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
}
.st-ux__doc p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--st-ink-2);
}
.st-ux__doc p:first-child {
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--st-ink);
}
.st-ux__pill {
  padding: 1px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--st-warn) 12%, white);
  color: #92400e;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
}
.st-ux__tot {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid var(--st-line);
}
.st-ux__tot b {
  color: var(--st-ink);
}
.st-ux__act {
  display: grid;
}
.st-ux__act > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  border-radius: 8px;
  font-weight: 500;
  transition: opacity 0.3s ease, scale 0.3s ease;
}
.st-ux__btn {
  background: var(--st-ink);
  color: #fff;
}
.st-ux__sent {
  background: color-mix(in srgb, var(--st-green) 8%, white);
  color: var(--st-green-deep);
}

/* call notes */
.st-ux__sum {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  list-style: disc;
  color: var(--st-ink-2);
}
.st-ux__k {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--st-mute);
}
.st-ux__steps {
  display: grid;
  gap: 6px;
}
.st-ux__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-ux__cb {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--st-line-2);
  border-radius: 4px;
  background: #fff center / 11px no-repeat;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.st-ux__who {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 5px;
  background: #f1f1f3;
  font-size: 10.5px;
  color: var(--st-mute);
}
.st-ux__who--ai {
  background: color-mix(in srgb, var(--p) 12%, white);
  color: color-mix(in srgb, var(--p) 75%, black);
}

/* resting state: the agent's last step is still to come */
.st-ux__in--yes,
.st-ux__done,
.st-ux__sent {
  opacity: 0;
}
.st-ux__in--yes,
.st-ux__done {
  translate: 0 8px;
  transition: opacity 0.35s ease, translate 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-ux__sent {
  scale: 0.96;
}

/* lit: hover, keyboard focus, or in view on touch screens */
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux {
  translate: 0 -4px;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__in--yes {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.1s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__done {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.55s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__btn {
  opacity: 0;
  scale: 0.96;
  transition-delay: 0.35s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__sent {
  opacity: 1;
  scale: 1;
  transition-delay: 0.35s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__cb {
  border-color: var(--st-green);
  background-color: var(--st-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__steps li:nth-child(1) .st-ux__cb { transition-delay: 0.15s; }
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__steps li:nth-child(2) .st-ux__cb { transition-delay: 0.45s; }
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__steps li:nth-child(3) .st-ux__cb { transition-delay: 0.75s; }
@media (prefers-reduced-motion: reduce) {
  .st-ux,
  .st-ux * {
    transition: none !important;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .st-pt__art {
    padding: 16px 14px 0;
  }
  .st-ux {
    padding: 11px;
    gap: 6px;
    font-size: 12px;
  }
}

.st-pillars__grid {
  column-gap: 28px;
  row-gap: 48px;
}
.st-pt__ai {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--p) 9%, white);
  color: color-mix(in srgb, var(--p) 80%, black);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.st-pt__ai::before {
  content: "✦";
  font-size: 10px;
}

/* pillars v3 (owner: "migliora le illustrazioni"): each tile is a small
   layered product shot, a card in front and one behind, cropped by the tile */
.st-pt__art {
  display: block;
  padding: 0;
}
.st-pt__art > .st-ux {
  position: absolute;
  width: auto;
}
.st-ux--front {
  z-index: 2;
  left: 20px;
  right: 34px;
  top: 74px;
  max-width: 300px;
}
.st-ux--back {
  z-index: 1;
  top: 20px;
  right: 16px;
  width: 62%;
  gap: 4px !important;
  padding: 10px 12px !important;
  rotate: 3deg;
  opacity: 0.94;
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-ux__row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.st-ux__row > span:last-child {
  display: grid;
  min-width: 0;
}
.st-ux__row b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-ux__row small,
.st-ux__meta {
  font-size: 11px;
  color: var(--st-mute);
}
.st-ux__meta {
  padding-left: 37px;
}
.st-ux__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--p) 12%, white);
  color: var(--p);
  font-size: 14px;
}
.st-ux__row .st-ux__l {
  flex: none;
}

/* customers: channel switcher on top of the chat */
.st-ux__chs {
  display: flex;
  gap: 4px;
  margin-bottom: 2px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--st-line);
  overflow: hidden;
}
.st-ux__chs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  color: var(--st-mute);
  white-space: nowrap;
}
.st-ux__chs .is-on {
  background: #f1f1f3;
  color: var(--st-ink);
  font-weight: 500;
}

/* team: today's plan */
.st-ux__top {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.st-ux__top b {
  font-weight: 600;
}
.st-ux__top small {
  font-size: 11px;
  color: var(--st-mute);
}
.st-ux__stack {
  display: flex;
  margin-left: auto;
  align-self: center;
}
.st-ux__stack i,
.st-ux__av {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}
.st-ux__stack i {
  margin-left: -5px;
  border: 2px solid #fff;
  box-sizing: content-box;
  background: var(--st-ink-2);
}
.st-ux__stack i:nth-child(1) { background: var(--st-blue); }
.st-ux__stack i:nth-child(2) { background: var(--st-orange); }
.st-ux__stack i:nth-child(3) { background: var(--st-green); }
.st-ux__av--b { background: var(--st-blue); }
.st-ux__av--o { background: var(--st-orange); }
.st-ux__av--g { background: var(--st-green); }
.st-ux__plan {
  display: grid;
  gap: 2px;
}
.st-ux__plan li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--st-line);
}
.st-ux__plan li > span:nth-of-type(2) {
  display: grid;
  min-width: 0;
  margin-right: auto;
}
.st-ux__plan b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-ux__plan small {
  font-size: 10.5px;
  color: var(--st-mute);
}
.st-ux__plan em {
  flex: none;
  padding: 1px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--p) 12%, white);
  color: color-mix(in srgb, var(--p) 75%, black);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

/* you: a deck of things waiting for approval */
.st-ux__count {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 500;
  color: var(--st-ink);
}
.st-ux__n {
  display: grid;
  overflow: hidden;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 20px;
}
.st-ux__n span {
  grid-area: 1 / 1;
  transition: translate 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-ux__n span + span {
  translate: 0 100%;
}
.st-ux--deck {
  padding: 10px 12px !important;
  opacity: 0.75;
}
.st-ux--d2 {
  z-index: 0;
  top: 52px;
  left: 44px;
  right: 58px;
}
.st-ux--d1 {
  z-index: 1;
  top: 62px;
  left: 32px;
  right: 46px;
  opacity: 0.9;
}
.st-ux--quote {
  top: 76px;
}
.st-ux--quote .st-ux__doc {
  padding: 8px 10px;
}
.st-ux--quote .st-ux__doc p:first-child {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--st-ink-2);
}

/* lit */
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux--back {
  translate: 6px -4px;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux--d1 {
  translate: 0 -4px;
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__n span:first-child {
  translate: 0 -100%;
  transition-delay: 0.4s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__n span + span {
  translate: 0 0;
  transition-delay: 0.4s;
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__plan li:nth-child(1) .st-ux__cb { transition-delay: 0.15s; }
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__plan li:nth-child(2) .st-ux__cb { transition-delay: 0.45s; }
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux__plan li:nth-child(3) .st-ux__cb { transition-delay: 0.75s; }
@media (max-width: 1100px) and (min-width: 761px) {
  .st-ux--front { left: 12px; right: 16px; top: 64px; }
  .st-ux--back { width: 75%; right: 8px; top: 14px; }
  .st-ux__chs span:nth-child(n + 3) { display: none; }
}
.st-ux--back {
  top: 22px;
}
.st-ux--chat {
  transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-pt:is(:hover, :focus-visible, .is-lit) .st-ux--chat {
  translate: 0 -46px;
}
.st-ux__count {
  left: auto;
  right: 20px;
}
.st-ux--d2 { top: 50px; }
.st-ux--d1 { top: 61px; }
.st-ux--deck {
  opacity: 1 !important;
  min-height: 60px;
}
.st-ux--deck > * {
  visibility: hidden;
}
.st-ux--d1 { background: #eeeef0; }
.st-ux--d2 { background: #dcdce0; }

/* customers (owner: "erano belli, c'era solo da migliorarli e animarli,
   come chatbase"): the original bento cards stay, each with its own small
   motion that plays on hover, or in view on touch screens. Keyframes run
   only while lit, so every hover replays them. */
.st-tile .st-card {
  transition: box-shadow 0.4s ease;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-card {
  box-shadow: 0 30px 60px -30px rgba(9, 9, 11, 0.35), var(--st-shadow);
}
@keyframes st-cx-drop {
  from { opacity: 0; translate: 0 -10px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes st-cx-pop {
  0% { opacity: 0; scale: 0.6; }
  70% { opacity: 1; scale: 1.08; }
  100% { opacity: 1; scale: 1; }
}
@keyframes st-cx-rise {
  from { opacity: 0; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}

/* inbox: conversations arrive, then the labels stick on by themselves */
.st-list small {
  display: flex;
  align-items: center;
  gap: 5px;
}
.st-list small svg {
  flex: none;
  color: var(--st-mute-2);
}
.st-list li {
  transition: background-color 0.4s ease;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li {
  animation: st-cx-drop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li:nth-child(2) { animation-delay: 0.12s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li:nth-child(3) { animation-delay: 0.24s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list .st-pill {
  animation: st-cx-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.55s;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li:nth-child(2) .st-pill { animation-delay: 0.7s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li:nth-child(3) .st-pill { animation-delay: 0.85s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-list li:nth-child(3) {
  background: #fffbeb;
  transition-delay: 1s;
}

/* ai agent: it reads the approved sources, skips the draft, then answers */
.st-know__row {
  margin-inline: -6px;
  padding-inline: 6px;
  border-radius: 6px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
.st-know__q {
  justify-self: end;
  max-width: 80%;
  margin-top: 4px;
  padding: 7px 11px;
  border-radius: 14px 14px 4px 14px;
  background: var(--st-ink);
  color: #fff;
  font-size: 12.5px;
}
.st-know .st-bubble {
  display: grid;
}
.st-know .st-bubble > span {
  grid-area: 1 / 1;
}
.st-know__dots {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
}
.st-know__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b7fd6;
}
@keyframes st-cx-scan {
  0%, 100% { background-color: transparent; }
  30%, 60% { background-color: #eef2ff; }
}
@keyframes st-cx-think {
  0%, 99% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes st-cx-answer {
  0%, 99% { opacity: 0; }
  100% { opacity: 1; }
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__row:nth-child(1) { animation: st-cx-scan 0.6s ease 0.1s both; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__row:nth-child(2) { animation: st-cx-scan 0.6s ease 0.4s both; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__row:nth-child(3) {
  opacity: 0.4;
  transition-delay: 0.7s;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know .st-bubble {
  animation: st-cx-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__dots {
  animation: st-cx-think 0.9s linear 0.15s both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__dots i {
  animation: st-blink 0.6s infinite;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__dots i:nth-child(2) { animation-delay: 0.1s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__dots i:nth-child(3) { animation-delay: 0.2s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-know__a {
  animation: st-cx-answer 1.05s linear both;
}

/* phone: a live call, the agent's steps light up one by one */
.st-call .st-call__head {
  gap: 10px;
  padding: 2px 2px 8px;
  border: 0;
}
.st-call__head > span:nth-child(2) {
  display: grid;
  margin-right: auto;
}
.st-call__head b {
  font-weight: 600;
}
.st-call__ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e8ff;
  color: var(--st-blue);
}
.st-call__ic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--st-blue);
  opacity: 0;
}
.st-call__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.st-call__wave i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--st-blue);
}
.st-call__wave i:nth-child(2),
.st-call__wave i:nth-child(4) { height: 12px; }
.st-call__wave i:nth-child(3) { height: 16px; }
@keyframes st-cx-ring {
  from { opacity: 0.55; scale: 1; }
  to { opacity: 0; scale: 1.6; }
}
@keyframes st-cx-wave {
  from { scale: 1 0.35; }
  to { scale: 1 1; }
}
@keyframes st-cx-dot {
  from { background: var(--st-mute-2); scale: 0.6; }
  60% { scale: 1.35; }
  to { scale: 1; }
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__ic::after {
  animation: st-cx-ring 1.4s ease-out infinite;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__wave i {
  animation: st-cx-wave 0.8s ease-in-out infinite alternate;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__wave i:nth-child(2) { animation-delay: -0.3s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__wave i:nth-child(3) { animation-delay: -0.6s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__wave i:nth-child(4) { animation-delay: -0.15s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call__wave i:nth-child(5) { animation-delay: -0.45s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:not(.st-call__head) {
  animation: st-cx-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li .st-dot {
  animation: st-cx-dot 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(2),
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(2) .st-dot { animation-delay: 0.1s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(3),
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(3) .st-dot { animation-delay: 0.45s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(4),
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(4) .st-dot { animation-delay: 0.8s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-call li:nth-child(4) {
  border-color: #c7d2fe;
  background: #f5f7ff;
  transition: background-color 0.3s ease 1.1s, border-color 0.3s ease 1.1s;
}

/* campaigns: ads and WhatsApp in one list; leads tick up, the WhatsApp
   campaign goes out */
.st-camp {
  display: grid;
  gap: 4px;
  padding: 14px 16px 6px;
}
.st-camp__top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 6px;
}
.st-camp__top b {
  font-weight: 600;
}
.st-camp__top small {
  display: inline;
}
.st-camp li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f4f4f5;
}
.st-camp li > span:nth-child(2) {
  display: grid;
  min-width: 0;
  margin-right: auto;
}
.st-camp li b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-camp li small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-camp__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.st-camp__ic--fb { background: #e7f0fe; color: #1877f2; }
.st-camp__ic--wa { background: #dcfce7; color: #16a34a; }
.st-camp__ic--ig { background: #fde7f1; color: #d6297b; }
.st-camp__kpi {
  flex: none;
  display: grid;
  justify-items: end;
  text-align: right;
}
.st-camp__kpi small {
  font-size: 11px;
}
.st-camp__n {
  display: grid;
  overflow: hidden;
  height: 1.25em;
  font: 500 17px/1.25 var(--st-display) !important;
  letter-spacing: -0.02em;
}
.st-camp__n > span,
.st-camp__flip > span {
  grid-area: 1 / 1;
  justify-self: end;
  transition: opacity 0.3s ease, translate 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-camp__n > span + span {
  translate: 0 100%;
}
.st-camp__flip > span + span {
  opacity: 0;
  translate: 0 6px;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp li {
  animation: st-cx-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp li:nth-child(2) { animation-delay: 0.1s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp li:nth-child(3) { animation-delay: 0.2s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp__n > span:first-child {
  translate: 0 -100%;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp__n > span + span {
  translate: 0 0;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp li:nth-child(1) .st-camp__n > span { transition-delay: 0.6s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp li:nth-child(3) .st-camp__n > span { transition-delay: 1.1s; }
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp__flip > span:first-child {
  opacity: 0;
  translate: 0 -6px;
  transition-delay: 0.85s;
}
[data-scenes] .st-tile:is(:hover, .is-lit) .st-camp__flip > span + span {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.9s;
}

/* the stage chat plays its exchange once, when it comes into view */
@media (prefers-reduced-motion: no-preference) {
  .js .st-stage .st-widget__body > * {
    opacity: 0;
  }
  .js .st-stage.is-in .st-widget__body > * {
    animation: st-cx-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js .st-stage.is-in .st-widget__body > :nth-child(1) { animation-delay: 0.5s; }
  .js .st-stage.is-in .st-widget__body > :nth-child(2) { animation-delay: 1.4s; }
  .js .st-stage.is-in .st-widget__body > :nth-child(3) { animation-delay: 2.4s; }
  .js .st-stage.is-in .st-widget__body > :nth-child(4) { animation-delay: 3.1s; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scenes] .st-tile *,
  [data-scenes] .st-tile *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* long nowrap pills must not widen the bento column on phones */
.st-bento > .st-tile {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

/* channels (owner: "facciamo che scorrono"): every supported channel on an
   endless ribbon; the second set is a copy so the loop has no seam */
/* channels (owner: "guarda altre pagine di chatbase"): a slim band under
   the section, a strip of joined logo tiles and one line, as integration
   pages do */
.st-chb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--st-line);
}
.st-chb__row {
  display: flex;
  margin: 0;
}
.st-chb__row span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--st-line);
  background: #fff;
  transition: translate 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-chb__row span + span {
  margin-left: -1px;
}
.st-chb__row span:hover {
  translate: 0 -3px;
}
.st-chb__txt {
  margin: 0;
  font: 500 18px/1.35 var(--st-display);
  letter-spacing: -0.02em;
  color: var(--st-mute);
}
.st-chb__txt b {
  font-weight: 500;
  color: var(--st-ink);
}
@media (max-width: 760px) {
  .st-chb { margin-top: 28px; padding-top: 24px; }
  .st-chb__row span { width: 38px; height: 38px; }
  .st-chb__row span:nth-child(n + 8) { display: none; }
  .st-chb__txt { font-size: 16px; }
}

/* the customer's phone: four scenes stacked in one screen, one shown at a
   time, each as close as we can to the real app (owner: "più uguale che puoi
   al vero", the call on an iPhone) */
.st-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.st-duo__card.st-dev {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  border-radius: 22px 22px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--st-body);
}
.st-dev > .st-scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.st-dev > .st-scene.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}
.st-sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 9px 20px 5px 28px;
  font-size: 13px;
  line-height: 1;
  color: #000;
}
.st-sb b {
  font-weight: 600;
}
.st-sb span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.st-sb svg {
  fill: currentColor;
}
.st-sb--wa {
  background: #008069;
  color: #fff;
}
.st-sb--ph {
  color: #fff;
}
.st-wa__head svg {
  flex: none;
  color: #fff;
}
.st-wa__head .st-wa__back {
  margin-right: -4px;
}
.st-wa__plus {
  flex: none;
  color: #54656f;
}

/* Instagram direct message */
.st-ig {
  background: #fff;
  color: #000;
}
.st-ig__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 14px 10px 8px;
  border-bottom: 1px solid #efefef;
}
.st-ig__head svg {
  flex: none;
  color: #000;
}
.st-ig__head > span:nth-child(3) {
  flex: 1;
  display: grid;
  min-width: 0;
}
.st-ig__head b {
  font-size: 14px;
  font-weight: 600;
}
.st-ig__head small {
  font-size: 11.5px;
  color: #737373;
}
.st-ig__av,
.st-ig__mini,
.st-ml__av {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18181b;
  font-weight: 600;
  color: #fff;
}
.st-ig__av {
  width: 32px;
  height: 32px;
  font-size: 10.5px;
}
.st-ig__mini {
  width: 22px;
  height: 22px;
  font-size: 7.5px;
}
.st-ig__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
  padding: 10px 12px 6px;
}
.st-ig__day {
  align-self: center;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  color: #737373;
}
.st-ig__msg {
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  max-width: 84%;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}
.st-ig__msg > span:last-child,
.st-ig__msg--me {
  padding: 8px 12px;
  border-radius: 20px;
  background: #efefef;
}
.st-ig__msg--me {
  align-self: flex-end;
  max-width: 78%;
  background: linear-gradient(160deg, #a34cf6 0%, #6a5cff 55%, #3b82f6 100%);
  color: #fff;
}
.st-ig__seen {
  align-self: flex-end;
  margin: 0 2px 0 0;
  font-size: 11px;
  color: #737373;
}
.st-ig__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 10px 12px;
  padding: 5px 14px 5px 5px;
  border-radius: 24px;
  background: #efefef;
  color: #000;
}
.st-ig__bar > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3797f0;
  color: #fff;
}
.st-ig__bar > span {
  flex: 1;
  font-size: 13.5px;
  color: #737373;
}

/* real people on every avatar (owner: "metti persone reali") */
.st-wa__av,
.st-ig__av,
.st-ig__mini,
.st-ml__av,
.st-ph__pic {
  overflow: hidden;
}
.st-brandmark,
.st-wa__av img,
.st-ig__av img,
.st-ig__mini img,
.st-ml__av img,
.st-ph__pic img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.st-ph__pic {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
}

/* email thread */
.st-ml {
  background: #fff;
  color: #1f1f1f;
}
.st-ml__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 6px 14px 6px 8px;
  color: #444746;
}
.st-ml__bar span {
  display: flex;
  gap: 18px;
}
.st-ml__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  overflow: hidden;
  padding: 2px 16px 0;
}
.st-ml__subj {
  margin: 2px 0 6px;
  font-size: 19px;
  line-height: 1.3;
}
.st-ml__subj em {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e9eef6;
  font-size: 11px;
  font-style: normal;
  vertical-align: 3px;
  color: #444746;
}
.st-ml__msg {
  padding: 10px 0;
  border-top: 1px solid #e3e3e3;
}
.st-ml__from {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.st-ml__from img,
.st-ml__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.st-ml__av {
  background: #0b57d0;
  font-size: 11px;
}
.st-ml__from > span:nth-child(2) {
  flex: 1;
  display: grid;
}
.st-ml__from b {
  font-size: 14px;
  font-weight: 600;
}
.st-ml__from small {
  font-size: 12px;
  color: #5f6368;
}
.st-ml__txt {
  margin: 8px 0 0 44px;
  font-size: 13px;
  line-height: 1.45;
}
.st-ml__acts {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 14px 14px;
}
.st-ml__acts span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 0;
  border: 1px solid #c4c7c5;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.st-ml__fwd {
  transform: scaleX(-1);
}

/* iPhone call screen */
.st-ph {
  background: linear-gradient(180deg, #5b5b61 0%, #3a3a3f 45%, #1c1c1e 100%);
  color: #fff;
}
.st-ph__top {
  padding: 14px 16px 0;
  text-align: center;
}
.st-ph__state {
  display: grid;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.st-ph__state > span {
  grid-area: 1 / 1;
  transition: opacity 0.3s ease;
}
.st-ph__timer {
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.st-ph.is-live .st-ph__calling {
  opacity: 0;
}
.st-ph.is-live .st-ph__timer {
  opacity: 1;
}
.st-ph__name {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.st-ph__keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 12px;
  justify-items: center;
  margin: auto 0 0;
  padding: 16px 26px 22px;
  list-style: none;
}
.st-ph__keys li {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 11.5px;
}
.st-ph__keys i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.st-ph__keys svg {
  fill: currentColor;
}
.st-ph__keys .st-ph__end i {
  background: #ff3b30;
}

/* customer side / team side (owner chose the two-panel scene): the
   WhatsApp exchange plays on the left, then lands on top of the inbox */
/* owner: the blue panels read as a separate section, so the scene is now
   the bento's last, wide tile: same paper, same heading, two cards */
.st-bento > .st-duo {
  grid-column: 1 / -1;
}
.st-duo__art {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  grid-template-rows: minmax(0, 1fr);
  height: 440px;
  padding: 24px 24px 0;
  border-radius: 6px 6px 0 0;
}
.st-duo__p {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 0;
}
.st-duo__cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.st-duo__cap::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.st-duo__card {
  flex: 1;
  min-height: 0;
  width: min(100%, 400px);
  border: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  font-size: 13px;
}
.st-wa__head,
.st-ibx__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
}
/* owner: "non sembra quello vero" — the customer's side now reads as the
   real WhatsApp: green bar, beige wallpaper, green outgoing bubbles with
   time and read ticks, the message bar at the bottom */
.st-duo .st-wa {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  color: #111b21;
}
.st-wa__head {
  gap: 8px;
  padding: 10px 14px 10px 8px;
  background: #008069;
  color: #fff;
}
.st-wa__back {
  font-size: 22px;
  line-height: 1;
  opacity: 0.9;
}
.st-wa__head > span:nth-child(3) {
  display: grid;
  flex: 1;
}
.st-wa__head b {
  font-weight: 500;
  font-size: 14px;
}
.st-wa__head small {
  display: grid;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}
.st-wa__head small > span {
  grid-area: 1 / 1;
}
.st-wa__ty {
  opacity: 0;
}
.st-wa__call {
  color: #fff;
}
.st-wa__av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d9fdd3;
  font-size: 11px;
  font-weight: 600;
  color: #008069;
}
.st-wa__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
  padding: 12px 12px 8px;
  background:
    radial-gradient(circle at 12px 12px, rgba(120, 100, 70, 0.09) 1.5px, transparent 2px) 0 0 / 28px 28px,
    radial-gradient(circle at 26px 22px, rgba(120, 100, 70, 0.06) 3px, transparent 3.5px) 0 0 / 40px 40px,
    #efeae2;
}
.st-wa__day {
  align-self: center;
  margin: 0 0 4px;
  padding: 3px 10px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-size: 11px;
  color: #54656f;
}
.st-duo .st-wa .st-bubble {
  position: relative;
  max-width: 80%;
  margin: 0;
  padding: 6px 8px 7px 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  color: #111b21;
  font-size: 13px;
  line-height: 1.4;
}
.st-duo .st-wa .st-bubble--ai {
  align-self: flex-start;
  border-top-left-radius: 0;
}
.st-duo .st-wa .st-bubble--me {
  align-self: flex-end;
  margin: 0;
  border-top-right-radius: 0;
  background: #d9fdd3;
}
/* the little tails at the top corner of each bubble */
.st-duo .st-wa .st-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 10px;
  background: inherit;
}
.st-duo .st-wa .st-bubble--ai::before {
  left: -7px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.st-duo .st-wa .st-bubble--me::before {
  right: -7px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.st-wa__t {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 6px 0 -4px 10px;
  font-size: 10.5px;
  line-height: 1;
  color: #667781;
}
.st-wa__tick {
  fill: none;
  stroke: #53bdeb;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-wa__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 8px 10px;
  background: #efeae2;
}
.st-wa__bar > span {
  flex: 1;
  padding: 9px 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-size: 13px;
  color: #8696a0;
}
.st-wa__bar > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00a884;
}
.st-wa__bar svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}
/* owner: "migliora lato inbox" — modelled on the app's conversation list:
   search, All / Assigned to me / Unassigned, avatars with the channel badge,
   unread dots, status labels and who handles each conversation */
.st-ibx__head {
  justify-content: space-between;
  padding: 12px 14px 10px;
}
.st-ibx__head b {
  font-size: 14px;
  font-weight: 600;
}
.st-ibx__search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 46%;
  padding: 5px 10px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  font-size: 12px;
  color: #a1a1aa;
}
.st-ibx__search svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.st-ibx__tabs {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--st-line);
  font-size: 12px;
  color: var(--st-mute);
  white-space: nowrap;
}
.st-ibx__tabs > span {
  padding: 4px 9px;
  border-radius: 7px;
}
.st-ibx__tabs > .is-on {
  background: #f4f4f5;
  color: var(--st-ink);
  font-weight: 500;
}
.st-ibx__n {
  display: inline;
  margin-left: 3px;
  font-weight: 500;
  color: var(--st-mute);
}
.st-ibx ul {
  margin: 0;
  padding: 6px 6px 30px;
  list-style: none;
}
.st-ibx li {
  position: relative;
  background: #fff;
}
.st-ibx li > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  transition: background-color 0.4s ease;
}
.st-ibx li.is-new > div {
  background: #f5f7ff;
}
.st-ibx__av {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.st-ibx__av > img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.st-ibx__av > i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--st-line);
  border-radius: 50%;
  background: #fff;
  color: var(--st-ink-2);
}
.st-ibx__av--o { background: #ffedd5; color: #c2410c; }
.st-ibx__av--b { background: #e0e7ff; color: #3730a3; }
.st-ibx__av--g { background: #dcfce7; color: #15803d; }
.st-ibx__av--p { background: #f3e8ff; color: #7e22ce; }
.st-ibx__av--y { background: #fef9c3; color: #a16207; }
.st-ibx__txt {
  flex: 1;
  display: grid;
  gap: 1px;
  min-width: 0;
}
.st-ibx__txt b {
  font-size: 13px;
  font-weight: 500;
}
.st-ibx__txt--unread b {
  font-weight: 600;
}
/* the whole message shows, on up to two lines */
.st-ibx__txt small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.4;
  color: var(--st-mute);
}
.st-ibx li.is-new b {
  font-weight: 600;
}
.st-ibx li.is-new small {
  color: var(--st-ink-2);
}
.st-ibx li:not(.is-fresh) .st-ibx__s1,
.st-ibx li:not(.is-fresh) .st-ibx__tags,
.st-ibx li.is-fresh .st-ibx__s0,
.st-ibx li:not(.is-new) .st-ibx__dot {
  display: none;
}
.st-ibx__tags {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.st-ibx__tag {
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
}
.st-ibx__tag--ok { background: #dcfce7; color: #166534; }
.st-ibx__tag--warn { background: #fef3c7; color: #92400e; }
.st-ibx__meta {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 6px;
}
.st-ibx__time {
  display: flex;
  align-items: center;
  gap: 5px;
}
.st-ibx__time small {
  font-size: 11px;
  color: var(--st-mute);
}
.st-ibx__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-blue);
}
.st-ibx__who {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.st-ibx__who--ai { background: #eef2ff; color: var(--st-blue); }
.st-ibx__who--ak { background: #fee2e2; color: #b91c1c; }
/* the customer's side cycles WhatsApp, Instagram, email and phone (studio.js
   adds .is-anim and plays one scene at a time); without it every scene's
   last state shows */
@keyframes st-wa-typing {
  0%, 22%, 41%, 79%, 100% { opacity: 0; }
  23%, 40%, 80%, 96% { opacity: 1; }
}
@keyframes st-wa-online {
  0%, 22%, 41%, 79%, 100% { opacity: 1; }
  23%, 40%, 80%, 96% { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-duo].is-anim .st-scene__msgs > * {
    opacity: 0;
  }
  .js [data-duo].is-anim .st-scene.is-play .st-scene__msgs > * {
    animation: st-cx-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
  }
  .js [data-duo].is-anim .st-wa.is-play .st-wa__ty { animation: st-wa-typing 3s linear both; }
  .js [data-duo].is-anim .st-wa.is-play .st-wa__on { animation: st-wa-online 3s linear both; }
  /* the tags appear once the conversation is over */
  .js [data-duo].is-anim .st-ibx li:not(.is-done) .st-ibx__tags { display: none; }
  .js [data-duo].is-anim .st-ibx li.is-done .st-ibx__tags { animation: st-cx-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@media (max-width: 760px) {
  .st-duo__art { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 28px; height: auto; padding: 20px 16px 0; }
  .st-duo__p { height: auto; }
  .st-duo__p:first-child .st-duo__card { border-radius: 22px; }
  .st-ibx__tabs { padding-inline: 6px; }
  .st-ibx__tabs > span { padding-inline: 6px; }
  .st-ml__acts { gap: 6px; padding-inline: 10px; }
  .st-ml__acts span { gap: 3px; font-size: 11px; }
}
@media (max-width: 380px) {
  .st-ibx__tabs { font-size: 11px; }
}

/* Coloured panels with a dithered photo (studio.js); the dot grid and the
   grain stay only as the no-JS fallback */
.st-dither {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  image-rendering: pixelated;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.js [data-dither] {
  isolation: isolate;
}
.is-dithered > .st-dither {
  opacity: 1;
}
.js [data-dither]::before,
.st-panel.is-dithered::after {
  display: none;
}
.js .st-pt__art[data-dither] {
  background-image: none;
}

/* ── a day at Acme Inc.: the timeline drives the card on the photo ──────── */
.st-day__line li {
  display: block;
  padding: 0;
  transition: color 0.3s ease;
}
.st-day__line button {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  width: 100%;
  padding: 10px 0 10px 20px;
  cursor: pointer;
}
.st-day__line button:focus-visible {
  outline: 2px solid var(--st-ink);
  outline-offset: 2px;
  border-radius: 4px;
}
.st-day__line li::before {
  transition: scale 0.3s ease, background-color 0.3s ease;
}
.st-day__line time {
  transition: color 0.3s ease;
}
.js .st-day.is-anim .st-day__line li:not(.is-on) {
  color: var(--st-mute-2);
}
.js .st-day.is-anim .st-day__line li:not(.is-on) time {
  color: var(--st-mute);
}
.js .st-day.is-anim .st-day__line li:not(.is-on)::before {
  background: var(--st-mute-2);
}
.js .st-day.is-anim .st-day__line li:not(.is-on):hover {
  color: var(--st-ink-2);
}
.js .st-day.is-anim .st-day__line li.is-on::before {
  scale: 1.5;
}

.st-day__cards {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 28px;
  display: grid;
  width: min(310px, calc(100% - 40px));
  font-size: 13px;
  line-height: 1.35;
  color: var(--st-ink);
}
.st-day__card {
  grid-area: 1 / 1;
  align-self: end;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgba(9, 9, 11, 0.5);
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
  transition: opacity 0.4s ease, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.4s;
}
.st-day__card.is-on {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.4s ease 0.1s, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, visibility 0s;
}
.st-day__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.st-day__head b {
  font-weight: 600;
}
.st-day__head small,
.st-day__steps small {
  margin-left: auto;
  font-size: 11px;
  color: var(--st-mute-2);
}
.st-day__src {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eef2ff;
  color: var(--st-blue);
}
.st-day__src--meta {
  background: #e8f0fe;
}
.st-day__lead {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: #f4f4f5;
}
.st-day__lead b,
.st-day__quotes b {
  font-weight: 600;
}
.st-day__lead span {
  color: var(--st-ink-2);
}
.st-day__steps {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.st-day__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--st-ink-2);
}
.st-day__ava {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font: 600 7px/1 var(--st-body);
}
.st-day__ask {
  width: fit-content;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--st-ink);
  color: #fff;
}
.st-day__reply {
  margin-top: 10px;
  color: var(--st-ink-2);
}
.st-day__by {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--st-blue);
}
.st-day__list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.st-day__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f4f4f5;
}
.st-day__list b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: var(--st-ink);
}
.st-day__acts {
  border: 1px solid var(--st-line);
  border-radius: 8px;
}
.st-day__acts li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
}
.st-day__acts li + li {
  border-top: 1px solid var(--st-line);
}
.st-day__acts span {
  color: var(--st-mute);
}
.st-day__acts b {
  font-weight: 500;
  text-align: right;
}
.st-day__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.st-day__btns > span {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 8px;
  font-weight: 500;
}
.st-day__no {
  border: 1px solid var(--st-line);
  color: var(--st-ink-2);
}
.st-day__yes {
  background: var(--st-ink);
  color: #fff;
  transition: background-color 0.3s ease, scale 0.15s ease;
}
.st-day__yes em {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  transition: opacity 0.25s ease;
}
.st-day__yes em + em,
.st-day__card.is-done .st-day__yes em:first-child {
  opacity: 0;
}
.st-day__card.is-done .st-day__yes em + em {
  opacity: 1;
}
.st-day__card.is-done .st-day__yes {
  background: var(--st-green);
}
.st-day__card.is-press .st-day__yes {
  scale: 0.96;
}
.st-day__quotes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.st-day__quotes li + li {
  border-top: 1px solid var(--st-line);
}
.st-day__quotes li:last-child {
  padding-bottom: 0;
}
.st-day__quotes span {
  display: grid;
}
.st-day__quotes small {
  font-size: 11px;
  color: var(--st-mute-2);
}
.st-day__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: var(--st-ink-2);
  white-space: nowrap;
}
.st-day__tag--ok {
  background: #dcfce7;
  color: #166534;
}
/* each card plays out as it appears */
@media (prefers-reduced-motion: no-preference) {
  .js .st-day.is-anim .st-day__card.is-on :is(.st-day__steps li, .st-day__reply, .st-day__tag--ok) {
    animation: st-cx-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js .st-day.is-anim .st-day__card.is-on .st-day__steps li:first-child { animation-delay: 0.7s; }
  .js .st-day.is-anim .st-day__card.is-on .st-day__steps li:last-child { animation-delay: 1.4s; }
  .js .st-day.is-anim .st-day__card.is-on .st-day__reply { animation-delay: 0.9s; }
  .js .st-day.is-anim .st-day__card.is-on li:first-child .st-day__tag--ok { animation-delay: 0.7s; }
  .js .st-day.is-anim .st-day__card.is-on li:nth-child(2) .st-day__tag--ok { animation-delay: 1.2s; }
}
@media (max-width: 760px) {
  .st-day__cards {
    left: 12px;
    bottom: 20px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 760px) {
  .st-logos__head { padding: 48px 20px 32px; }
}

/* ── smart meetings (owner, 30 Nov: "fanne una solo per le smart call",
   like chatbase's product suite, cues from Attio's call intelligence) ─────
   A grid of single-feature tiles on plain paper: the call and the notes on
   top, then what happens after. Scenes step through data-loop (studio.js). */
.st-mb {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.st-mb > .st-tile {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}
.st-mb__hero {
  grid-column: span 6;
}
.st-mb__half {
  grid-column: span 3;
}
.st-mb__third {
  grid-column: span 2;
}
.st-mb .st-tile__art {
  min-height: 290px;
  padding: 0;
}
.st-mb__hero .st-tile__art {
  min-height: 400px;
}
.st-mb .st-card {
  font-size: 12.5px;
}
.st-mb .st-card p,
.st-mb .st-card ul,
.st-mb .st-card ol,
.st-mb .st-card dl,
.st-mb .st-card dd {
  margin: 0;
}

/* the generic scene steps: hidden parts fade out and wait a few pixels low */
.js [data-loop] :is([data-at], [data-until]) {
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    translate 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.js [data-loop] .is-off {
  opacity: 0;
  translate: 0 6px;
  pointer-events: none;
  transition-duration: 0.25s;
  transition-delay: 0s;
}
html:not(.js) [data-loop] [data-until] {
  display: none;
}
.st-mb__swap {
  display: grid;
  align-items: start;
}
.st-mb__swap > * {
  grid-area: 1 / 1;
}
.st-mb__chead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--st-line);
}
.st-mb__chead b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
}
.st-mb__chead b svg {
  color: var(--st-green);
}
.st-mb__chead small {
  font-size: 12px;
}
.st-mb__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--st-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  transition: scale 0.15s ease, background-color 0.15s ease;
}
.st-mb__btn.is-on {
  scale: 0.92;
  background: var(--st-ink-2);
}
.st-mb__ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  background: #e8f4ed;
  color: var(--st-green);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* 1 · the call (left) and its notes (right) */
.st-mb__win {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 940px);
  min-height: 400px;
  padding: 10px 10px 0;
}
.st-tile__art > .st-mb__win {
  width: min(100%, 940px);
}
.st-mb__call {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #0c0c0e;
  color: #fff;
  font-size: 12px;
}
.st-mb__vid {
  position: absolute;
  inset: 0 0 56px;
  width: 100%;
  height: calc(100% - 56px);
  object-fit: cover;
  background: #2a2522;
}
.st-mb__top {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.st-mb__on,
.st-mb__name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(8px);
  text-shadow: none;
}
.st-mb__on i,
.st-mb__rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}
.st-mb__name {
  position: absolute;
  left: 12px;
  bottom: 68px;
}
.st-mb__self {
  position: absolute;
  right: 12px;
  bottom: 68px;
  width: 88px;
  height: 112px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.st-mb__self img,
.st-mb__self video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2a2522;
}
.st-mb__self span {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(12, 12, 14, 0.6);
  font-size: 11px;
}
.st-mb__bar {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
}
.st-mb__bar i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.st-mb__bar .st-mb__leave {
  width: 52px;
  border-radius: 99px;
  background: #e5484d;
}
.st-mb__end {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(6px);
  text-align: center;
}
.st-mb__end span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--st-green);
}
.st-mb__end b {
  font: 500 17px/1.2 var(--st-display);
  letter-spacing: -0.02em;
}
.st-mb__end small {
  color: rgba(255, 255, 255, 0.65);
}
.st-mb__notes {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 6px 8px 16px 4px;
}
.st-mb__nhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--st-line);
}
.st-mb__nhead b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.st-mb__tpl {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
}
.st-mb__state {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.st-mb__state b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.st-mb__state span {
  color: var(--st-mute);
}
.st-mb__rec {
  flex: none;
  margin: 5px 3px 0;
}
.st-mb__spin {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 2px solid var(--st-line);
  border-top-color: var(--st-ink);
  border-radius: 50%;
}
.st-mb__skel {
  display: grid;
  gap: 10px;
  margin-top: 64px;
}
.st-mb__skel i {
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f1f1f3 30%, #fafafa 50%, #f1f1f3 70%) 0 0 / 300% 100%;
}
.st-mb__skel i:nth-child(1) { width: 92%; }
.st-mb__skel i:nth-child(2) { width: 76%; }
.st-mb__skel i:nth-child(3) { width: 86%; }
.st-mb__skel i:nth-child(4) { width: 58%; }
.st-mb__lbl {
  margin-bottom: 6px !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--st-mute);
}
.st-mb__sum {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--st-ink-2);
}
.st-mb__sum b {
  padding: 0 3px;
  border-radius: 4px;
  background: #e8f4ed;
  color: var(--st-green-deep);
  font-weight: 500;
}
.st-mb__secs {
  display: grid;
  gap: 9px;
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--st-line);
}
.st-mb__secs div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}
.st-mb__secs dt {
  color: var(--st-mute);
}
.st-mb__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px !important;
}
.st-mb__counts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  background: #f4f4f5;
  font-size: 12px;
  font-weight: 500;
}
.st-mb__counts svg {
  color: var(--st-green);
}
.st-mb__linked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px !important;
  color: var(--st-mute);
}
.st-mb__linked span {
  margin-right: 2px;
}
.st-mb__linked em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px 0 4px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  color: var(--st-ink);
  font-style: normal;
}
.st-mb__linked em:last-child {
  padding-left: 8px;
}
.st-mb__linked i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8f4ed;
  color: var(--st-green);
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}

/* 2 · next steps */
.st-tile__art > .st-mb__steps,
.st-tile__art > .st-mb__crm {
  width: min(100%, 430px);
}
.st-mb__steps ul,
.st-mb__crm ul {
  padding: 4px 8px;
  list-style: none;
}
.st-mb__steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
}
.st-mb__steps li + li,
.st-mb__crm li + li {
  border-top: 1px solid #f1f1f3;
}
.st-mb__steps li b {
  display: block;
  font-weight: 500;
}
.st-mb__ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f4f4f5;
  color: var(--st-ink-2);
}
.st-mb__steps em,
.st-mb__crm em {
  justify-items: end;
  font-style: normal;
}
.st-mb__steps em > span:first-child,
.st-mb__crm em > span:first-child {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.st-mb__foot {
  padding: 4px 20px 16px;
  color: var(--st-mute);
}
.st-mb__foot b {
  font-weight: 500;
  color: var(--st-ink);
}

/* 3 · CRM updates */
.st-mb__crm li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 6px;
}
.st-mb__crm li > span:first-child {
  color: var(--st-mute);
}
.st-mb__chg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.st-mb__chg s,
.st-mb__chg span,
.st-mb__chg i {
  color: var(--st-mute-2);
  font-style: normal;
}
.st-mb__chg b {
  font-weight: 500;
}
.st-mb__deal {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin: 4px 14px 16px;
  padding: 10px 12px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  background: var(--st-paper);
}
.st-mb__ava {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8f4ed;
  color: var(--st-green);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}
.st-mb__deal b {
  display: block;
  font-weight: 500;
}
.st-mb__stage,
.st-mb__val {
  justify-items: end;
}
.st-mb__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--st-line);
  border-radius: 99px;
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
}
.st-mb__pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--st-mute-2);
}
.st-mb__pill--on i {
  background: var(--st-warn);
}
.st-mb__val b {
  min-width: 64px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
.st-mb__val b:first-child {
  font-weight: 400;
  color: var(--st-mute-2);
}

/* 4 · ask about the call */
.st-tile__art > .st-mb__ask,
.st-tile__art > .st-mb__tpls,
.st-tile__art > .st-mb__mail {
  width: min(100%, 330px);
}
.st-mb__ask,
.st-mb__tpls,
.st-mb__mail {
  display: flex;
  flex-direction: column;
  min-height: 316px;
}
.st-mb__askbody,
.st-mb__tpls .st-mb__heads,
.st-mb__body {
  flex: 1;
}
.st-mb__askbody {
  padding: 14px;
}
.st-mb__chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  list-style: none;
  padding: 0;
}
.st-mb__chips li {
  padding: 6px 11px;
  border: 1px solid var(--st-line);
  border-radius: 99px;
  background: #fff;
  color: var(--st-ink-2);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, scale 0.15s ease;
}
.st-mb__chips li.is-on {
  scale: 0.96;
  border-color: var(--st-ink);
  background: var(--st-ink);
  color: #fff;
}
.st-mb__chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-mb__me {
  align-self: flex-end;
  max-width: 88%;
  padding: 7px 11px;
  border-radius: 12px 12px 4px 12px;
  background: var(--st-ink);
  color: #fff;
}
.st-mb__dots {
  display: inline-flex;
  justify-self: start;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f4f4f5;
}
.st-mb__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--st-mute-2);
}
.st-mb__ans {
  justify-self: start;
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: #f4f4f5;
  color: var(--st-ink-2);
}
.st-mb__ans ol {
  margin-top: 3px !important;
  padding-left: 17px;
  list-style: decimal;
}
.st-mb__input {
  display: flex;
  align-items: center;
  height: 36px;
  margin: 0 12px 14px !important;
  padding: 0 12px;
  border: 1px solid var(--st-line);
  border-radius: 9px;
  color: var(--st-mute-2);
}

/* 5 · notes template */
.st-mb__menu {
  display: grid;
  gap: 2px;
  padding: 8px !important;
  list-style: none;
  border-bottom: 1px solid var(--st-line);
}
.st-mb__menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--st-mute);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.st-mb__menu svg {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.st-mb__menu li.is-on {
  background: #f4f4f5;
  color: var(--st-ink);
  font-weight: 500;
}
.st-mb__menu li.is-on svg {
  opacity: 1;
  color: var(--st-green);
}
.st-mb__heads {
  padding: 14px 14px 16px;
}
.st-mb__heads ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}
.st-mb__heads li {
  font-weight: 500;
}
.st-mb__heads li::after {
  content: "";
  display: block;
  width: 82%;
  height: 7px;
  margin-top: 5px;
  border-radius: 4px;
  background: #f1f1f3;
}
.st-mb__heads li:nth-child(2n)::after {
  width: 64%;
}

/* 6 · recap email */
.st-mb__field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px;
  border-bottom: 1px solid #f1f1f3;
}
.st-mb__field span {
  width: 50px;
  flex: none;
  color: var(--st-mute);
}
.st-mb__field em {
  padding: 2px 8px;
  border-radius: 99px;
  background: #f4f4f5;
  font-style: normal;
}
.st-mb__body {
  display: grid;
  gap: 6px;
  padding: 12px 14px 4px;
  color: var(--st-ink-2);
}
.st-mb__body ul {
  padding-left: 16px;
  list-style: disc;
}
.st-mb__send {
  display: flex;
  justify-content: flex-end;
  padding: 8px 14px 14px;
}
.st-mb__send .st-mb__swap {
  justify-items: end;
}

/* privacy, as the app states it */
.st-mb__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--st-line);
  list-style: none;
}
.st-mb__trust li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.st-mb__trust svg {
  flex: none;
  margin-top: 1px;
  color: var(--st-green);
}
.st-mb__trust p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--st-mute);
}
.st-mb__trust b {
  font-weight: 500;
  color: var(--st-ink);
}

@keyframes st-mb-pulse {
  50% { opacity: 0.35; }
}
@keyframes st-mb-spin {
  to { rotate: 1turn; }
}
@keyframes st-mb-shimmer {
  to { background-position: -150% 0; }
}
@keyframes st-mb-dot {
  0%, 60%, 100% { translate: 0 0; opacity: 0.5; }
  30% { translate: 0 -3px; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .st-mb__on i,
  .st-mb__rec {
    animation: st-mb-pulse 1.4s ease-in-out infinite;
  }
  .st-mb__spin {
    animation: st-mb-spin 0.8s linear infinite;
  }
  :is([data-step="1"], [data-step="2"]) .st-mb__skel i {
    animation: st-mb-shimmer 1.4s linear infinite;
  }
  .st-mb__dots i {
    animation: st-mb-dot 1s ease-in-out infinite;
  }
  .st-mb__dots i:nth-child(2) { animation-delay: 0.15s; }
  .st-mb__dots i:nth-child(3) { animation-delay: 0.3s; }
}

@media (max-width: 1100px) {
  .st-mb {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-mb__hero,
  .st-mb__third:last-child {
    grid-column: 1 / -1;
  }
  .st-mb__half,
  .st-mb__third {
    grid-column: span 1;
  }
}
@media (max-width: 760px) {
  .st-mb {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-mb > .st-tile {
    grid-column: 1 / -1;
    padding: 22px 16px 0;
  }
  .st-mb .st-tile__art,
  .st-mb__hero .st-tile__art {
    min-height: 0;
  }
  .st-mb__win {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
  }
  .st-mb__call {
    height: 250px;
    border-radius: 8px;
  }
  .st-mb__self {
    width: 70px;
    height: 90px;
  }
  .st-mb__notes {
    padding: 0 6px 16px;
  }
  .st-mb__secs div {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .st-mb__steps li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .st-mb__steps .st-mb__ico {
    display: none;
  }
  .st-mb__crm li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
    padding: 8px 6px;
  }
  .st-mb__crm li > span:first-child {
    font-size: 11.5px;
  }
  .st-mb__crm li > em {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .st-mb__deal {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    row-gap: 4px;
  }
  .st-mb__deal > :is(i, p) {
    grid-row: 1 / span 2;
  }
  .st-mb__val {
    grid-column: 3;
  }
  .st-mb__ask,
  .st-mb__tpls,
  .st-mb__mail {
    min-height: 0;
  }
  .st-mb__trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
  }
}

/* ── your team (owner, 1 Dec): after smart meetings, three columns like the
   pillars near the top (art, name, grey line, chip), with chat, calendar and
   tasks. No colour behind ("senza verde"). The owner found the first try,
   the same tilted card and app box three times, flat ("tutti e 3 uguali"):
   each piece now has its own shape, drawn straight on the page and fading
   into it at the edges, like chatbase.co's product cards ("come sfuma").
   The columns are split by thin lines, as there. Each piece plays a small
   scene through data-loop (studio.js). ──────────────────────────────── */
.st-tw {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}
.st-tw__item {
  --p: var(--st-green);
  display: grid;
  align-content: start;
  min-width: 0;
  padding-inline: 28px;
}
.st-tw__item:first-of-type {
  padding-left: 0;
}
.st-tw__item:last-of-type {
  padding-right: 0;
}
.st-tw__item + .st-tw__item {
  border-left: 1px solid var(--st-line);
}
.st-tw__item h3 {
  margin-top: 26px;
  font: 500 22px/1.2 var(--st-display);
  letter-spacing: -0.03em;
}
.st-tw__item > p {
  max-width: 360px;
  margin-top: 8px;
  color: var(--st-mute);
  font-size: 15px;
}
.st-tw__art {
  position: relative;
  height: 340px;
  overflow: hidden;
  color: var(--st-ink);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.st-tw__art p {
  margin: 0;
}
.st-tw__art em {
  font-style: normal;
}

/* people */
.st-tw__ava {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 600;
}
.st-tw__ava--g { background: #dcfce7; color: #15803d; }
.st-tw__ava--m { background: #e0e7ff; color: #3730a3; }
.st-tw__ava--e { background: #fef3c7; color: #92400e; }

/* parts that take turns: stacked in one cell */
.st-tw__swap {
  display: grid;
}
.st-tw__swap > * {
  grid-area: 1 / 1;
}
/* a card that joins or leaves: its slot opens or closes, so the cards
   below move */
.st-tw__slot {
  display: grid;
  grid-template-rows: 1fr;
}
.st-tw__slot > div {
  min-height: 0;
}
.js [data-loop] .st-tw__slot {
  transition:
    opacity 0.35s ease,
    translate 0.35s ease,
    grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-loop] .st-tw__slot.is-off {
  grid-template-rows: 0fr;
  margin-bottom: -8px;
  translate: 0 0;
}
.js [data-loop] .st-tw__slot > div {
  overflow: hidden;
}

/* 1 · Chat: no window, the conversation itself; older messages fade out
   under the channel name, the photo is the picture */
.st-tw__chan {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 7px 0 13px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px -16px rgba(9, 9, 11, 0.4);
  font-size: 12.5px;
  white-space: nowrap;
  translate: -50% 0;
}
.st-tw__chan > svg {
  color: var(--st-mute);
}
.st-tw__chan b {
  font-weight: 600;
}
.st-tw__stack {
  display: flex;
  margin-left: 4px;
}
.st-tw__stack .st-tw__ava + .st-tw__ava {
  margin-left: -4px;
  box-shadow: 0 0 0 2px #fff;
}
.st-tw__feed {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 13px;
  padding: 0 2px 16px;
  mask-image: linear-gradient(transparent 42px, #000 110px, #000 calc(100% - 12px), transparent);
}
.st-tw__msg {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
.st-tw__msg > .st-tw__ava,
.st-tw__pic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 9.5px;
  object-fit: cover;
}
.st-tw__msg b {
  font-weight: 600;
}
.st-tw__msg small {
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--st-mute);
}
.st-tw__msg p + p {
  margin-top: 2px;
}
.st-tw__msg mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #e9edfb;
  color: var(--st-blue);
}
.st-tw__guest {
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 99px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 500;
}
.st-tw__photo {
  position: relative;
  width: min(100%, 212px);
  margin-top: 8px;
  padding-bottom: 12px;
}
.st-tw__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
  background: #e4e4e7;
  box-shadow: 0 16px 30px -20px rgba(9, 9, 11, 0.55);
}
.st-tw__photo .st-tw__reacts {
  position: absolute;
  left: 8px;
  bottom: 0;
  display: flex;
  gap: 4px;
}
.st-tw__react {
  padding: 2px 8px;
  border: 1px solid var(--st-line);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 6px 12px -8px rgba(9, 9, 11, 0.35);
  font-size: 11px;
}
.st-tw__react--me {
  border-color: #c7d2fe;
  background: #eef2ff;
}
.st-tw__typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 0 0 38px;
  font-size: 11px;
  color: var(--st-mute);
}
.st-tw__typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--st-mute-2);
}
.st-tw__typing i:last-of-type {
  margin-right: 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .st-tw__typing i {
    animation: st-mb-dot 1s ease-in-out infinite;
  }
  .st-tw__typing i:nth-child(2) { animation-delay: 0.15s; }
  .st-tw__typing i:nth-child(3) { animation-delay: 0.3s; }
}

/* 2 · Calendar: the team's day, one column per person, running off to the
   right and the bottom */
.st-tw__art--cal {
  mask-image:
    linear-gradient(to bottom, #000 66%, transparent),
    linear-gradient(to right, #000 88%, transparent);
  mask-composite: intersect;
}
.st-tw__date,
.st-tw__proj {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  white-space: nowrap;
}
.st-tw__date b,
.st-tw__proj b {
  font: 500 19px/1 var(--st-display);
  letter-spacing: -0.025em;
}
.st-tw__date span {
  padding: 2px 8px;
  border-radius: 99px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 500;
}
.st-tw__cal {
  --hh: 25px;
  --g: 34px;
  border-top: 1px solid var(--st-line);
}
.st-tw__who,
.st-tw__hours {
  display: grid;
  grid-template-columns: var(--g) repeat(3, minmax(0, 1fr));
}
.st-tw__who {
  height: 38px;
  align-items: center;
  border-bottom: 1px solid var(--st-line);
}
.st-tw__who span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 7px;
  font-size: 11.5px;
  font-weight: 500;
}
.st-tw__hours {
  position: relative;
  height: calc(var(--hh) * 10);
}
.st-tw__h {
  display: grid;
  grid-auto-rows: calc(var(--hh) * 2);
  font-size: 10.5px;
  color: var(--st-mute);
}
.st-tw__h span {
  padding-top: 3px;
}
.st-tw__col {
  position: relative;
  border-left: 1px solid var(--st-line);
  background: repeating-linear-gradient(to bottom, var(--st-line) 0 1px, transparent 1px calc(var(--hh) * 2));
}
.st-tw__ev {
  position: absolute;
  top: calc(var(--s) * var(--hh) + 2px);
  left: 3px;
  right: 4px;
  display: grid;
  align-content: start;
  height: calc((var(--e) - var(--s)) * var(--hh) - 3px);
  overflow: hidden;
  padding: 4px 6px;
  border-left: 3px solid;
  border-radius: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.st-tw__ev b {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.st-tw__ev--g { border-color: var(--st-green); background: #e8f4ed; color: #14532d; }
.st-tw__ev--o { border-color: var(--st-orange); background: #fdeee6; color: #7c2d12; }
.st-tw__ev--b { border-color: var(--st-blue); background: #e9edfb; color: #1e3a8a; }
.st-tw__ev--busy {
  border-color: var(--st-line-2);
  background: repeating-linear-gradient(135deg, #f4f4f5 0 5px, #ececee 5px 10px);
  color: var(--st-mute);
}
.st-tw__ev--new {
  z-index: 1;
  box-shadow: 0 12px 24px -14px rgba(30, 58, 138, 0.6);
}
.js [data-loop] .st-tw__ev--new {
  transition:
    opacity 0.4s ease,
    scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.js [data-loop] .st-tw__ev--new.is-off {
  scale: 0.85;
  translate: 0 0;
}
.st-tw__now {
  position: absolute;
  z-index: 2;
  top: calc(var(--t) * var(--hh));
  left: calc(var(--g) - 4px);
  right: 0;
  height: 2px;
  background: #ef4444;
}
.st-tw__now::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

/* 3 · Tasks: the job's board; the card that is finished moves to Done */
.st-tw__art--tasks {
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.st-tw__proj > svg {
  color: var(--st-green);
}
.st-tw__proj span {
  padding: 2px 8px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  background: #fff;
  color: var(--st-ink-2);
  font-size: 11px;
  font-weight: 500;
}
.st-tw__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  margin-top: 8px;
}
.st-tw__lst {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 11px;
  background: #f0f0f2;
}
.st-tw__lh {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 3px;
  font-size: 11.5px;
  font-weight: 600;
}
.st-tw__lh > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-mute-2);
}
.st-tw__lst--doing .st-tw__lh > i { background: #f59e0b; }
.st-tw__lst--done .st-tw__lh > i { background: var(--st-green); }
.st-tw__lh em {
  margin-left: auto;
  font-weight: 500;
  color: var(--st-mute);
}
.st-tw__tk {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.st-tw__tk b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  line-height: 1.3;
}
.st-tw__tk p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--st-mute);
}
.st-tw__tk p span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.st-tw__tk p .st-tw__ava {
  margin-left: auto;
}
.st-tw__tk.is-done b {
  color: var(--st-ink-2);
}
.st-tw__lst--done .st-tw__slot .st-tw__tk {
  border-color: color-mix(in srgb, var(--st-green) 45%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-green) 14%, transparent);
}
.st-tw__ok {
  display: grid;
  flex: none;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--st-green);
  color: #fff;
}
.st-tw__bar {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #ebebee;
}
.st-tw__bar i {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--st-green);
}
.st-tw__soon {
  color: #c2410c;
}

/* tablet: one tool per row, the picture on the left and its words beside it */
@media (max-width: 1100px) and (min-width: 761px) {
  .st-tw {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-tw__item {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 40px;
    padding: 32px 0;
  }
  .st-tw__item:first-of-type {
    padding-top: 0;
  }
  .st-tw__item:last-of-type {
    padding-bottom: 0;
  }
  .st-tw__item + .st-tw__item {
    border-left: 0;
    border-top: 1px solid var(--st-line);
  }
  .st-tw__art {
    grid-column: 1;
    grid-row: 1 / -1;
  }
  .st-tw__item h3 {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
  .st-tw__item > p {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 760px) {
  .st-tw {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }
  .st-tw__item,
  .st-tw__item:first-of-type,
  .st-tw__item:last-of-type {
    padding: 32px 0;
  }
  .st-tw__item:first-of-type {
    padding-top: 0;
  }
  .st-tw__item:last-of-type {
    padding-bottom: 0;
  }
  .st-tw__item + .st-tw__item {
    border-left: 0;
    border-top: 1px solid var(--st-line);
  }
  .st-tw__art {
    height: 330px;
  }
}

/* ── your AI agents in the dark band (owner, 1 Dec: "nera unita a quella
   sopra"): the section right after the dark one joins it, with no gap or
   rule between them; its bento turns dark, the app pieces stay light ──── */
.st-dark + .st-dark {
  padding-top: 0;
}
.st-dark + .st-dark::before,
.st-dark + .st-dark::after {
  display: none;
}
.st-dark + .st-dark > .st-pad {
  padding-top: 32px;
}
.st-dark .st-kicker {
  color: #8b8b94;
}
.st-dark .st-bento {
  border-color: #222228;
  background: #222228;
}
.st-dark .st-tile {
  background: #0a0a0c;
}
.st-dark .st-tile h3 {
  color: #8b8b94;
}
.st-dark .st-tile h3 b {
  color: #fff;
}
/* owner: "white così ci stanno male sulla sezione nera": the app pieces
   turn dark too, like the app in dark mode, with a soft light behind each */
.st-dark .st-tile__art {
  background: radial-gradient(70% 60% at 50% 100%, rgba(255, 255, 255, 0.07), transparent 70%);
}
.st-dark .st-tile .st-card {
  border: 1px solid #26262c;
  border-bottom: 0;
  background: linear-gradient(#18181c, #121215);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px #000;
  color: #e4e4e7;
}
.st-dark .st-tile .st-card small,
.st-dark .st-audit span {
  color: #8b8b94;
}
.st-dark .st-agent__step,
.st-dark .st-flow li,
.st-dark .st-mcp li {
  border-color: #26262c;
  background: #1a1a1f;
}
.st-dark .st-flow li + li::before {
  border-left-color: #3a3a42;
}
.st-dark .st-mcp__url {
  background: #0d0d10 !important;
  color: #d4d4d8;
}
.st-dark .st-audit li {
  background: #1a1a1f;
}
.st-dark .st-audit li:nth-child(1) b { color: #4ade80; }
.st-dark .st-audit li:nth-child(2) b { color: #fbbf24; }
.st-dark .st-audit li:nth-child(3) b { color: #fff; }
.st-dark .st-tile .st-pill--ok {
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
}
.st-dark .st-tile .st-pill--warn {
  background: rgba(251, 191, 36, 0.13);
  color: #fcd34d;
}
.st-dark .st-tile .st-bubble--me {
  background: #fff;
  color: var(--st-ink);
}
.st-dark .st-tile .st-bubble--ai {
  background: rgba(129, 140, 248, 0.16);
  color: #c7d2fe;
}
.st-dark .st-tile .st-btn--line {
  border-color: #33333a;
  background: transparent;
  color: #e4e4e7;
  box-shadow: none;
}
.st-dark .st-tile .st-btn--dark {
  background: #fff;
  color: var(--st-ink);
  box-shadow: none;
}
.st-dark .st-tile .st-dot--ok { background: #4ade80; }
.st-dark .st-tile .st-dot--warn { background: #fbbf24; }
/* the two bands meet on a fractional pixel: overlap by one so no seam shows */
.st-dark + .st-dark > .st-frame {
  clip-path: inset(-2px -100vmax 0);
}

/* ── security (owner, 1 Dec: "siamo GDPR compliant, ISO 9001 e ISO 27001,
   possiamo fare una sezione anche per quello tipo chatbase"): a dark band
   before the FAQ. Three seals of our own drawing in cells split by thin
   lines, each on a soft glow of its colour over faint rings; then three
   plain facts, like the modes under the control section ──────────────── */
.st-trust__seals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  border: 1px solid #222228;
  border-radius: 16px;
  background: #222228;
  overflow: hidden;
}
.st-trust__seals li {
  --c: var(--st-blue);
  padding-bottom: 36px;
  text-align: center;
  background: #0a0a0c;
}
.st-trust__seals li:nth-child(2) {
  --c: var(--st-green);
}
.st-trust__seals li:nth-child(3) {
  --c: var(--st-orange);
}
.st-trust__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 280px;
  overflow: hidden;
  background: radial-gradient(42% 48% at 50% 50%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%);
}
.st-trust__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 35px, rgba(255, 255, 255, 0.07) 35px 36px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.st-seal {
  position: relative;
  width: 156px;
  height: 156px;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.st-trust__seals li:hover .st-seal {
  transform: rotate(-6deg) scale(1.03);
}
.st-seal__fill {
  fill: var(--c);
}
.st-seal__dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1.2;
  stroke-dasharray: 2 4;
}
.st-seal__core {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.2;
}
.st-seal__stars {
  fill: #fff;
}
.st-seal__lock {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-seal text {
  fill: #fff;
  text-anchor: middle;
  font-family: var(--st-display);
}
.st-seal .st-seal__ring {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.st-seal__small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.st-seal__big {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.st-trust__seals h3 {
  font: 600 20px/1.2 var(--st-display);
  letter-spacing: -0.02em;
  color: #fff;
}
.st-trust__seals p {
  max-width: 300px;
  margin: 8px auto 0;
  padding-inline: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #9a9aa3;
}
.st-trust__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.st-trust__facts li {
  padding-left: 20px;
  border-left: 1px solid #26262c;
}
.st-trust__facts p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #fff;
}
.st-trust__facts p svg {
  flex: none;
  color: #4ade80;
}
.st-trust__facts b {
  font-weight: 500;
}
.st-trust__facts span {
  font-size: 14px;
  line-height: 1.5;
  color: #9a9aa3;
}
@media (max-width: 1100px) {
  .st-trust__art {
    height: 230px;
  }
  .st-seal {
    width: 132px;
    height: 132px;
  }
}
@media (max-width: 760px) {
  .st-trust__seals {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .st-trust__seals li {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    column-gap: 4px;
    padding: 0 20px 0 0;
    text-align: left;
  }
  .st-trust__art {
    grid-row: span 2;
    height: 132px;
  }
  .st-seal {
    width: 88px;
    height: 88px;
  }
  .st-trust__seals h3 {
    align-self: end;
    font-size: 18px;
  }
  .st-trust__seals p {
    align-self: start;
    margin: 4px 0 0;
    padding: 0;
    font-size: 14px;
  }
  .st-trust__facts {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st-seal {
    transition: none;
  }
}

/* src/skins/studio-app.css */
/* studio-app (/studio-app): the studio page with a hero that opens on the
   product. Copy centred on top; below it, on the blue panel, a GoKiwi window
   whose side bar walks through the modules, and the AI agent asked for a job
   in a card beside it. Everything else comes from studio.css. */

.st-hero__in--app {
  display: block;
  min-height: 0;
}
.st-hero__copy--center {
  display: grid;
  justify-items: center;
  max-width: 860px;
  margin-inline: auto;
  padding: 88px var(--st-pad-x) 64px;
  text-align: center;
}
.st-hero__copy--center .st-lead {
  max-width: 600px;
}
.st-hero__copy--center .st-ctas {
  justify-content: center;
}
.st-hero__stage {
  padding: 56px 56px 0;
  border-top: 1px solid var(--st-line);
}

/* the window: same layout as the app (module rail, module side bar, top
   bar with search, one surface per screen), in the site's own palette */
.ap {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px 14px 0 0;
  background: var(--st-white);
  box-shadow: 0 40px 80px -30px rgba(9, 9, 11, 0.55), 0 0 0 1px rgba(9, 9, 11, 0.08);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  color: var(--st-ink);
  text-align: left;
}
.ap svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.ap ul,
.ap ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap p,
.ap h3,
.ap h4 {
  margin: 0;
}
.ap__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--st-line);
  background: var(--st-paper);
}
.ap__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--st-line-2);
}
.ap__bar span {
  margin: 0 auto;
  padding: 3px 40px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  background: var(--st-white);
  font-size: 11px;
  color: var(--st-mute);
}
.ap__body {
  display: grid;
  grid-template-columns: 64px 1fr;
  height: 500px;
}

/* rail */
.ap-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: var(--st-paper);
  border-right: 1px solid var(--st-line);
}
.ap-rail ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ap-rail__ws {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--st-green);
  color: #fff;
  font: 600 13px/1 var(--st-display);
}
.ap-rail__end {
  margin-top: auto;
}
.ap-mod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 52px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--st-mute);
  font: inherit;
  cursor: pointer;
}
.ap-mod svg {
  width: 19px;
  height: 19px;
}
.ap-mod small {
  font-size: 10px;
  line-height: 1;
}
.ap-mod em {
  position: absolute;
  top: 4px;
  right: 7px;
  min-width: 15px;
  padding: 1px 4px;
  border-radius: 8px;
  background: var(--st-orange);
  color: #fff;
  font: 600 9px/13px var(--st-body);
  font-style: normal;
}
.ap-mod--off {
  cursor: default;
}
button.ap-mod:hover {
  color: var(--st-ink);
  background: rgba(9, 9, 11, 0.04);
}
.ap-mod[aria-pressed="true"] {
  color: var(--st-ink);
  background: rgba(9, 9, 11, 0.06);
}
.ap-mod[aria-pressed="true"] svg {
  color: var(--st-green);
}
.ap-mod:focus-visible {
  outline: 2px solid var(--st-blue);
  outline-offset: 1px;
}
.is-auto .ap-mod[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--st-green);
  transform-origin: left;
  animation: ap-fill var(--dur, 3.6s) linear both;
}
@keyframes ap-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* screens */
.ap__screens {
  position: relative;
  overflow: hidden;
}
.ap-scr {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 176px 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
}
.ap-scr.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}
.ap-side {
  padding: 0 8px;
  background: var(--st-paper);
  border-right: 1px solid var(--st-line);
}
.ap-side h3 {
  display: flex;
  align-items: center;
  height: 48px;
  margin: 0 -8px 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--st-line);
  font: 600 13px/1 var(--st-body);
}
.ap-side h4 {
  margin: 14px 8px 4px;
  font: 500 11px/1 var(--st-body);
  color: var(--st-mute);
}
.ap-side li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--st-ink-2);
}
.ap-side li.is-on {
  background: rgba(9, 9, 11, 0.06);
  color: var(--st-ink);
  font-weight: 500;
}
.ap-side em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--st-mute);
}
.ap-sw {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.ap-sw--g { background: var(--st-green); }
.ap-sw--b { background: var(--st-blue); }

.ap-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ap-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--st-line);
}
.ap-crumb {
  color: var(--st-mute);
  white-space: nowrap;
}
.ap-crumb i {
  margin: 0 4px;
  font-style: normal;
  color: var(--st-line-2);
}
.ap-crumb b {
  color: var(--st-ink);
  font-weight: 500;
}
.ap-find {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 30px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  color: var(--st-mute-2);
}
.ap-find svg {
  width: 14px;
  height: 14px;
}
.ap-find kbd {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  font: 10px/1.4 var(--st-body);
  color: var(--st-mute);
}
.ap-agent {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  font-weight: 500;
}
.ap-agent svg {
  width: 14px;
  height: 14px;
  color: var(--st-green);
}

/* one framed surface per screen */
.ap-frame {
  margin: 14px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  overflow: hidden;
}
.ap-frame__h {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 12px;
  border-bottom: 1px solid var(--st-line);
  background: #f7f7f8;
}
.ap-frame__h b {
  margin-right: auto;
  font-weight: 600;
}
.ap-in {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 170px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  background: var(--st-white);
  color: var(--st-mute-2);
  font-size: 12px;
}
.ap-in svg {
  width: 13px;
  height: 13px;
}
.ap-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--st-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.ap-rows li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--st-line);
}
.ap-rows li:last-child {
  border-bottom: 0;
}
.ap-rows b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-rows small {
  font-size: 12px;
  color: var(--st-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-rows--money small {
  justify-self: end;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}
.ap-l {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f1f3;
  border: 1px solid var(--st-line);
  font-size: 11px;
  color: var(--st-mute);
}
.ap-chip {
  justify-self: end;
  padding: 2px 8px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  font-size: 11px;
  color: var(--st-mute);
  background: var(--st-white);
}
.ap-chip--g { color: var(--st-green); border-color: color-mix(in srgb, var(--st-green) 25%, white); background: color-mix(in srgb, var(--st-green) 6%, white); }
.ap-chip--b { color: var(--st-blue); border-color: color-mix(in srgb, var(--st-blue) 25%, white); background: color-mix(in srgb, var(--st-blue) 6%, white); }
.ap-chip--o { color: var(--st-orange); border-color: color-mix(in srgb, var(--st-orange) 25%, white); background: color-mix(in srgb, var(--st-orange) 6%, white); }
.ap-th {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.ap-th--1 { background: linear-gradient(135deg, #e8e4dc, #b9b2a5); }
.ap-th--2 { background: linear-gradient(135deg, #f3d9c9, var(--st-orange)); }
.ap-th--3 { background: linear-gradient(135deg, #e3f0b6, var(--st-green)); }

/* inbox */
.ap-inbox {
  display: grid;
  grid-template-columns: 220px 1fr;
  flex: 1;
  min-height: 0;
}
.ap-convs {
  border-right: 1px solid var(--st-line);
}
.ap-convs li {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--st-line);
}
.ap-convs .ap-l {
  grid-row: span 2;
}
.ap-convs b {
  font-weight: 500;
}
.ap-convs small {
  font-size: 12px;
  color: var(--st-mute);
}
.ap-convs li.is-on {
  background: #f7f7f8;
}
.ap-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.ap-msg {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: #f1f1f3;
}
.ap-msg--out {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: var(--st-ink);
  color: #fff;
}
.ap-by {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--st-mute);
}
.ap-by svg {
  width: 12px;
  height: 12px;
  color: var(--st-green);
}
.ap-compose {
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  color: var(--st-mute-2);
}

/* calendar */
.ap-week {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 12px 14px 14px;
}
.ap-week__h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ap-week__h b {
  padding: 4px 10px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  font-weight: 500;
}
.ap-week__h .ap-btn {
  margin-left: auto;
}
.ap-week__d,
.ap-week__g {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.ap-week__d span {
  padding: 6px 8px;
  font-size: 12px;
  color: var(--st-mute);
  border-bottom: 1px solid var(--st-line);
}
.ap-week__g {
  flex: 1;
  grid-template-rows: repeat(6, 1fr);
  gap: 4px;
  padding-top: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--st-line) calc(20% - 1px) 20%);
}
.ap-ev {
  grid-column: var(--c);
  grid-row: var(--r) / span var(--h, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 5px;
  padding: 6px 8px;
  border-radius: 7px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
}
.ap-ev small {
  font-weight: 400;
  font-size: 11px;
  opacity: 0.75;
}
.ap-ev span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ap-ev svg {
  width: 11px;
  height: 11px;
}
/* the call the agent booked from Home */
.ap-ev.is-new {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--st-blue) 45%, white);
}
.ap-ev--g { background: color-mix(in srgb, var(--st-green) 12%, white); color: var(--st-green-deep); }
.ap-ev--b { background: color-mix(in srgb, var(--st-blue) 11%, white); color: var(--st-blue-deep); }
.ap-ev--o { background: color-mix(in srgb, var(--st-orange) 12%, white); color: var(--st-orange-deep); }

/* workflows */
.ap-canvas {
  flex: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, var(--st-line-2) 1px, transparent 1.2px) 0 0 / 16px 16px;
}
.ap-nodes {
  display: grid;
  gap: 28px;
  width: 250px;
}
.ap-nodes li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  background: var(--st-white);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.ap-nodes li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -29px;
  height: 28px;
  border-left: 1.5px solid var(--st-line-2);
}
.ap-nodes small {
  font-size: 11px;
  color: var(--st-mute);
}
.ap-nodes b {
  font-weight: 500;
}
.ap-nodes li:first-child {
  border-color: color-mix(in srgb, var(--st-green) 35%, white);
}
.ap-nodes li:nth-child(2) small {
  color: var(--st-green);
}

/* Home: talking to the agent (owner, 1 Dec: "manca la home dove facciamo
   vedere che parli con AI"). One column, the conversation over the composer;
   new lines push the older ones up and out, as in a chat */
.ap-scr--home {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
}
.ap-scr--home .ap-main {
  min-height: 0;
}
.ap-home {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(600px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 16px;
}
.ap-talk {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 28px);
  mask-image: linear-gradient(transparent, #000 28px);
}
.ap-hi {
  margin-block: auto;
  text-align: center;
}
.ap-hi h3 {
  font: 600 24px/1.2 var(--st-display);
  letter-spacing: -0.02em;
}
.ap-hi p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--st-mute);
}
.ap-you {
  align-self: flex-end;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f1f1f3;
}
.ap-say {
  font-size: 13.5px;
  line-height: 1.5;
}
.ap-say b {
  font-weight: 600;
}
.ap-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--st-ink-2);
}
.ap-step small {
  font-size: 11.5px;
  color: var(--st-mute);
}
.ap-step .ap-wait {
  color: #b45309;
}
.ap-step__ic {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}
.ap-step__ic > * {
  grid-area: 1 / 1;
}
.ap-step__ic svg {
  width: 14px;
  height: 14px;
  color: var(--st-green);
}
.ap-step__ic .ap-hand {
  width: 15px;
  height: 15px;
  color: #d97706;
}
.ap-spin {
  width: 12px;
  height: 12px;
  border: 1.6px solid var(--st-line-2);
  border-top-color: var(--st-ink-2);
  border-radius: 50%;
}
.ap-appr {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  background: var(--st-white);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.ap-appr__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ap-appr__h b {
  font-weight: 600;
}
.ap-appr__h em {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--st-ink);
  color: #fff;
  font: 500 11px/1.4 var(--st-body);
}
.ap-appr dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  row-gap: 4px;
  margin: 0;
}
.ap-appr dt {
  font-size: 11.5px;
  color: var(--st-mute);
}
.ap-appr dd {
  margin: 0;
  font-size: 12.5px;
}
.ap-appr__b {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.ap-appr__b > * {
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
}
.ap-appr__b b {
  background: var(--st-green);
  color: #fff;
}
.ap-appr__b span {
  border: 1px solid var(--st-line);
}
/* the composer, with the app's gradient rim along its bottom edge */
.ap-cmp {
  position: relative;
  flex: none;
  display: grid;
  gap: 10px;
  padding: 11px 12px 9px 14px;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  background: #f8f8f9;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}
.ap-cmp::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ed519d 22%, var(--st-blue) 50%, #27bed9 78%, transparent);
  opacity: 0.6;
}
.ap-cmp__t {
  display: grid;
  font-size: 13.5px;
  color: var(--st-mute-2);
}
.ap-cmp__t > * {
  grid-area: 1 / 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.ap-cmp__t > span:not(.ap-cmp__ph) {
  background: #f8f8f9;
  color: var(--st-ink);
}
.ap-cmp__t > span > span {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
.ap-cmp__b {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--st-mute);
}
.ap-cmp__b > svg {
  width: 15px;
  height: 15px;
}
.ap-cmp__b span {
  display: flex;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  font-size: 11.5px;
}
.ap-cmp__b span b {
  font-weight: 500;
  color: var(--st-ink-2);
}
.ap-cmp__b i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--st-ink);
  color: #fff;
}
.ap-cmp__b i svg {
  width: 14px;
  height: 14px;
}
/* the steps (studio-app.js): what is not yet said is not there at all, and
   each new line fades up; the typed question appears letter by letter */
.js [data-home] .is-off {
  display: none !important;
}
html:not(.js) [data-home] [data-until] {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-home] .ap-talk > :not(.is-off) {
    animation: ap-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js [data-home] .ap-appr__h em:not(.is-off),
  .js [data-home] .ap-step small:not(.is-off) {
    animation: ap-fade 0.4s ease both;
  }
  .js [data-home] .ap-cmp__t > span:not(.ap-cmp__ph):not(.is-off) > span {
    animation: ap-type 1.1s steps(40, end) both;
  }
  .js [data-home] .ap-cmp__t > span:not(.ap-cmp__ph):not(.is-off)::after {
    content: "";
    display: inline-block;
    width: 1.5px;
    height: 1.1em;
    margin-left: 1px;
    vertical-align: -0.2em;
    background: var(--st-ink);
    animation: ap-caret 0.9s steps(1) infinite;
  }
  .ap-spin {
    animation: ap-spin 0.8s linear infinite;
  }
  @keyframes ap-in {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes ap-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes ap-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
  }
  @keyframes ap-caret {
    50% { opacity: 0; }
  }
  @keyframes ap-spin {
    to { rotate: 360deg; }
  }
}
/* on Home the conversation is the agent: the floating card steps aside */
.ap-ask {
  transition: opacity 0.35s ease, visibility 0s;
}
.st-hero__stage.is-home .ap-ask {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
}

/* the agent, asked for a job: floats off the window's corner */
.ap-ask {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  width: 250px;
  padding: 12px;
  border-radius: 14px;
  background: var(--st-white);
  box-shadow: var(--st-shadow), 0 0 0 1px rgba(9, 9, 11, 0.06);
  font-size: 13px;
  text-align: left;
}
.ap-ask p {
  margin: 0;
}
.ap-ask__h {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.ap-ask__h svg {
  width: 15px;
  height: 15px;
  color: var(--st-green);
}
.ap-ask__me {
  justify-self: end;
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 12px 12px 4px 12px;
  background: #f1f1f3;
}
.ap-ask__ok {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--st-mute);
}
.ap-ask__ok b {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--st-green);
  color: #fff;
  font-weight: 500;
}
@media (prefers-reduced-motion: no-preference) {
  .ap-ask {
    animation: ap-float 6s ease-in-out infinite;
  }
  @keyframes ap-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }
}

@media (max-width: 1240px) {
  .ap-ask {
    right: 12px;
    bottom: 12px;
    width: 240px;
  }
}
@media (max-width: 1000px) {
  .ap-ask {
    display: none;
  }
  .st-hero__stage {
    padding: 32px 24px 0;
  }
  .ap-scr {
    grid-template-columns: 1fr;
  }
  .ap-side {
    display: none;
  }
}

/* phone: like the app on mobile, modules move to a tab bar at the bottom */
@media (max-width: 760px) {
  .st-hero__copy--center {
    padding: 56px var(--st-pad-x) 40px;
  }
  .st-hero__stage {
    padding: 24px 12px 0;
  }
  .ap__body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 500px;
  }
  .ap-rail {
    grid-row: 2;
    flex-direction: row;
    padding: 4px 6px;
    border-right: 0;
    border-top: 1px solid var(--st-line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ap-rail::-webkit-scrollbar {
    display: none;
  }
  .ap-rail ul {
    flex-direction: row;
  }
  .ap-rail__ws,
  .ap-rail__end,
  .ap-rail .ap-mod--off {
    display: none;
  }
  .ap-mod {
    width: 64px;
  }
  .is-auto .ap-mod[aria-pressed="true"]::after {
    bottom: 1px;
  }
  .ap-top {
    grid-template-columns: 1fr auto;
  }
  .ap-find {
    display: none;
  }
  .ap-frame {
    margin: 10px;
  }
  .ap-in {
    display: none;
  }
  .ap-rows li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 0;
    height: 54px;
    align-content: center;
  }
  .ap-rows .ap-l,
  .ap-rows .ap-th {
    grid-row: span 2;
  }
  .ap-rows .ap-chip {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .ap-rows small,
  .ap-rows--money small {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
  .ap-inbox {
    grid-template-columns: 1fr;
  }
  .ap-convs {
    display: none;
  }
  .ap-week__d,
  .ap-week__g {
    grid-template-columns: repeat(3, 1fr);
  }
  .ap-week__d span:nth-child(n + 4) {
    display: none;
  }
  .ap-week__g {
    background: repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 1px), var(--st-line) calc(33.33% - 1px) 33.33%);
  }
  .ap-ev[style*="--c:4"],
  .ap-ev[style*="--c:5"] {
    display: none;
  }
  .ap-nodes {
    width: min(250px, 80%);
  }
}

/* CRM as the app's data grid: column headers, cell borders, selection */
.ap-grid > div {
  display: grid;
  grid-template-columns: 36px 1.35fr 1.2fr 0.9fr 0.95fr 0.6fr;
  height: 37px;
  border-bottom: 1px solid var(--st-line);
}
.ap-grid > div > * {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid var(--st-line);
  white-space: nowrap;
  overflow: hidden;
  color: var(--st-ink-2);
  font-style: normal;
}
.ap-grid > div > :last-child {
  border-right: 0;
}
.ap-grid em {
  font-style: normal;
}
.ap-grid b {
  font-weight: 500;
  color: var(--st-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-grid .ap-l {
  flex: none;
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.ap-grid .ap-chip {
  justify-self: start;
}
.ap-grid__h {
  height: 32px !important;
}
.ap-grid__h > span {
  font-size: 12px;
  font-weight: 500;
  color: var(--st-mute) !important;
}
.ap-grid > .is-sel {
  background: color-mix(in srgb, var(--st-green) 5%, white);
}
.ap-grid__f {
  height: 30px !important;
  border-bottom: 0 !important;
  background: #fafafa;
}
.ap-grid__f > * {
  font-size: 11px;
  color: var(--st-mute) !important;
}
.ap-grid__f > :last-child {
  justify-content: flex-end;
}
.ap-cb {
  justify-content: center;
}
.ap-cb::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1px solid var(--st-line-2);
  border-radius: 4px;
  background: #fff;
}
.ap-cb.is-on::before {
  border-color: var(--st-green);
  background: var(--st-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ap-grid__f .ap-cb::before,
.ap-grid__f > i::before {
  content: none;
}
.ap-o {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
}
.ap-o--o { background: var(--st-orange); }
.ap-o--g { background: var(--st-green); }
@media (max-width: 760px) {
  .ap-grid > div {
    grid-template-columns: 32px 1.4fr 1fr;
  }
  .ap-grid > div > :nth-child(n + 3):not(:nth-child(5)) {
    display: none;
  }
  .ap-grid__f > :nth-child(5) {
    display: none !important;
  }
  .ap-grid__f > :last-child {
    display: flex !important;
  }
}

/* ── your rules (owner, 1 Dec): after the agents, the workspace's agent
   action policy as the app has it. The three settings explained on the
   left; on the right one row per action, each with its own switch ─────── */
.st-ag,
.st-ctl {
  --ctl-auto: #3fb984;
  --ctl-ask: #e0a33a;
  --ctl-off: #71717a;
}
.st-ctl__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.st-ctl__modes {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}
.st-ctl__modes li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid #222227;
}
.st-ctl__modes .st-modes__ic {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.st-ctl__modes .st-modes__ic--ok {
  background: var(--ctl-auto);
}
.st-ctl__modes .st-modes__ic--warn {
  background: var(--ctl-ask);
}
.st-ctl__modes .st-modes__ic--off {
  background: var(--ctl-off);
}
.st-ctl__modes b {
  font-weight: 500;
  color: #fafafa;
}
.st-ctl__modes p {
  grid-column: 2;
  margin-top: 6px;
  font-size: 14px;
  color: #8b8b94;
}
.st-ctl__panel {
  border: 1px solid #26262c;
  border-radius: 12px;
  background: #111114;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -28px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.st-ctl__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #26262c;
}
.st-ctl__h p {
  display: grid;
  gap: 3px;
  margin: 0;
}
.st-ctl__h b {
  font-weight: 600;
  color: #fff;
}
.st-ctl__h span {
  font-size: 13px;
  color: #8b8b94;
}
.st-ctl__h em {
  flex: none;
  padding: 3px 8px;
  border: 1px solid #2a2a31;
  border-radius: 6px;
  font: 500 11.5px/1.4 var(--st-body);
  font-style: normal;
  color: #a1a1aa;
}
.st-ctl__rows li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #1f1f24;
  transition: background-color 0.2s;
}
.st-ctl__rows li:hover {
  background: rgba(255, 255, 255, 0.02);
}
.st-ctl__ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #2a2a31;
  border-radius: 9px;
  background: #18181c;
  color: #d4d4d8;
}
.st-ctl__ic svg {
  width: 16px;
  height: 16px;
}
/* the WhatsApp mark in the same grey as the other icons */
.st-ctl__ic--wa svg {
  filter: grayscale(1) brightness(1.28);
}
.st-ctl__rows p {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
}
.st-ctl__rows p b {
  font-size: 14px;
  font-weight: 500;
  color: #f4f4f5;
}
.st-ctl__rows p small {
  font-size: 12px;
  color: #71717a;
}
/* the switch: three settings; the chosen one is raised and its dot lit */
.st-seg {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  border: 1px solid #2a2a31;
  border-radius: 10px;
  background: #0b0b0d;
}
.st-seg label {
  position: relative;
  cursor: pointer;
}
.st-seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.st-seg span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  color: #8b8b94;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.st-seg span::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a3a42;
  transition: background-color 0.2s;
}
.st-seg i {
  font-style: normal;
}
.st-seg label:hover span {
  color: #e4e4e7;
}
.st-seg input:focus-visible + span {
  outline: 2px solid #7c8cff;
  outline-offset: 1px;
}
.st-seg input:checked + span {
  color: #fafafa;
  background: #232328;
  box-shadow: inset 0 0 0 1px #34343c, 0 1px 2px rgba(0, 0, 0, 0.5);
}
.st-seg input[value="auto"]:checked + span::before {
  background: var(--ctl-auto);
}
.st-seg input[value="ask"]:checked + span::before {
  background: var(--ctl-ask);
}
.st-seg input[value="off"]:checked + span::before {
  background: var(--ctl-off);
}
/* a disabled action is greyed out */
.st-ctl__rows li[data-state="off"] p b {
  color: #8b8b94;
}
.st-ctl__rows li[data-state="off"] .st-ctl__ic {
  opacity: 0.5;
}
.st-ctl__say {
  margin: 0;
  padding: 14px 20px;
  font-size: 13.5px;
  color: #8b8b94;
  background: #0d0d10;
}
.st-ctl__say::before {
  content: "";
  display: inline-block;
  margin-right: 8px;
  vertical-align: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--say, var(--ctl-ask));
}
.st-ctl__say b {
  font-weight: 500;
  color: #fff;
}
@media (max-width: 1100px) {
  .st-ctl__in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .st-ctl__modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  .st-ctl__in {
    margin-top: 40px;
  }
  .st-ctl__modes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .st-ctl__h {
    padding: 16px;
  }
  .st-ctl__rows li {
    grid-template-columns: 32px minmax(0, 1fr);
    row-gap: 10px;
    padding: 14px 16px;
  }
  .st-seg {
    grid-column: 1 / -1;
  }
  .st-seg label {
    flex: 1;
  }
  .st-seg span {
    justify-content: center;
    padding: 7px 6px;
  }
  .st-seg i {
    display: none;
  }
  .st-ctl__say {
    padding: 14px 16px;
  }
}

/* ── your team as a grid (owner, 1 Dec: no pictures without a background,
   a clearer chat): four cells split by thin lines, a bold name and the
   rest in grey, then a white app window rising from the cell's bottom ── */
.st-tb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--st-line);
  background: var(--st-line);
}
.st-tb__cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 28px;
  min-width: 0;
  padding: 32px 36px 0;
  background: var(--st-paper);
  overflow: hidden;
}
.st-tb__cell h3 {
  max-width: 470px;
  font: 400 20px/1.35 var(--st-display);
  letter-spacing: -0.02em;
  color: var(--st-mute);
}
.st-tb__cell h3 b {
  font-weight: 500;
  color: var(--st-ink);
}
.st-tb__art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 420px;
}
.st-tb__win {
  position: relative;
  width: min(100%, 500px);
  height: 400px;
  padding: 14px 16px 0;
  border: 1px solid var(--st-line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 24px 48px -28px rgba(9, 9, 11, 0.4);
  overflow: hidden;
  color: var(--st-ink);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.st-tb__win p {
  margin: 0;
}
.st-tb__win em {
  font-style: normal;
}
/* the window fades into the cell at its foot, as it runs on below */
.st-tb__win--cal,
.st-tb__win--tasks {
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.st-tb__win--cal .st-tw__date,
.st-tb__win--tasks .st-tw__proj {
  height: 34px;
  margin-bottom: 8px;
}

/* the chat: channel and client on top, then who writes, their role, what */
.st-tc {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.st-tc__h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 50px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--st-line);
}
.st-tc__ch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}
.st-tc__ch svg {
  color: var(--st-mute);
}
.st-tc__ch b {
  font-weight: 600;
}
.st-tc__h small {
  overflow: hidden;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--st-mute);
}
.st-tc__h .st-tw__stack {
  margin-left: auto;
}
.st-tc__feed {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 16px 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 40px);
  mask-image: linear-gradient(transparent, #000 40px);
}
.st-tc__msg {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-size: 12.5px;
}
.st-tc__msg > .st-tw__ava,
.st-tc__pic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 9.5px;
  object-fit: cover;
}
.st-tc__msg p + p,
.st-tc__msg p + div {
  margin-top: 3px;
}
.st-tc__msg mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #e9edfb;
  color: var(--st-blue);
}
.st-tc__who {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.st-tc__who b {
  font-weight: 600;
}
.st-tc__who span {
  font-size: 11px;
  color: var(--st-mute);
}
.st-tc__who small {
  font-size: 10.5px;
  color: var(--st-mute-2);
}
.st-tc__who .st-tw__guest {
  margin-left: 0;
}
/* the proposal, shared in the conversation */
.st-tc__att {
  display: inline-flex !important;
  align-items: center;
  max-width: 100%;
  white-space: nowrap;
  gap: 8px;
  margin-top: 7px !important;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--st-line);
  border-radius: 9px;
  background: #fafafa;
}
.st-tc__doc {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #e9edfb;
  color: var(--st-blue);
}
.st-tc__att b {
  font-weight: 500;
}
.st-tc__att > span:not(.st-tc__doc) {
  color: var(--st-mute);
}
.st-tc__att em {
  padding: 1px 7px;
  border-radius: 99px;
  background: #e8f4ed;
  color: var(--st-green);
  font-size: 10.5px;
  font-weight: 500;
}
.st-tc__att--img {
  padding: 4px 10px 4px 4px;
}
.st-tc__att--img img {
  width: 40px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
  background: #e4e4e7;
}
.st-tc .st-tw__typing {
  padding: 0 0 0 38px;
}
.st-tc__in {
  display: flex;
  align-items: center;
  flex: none;
  height: 40px;
  margin: 0 12px 12px !important;
  padding: 0 6px 0 12px;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  color: var(--st-mute-2);
  font-size: 12.5px;
}
.st-tc__in i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 7px;
  background: var(--st-ink);
  color: #fff;
}

/* guests: the invite, and the guest joining the list */
.st-tg {
  padding: 18px 18px 0;
}
.st-tg__h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.st-tg__h b {
  font: 500 16px/1.2 var(--st-display);
  letter-spacing: -0.02em;
}
.st-tg__h small {
  font-size: 11.5px;
  color: var(--st-mute);
}
.st-tg__f {
  display: flex;
  gap: 6px;
  margin-top: 14px !important;
}
.st-tg__f > span {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  font-size: 12.5px;
}
.st-tg__in {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.st-tg__role {
  gap: 4px;
  color: var(--st-ink-2);
}
.st-tg__go {
  border-color: var(--st-ink) !important;
  background: var(--st-ink);
  color: #fff;
  font-weight: 500;
}
.st-tg__list {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--st-line);
}
.st-tg__list > li:not(.st-tw__slot),
.st-tg__new {
  display: flex;
  align-items: center;
  gap: 10px;
}
.st-tg__list > li:not(.st-tw__slot),
.st-tg__new {
  height: 48px;
  border-bottom: 1px solid var(--st-line);
  font-size: 12.5px;
}
.st-tg__list .st-tw__ava {
  width: 26px;
  height: 26px;
  font-size: 9px;
}
.st-tg__list b {
  font-weight: 500;
}
.st-tg__list span {
  margin-left: auto;
  color: var(--st-mute);
}
.st-tg__new .st-tw__guest {
  margin-left: 0;
}
.st-tg__new span {
  padding: 1px 8px;
  border-radius: 99px;
  background: #e8f4ed;
  color: var(--st-green) !important;
  font-size: 11px;
  font-weight: 500;
}
.st-tg__new {
  background: color-mix(in srgb, var(--st-green) 5%, white);
  margin-inline: -18px;
  padding-inline: 18px;
}

@media (max-width: 900px) {
  .st-tb {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .st-tb {
    margin-top: 36px;
  }
  .st-tb__cell {
    gap: 22px;
    padding: 24px 18px 0;
  }
  .st-tb__cell h3 {
    font-size: 18px;
  }
  .st-tb__art {
    height: 400px;
  }
  .st-tb__win {
    height: 390px;
  }
  .st-tc__h small,
  .st-tc__who span,
  .st-tc__att > span:not(.st-tc__doc) {
    display: none;
  }
}

/* the team calendar as a real day view (owner, 1 Dec: "migliora il
   calendar"): a header bar like the chat's, each person with their role,
   events with their times, hour labels on the lines, the now line with
   its time; first Anna's free slot, then the call booked in it ──────── */
.st-cal2 {
  --hh: 27px;
  --g: 44px;
  display: flex;
  flex-direction: column;
  padding: 0;
  -webkit-mask-image: linear-gradient(#000 84%, transparent);
  mask-image: linear-gradient(#000 84%, transparent);
}
.st-cal2__h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 50px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--st-line);
  white-space: nowrap;
}
.st-cal2__h > svg {
  color: var(--st-mute);
}
.st-cal2__h b {
  font-size: 13.5px;
  font-weight: 600;
}
.st-cal2__h small {
  font-size: 11.5px;
  color: var(--st-mute);
}
.st-cal2__nav {
  display: flex;
  margin-left: auto;
}
.st-cal2__nav i,
.st-cal2__btn,
.st-cal2__view {
  display: grid;
  place-items: center;
  height: 26px;
  border: 1px solid var(--st-line);
  border-radius: 7px;
  background: #fff;
  color: var(--st-ink-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
}
.st-cal2__nav i {
  width: 26px;
}
.st-cal2__nav i + i {
  margin-left: -1px;
}
.st-cal2__nav i:first-child {
  border-radius: 7px 0 0 7px;
}
.st-cal2__nav i:last-child {
  border-radius: 0 7px 7px 0;
}
.st-cal2__btn {
  padding: 0 9px;
}
.st-cal2__view {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: #f4f4f5;
  border-color: transparent;
}
.st-cal2__view i {
  padding: 2px 8px;
  border-radius: 5px;
  font-style: normal;
  color: var(--st-mute);
}
.st-cal2__view i.is-on {
  background: #fff;
  color: var(--st-ink);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.08), 0 0 0 1px rgba(9, 9, 11, 0.04);
}
/* people, and the day's grid */
.st-cal2__who,
.st-cal2__grid {
  display: grid;
  grid-template-columns: var(--g) repeat(3, minmax(0, 1fr));
}
.st-cal2__who {
  flex: none;
  height: 46px;
  align-items: center;
  border-bottom: 1px solid var(--st-line);
}
.st-cal2__who > span {
  display: grid;
  grid-template-columns: 22px auto;
  column-gap: 7px;
  align-items: center;
  height: 100%;
  padding-left: 9px;
  border-left: 1px solid var(--st-line);
}
.st-cal2__who > span:first-child {
  border-left: 0;
}
.st-cal2__who .st-tw__ava {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  font-size: 8.5px;
}
.st-cal2__who b {
  align-self: end;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.st-cal2__who small {
  align-self: start;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--st-mute);
}
.st-cal2__grid {
  position: relative;
  flex: 1;
  min-height: calc(var(--hh) * 10 + 10px);
  padding-top: 10px;
}
.st-cal2__hrs {
  position: relative;
  margin: 0;
}
.st-cal2__hrs span {
  position: absolute;
  right: 8px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--st-mute-2);
  translate: 0 -50%;
}
.st-cal2__hrs span:nth-child(1) { top: 0; }
.st-cal2__hrs span:nth-child(2) { top: calc(var(--hh) * 2); }
.st-cal2__hrs span:nth-child(3) { top: calc(var(--hh) * 4); }
.st-cal2__hrs span:nth-child(4) { top: calc(var(--hh) * 6); }
.st-cal2__hrs span:nth-child(5) { top: calc(var(--hh) * 8); }
.st-cal2__col {
  position: relative;
  margin-top: -10px;
  padding-top: 10px;
  border-left: 1px solid var(--st-line);
  background:
    repeating-linear-gradient(to bottom, #ececee 0 1px, transparent 1px calc(var(--hh) * 2)) 0 10px / 100% 100% no-repeat;
}
.st-cal2__ev,
.st-cal2__free {
  position: absolute;
  top: calc(var(--s) * var(--hh) + 12px);
  left: 4px;
  right: 5px;
  display: grid;
  align-content: start;
  gap: 1px;
  height: calc((var(--e) - var(--s)) * var(--hh) - 4px);
  margin: 0;
  overflow: hidden;
  padding: 5px 7px 5px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.st-cal2__ev::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 3px;
  width: 3px;
  border-radius: 3px;
  background: var(--bar);
}
.st-cal2__ev b {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
}
.st-cal2__ev b svg {
  flex: none;
}
.st-cal2__ev small,
.st-cal2__free small {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}
.st-cal2__ev--b { --bar: var(--st-blue); background: #eef1fc; color: #1e3a8a; }
.st-cal2__ev--g { --bar: var(--st-green); background: #ebf5ef; color: #14532d; }
.st-cal2__ev--o { --bar: var(--st-orange); background: #fdf0e9; color: #7c2d12; }
.st-cal2__ev--busy {
  --bar: transparent;
  background: repeating-linear-gradient(135deg, #f5f5f6 0 6px, #efeff1 6px 12px);
  color: var(--st-mute-2);
  box-shadow: inset 0 0 0 1px #ececee;
}
.st-cal2__ev--new {
  z-index: 1;
  box-shadow: 0 0 0 1px #c9d3f6, 0 10px 22px -12px rgba(30, 58, 138, 0.55);
}
.js [data-loop] .st-cal2__ev--new {
  transition:
    opacity 0.4s ease,
    scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.js [data-loop] .st-cal2__ev--new.is-off {
  scale: 0.9;
  translate: 0 0;
}
/* Anna's free hour, before the call is booked */
.st-cal2__free {
  border: 1.5px dashed color-mix(in srgb, var(--st-green) 55%, white);
  background: color-mix(in srgb, var(--st-green) 5%, white);
  color: var(--st-green);
  font-weight: 600;
}
.st-cal2__free small {
  font-weight: 400;
}
/* now */
.st-cal2__now {
  position: absolute;
  z-index: 2;
  top: calc(var(--t) * var(--hh) + 10px);
  left: calc(var(--g) - 2px);
  right: 0;
  height: 1.5px;
  background: #ef4444;
}
.st-cal2__now span {
  position: absolute;
  top: 50%;
  right: 100%;
  padding: 1px 4px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  translate: 0 -50%;
}
@media (max-width: 760px) {
  .st-cal2 {
    --g: 40px;
  }
  .st-cal2__h small,
  .st-cal2__view,
  .st-cal2__who small {
    display: none;
  }
  .st-cal2__who > span {
    grid-template-columns: 20px auto;
    gap: 5px;
    padding-left: 6px;
  }
  .st-cal2__who .st-tw__ava {
    grid-row: auto;
    width: 20px;
    height: 20px;
  }
  .st-cal2__who b {
    align-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .st-cal2__ev,
  .st-cal2__free {
    padding-left: 8px;
    white-space: normal;
  }
  .st-cal2__ev b {
    display: block;
  }
  .st-cal2__ev b svg {
    display: none;
  }
  .st-cal2__ev small,
  .st-cal2__free small {
    display: none;
  }
}

/* ── your AI agents, clearer (owner, 1 Dec: "chiari ma semplici"): each
   cell holds one plain dark screen; WhatsApp looks like WhatsApp ───────── */
.st-ag .st-tile__art {
  min-height: 300px;
}
.st-ag .st-tile__art > .st-card {
  width: min(100%, 400px);
  padding: 0;
  gap: 0;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: left;
}
.st-ag .st-tile--wide .st-tile__art > .st-card {
  width: min(100%, 540px);
}
.st-ag p,
.st-ag dl,
.st-ag ul,
.st-ag ol {
  margin: 0;
}
.st-ag ul,
.st-ag ol {
  padding: 0;
  list-style: none;
}
.st-ag em {
  font-style: normal;
}
.st-ag__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid #26262c;
  font-weight: 500;
  color: #e4e4e7;
}
.st-ag__bar svg {
  flex: none;
  color: #8b8b94;
}
.st-ag__bar small {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 400;
  color: #71717a !important;
}
/* the agent's conversation */
.st-ag__talk {
  display: grid;
  gap: 9px;
  padding: 14px 16px 16px;
}
.st-ag__you {
  justify-self: end;
  max-width: 85%;
  padding: 7px 11px;
  border-radius: 10px;
  background: #2a2a30;
  color: #f4f4f5;
}
.st-ag__step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
}
.st-ag__step small {
  font-size: 11.5px;
  color: #8b8b94;
}
.st-ag__step .is-ok {
  color: var(--ctl-auto);
}
.st-ag__step svg.is-wait {
  color: var(--ctl-ask);
}
.st-ag__appr {
  display: grid;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid #2f2f36;
  border-radius: 10px;
  background: #1a1a1f;
}
.st-ag__appr-h {
  font-weight: 600;
  color: #fff;
}
.st-ag__appr dl {
  display: grid;
  grid-template-columns: 104px 1fr;
  row-gap: 4px;
}
.st-ag__appr dt {
  font-size: 11.5px;
  color: #8b8b94;
}
.st-ag__appr dd {
  margin: 0;
  color: #e4e4e7;
}
.st-ag__appr s {
  color: #71717a;
}
.st-ag__btns {
  display: flex;
  gap: 6px;
}
.st-ag__btns > * {
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
}
.st-ag__btns b {
  background: #fff;
  color: var(--st-ink);
}
.st-ag__btns span {
  border: 1px solid #33333a;
  color: #e4e4e7;
}
/* a workflow and its sentence */
.st-ag__ask {
  display: flex;
  gap: 7px;
  margin: 14px 14px 0 !important;
  padding: 9px 11px;
  border: 1px solid #26262c;
  border-radius: 9px;
  background: #0d0d10;
  font-size: 12px;
  color: #d4d4d8;
}
.st-ag__ask svg {
  flex: none;
  margin-top: 2px;
  color: #8b8b94;
}
.st-ag__flow ol {
  display: grid;
  gap: 16px;
  padding: 16px 14px 18px;
}
.st-ag__flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #2a2a31;
  border-radius: 10px;
  background: #1a1a1f;
  color: #f4f4f5;
}
.st-ag__flow li + li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: -17px;
  height: 16px;
  border-left: 1.5px solid #3a3a42;
}
.st-ag__flow li small {
  display: block;
  font-size: 10.5px;
  color: #8b8b94;
}
.st-ag__node {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid #2f2f36;
  border-radius: 8px;
  background: #1e1e23;
  color: #d4d4d8;
}
/* a status is a grey word with a small dot: green done, amber waiting,
   grey off, the same three colours as Your rules */
.st-ag em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 400;
  white-space: nowrap;
  color: #a1a1aa;
}
.st-ag em::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ctl-off);
}
.st-ag em.is-ok::before {
  background: var(--ctl-auto);
}
.st-ag em.is-wait::before {
  background: var(--ctl-ask);
}
.st-ag__step em {
  margin-left: 2px;
}
/* MCP connections */
.st-ag__mcp ul {
  padding: 4px 14px;
}
.st-ag__mcp li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #222228;
}
.st-ag__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid #2f2f36;
  border-radius: 9px;
  background: #1e1e23;
  color: #fff;
}
.st-ag__mcp li b,
.st-ag__log li b {
  display: block;
  font-weight: 500;
  color: #f4f4f5;
}
.st-ag__mcp li small,
.st-ag__log li span {
  font-size: 11px;
  color: #8b8b94;
}
.st-ag__url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  margin: 12px 14px 16px !important;
  padding: 8px 10px;
  border: 1px solid #26262c;
  border-radius: 8px;
  background: #0d0d10;
}
.st-ag__url small {
  grid-column: 1 / -1;
  font-size: 10.5px;
  color: #8b8b94;
}
.st-ag__url span {
  overflow: hidden;
  font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #d4d4d8;
}
.st-ag__url svg {
  color: #8b8b94;
}
/* the audit log */
.st-ag__log li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid #1f1f24;
}
.st-ag__log li > small {
  flex: none;
  width: 34px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #71717a;
}
.st-ag__log li p {
  flex: 1;
  min-width: 0;
}
.st-ag__log li b,
.st-ag__log li span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* the workflow's switch, in its header */
.st-ag__on {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 400;
  color: #a1a1aa;
}
.st-ag__on i {
  position: relative;
  width: 26px;
  height: 15px;
  border-radius: 99px;
  background: var(--ctl-auto);
}
.st-ag__on i::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}
/* MCP: the policy it runs under */
.st-ag__sub {
  padding: 12px 14px 4px;
  font-size: 11px;
  color: #71717a;
}
.st-ag__pol {
  padding: 0 14px !important;
}
.st-ag__pol li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  border-bottom: 1px solid #1f1f24;
  color: #d4d4d8;
}
/* brand marks in grey, like the other icons */
.st-ag__logo svg {
  filter: grayscale(1) brightness(1.3);
}
/* windows of the same row line up at the top and run to the bottom */
@media (min-width: 1101px) {
  .st-ag .st-tile__art {
    align-items: stretch;
  }
  .st-ag .st-tile__art > .st-ag__mcp,
  .st-ag .st-tile__art > .st-ag__log {
    -webkit-mask-image: linear-gradient(#000 85%, transparent);
    mask-image: linear-gradient(#000 85%, transparent);
  }
  .st-ag .st-tile:nth-child(n + 3) h3 {
    min-height: 4.05em;
  }
}

/* WhatsApp, in its own dark colours: header, wallpaper, green bubbles
   for you, grey for the agent, blue ticks, the bar with the mic */
.st-dark .st-tile .st-card.st-wa2 {
  border-color: #2a3942;
  background: #0b141a;
  color: #e9edef;
}
.st-wa2__top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px 0 8px;
  background: #202c33;
}
.st-wa2__back {
  color: #aebac1;
}
.st-wa2__av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--st-green);
  color: #fff;
}
.st-wa2__av svg {
  --bg: var(--st-green);
}
.st-wa2__top b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #e9edef;
}
.st-wa2__top small {
  display: block;
  font-size: 11px;
  color: #8696a0 !important;
}
.st-wa2__chat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 14px 12px;
}
.st-wa2__day {
  align-self: center;
  margin-bottom: 4px !important;
  padding: 3px 9px;
  border-radius: 7px;
  background: #182229;
  color: #8696a0;
  font-size: 10.5px;
}
.st-wa2__b {
  position: relative;
  align-self: flex-start;
  max-width: 84%;
  padding: 6px 8px 6px 9px;
  border-radius: 0 8px 8px 8px;
  background: #202c33;
  color: #e9edef;
}
.st-wa2__b--out {
  align-self: flex-end;
  border-radius: 8px 0 8px 8px;
  background: #005c4b;
}
.st-wa2__b::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-top: 8px solid #202c33;
  border-left: 8px solid transparent;
}
.st-wa2__b--out::before {
  left: auto;
  right: -7px;
  border-top-color: #005c4b;
  border-left: 0;
  border-right: 8px solid transparent;
}
.st-wa2__b small {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  float: right;
  margin: 7px 0 -4px 10px;
  font-size: 10px;
  color: #8696a0 !important;
}
.st-wa2__b--out small {
  color: rgba(233, 237, 239, 0.6) !important;
}
.st-wa2__b svg {
  color: #53bdeb;
}
.st-wa2__in {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 10px;
}
.st-wa2__in span {
  flex: 1;
  padding: 8px 14px;
  border-radius: 99px;
  background: #2a3942;
  color: #8696a0;
}
.st-wa2__in i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00a884;
  color: #111b21;
}
@media (max-width: 760px) {
  .st-ag .st-tile__art {
    min-height: 0;
  }
  .st-ag__step {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .st-ag__appr dl {
    grid-template-columns: 88px 1fr;
  }
}

/* WhatsApp voice note: play, waveform with the playhead, your avatar with
   the mic, the length, and the transcript the agent works from */
.st-wa2__vn {
  display: flex;
  flex-direction: column;
  width: 84%;
  padding: 7px 9px 6px 8px;
}
.st-wa2__vn-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.st-wa2 .st-wa2__play {
  flex: none;
  color: rgba(233, 237, 239, 0.75);
}
.st-wa2__wave {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
}
.st-wa2__wave i {
  width: 2px;
  height: var(--h);
  border-radius: 2px;
  background: rgba(233, 237, 239, 0.42);
}
.st-wa2__wave i:nth-child(-n + 9) {
  background: rgba(233, 237, 239, 0.9);
}
.st-wa2__wave::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: #53bdeb;
}
.st-wa2__me {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6b7c85;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.st-wa2 .st-wa2__me svg {
  position: absolute;
  right: -3px;
  bottom: -2px;
  color: #53bdeb;
}
.st-wa2__vn-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 39px 0 22px;
  font-size: 10px;
  color: rgba(233, 237, 239, 0.6);
}
.st-wa2__vn-meta small {
  float: none;
  margin: 0;
}
.st-wa2__tr {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(233, 237, 239, 0.14);
  color: rgba(233, 237, 239, 0.85);
}

/* ── the agent windows move (owner, 1 Dec: "mancano le animazioni"): each
   plays its scene with the data-loop steps of studio.js. Two states that
   take turns share one place (.st-ag__sw), so nothing jumps ─────────────── */
.st-ag .st-ag__sw {
  display: grid;
  align-items: start;
  justify-items: start;
  min-width: 0;
}
.st-ag .st-ag__sw > * {
  grid-area: 1 / 1;
  min-width: 0;
}
.st-ag__step .st-ag__sw {
  margin-left: 2px;
}
.st-ag__step .st-ag__sw em,
.st-ag__mcp .st-ag__sw em,
.st-ag__log .st-ag__sw em {
  margin-left: 0;
}
.st-ag__mcp li > .st-ag__sw,
.st-ag__log li > .st-ag__sw {
  margin-left: auto;
  justify-items: end;
}
.st-ag__spin {
  flex: none;
  color: #a1a1aa;
}
/* 1 · the approval: the button pressed, then what was done */
.st-ag__btns b {
  transition: scale 0.2s ease, background-color 0.2s ease;
}
.st-ag__btns b.is-on {
  scale: 0.94;
  background: #d4d4d8;
}
.st-ag__did {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  color: #d4d4d8;
}
.st-ag__did svg {
  flex: none;
  color: var(--ctl-auto);
}
/* 2 · the workflow: each step lights up as the test runs through it */
.st-ag__flow li {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.st-ag__flow li.is-on {
  border-color: #4a4a53;
  background: #222228;
}
.st-ag__ck {
  flex: none;
  margin-left: auto;
  color: var(--ctl-auto);
}
.st-ag__run {
  margin: -4px 14px 16px;
  font-size: 11.5px;
  color: #a1a1aa;
}
.st-ag__run p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-ag__run em {
  margin-left: 0;
  color: #d4d4d8;
}
.st-ag__run small {
  color: #71717a;
}
.st-ag__on > .st-ag__sw {
  justify-items: end;
}
.st-ag__on i,
.st-ag__on i::after {
  transition: background-color 0.3s ease, translate 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .st-ag__on:not(.is-on) i {
  background: #3a3a42;
}
.js .st-ag__on:not(.is-on) i::after {
  translate: -11px 0;
}
/* 4 · MCP: each call lands on its rule */
.st-ag__pol li {
  margin: 0 -8px;
  padding: 0 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.st-ag__pol li.is-on {
  background: #1f1f25;
}
.st-ag__call {
  justify-items: stretch;
  min-height: 18px;
  margin: 10px 14px 0;
}
.st-ag__call b {
  font-weight: 500;
  color: #e4e4e7;
}
.st-ag__call p {
  gap: 5px;
  white-space: nowrap;
}
.st-ag__call em {
  margin-left: auto;
}
.st-ag__log p .st-ag__sw {
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
}
/* 5 · the audit log: a new entry slides in on top and pushes the rest down */
.js [data-loop] .st-ag__log li.is-off {
  display: none;
}
/* WhatsApp: the agent typing */
.st-wa2__dots {
  display: flex;
  gap: 4px;
  padding: 10px 12px !important;
}
.st-wa2__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696a0;
}
@media (prefers-reduced-motion: no-preference) {
  .st-ag__spin {
    animation: ap-spin 0.8s linear infinite;
  }
  .js [data-loop] .st-ag__log li:not(.is-off)[data-at] {
    overflow: hidden;
    animation: ag-row 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .st-wa2__dots i {
    animation: ag-dot 1s ease-in-out infinite;
  }
  .st-wa2__dots i:nth-child(2) { animation-delay: 0.15s; }
  .st-wa2__dots i:nth-child(3) { animation-delay: 0.3s; }
  /* the voice note plays: the dot runs along and the bars light behind it */
  .js [data-loop] .st-wa2__vn:not(.is-off) .st-wa2__wave::before {
    animation: ag-head 2.4s linear 0.3s both;
  }
  .js [data-loop] .st-wa2__vn .st-wa2__wave i {
    background: rgba(233, 237, 239, 0.42);
  }
  .js [data-loop] .st-wa2__vn:not(.is-off) .st-wa2__wave i {
    animation: ag-bar 0.2s ease calc(0.3s + var(--i) * 2.4s / 28) both;
  }
  @keyframes ag-row {
    from { max-height: 0; padding-block: 0; opacity: 0; }
    to { max-height: 60px; opacity: 1; }
  }
  @keyframes ag-dot {
    0%, 60%, 100% { opacity: 0.35; translate: 0 0; }
    30% { opacity: 1; translate: 0 -2px; }
  }
  @keyframes ag-head {
    from { left: 0%; }
    to { left: 100%; }
  }
  @keyframes ag-bar {
    to { background: rgba(233, 237, 239, 0.9); }
  }
}

/* ── technical partners (owner, 1 Dec): the companies GoKiwi is built on.
   Six large cells in one row, each switching between two logos like the
   wall before ("animati come prima ... 6 visibili e più grandi") ───────── */
.st-tp .st-logos__grid {
  grid-template-columns: repeat(6, 1fr);
}
.st-tp .st-logos__cell {
  height: 132px;
}
.st-tp .st-logo {
  gap: 11px;
  font: 600 22px/1 var(--st-display);
  letter-spacing: -0.025em;
  color: #71717a;
}
.st-tp .st-logo svg {
  flex: none;
}
/* on hover a logo takes its brand colours: the mark in --bc, the name in
   --bt, a multicolour mark fades in over the grey one */
.st-tp .st-logo,
.st-tp .st-logo svg {
  transition: opacity 0.6s, filter 0.6s, transform 0.6s, color 0.25s ease;
}
.st-tp__mk {
  position: relative;
  display: grid;
  flex: none;
}
.st-tp__mk > svg {
  grid-area: 1 / 1;
}
.st-tp__col {
  opacity: 0;
  transition: opacity 0.25s ease !important;
}
.st-tp .st-logos__cell:hover .st-logo {
  color: var(--bt);
}
.st-tp .st-logos__cell:hover .st-logo svg {
  color: var(--bc);
}
.st-tp .st-logos__cell:hover .st-tp__col {
  opacity: 1;
}
.st-tp .st-logos__cell:hover .st-tp__mk > svg:first-child {
  opacity: 0;
}
@media (max-width: 1100px) {
  .st-tp .st-logos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .st-tp .st-logos__cell {
    height: 112px;
  }
}
@media (max-width: 760px) {
  .st-tp .st-logos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-tp .st-logos__cell {
    height: 96px;
  }
  .st-tp .st-logo {
    gap: 9px;
    font-size: 18px;
  }
  .st-tp .st-logo svg {
    width: 23px;
    height: 23px;
  }
  .st-tp .st-tp__wm svg {
    width: 88px;
    height: 18px;
  }
}

/* ── the ending, light and green again (owner, 1 Dec evening, after the
   dark attio.com-style version: "se facciamo però come prima? chiaro e
   verde ma con effetti?"): the footer's green band and light card, the
   title's second line in green, the ink button with a lime ring; the
   effects are under "the ending, animated" ─────────────────────────────── */
/* the ending's module list (99-st-footer): the hero's modules with the
   icons of its app window; the AI agents, the point of the page, in ink */
.st-end__mods li svg {
  color: var(--st-mute);
}
.st-end__mods li.is-ai {
  border-color: var(--st-ink);
  background: var(--st-ink);
  color: #fff;
}
.st-end__mods li.is-ai svg {
  color: var(--st-lime);
}

/* the ending's brand column (owner, 1 Dec: "mancano … descrizione e
   certificazioni su footer"): a description and the security section's
   seals, small. The short reviews that sat above it were taken off (owner,
   1 Dec: "togli le recensioni") */
.st-end__brand p {
  max-width: 340px;
  line-height: 1.55;
}
.st-end__nav .st-end__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.st-end__seals li {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 76px;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  color: var(--st-mute);
}
.st-end__seals .st-seal {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

/* the strong call to action (owner, 1 Dec: "sul footer usiamo CTA forte"),
   in the light of the rest of the footer (owner, 1 Dec evening, on the dark
   panel: "cos'è questo CTA su gokiwi.ai finale???"): the title larger, its
   second line in green, one large ink button with a lime ring and arrow */
.st-end__cta--strong {
  padding-block: 112px 96px;
  /* plain card, no green glow (owner, 1 Dec evening: "togli effetto green
     sfumato") */
  background: none;
}
.st-end__cta--strong .st-end__kicker {
  color: var(--st-green);
}
.st-end__cta--strong .st-end__title {
  max-width: 1000px;
}
.st-end__cta--strong .st-mute {
  color: var(--st-green);
}
.st-end__cta--strong .st-end__lead {
  max-width: 620px;
}
.st-end__cta--strong .st-end__ctas {
  margin-top: 36px;
  gap: 12px;
}
.st-end__go {
  height: 60px;
  padding: 0 30px;
  border-radius: 12px;
  background: var(--st-ink);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 0 0 6px rgba(183, 221, 60, 0.45), 0 18px 40px -16px rgba(9, 9, 11, 0.45);
}
.st-end__go:hover {
  background: #27272a;
  transform: translateY(-1px);
}
.st-end__go svg {
  color: var(--st-lime);
  transition: transform 0.2s;
}
.st-end__go:hover svg {
  transform: translateX(3px);
}
.st-end__price {
  height: 60px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 16px;
}
.st-end__cta--strong .st-trial {
  margin-top: 18px;
}
@media (max-width: 600px) {
  .st-end__cta--strong {
    padding-block: 72px 56px;
  }
  .st-end__go,
  .st-end__price {
    width: 100%;
  }
}

/* the hairlines behind the call to action, as on the dark version but in
   faint green: barely there and only towards the edges, so the middle
   where the words sit stays plain */
.st-end__cta--strong {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.st-end__cta--strong::before,
.st-end__rain {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask: radial-gradient(70% 50% at 50% 50%, transparent 35%, #000 75%);
  mask: radial-gradient(70% 50% at 50% 50%, transparent 35%, #000 75%);
}
.st-end__cta--strong::before {
  background: repeating-linear-gradient(90deg, rgba(18, 120, 76, 0.045) 0 1px, transparent 1px 8px);
}

/* ── the ending, a section like chatbase's (owner, 1 Dec evening: "la
   sezione fai come chatbase però"): the call to action leaves the green
   band and becomes a section of the page's column, its title at the size
   of the other sections' and two plain buttons; the green band starts
   flush under it, flat (no lighter glow at its top), with the footer's
   card continuing the column ───────────────────────────────────────────── */
.st-final .st-end__cta--strong {
  padding: 96px var(--st-pad-x) 88px;
}
.st-end__cta--strong .st-end__title {
  max-width: 860px;
  margin-top: 16px;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.06;
}
.st-end__cta--strong .st-end__lead {
  max-width: 560px;
}
.st-end__cta--strong .st-end__ctas {
  margin-top: 28px;
  gap: 10px;
}
.st-end__go {
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 0 0 4px rgba(183, 221, 60, 0.45), 0 12px 28px -14px rgba(9, 9, 11, 0.45);
}
.st-end__price {
  height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 16px;
}
.st-end--flush {
  margin-top: 0;
  padding-top: 0;
  background-image:
    var(--st-grain),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='1' fill='%23fff' fill-opacity='.22'/%3E%3C/svg%3E");
}
.st-end--flush .st-end__card {
  border: 1px solid var(--st-line);
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 700px) {
  .st-end--flush {
    padding-inline: 12px;
  }
}

/* ── the ending, animated (owner, 1 Dec evening: "rendilo animato", then
   on the light and green version "chiaro e verde ma con effetti"). When
   the call to action reaches the screen it comes in piece by piece (the
   title keeps the page's own blur-in) and the module chips follow one by
   one; then a light runs along the chips, a lime light circles the AI
   agents chip and the ink button's lime ring breathes (the lime glow at
   the top is gone: "togli effetto green sfumato"). Behind, a few soft green streaks rise slowly
   along the hairlines, calm as on attio.com (owner: "il background dietro
   è fastidioso, fai come attio"). Studio-app.js adds the classes: .is-anim
   (animation on), .is-in (seen once), .is-live (on screen now, otherwise
   everything pauses) and the streaks. Nothing moves with reduced
   motion. ───────────────────────────────────────────────────────────────── */
@property --st-end-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@media (prefers-reduced-motion: no-preference) {
  /* the streaks: each rises along one hairline, brightens and fades,
     then starts again somewhere else (studio-app.js moves it) */
  .st-end__rain i {
    position: absolute;
    top: 0;
    left: var(--x, 50%);
    width: 1px;
    height: var(--h, 300px);
    background: linear-gradient(transparent, var(--st-green) 50%, transparent);
    opacity: 0;
    animation: st-end-rise-line var(--d, 3.6s) linear var(--w, 0s) infinite;
  }
  @keyframes st-end-rise-line {
    0% { transform: translateY(var(--from, 420px)); opacity: 0; }
    30%, 60% { opacity: calc(var(--o, 0.2) * 1.6); }
    100% { transform: translateY(calc(var(--h, 300px) * -1)); opacity: 0; }
  }

  /* coming in: each piece rises out of a light blur, the chips one by one */
  .st-end__cta.is-anim > :not(h2, .st-end__mods, .st-end__rain),
  .st-end__cta.is-anim .st-end__mods li {
    opacity: 0;
  }
  .st-end__cta.is-in > :not(h2, .st-end__mods, .st-end__rain) {
    animation: st-end-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--k, 0) * 110ms + 120ms);
  }
  .st-end__cta.is-in .st-end__mods li {
    animation: st-end-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--k, 0) * 70ms + 800ms);
  }
  @keyframes st-end-rise {
    from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: none; }
  }
  @keyframes st-end-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.94); }
    to { opacity: 1; transform: none; }
  }

  /* the light that runs along the chips: one lights up after the other */
  .st-end__mods li,
  .st-end__mods li svg {
    transition: border-color 0.45s, background-color 0.45s, color 0.45s, box-shadow 0.45s;
  }
  .st-end__mods li.is-lit {
    border-color: var(--st-green);
    background: #f4fae6;
    color: var(--st-ink);
    box-shadow: 0 0 0 3px rgba(183, 221, 60, 0.35);
  }
  .st-end__mods li.is-lit svg {
    color: var(--st-green);
  }

  /* AI agents: a lime light circles its ink border */
  .st-end__cta.is-anim .st-end__mods li.is-ai {
    border-color: transparent;
    background:
      linear-gradient(var(--st-ink), var(--st-ink)) padding-box,
      conic-gradient(from var(--st-end-a), var(--st-ink), var(--st-lime) 10%, var(--st-ink) 24%, var(--st-ink) 58%, var(--st-lime) 70%, var(--st-ink) 84%) border-box;
    animation-name: st-end-pop, st-end-spin;
    animation-duration: 0.6s, 3.2s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), linear;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, none;
  }
  .st-end__cta.is-anim:not(.is-in) .st-end__mods li.is-ai {
    animation: none;
  }
  @keyframes st-end-spin {
    to { --st-end-a: 360deg; }
  }

  /* the ink button: its lime ring breathes; the arrow nudges forward */
  .st-end__cta.is-in .st-end__go {
    animation: st-end-glow 3.2s ease-in-out 1.6s infinite;
  }
  .st-end__cta.is-in .st-end__go svg {
    animation: st-end-nudge 3.2s ease-in-out 1.6s infinite;
  }
  @keyframes st-end-glow {
    0%, 100% { box-shadow: 0 0 0 4px rgba(183, 221, 60, 0.45), 0 12px 28px -14px rgba(9, 9, 11, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(183, 221, 60, 0.22), 0 16px 34px -12px rgba(9, 9, 11, 0.5); }
  }
  @keyframes st-end-nudge {
    0%, 70%, 100% { transform: none; }
    80% { transform: translateX(4px); }
    90% { transform: translateX(1px); }
  }

  /* off screen, everything waits */
  .st-end__cta.is-anim:not(.is-live) .st-end__rain i,
  .st-end__cta.is-anim:not(.is-live) .st-end__mods li.is-ai,
  .st-end__cta.is-anim:not(.is-live) .st-end__go,
  .st-end__cta.is-anim:not(.is-live) .st-end__go svg {
    animation-play-state: paused;
  }
}

/* src/skins/pricing.css */
/* GoKiwi · pricing skin (/pricing), which extends studio-app (the home page).
   The structure follows chatbase.co/pricing (nothing copied: no text,
   image or illustration of theirs): plans as columns of one box under
   coloured rules, add-on cards, the partners, a comparison table with a
   header that stays in view, the security band, the FAQ and the ending.
   The look is the home's: studio.css tokens, Geist titles, black buttons,
   colour only in the plan rules, icons and the lime "save" chip.
   Sections: src/skins/pricing.sections/. Switch: pricing.js. */

.pr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* yearly or monthly: yearly unless the switch says monthly */
html:not([data-billing="monthly"]) [data-m],
html[data-billing="monthly"] [data-y] {
  display: none !important;
}

/* ── the billing switch ────────────────────────────────────────────────── */
.pr-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-ink-2);
  white-space: nowrap;
}
.pr-switch__lab {
  cursor: pointer;
  user-select: none;
}
.pr-switch__btn {
  position: relative;
  flex: none;
  width: 40px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--st-line-2);
  cursor: pointer;
  transition: background-color 0.2s;
}
.pr-switch__btn span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.25);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.pr-switch__btn[aria-checked="true"] {
  background: var(--st-green);
}
.pr-switch__btn[aria-checked="true"] span {
  transform: translateX(18px);
}
.pr-switch__btn:focus-visible {
  outline: 2px solid var(--st-green);
  outline-offset: 2px;
}
.pr-save {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--st-lime);
  color: var(--st-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
html[data-billing="monthly"] .pr-save {
  background: #eef5d3;
  color: var(--st-mute);
}

/* ── the top: title and switch, then the plans ─────────────────────────── */
.pr-box {
  background: var(--st-paper);
}
.pr-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 96px var(--st-pad-x) 56px;
}
.pr-title {
  max-width: 760px;
}
.pr-lead {
  margin-top: 20px;
  max-width: 560px;
}
.pr-head .pr-switch {
  margin-bottom: 6px;
}

/* ── each plan's users counter and total ───────────────────────────────── */
.pr-seats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.pr-seats__ctl {
  flex: none;
  display: flex;
  align-items: center;
  height: 34px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  background: var(--st-white);
}
.pr-seats__ctl button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--st-ink-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.pr-seats__ctl button:hover {
  background: #f4f4f5;
  color: var(--st-ink);
}
.pr-seats__ctl input {
  width: 36px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: 500 14px/1 var(--st-body);
  text-align: center;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pr-seats__ctl input::-webkit-outer-spin-button,
.pr-seats__ctl input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pr-seats__ctl button:focus-visible,
.pr-seats__ctl input:focus-visible {
  outline: 2px solid var(--st-green);
  outline-offset: -2px;
}
.pr-seats__sum {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--st-mute);
}
.pr-seats__sum b {
  font-weight: 600;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}
.pr-seats__sum small {
  display: block;
  font-size: 12px;
  color: var(--st-mute-2);
}

.pr-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--st-line);
  background: var(--st-white);
}
.pr-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pr-plan + .pr-plan {
  border-left: 1px solid var(--st-line);
}
.pr-plan::before {
  content: "";
  height: 4px;
  margin: 8px 8px 0;
  border-radius: 2px;
  background: var(--c);
}
.pr-plan__top {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px;
}
.pr-plan__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 500 20px/1.2 var(--st-display);
  letter-spacing: -0.02em;
}
.pr-th__name .pr-pop {
  padding: 2px 7px;
  font-size: 11px;
}
.pr-pop {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--st-ink);
  color: #fff;
  font: 600 12px/1.3 var(--st-body);
  letter-spacing: 0;
}
.pr-price {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}
.pr-amount {
  font: 500 52px/1 var(--st-display);
  letter-spacing: -0.045em;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}
.pr-unit {
  padding-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--st-mute);
}
.pr-bill {
  min-height: 24px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--st-mute);
}
.pr-bill [data-y] {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--st-ink);
  color: #fff;
  font-weight: 500;
}
.pr-bill s {
  margin-right: 2px;
  color: var(--st-mute-2);
}
.pr-tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid color-mix(in srgb, var(--st-orange) 45%, transparent);
  border-radius: 6px;
  color: var(--st-orange);
  font-weight: 500;
}
.pr-for {
  min-height: 46px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--st-ink-2);
}
.pr-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-ink);
}
.pr-credits svg {
  flex: none;
  color: var(--c);
}
.pr-btn {
  width: 100%;
  margin-top: 24px;
}
.pr-feats {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 28px 36px;
  border-top: 1px solid var(--st-line);
  font-size: 14px;
  line-height: 1.4;
  color: var(--st-ink-2);
}
.pr-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pr-feats svg {
  flex: none;
  margin-top: 1px;
  color: var(--st-mute);
}
.pr-feats__lead {
  font-size: 13px;
  color: var(--st-mute);
}
.pr-plan--pop .pr-feats svg {
  color: var(--st-green);
}

.pr-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 18px 28px;
  border-top: 1px solid var(--st-line);
  font-size: 14px;
  color: var(--st-ink-2);
}
.pr-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pr-foot span svg {
  color: var(--st-green);
}
.pr-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-weight: 500;
  color: var(--st-ink);
}
.pr-foot a:hover {
  color: var(--st-green);
}

/* ── add-ons ───────────────────────────────────────────────────────────── */
.pr-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pr-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--st-line);
  border-radius: var(--st-r);
  background: var(--st-white);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}
.pr-card__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 9%, #fff);
  color: var(--c);
}
.pr-card h3 {
  font: 500 19px/1.25 var(--st-display);
  letter-spacing: -0.02em;
}
.pr-card > p:not(.pr-card__price) {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--st-mute);
}
.pr-steps {
  margin-top: 18px;
  font-size: 14px;
}
.pr-steps li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px dashed var(--st-line);
  color: var(--st-ink-2);
}
.pr-steps b {
  font-weight: 500;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}
.pr-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}
.pr-card__price b {
  font: 500 28px/1 var(--st-display);
  letter-spacing: -0.03em;
}
.pr-card__price span {
  font-size: 13px;
  color: var(--st-mute);
}

/* ── compare plans ─────────────────────────────────────────────────────── */
.pr-compare .st-frame {
  background: var(--st-white);
}
.pr-compare__title {
  margin: 0 auto;
  padding: 88px var(--st-pad-x) 48px;
  text-align: center;
}
.pr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
}
.pr-table thead > tr > * {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  background: var(--st-white);
  border-top: 1px solid var(--st-line);
  border-bottom: 1px solid var(--st-line);
  vertical-align: top;
  text-align: left;
}
.pr-table thead > tr > * + * {
  border-left: 1px solid var(--st-line);
}
.pr-th__switch {
  width: 34%;
  padding: 0 24px;
  vertical-align: middle !important;
}
.pr-table thead .pr-switch {
  height: 100%;
}
.pr-table thead th {
  padding: 22px 20px 18px;
}
.pr-table thead th::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto;
  height: 4px;
  border-radius: 2px;
  background: var(--c);
}
.pr-th__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 6px;
  font: 500 16px/1.2 var(--st-display);
  letter-spacing: -0.01em;
}
.pr-th__price {
  display: block;
  margin-top: 12px;
  font: 500 26px/1 var(--st-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.pr-th__unit {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--st-mute);
}
.pr-table tbody th,
.pr-table tbody td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--st-line);
  vertical-align: middle;
}
.pr-table tbody th {
  font-weight: 400;
  text-align: left;
  color: var(--st-ink-2);
}
.pr-table tbody th small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--st-mute);
}
.pr-table tbody td {
  text-align: center;
  color: var(--st-ink);
  border-left: 1px solid var(--st-line);
  font-variant-numeric: tabular-nums;
}
.pr-table tbody td svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--st-ink);
}
.pr-table tbody td svg.pr-no {
  color: var(--st-mute-2);
}
.pr-table .pr-group th {
  padding: 32px 24px 12px;
  font: 500 15px/1.2 var(--st-display);
  letter-spacing: -0.01em;
  color: var(--st-ink);
  background: var(--st-paper);
}
.pr-table tbody .pr-col-pop,
.pr-table tfoot .pr-col-pop {
  background: color-mix(in srgb, var(--st-green) 4%, #fff);
}
.pr-table tfoot td {
  padding: 24px 20px 32px;
}
.pr-table tfoot td + td {
  border-left: 1px solid var(--st-line);
}
.pr-table tfoot .pr-btn {
  margin-top: 0;
}

/* ── narrow screens ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pr-plans {
    grid-template-columns: 1fr;
  }
  .pr-plan + .pr-plan {
    border-left: 0;
    border-top: 1px solid var(--st-line);
  }
  .pr-for {
    min-height: 0;
  }
  .pr-th__switch {
    width: 28%;
  }
}
@media (max-width: 760px) {
  .pr-head {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 36px;
  }
  .pr-cards {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .pr-foot a {
    margin-left: 0;
  }
  .pr-compare__title {
    padding-top: 56px;
    padding-bottom: 32px;
  }
  /* the table scrolls sideways in its box; the feature names stay put */
  .pr-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pr-table {
    min-width: 620px;
    font-size: 13px;
  }
  .pr-table thead > tr > * {
    position: relative;
    top: auto;
  }
  .pr-th__switch {
    width: 150px;
    padding: 12px 14px;
  }
  .pr-th__switch .pr-switch {
    flex-wrap: wrap;
    white-space: normal;
  }
  .pr-table tbody th,
  .pr-table .pr-group th {
    position: sticky;
    left: 0;
    z-index: 1;
    padding-inline: 14px;
    background: var(--st-white);
  }
  .pr-table .pr-group th {
    background: var(--st-paper);
  }
  .pr-table tbody td {
    padding-inline: 10px;
  }
  .pr-table thead th {
    padding: 22px 12px 14px;
  }
  .pr-pop {
    font-size: 11px;
    padding: 2px 6px;
  }
}

/* the header's Pricing link, on this page */
.st-nav__links a[aria-current="page"] {
  color: var(--st-ink);
  font-weight: 500;
}
