/* The studio's colors: zinc, with the logo's red for the one press that publishes. */
:root {
  color-scheme: light dark;
  --page: #ffffff;
  --canvas: #fafafa;
  --dot: rgb(9 9 11 / 0.13);
  --surface: #ffffff;
  --sunken: #f4f4f5;
  --ink: #09090b;
  --text: #3f3f46;
  --muted: #71717a;
  --line: rgb(9 9 11 / 0.1);
  --line-strong: rgb(9 9 11 / 0.2);
  --accent: #ff5a36;
  --accent-press: #f04a26;
  --on-accent: #09090b;
  --done: #047857;
  --agent: #7c3aed;
  --focus: #2563eb;
  --telegram: #26a5e4;
  --linkedin: #0a66c2;
  --instagram: #ff0069;
  --shadow: 0 1px 2px rgb(9 9 11 / 0.05), 0 4px 12px rgb(9 9 11 / 0.04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #09090b;
    --canvas: #111113;
    --dot: rgb(255 255 255 / 0.09);
    --surface: #18181b;
    --sunken: #27272a;
    --ink: #ffffff;
    --text: #d4d4d8;
    --muted: #a1a1aa;
    --line: rgb(255 255 255 / 0.1);
    --line-strong: rgb(255 255 255 / 0.22);
    --done: #34d399;
    --agent: #a78bfa;
    --focus: #60a5fa;
    --linkedin: #3b8fdb;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: InterVariable, Inter, ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
}
button,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
svg {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}
@media (min-width: 40rem) {
  .wrap {
    padding-inline: 2rem;
  }
}

/* Header */
.top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg {
  width: 1.75rem;
  height: 1.75rem;
}
.top a {
  white-space: nowrap;
}
/* A phone keeps the way in for the invited; the demo's button is the first thing below. */
@media (max-width: 29.99rem) {
  .top .button {
    display: none;
  }
}
.plain-link {
  padding: 0.5rem 0.25rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
@media (hover: hover) {
  .plain-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  border: 0;
  border-radius: 0.625rem;
  background: var(--ink);
  color: var(--page);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-decoration: none;
  transition:
    scale 150ms ease-out,
    background-color 150ms ease-out;
}
.button:active {
  scale: 0.97;
}
.button.small {
  min-height: 2.25rem;
  padding: 0.375rem 0.875rem;
}
.button.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
@media (hover: hover) {
  .button:hover {
    background: color-mix(in oklab, var(--ink) 86%, var(--page));
  }
  .button.quiet:hover {
    background: color-mix(in oklab, var(--ink) 6%, transparent);
  }
}

/* Hero */
.hero {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
}
/* The page reads down one axis: the idea, the old way under it, the draft, its versions. */
.hero,
section,
.closing {
  text-align: center;
}
/* What the idea used to cost: a narrow block under the headline. */
.before {
  max-width: 24rem;
  margin: 2.5rem auto 0;
}
.before-play,
.pile,
.stage {
  text-align: left;
}
.before h2 {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
/* The film of the old way: one small window at a time, and a trail of marks under it. */
.before-play {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .before.filming .before-play {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
    pointer-events: none;
    user-select: none;
  }
  /* The list stays for a screen reader, which the film is hidden from. */
  .before.filming .pile,
  .before.filming > .before-sum {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
.win-slot {
  display: grid;
  align-items: center;
  min-height: 9.25rem;
}
.win-slot .before-sum {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.win {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.92);
  transform-origin: 50% 100%;
}
.win.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out;
}
.win.out {
  opacity: 0;
  transform: scale(0.55) translateY(30%);
  transition:
    opacity 180ms ease-in,
    transform 180ms ease-in;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.625rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.win-bar > svg {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: var(--ink);
}
.win-bar .lang {
  margin-left: auto;
}
.win[data-app="telegram"] .win-bar > svg,
.trail [data-app="telegram"] svg:first-child {
  fill: var(--telegram);
}
.win[data-app="linkedin"] .win-bar > svg,
.trail [data-app="linkedin"] svg:first-child {
  fill: var(--linkedin);
}
.win[data-app="instagram"] .win-bar > svg,
.trail [data-app="instagram"] svg:first-child {
  fill: var(--instagram);
}
.win-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 6.5rem;
  padding: 0.625rem;
}
.win-slot .before-sum {
  animation: rise 300ms ease-out both;
}
.win-text {
  white-space: pre-line;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
/* A message bubble: the shadow makes its padding, so the three lines are cut cleanly. */
.win[data-app="telegram"] .win-text:not(:empty) {
  align-self: flex-start;
  margin: 0.25rem 0.375rem;
  border-radius: 0.25rem;
  background: var(--sunken);
  box-shadow: 0 0 0 0.375rem var(--sunken);
}
/* The picture added for Instagram: a sun over two hills, drawn with shapes. */
.win-pic {
  position: relative;
  flex: none;
  width: 4rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #fde68a;
  animation: rise 220ms ease-out both;
}
.win-pic[hidden] {
  display: none;
}
.win-pic::before {
  position: absolute;
  top: 0.375rem;
  right: 0.625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #f97316;
  content: "";
}
.win-pic::after {
  position: absolute;
  inset: 40% 0 0;
  background: #10b981;
  clip-path: polygon(0 100%, 0 60%, 28% 10%, 52% 62%, 72% 30%, 100% 80%, 100% 100%);
  content: "";
}
/* With the picture in, the text gives up two of its lines, so the window keeps its height. */
.win-pic:not([hidden]) + .win-text {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.win-text .selected,
.win-text.selected {
  background: color-mix(in oklab, var(--focus) 28%, transparent);
}
.win-body {
  position: relative;
}
/* The small dark menu over the text: Copy, Paste. */
.win-menu {
  position: absolute;
  top: 0.25rem;
  left: 50%;
  z-index: 1;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--page);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  translate: -50% 0.25rem;
  scale: 0.9;
  transition:
    opacity 120ms ease-out,
    translate 120ms ease-out,
    scale 120ms ease-out;
}
.win-menu.show {
  opacity: 1;
  translate: -50% 0;
  scale: 1;
}
.win-menu.pressed {
  background: color-mix(in oklab, var(--ink) 65%, var(--page));
  scale: 0.94;
}
.win-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.win-act {
  margin-left: auto;
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 0.6875rem;
  font-weight: 600;
  transition:
    scale 100ms ease-out,
    opacity 100ms ease-out;
}
.win-act.pressed {
  opacity: 0.6;
  scale: 0.88;
}
.win[data-app="note"] .win-act {
  visibility: hidden;
}
.win-state {
  min-height: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.win-state.warn {
  color: #dc2626;
}
.win-state.done {
  color: var(--done);
}
.trail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 0.3125rem;
  min-height: 3.5rem;
}
.trail li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.375rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--done);
  font-size: 0.6875rem;
  font-weight: 600;
  animation: rise 200ms ease-out both;
}
.trail svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: var(--ink);
}
.trail svg + svg {
  height: 0.5rem;
  border-radius: 1px;
}

/* Each chore is a small window; together they lie in an untidy pile. */
.pile {
  display: grid;
  margin-top: 0.75rem;
}
.pile li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: -0.125rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.4;
  transform: translateX(-0.375rem) rotate(-0.6deg);
}
.pile li:nth-child(even) {
  transform: translateX(0.5rem) rotate(0.7deg);
}
.pile li:nth-child(3n) {
  transform: translateX(0.125rem) rotate(-0.3deg);
}
.pile .app {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.375rem;
  min-width: 6.25rem;
  color: var(--ink);
  font-weight: 600;
}
.pile .app svg {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: var(--ink);
}
.pile [data-net="telegram"] svg {
  fill: var(--telegram);
}
.pile [data-net="linkedin"] svg {
  fill: var(--linkedin);
}
.pile [data-net="instagram"] svg {
  fill: var(--instagram);
}
.pile [data-net="facebook"] svg {
  fill: #1877f2;
}
.pile [data-net="again"] svg {
  height: 0.625rem;
  border-radius: 2px;
}
.pile .chore {
  color: var(--muted);
}
.pile .over {
  color: #dc2626;
  font-variant-numeric: tabular-nums;
}
/* The note the draft starts in: paper yellow in both themes. */
.pile [data-net="note"] {
  border-color: #fde68a;
  background: #fef9c3;
}
.pile [data-net="note"] .app {
  color: #422006;
}
.pile [data-net="note"] .chore {
  color: #713f12;
}
.before-sum {
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
/* The bulb over the headline: drawn in the ink, lit in yellow. */
.bulb {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bulb .glass {
  fill: #facc15;
  animation: glass 350ms ease-out 500ms both;
}
.bulb .rays {
  stroke: #eab308;
  transform-origin: 24px 24px;
  animation: rays 350ms cubic-bezier(0.2, 0.8, 0.2, 1) 650ms both;
}
@keyframes glass {
  from {
    fill: transparent;
  }
}
@keyframes rays {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
h1 {
  color: var(--ink);
  font-size: clamp(2.125rem, 6.4vw, 4.75rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 span {
  display: block;
}
h1 span + span {
  color: var(--muted);
}
.lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}
/* The waitlist form */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 2rem auto 0;
}
html:not(.js) .waitlist {
  display: none;
}
.waitlist input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.waitlist input::placeholder {
  color: var(--muted);
}
.waitlist .trap {
  position: absolute;
  left: -100vw;
}
.waitlist .button:disabled {
  opacity: 0.6;
  cursor: default;
}
.form-note {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.875rem;
}
.waitlist.refused .form-note {
  color: var(--ink);
}
.waitlist.joined input,
.waitlist.joined .button {
  display: none;
}
.form-note:focus {
  outline: none;
}
.waitlist.joined .form-note {
  color: var(--done);
  font-size: 1rem;
  font-weight: 500;
}
/* The iOS app, before it has a page to link to */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.625rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}
.soon svg {
  width: 1rem;
  height: 1rem;
  fill: var(--ink);
}
.aside a {
  color: var(--ink);
  text-underline-offset: 0.25em;
}
.aside {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Without its script the stage has nothing to show, so the page goes on without it. */
html:not(.js) .stage,
html:not(.js) .stage-hint {
  display: none;
}
.copy-body .text:focus {
  outline: none;
}

/* The stage: a piece of the studio's canvas, with a draft and its copies. */
.stage {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background-color: var(--canvas);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0);
  background-size: 20px 20px;
}
.now {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}
.now h2 {
  max-width: none;
}
.stage-hint {
  margin-top: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.card-head svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: var(--ink);
}
[data-net="telegram"] .card-head svg {
  fill: var(--telegram);
}
[data-net="linkedin"] .card-head svg {
  fill: var(--linkedin);
}
[data-net="instagram"] .card-head svg {
  fill: var(--instagram);
}
.slot {
  display: grid;
  margin-left: auto;
  justify-items: end;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.slot > * {
  grid-area: 1 / 1;
  transition:
    opacity 180ms ease-out,
    scale 180ms ease-out;
  transition-delay: 0ms;
}
.meter {
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--done);
  visibility: hidden;
  opacity: 0;
  scale: 0.8;
  transform-origin: right center;
}
.status svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A check lands on each copy in turn, as it does in the studio. */
.copy.published .meter {
  visibility: hidden;
  opacity: 0;
}
.copy.published .status {
  visibility: visible;
  opacity: 1;
  scale: 1;
}
.copy.published .slot > * {
  transition-delay: calc(var(--i) * 110ms);
}

/* The draft */
.draft textarea {
  display: block;
  width: 100%;
  min-height: 9rem;
  padding: 0.875rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  resize: none;
  field-sizing: content;
  caret-color: var(--accent);
}
.draft textarea:focus-visible {
  outline: none;
}
.draft:focus-within {
  border-color: var(--line-strong);
}
.draft-foot {
  display: grid;
  gap: 0.75rem;
  padding: 0.875rem;
  border-top: 1px solid var(--line);
}
.picked {
  color: var(--agent);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25rem;
}
/* The cross that drops a version */
.drop {
  flex: none;
  width: 2rem;
  height: 2rem;
  margin-right: -0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: scale 150ms ease-out;
}
.drop:active {
  scale: 0.9;
}
@media (hover: hover) {
  .drop:hover {
    background: var(--sunken);
    color: var(--ink);
  }
}
/* A version the agent suggests: the studio's violet, and a dashed edge until it is added. */
.suggested {
  border: 1.5px dashed var(--agent);
  background: color-mix(in oklab, var(--agent) 4%, var(--surface));
  box-shadow: none;
}
.suggested .card-head {
  border-color: color-mix(in oklab, var(--agent) 30%, transparent);
}
.agent-tag {
  margin-left: auto;
  color: var(--agent);
  font-weight: 500;
}
/* Under the versions: what the agent suggests, and one press that takes it all. */
.agent-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px dashed var(--agent);
  border-radius: 0.875rem;
  background: color-mix(in oklab, var(--agent) 4%, var(--surface));
  color: var(--agent);
  font-size: 0.875rem;
  font-weight: 500;
}
.agent-bar[hidden] {
  display: none;
}
.agent-bar p {
  margin-right: auto;
}
.agent-bar .add {
  background: var(--agent);
  color: var(--page);
}
.stage.typing .agent-bar {
  visibility: hidden;
}
/* The account's language: a flag and its code */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.lang svg,
.card-head .lang svg {
  width: 1rem;
  height: 0.6875rem;
  border-radius: 2px;
}
/* On a card the account's name is the label, beside the network's mark. */
.card-head .lang {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.plain-link.lang {
  gap: 0.375rem;
  color: var(--ink);
  font-size: 0.9375rem;
}
.plain-link.lang svg {
  width: 1.25rem;
  height: 0.8125rem;
}
.publish {
  background: var(--accent);
  color: var(--on-accent);
}
.publish:disabled {
  background: var(--sunken);
  color: var(--muted);
  cursor: default;
}
.publish:disabled:active {
  scale: 1;
}
@media (hover: hover) {
  .publish:not(:disabled):hover {
    background: var(--accent-press);
  }
}
/* The note under the button speaks only after the press. */
.publish-note:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.publish-note {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

/* The copies: side by side on a phone, as the canvas pans; two columns from a tablet up. */
.copies {
  display: flex;
  gap: 0.75rem;
  margin-inline: -1rem;
  padding-inline: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.copies::-webkit-scrollbar {
  display: none;
}
.copies-column {
  display: contents;
}
.copy {
  flex: none;
  width: min(19rem, 82vw);
  align-self: flex-start;
  scroll-snap-align: start;
}
.copy-body {
  padding: 0.875rem;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}
.copy-body .text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.empty {
  color: var(--muted);
}
.who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.who small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}
.avatar {
  position: relative;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sunken);
}
.bubble {
  padding: 0.625rem 0.75rem;
  border-radius: 0.875rem 0.875rem 0.875rem 0.25rem;
  background: var(--sunken);
}
.bubble small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}
.post {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.625rem;
  padding-bottom: 0.875rem;
}
.post:last-child {
  padding-bottom: 0;
}
.post:not(:last-child) .avatar::after {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: calc(50% - 1px);
  width: 2px;
  height: 100vh;
  background: var(--line-strong);
  content: "";
}
.post {
  overflow: hidden;
}
.post .who {
  margin-bottom: 0.125rem;
}
.post .count {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: inherit;
}
.picture {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.625rem;
  border-radius: 0.5rem;
  background: var(--sunken);
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (min-width: 40rem) {
  .stage {
    padding: 1.25rem;
  }
  .copies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .copies-column {
    display: grid;
    gap: 1rem;
  }
  .copy {
    width: auto;
  }
}
@media (min-width: 64rem) {
  .stage {
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .copies {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* The draft stands above its versions, as the one text they all come from. */
.draft {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
}

/* Each time the page loads: the draft's card rises, and once the draft has written
   itself (landing.js) its versions rise together. */
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 0.75rem;
  }
}
.stage .draft {
  animation: rise 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.stage.typing .copies,
.stage.picking .copies,
.stage.picking .agent-bar {
  visibility: hidden;
}
/* While the draft writes itself its card is the text alone: no empty foot under a line. */
.stage.typing .draft-foot,
.stage.picking .publish,
.stage.picking .publish-note {
  display: none;
}
/* The stage opens for its versions: its height moves, and what does not fit yet is cut off. */
.stage.growing {
  overflow: hidden;
  transition: height 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* While the agent chooses, its line breathes. */
@keyframes think {
  50% {
    opacity: 0.45;
  }
}
.stage.picking .picked {
  animation: think 900ms ease-in-out infinite;
}
.stage.revealing .copy {
  animation: rise 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 70ms);
}

/* Sections */
section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) 0;
}
h2 {
  max-width: 22ch;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lede {
  max-width: 38rem;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
  text-wrap: pretty;
}

/* The launch plan: a short talk with the agent, then its posts day by day. */
.later-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.125rem 0.625rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.launch {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}
.chat {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}
.said {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.said b {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
}
.said.mine {
  justify-self: end;
  border-bottom-right-radius: 0.25rem;
  background: var(--ink);
  color: var(--page);
}
.said.agents {
  justify-self: start;
  border: 1.5px dashed var(--agent);
  border-bottom-left-radius: 0.25rem;
  background: color-mix(in oklab, var(--agent) 4%, var(--surface));
  color: var(--ink);
}
.said.agents b {
  color: var(--agent);
}
/* The plan reads as the studio's timeline: a day is a row, and its posts lie
   side by side as small previews that pan sideways. */
.plan {
  display: grid;
  gap: 0.75rem;
}
.day {
  display: grid;
  gap: 0.5rem;
}
.day-when {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.day-topic {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.posts {
  display: flex;
  gap: 0.625rem;
  margin-inline: -1rem;
  padding: 0.125rem 1rem 0.375rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 1rem;
  scrollbar-width: none;
}
.posts::-webkit-scrollbar {
  display: none;
}
.posts li {
  flex: none;
  width: 13.5rem;
  padding: 0.625rem 0.75rem;
  border: 1.5px dashed var(--agent);
  border-radius: 0.75rem;
  background: var(--surface);
  scroll-snap-align: start;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out;
  transition-delay: calc(var(--i) * 45ms);
}
.post-head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}
.post-head svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--ink);
}
.post-head svg + svg {
  width: 1rem;
  height: 0.6875rem;
  border-radius: 2px;
}
.posts [data-net="telegram"] svg:first-child {
  fill: var(--telegram);
}
.posts [data-net="linkedin"] svg:first-child {
  fill: var(--linkedin);
}
.posts [data-net="instagram"] svg:first-child {
  fill: var(--instagram);
}
.post-text {
  display: -webkit-box;
  margin-top: 0.375rem;
  overflow: hidden;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
/* Approved: the agent's dashed edge turns into a settled one, post by post. */
.launch.approved .posts li {
  border: 1.5px solid var(--done);
  background: color-mix(in oklab, var(--done) 8%, var(--surface));
}
.approve {
  justify-self: center;
  background: var(--agent);
  color: var(--page);
}
.approve[aria-disabled="true"] {
  background: var(--sunken);
  color: var(--done);
  cursor: default;
}
.approve-note {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}
/* The plan's short film (landing.js): each part waits for its turn. */
.launch.staged .said,
.launch.staged .posts li,
.launch.staged .approve,
.launch.staged .approve-note {
  opacity: 0;
}
.launch.staged .approve {
  visibility: hidden;
}
.launch.staged.asking .said.mine,
.launch.staged.thinking .said.agents {
  opacity: 1;
  transition: opacity 200ms ease-out;
}
.launch.staged.planned .posts li {
  opacity: 1;
  animation: rise 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 55ms);
}
.launch.staged.planned .approve,
.launch.staged.planned .approve-note {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 300ms ease-out 1100ms,
    visibility 0s 1100ms;
}
html:not(.js) .approve {
  display: none;
}
@media (min-width: 40rem) {
  .posts {
    margin-inline: 0;
    padding-inline: 0.125rem;
  }
}
@media (min-width: 64rem) {
  .day {
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }
  .day-label {
    padding-top: 0.625rem;
  }
}

/* The networks, each by its mark */
.networks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  max-width: 44rem;
  margin: 2rem auto 0;
}
.networks svg {
  width: 2rem;
  height: 2rem;
  fill: var(--ink);
}
/* The networks that come after the first release: smaller and quiet. */
.soon-title {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.networks.later {
  gap: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.networks.later svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--muted);
}

/* The closing invitation */
.closing {
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--canvas);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 2.5rem max(2.5rem, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.875rem;
}
footer .brand {
  font-size: 0.9375rem;
}
footer .brand svg {
  width: 1.25rem;
  height: 1.25rem;
}
footer a:not(.brand) {
  text-underline-offset: 0.25em;
}

/* The calm variant: the same changes, without movement. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .drop {
    transition: none;
  }
  .button:active,
  .drop:active {
    scale: 1;
  }
  .status {
    scale: 1;
  }
  .slot > * {
    transition-property: opacity;
  }
  @keyframes rise {
    from {
      opacity: 0;
    }
  }
  .bulb .glass,
  .bulb .rays {
    animation: none;
  }
}

/* Legal pages: privacy, terms, data deletion. */
.brand img {
  width: 1.75rem;
  height: 1.75rem;
}
footer .brand img {
  width: 1.25rem;
  height: 1.25rem;
}
.legal {
  max-width: 44rem;
  padding-block: 2rem 3rem;
}
.legal h1 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.legal h2 {
  max-width: none;
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.legal p,
.legal ul,
.legal ol {
  margin-bottom: 1rem;
}
.legal ul,
.legal ol {
  padding-left: 1.25rem;
}
.legal ul {
  list-style: disc;
}
.legal ol {
  list-style: decimal;
}
.legal li + li {
  margin-top: 0.375rem;
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a {
  text-underline-offset: 0.2em;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.875rem;
}
