/* The hero (docs/22, the default since 2026-10-31): one plain line, three steps, and the work moving beside it.
   Desktop: the line on the left, three columns of real slides scrolling on the right. Phone: the line, then rows sliding across.
   The first hero is kept at ?hero=a (the head script sets html[data-hero="a"]); otherwise its promise gives way and its demo
   stays as How it works. Without the head script nothing is hidden. Every slide is a real run from the wall (data.js). */
html[data-hero="a"] .hb, html[data-hero="a"] .hb-how { display: none; }
html[data-hero="b"] .hero:not(.hb) > .wrap.center { display: none; }
html[data-hero="b"] .hero:not(.hb) { padding-top: 8px; }

.hb { position: relative; padding: 0; overflow: hidden; }
.hb-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 48px; align-items: center; height: min(86vh, 800px); min-height: 560px; }
.hb-h1 { font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.035em; margin: 0; max-width: 12ch; }
.hb-steps { margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: clamp(16px, 1.3vw, 19px); }
.hb-steps li { display: flex; align-items: center; gap: 10px; }
.hb-steps code { font: 400 .9em/1 var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; white-space: nowrap; }
/* "Claude" as the app people know it: its cream and a serif like its greeting, no mark of Anthropic's */
.hb-claude { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; letter-spacing: -0.02em; background: #F0EEE6; border: 1px solid #E3DFD3; border-radius: .22em; padding: 0 .16em .04em; box-shadow: 0 1px 0 rgb(0 0 0 / .04); white-space: nowrap; }
.hb-steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--muted); }
.hb .acts { margin-top: 28px; justify-content: flex-start; align-items: center; gap: 16px; }
.hb-price { font-size: 15px; color: var(--ink); }
.hb-fine { margin-top: 12px; font-size: 13px; color: var(--muted); }

.hb-s { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #E6E6E1; flex: none; cursor: pointer;
  box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 14px 34px -20px rgb(0 0 0 / .4), 0 0 0 1px rgb(0 0 0 / .06); }
.hb-s img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hb-cols { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.hb-col { display: grid; gap: 14px; align-content: start; animation: hb-y 50s linear infinite; }
.hb-col:nth-child(2) { animation-direction: reverse; animation-duration: 62s; }
.hb-col:nth-child(3) { animation-duration: 44s; }
.hb-rows { display: none; }
.hb-row { display: flex; gap: 10px; width: max-content; animation: hb-x 70s linear infinite; }
.hb-row:nth-child(even) { animation-direction: reverse; animation-duration: 85s; }
.hb.still .hb-col, .hb.still .hb-row { animation-play-state: paused; }
@keyframes hb-y { to { transform: translateY(-50%); } }
@keyframes hb-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hb-col, .hb-row { animation: none; } }

.hb-how { font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; text-align: center; margin: 40px 0 24px; }

@media (max-width: 719px) {
  .hb-in { display: block; height: auto; min-height: 0; padding-top: 40px; }
  .hb-text { text-align: center; }
  .hb-h1 { margin-inline: auto; font-size: clamp(36px, 10vw, 46px); }
  .hb-steps { width: max-content; max-width: 100%; margin-inline: auto; gap: 8px; text-align: left; }
  .hb .acts { justify-content: center; }
  .hb-cols { display: none; }
  .hb-rows { display: grid; gap: 10px; overflow: hidden; padding: 32px 0 24px; margin-inline: calc(-1 * var(--gut)); }
  .hb-rows .hb-s { width: 200px; }
}
