/* Yo website. Static, no build step. Colors follow apps/web/src/styles.css (warm paper, ink, Yo Yellow).
   Spacing steps: 4 8 12 16 24 32 48 64 96 128. Radii: 10 small, 14 controls, 20 cards, 28 panels. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #faf9f6;
  --bg-2: #f3f2ee;
  --bg-3: #ecebe6;
  --card: #ffffff;
  --line: #e7e6e0;
  --line-2: #dad9d2;
  --ink: #1d1e1b;
  --ink-2: #2c2d2a;
  --fg-2: #4e514b;
  --muted: #6b6e67;
  --faint: #9a9c95;
  --yellow: #ffd43b;
  --yellow-2: #f5b800;
  --yellow-ink: #7a5a06;
  --green: #2f9e5f;
  --container: 1200px;
  --gutter: 32px;
  --shadow-1: 0 1px 2px rgb(29 30 27 / 0.04), 0 4px 14px -6px rgb(29 30 27 / 0.08);
  --shadow-2: 0 1px 2px rgb(29 30 27 / 0.05), 0 18px 40px -18px rgb(29 30 27 / 0.22);
  --shadow-pop: 0 40px 100px -40px rgb(0 0 0 / 0.55), 0 12px 32px -16px rgb(0 0 0 / 0.3);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}
::selection {
  background: rgb(255 212 59 / 0.6);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 1px 2px rgb(0 0 0 / 0.2),
    0 6px 16px -8px rgb(0 0 0 / 0.5);
}
.btn-ink:hover {
  background: var(--ink-2);
}

/* --------------------------------------------------------------------- Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(250 249 246 / 0.82);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}
.brand > span:last-child {
  transform: translateY(-1px);
}
.yo-mark {
  display: block;
  width: 28px;
  height: 28px;
}
.yo-mark svg,
.yo-mark img {
  width: 100%;
  height: 100%;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--fg-2);
  font-size: 15px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.nav-links a:hover {
  background: rgb(29 30 27 / 0.05);
  color: var(--ink);
}
.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.nav-menu span {
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.nav-menu[aria-expanded="true"] span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}
.nav-menu[aria-expanded="true"] span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}
.mobile-menu {
  display: grid;
  gap: 4px;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 12px;
  border-radius: 10px;
  font-size: 17px;
  text-decoration: none;
}
.mobile-menu .btn {
  margin-top: 4px;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding: 64px 0 80px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.status-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(47 158 95 / 0.15);
}
h1 {
  margin-top: 24px;
  font-size: clamp(52px, 7.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.062em;
}
h1 span {
  color: #a5a69f;
}
.lede {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
}

/* The "Yo, …" ask box. Sends the task into the live demo. */
.ask {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin-top: 32px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--card);
  box-shadow:
    0 1px 2px rgb(29 30 27 / 0.04),
    0 12px 32px -18px rgb(29 30 27 / 0.25);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.ask:focus-within {
  border-color: var(--yellow-2);
  box-shadow:
    0 0 0 4px rgb(255 212 59 / 0.35),
    0 12px 32px -18px rgb(29 30 27 / 0.25);
}
.ask-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: text;
}
.ask-prefix {
  flex: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ask input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.ask input::placeholder {
  color: var(--faint);
}
.ask-send {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s;
}
.ask-send:hover {
  background: #ffcd1f;
}
.ask-send:active {
  transform: scale(0.94);
}
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.ask-chips span {
  margin-right: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12.5px;
}
.ask-chips button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--fg-2);
  font-size: 14px;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.ask-chips button:hover {
  border-color: var(--line-2);
  background: var(--card);
}

/* Mascot stage */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  justify-self: end;
}
.stage-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 212 59 / 0.55), rgb(255 212 59 / 0.12) 60%, transparent);
  filter: blur(8px);
}
.stage-mascot {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 40%;
  translate: -50% -50%;
  animation: bob 5s ease-in-out infinite;
}
.stage-mascot svg,
.stage-mascot img {
  width: 100%;
  height: auto;
  overflow: visible;
}
.stage-shadow {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 26%;
  height: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(117 69 22 / 0.28), transparent);
  translate: -50% 0;
  animation: bob-shadow 5s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes bob-shadow {
  50% {
    transform: scale(0.82);
    opacity: 0.7;
  }
}
.feed-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-2);
  font-size: 13.5px;
  line-height: 1.3;
  white-space: nowrap;
  animation: drift 7s ease-in-out infinite;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}
.feed-card b {
  display: block;
  font-weight: 600;
}
.feed-card span {
  color: var(--muted);
  font-size: 12.5px;
}
.feed-card i {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.feed-card i.ok {
  background: #e3f4ea;
  color: var(--green);
}
.feed-card i.wait {
  background: #fff3c4;
  color: var(--yellow-ink);
}
.feed-card i.run {
  background: var(--bg-2);
}
.feed-card i.run::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--line-2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
/* Cards sit around the mascot, never over its face. */
.feed-card:nth-child(1) {
  left: 0;
  top: 9%;
}
.feed-card:nth-child(2) {
  right: 0;
  top: 64%;
  animation-delay: -2s;
}
.feed-card:nth-child(3) {
  left: 2%;
  top: 84%;
  animation-delay: -4s;
}
.feed-card:nth-child(4) {
  right: 0;
  top: 0;
  animation-delay: -5.5s;
}
.feed-card.is-fresh {
  box-shadow:
    0 0 0 3px rgb(255 212 59 / 0.55),
    var(--shadow-2);
}
@keyframes drift {
  50% {
    transform: translateY(-6px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.providers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.providers > span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.providers ul {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.providers li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.providers li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* ---------------------------------------------------------------- Sections */

.section {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding-top: 136px;
}
.section-head {
  max-width: 820px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kicker span {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.section h2 {
  font-size: clamp(38px, 4.9vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.sub {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* -------------------------------------------------------------------- Demo */

.demo-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
}
.tour {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.tour-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
}
.tour-head span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}
.tour-bar {
  height: 4px;
  margin: 12px 0 8px;
  border-radius: 4px;
  background: var(--bg-3);
  overflow: hidden;
}
.tour-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow-2);
  transition: width 0.6s var(--ease);
}
.tour ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tour li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--fg-2);
  font-size: 14px;
  transition: color 0.3s;
}
.tour li i {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.tour li.is-done {
  color: var(--faint);
}
.tour li.is-done i {
  border-color: var(--ink);
  background: var(--ink);
  transform: scale(1.06);
}
.tour li.is-done i::after {
  content: "✓";
}
.tour-done {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.tour-done a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* A little Mac desktop around the demo window. Follows the demo's appearance. */
.desk {
  --wall:
    radial-gradient(55% 70% at 12% 8%, rgb(255 212 59 / 0.42), transparent 62%),
    radial-gradient(50% 70% at 92% 96%, rgb(132 104 255 / 0.4), transparent 62%),
    linear-gradient(160deg, #2b2c33, #141519);
  --bar: rgb(10 10 12 / 0.35);
  --bar-fg: rgb(255 255 255 / 0.92);
  margin-top: 48px;
  border-radius: 28px;
  background: var(--wall);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: background 0.5s;
}
.desk.is-light {
  --wall:
    radial-gradient(55% 70% at 12% 8%, #ffe58f, transparent 62%),
    radial-gradient(50% 70% at 92% 96%, #ffc6a5, transparent 62%), linear-gradient(160deg, #fbf3de, #f2e3d3);
  --bar: rgb(255 255 255 / 0.4);
  --bar-fg: rgb(29 30 27 / 0.9);
}
.menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 14px 0 18px;
  background: var(--bar);
  backdrop-filter: blur(18px);
  color: var(--bar-fg);
  font-size: 13px;
}
.menubar-left,
.menubar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.menubar-left img {
  width: 16px;
  height: 16px;
}
.menubar-left b {
  margin-left: -8px;
  font-weight: 700;
}
.menubar-left span {
  opacity: 0.85;
}
.appearance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.14);
  color: inherit;
  font-size: 12.5px;
  transition: background-color 0.2s;
}
.desk.is-light .appearance {
  background: rgb(29 30 27 / 0.08);
}
.appearance:hover {
  background: rgb(255 255 255 / 0.24);
}
.desk.is-light .appearance:hover {
  background: rgb(29 30 27 / 0.14);
}
.appearance .i-sun,
.desk.is-light .appearance .i-moon {
  display: none;
}
.desk.is-light .appearance .i-sun {
  display: block;
}
.clock {
  font-variant-numeric: tabular-nums;
}
.desk-window {
  padding: 40px 44px 48px;
}
.desk .app {
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.25),
    var(--shadow-pop);
}
.desk .app.theme-light {
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.08),
    0 40px 90px -40px rgb(90 50 10 / 0.45);
}

/* -------------------------------------------------------------------- Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.tile-computer,
.tile-memory {
  grid-column: span 7;
}
.tile-plan,
.tile-approve {
  grid-column: span 5;
}
.tile-copy {
  padding: 20px 20px 18px;
}
.tile h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}
.viz {
  position: relative;
  height: 248px;
  border-radius: 15px;
  background-color: var(--bg-2);
  background-image:
    linear-gradient(rgb(29 30 27 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(29 30 27 / 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  overflow: hidden;
}

/* Its own computer */
.vc-browser {
  position: absolute;
  left: 32px;
  top: 28px;
  width: 64%;
  border-radius: 12px;
  background: #1f2023;
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.55);
  overflow: hidden;
}
.vc-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: #2a2c30;
  color: #9a9993;
  font-family: var(--mono);
  font-size: 11px;
}
.vc-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4c51;
}
.vc-bar span {
  margin-left: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vc-page {
  display: grid;
  gap: 9px;
  padding: 16px;
}
.vc-page b {
  height: 9px;
  border-radius: 5px;
  background: #3a3c41;
}
.vc-page b:first-child {
  width: 46%;
  height: 12px;
  background: #55575d;
}
.vc-page b.short {
  width: 64%;
}
.vc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.vc-row em {
  height: 34px;
  border-radius: 8px;
  background: #2f3135;
}
.vc-row em.hot {
  animation: hot 4.8s ease-in-out infinite;
}
@keyframes hot {
  0%,
  52% {
    background: #2f3135;
    box-shadow: none;
  }
  56%,
  92% {
    background: rgb(255 212 59 / 0.85);
    box-shadow: 0 0 0 3px rgb(255 212 59 / 0.25);
  }
}
.vc-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 30%;
  top: 40%;
  animation: vc-cursor 4.8s var(--ease) infinite;
}
@keyframes vc-cursor {
  0%,
  10% {
    left: 22%;
    top: 34%;
  }
  45% {
    left: 82%;
    top: 74%;
    transform: scale(1);
  }
  52% {
    left: 82%;
    top: 74%;
    transform: scale(0.82);
  }
  58%,
  100% {
    left: 82%;
    top: 74%;
    transform: scale(1);
  }
}
.vc-term {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 52%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0f1012;
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.6);
  color: #d6d5cf;
  font-family: var(--mono);
  font-size: 11.5px;
}
.vc-term p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}
.vc-term p + p {
  margin-top: 4px;
}
.vc-term span {
  color: var(--yellow);
}
.vc-term .ok {
  color: #83dba3;
  animation: term-line 4.8s steps(1) infinite;
}
@keyframes term-line {
  0%,
  58% {
    opacity: 0;
  }
  60%,
  100% {
    opacity: 1;
  }
}

/* Your plan */
.viz-plan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px 28px;
}
.vp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
  font-weight: 500;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.vp-row i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.vp-row small {
  color: var(--faint);
  font-size: 13px;
  font-weight: 400;
}
.vp-row em {
  position: relative;
  width: 34px;
  height: 20px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--bg-3);
  transition: background-color 0.4s;
}
.vp-row em::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  transition: transform 0.4s var(--ease);
}
.vp-row.is-on {
  border-color: var(--line-2);
  box-shadow: var(--shadow-1);
}
.vp-row.is-on em {
  background: var(--ink);
}
.vp-row.is-on em::after {
  transform: translateX(14px);
}
.viz-plan p {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
}

/* Asks first */
.viz-approve {
  display: grid;
  place-items: center;
}
.va-card {
  position: relative;
  width: min(300px, 82%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-2);
}
.va-card small {
  display: block;
  color: var(--yellow-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.va-card b {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}
.va-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  animation: va-actions 6s steps(1) infinite;
}
.va-actions span,
.va-actions strong {
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
}
.va-actions span {
  background: var(--bg-2);
  color: var(--fg-2);
}
.va-actions strong {
  background: var(--ink);
  color: #fff;
  animation: va-press 6s var(--ease) infinite;
}
.va-done {
  position: absolute;
  left: 16px;
  bottom: 18px;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  animation: va-done 6s steps(1) infinite;
}
@keyframes va-press {
  0%,
  44% {
    transform: scale(1);
  }
  48% {
    transform: scale(0.92);
  }
  52%,
  100% {
    transform: scale(1);
  }
}
@keyframes va-actions {
  0%,
  52% {
    visibility: visible;
  }
  53%,
  92% {
    visibility: hidden;
  }
}
@keyframes va-done {
  0%,
  52% {
    opacity: 0;
  }
  53%,
  92% {
    opacity: 1;
  }
}
.va-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  animation: va-cursor 6s var(--ease) infinite;
}
@keyframes va-cursor {
  0%,
  8% {
    left: 86%;
    top: 92%;
  }
  40%,
  60% {
    left: calc(50% + min(150px, 41%) - 44px);
    top: calc(50% + 26px);
  }
  92%,
  100% {
    left: 86%;
    top: 92%;
  }
}

/* Memory */
.viz-memory {
  padding: 24px 28px;
}
.vm-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.viz-memory ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.viz-memory li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 14.5px;
  font-weight: 500;
}
.viz-memory small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 400;
}
.viz-memory li.vm-new {
  border-color: var(--yellow-2);
  box-shadow: 0 0 0 3px rgb(255 212 59 / 0.3);
  animation: vm-new 5s var(--ease) infinite;
}
@keyframes vm-new {
  0%,
  12% {
    opacity: 0;
    transform: translateY(8px);
  }
  22%,
  100% {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------- Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.step-viz {
  display: grid;
  place-items: center;
  height: 132px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.step-n {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.step h3 {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.step p {
  margin: 8px 0 0;
  padding-right: 16px;
  color: var(--muted);
  font-size: 15.5px;
}
.sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--card);
  box-shadow: var(--shadow-1);
  font-size: 14.5px;
  font-weight: 500;
}
.sv-btn i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.sv-boot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  width: 72%;
  font-size: 13.5px;
}
.sv-boot b {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.sv-boot em {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: var(--bg-3);
  overflow: hidden;
}
.sv-boot em i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow-2);
  animation: boot 4s var(--ease) infinite;
}
@keyframes boot {
  0% {
    width: 4%;
  }
  80%,
  100% {
    width: 100%;
  }
}
.sv-ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-1);
  font-size: 15px;
}
.sv-ask i {
  width: 1.5px;
  height: 18px;
  margin-left: 1px;
  background: var(--ink);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* --------------------------------------------------------------------- Crew */

.crew {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 56px;
}
/* Shared floor line under every character. */
.crew::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 126px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}
.hire {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: none;
  text-align: center;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.hire-art {
  display: block;
  width: 120px;
  height: 120px;
  transition: transform 0.45s var(--ease);
}
.hire-art {
  position: relative;
}
.hire-art img {
  position: relative;
  width: 100%;
  height: 100%;
}
/* The Yo mark has no ground shadow of its own; match the others. */
.hire.is-flat .hire-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 104px;
  width: 54px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(29 30 27 / 0.22), transparent);
  translate: -50% 0;
}
.hire b {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hire span:last-child {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
}
.hire:hover {
  border-color: var(--line);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.hire:hover .hire-art {
  transform: translateY(-8px) rotate(-3deg);
}

/* ---------------------------------------------------------------------- Map */

.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr) 132px minmax(0, 1fr);
  align-items: center;
  margin-top: 56px;
}
.node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.node svg {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  padding: 9px;
  border-radius: 12px;
  background: var(--bg-2);
}
.node b {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.node span {
  color: var(--muted);
  font-size: 14.5px;
}
.node-out {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}
.link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.link i {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  animation: flow 0.9s linear infinite;
}
.link-out i {
  background-image: repeating-linear-gradient(90deg, var(--yellow-2) 0 6px, transparent 6px 12px);
}
.link small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
}
.link {
  padding: 0 12px;
}
@keyframes flow {
  to {
    background-position: 12px 0;
  }
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 15px;
}
.facts b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15.5px;
}

/* ---------------------------------------------------------------------- FAQ */

.faq-list {
  max-width: 880px;
  margin-top: 48px;
  border-top: 1px solid var(--line-2);
}
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.8px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.8px 14px no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq summary:hover {
  color: var(--fg-2);
}
.faq details p {
  max-width: 680px;
  margin: -8px 0 0;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 16.5px;
}

/* -------------------------------------------------------------------- Final */

.final {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 136px auto 0;
}
.final-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 420px;
  border-radius: 32px;
  background: radial-gradient(70% 90% at 100% 100%, rgb(255 255 255 / 0.35), transparent 60%), var(--yellow);
  overflow: hidden;
}
.final-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0 72px 72px;
}
.final h2 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.final-copy > p {
  max-width: 440px;
  margin: 16px 0 0;
  color: rgb(29 30 27 / 0.72);
  font-size: 18px;
}
.ask-on-yellow {
  border-color: rgb(29 30 27 / 0.12);
  box-shadow: 0 16px 40px -24px rgb(90 60 0 / 0.6);
}
.ask-on-yellow:focus-within {
  border-color: var(--ink);
  box-shadow:
    0 0 0 4px rgb(29 30 27 / 0.12),
    0 16px 40px -24px rgb(90 60 0 / 0.6);
}
.ask-on-yellow .ask-send {
  background: var(--ink);
  color: #fff;
}
.ask-on-yellow .ask-send:hover {
  background: var(--ink-2);
}
.final-mascot {
  position: absolute;
  right: 40px;
  bottom: -64px;
  width: 340px;
  rotate: -8deg;
  filter: drop-shadow(0 24px 40px rgb(117 69 22 / 0.35));
}
.final-mascot svg,
.final-mascot img {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ------------------------------------------------------------------- Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin: 64px auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}
.footer .brand {
  font-size: 20px;
}
.footer .brand img {
  width: 22px;
  height: 22px;
}
.footer nav {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
}
.footer nav a {
  color: var(--muted);
  text-decoration: none;
}
.footer nav a:hover {
  color: var(--ink);
}
.footer-copy {
  color: var(--faint);
  font-size: 13.5px;
}

/* -------------------------------------------- Download, copy chip, plans */

[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must win over .btn's display */
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.btn-lg {
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 16px;
}
.btn-line {
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn-line:hover {
  border-color: var(--faint);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-2);
}
.btn-ghost:hover {
  background: rgb(29 30 27 / 0.05);
  color: var(--ink);
}
.btn-gh {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--fg-2);
  transition: background-color 0.2s;
}
.btn-gh:hover {
  background: rgb(29 30 27 / 0.05);
  color: var(--ink);
}
a.status-chip {
  text-decoration: none;
}
.status-chip b {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.setup-copy-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 32px;
}
/* The way we want most people to install Yo: the hero's first, brightest action. */
.setup-copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--yellow-2);
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.5) inset,
    0 10px 24px -10px rgb(245 184 0 / 0.65);
  transition:
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.setup-copy:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.5) inset,
    0 14px 28px -10px rgb(245 184 0 / 0.75);
}
.setup-copy-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgb(29 30 27 / 0.1);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.setup-hint {
  flex: 1 1 100%;
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.setup-copy-wrap + .hero-actions {
  margin-top: 18px;
}
.setup-copy-prefix {
  color: var(--yellow-ink);
  font-weight: 700;
}
.setup-copy .i-check,
.setup-copy.is-copied .i-copy {
  display: none;
}
.setup-copy.is-copied .i-check {
  display: block;
  color: var(--green);
}
.setup-copy.is-copied {
  border-style: solid;
  border-color: rgb(47 158 95 / 0.5);
  background: rgb(47 158 95 / 0.08);
  color: var(--ink);
}
.setup-note {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}
.setup-note:empty {
  display: none;
}
.setup-fallback {
  flex: 1 1 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}
.hero-meta {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hero-meta a {
  color: var(--fg-2);
  text-decoration-color: var(--yellow-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg-3);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
code.cmd {
  display: block;
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #f1f0eb;
  font-size: 13.5px;
}

/* How it works: four steps */
.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sv-connect {
  display: grid;
  gap: 8px;
  width: 82%;
}
.sv-connect span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
}
.sv-connect i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.sv-connect em {
  margin-left: auto;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}
.sv-where {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 88%;
}
.sv-where span {
  display: grid;
  gap: 2px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
}
.sv-where small {
  color: var(--yellow-ink);
  font-size: 10.5px;
}
.sv-where .is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgb(255 212 59 / 0.7);
}
.sv-where .is-off {
  color: var(--faint);
  border-style: dashed;
}
.sv-where .is-off small {
  color: var(--faint);
}

/* Requirements */
.reqs {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 48px;
}
.req-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  font-size: 15px;
}
.req-table th,
.req-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.req-table tbody tr:last-child > * {
  border-bottom: 0;
}
.req-table thead th {
  padding-block: 12px;
  background: var(--bg-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.req-table tbody th {
  font-weight: 500;
}
.req-table tbody th small {
  display: block;
  color: var(--faint);
  font-size: 13px;
  font-weight: 400;
}
.req-table td {
  color: var(--muted);
}
.req-table td b {
  color: var(--ink);
  font-weight: 600;
}
.req-notes {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.req-notes li {
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 15px;
}
.req-notes b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15.5px;
}

/* Open source: free vs $10 */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.plans-one {
  grid-template-columns: minmax(0, 620px);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.plan-pro {
  border-color: rgb(245 184 0 / 0.55);
  background: linear-gradient(180deg, rgb(255 212 59 / 0.14), transparent 55%), var(--card);
}
.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.plan h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.plan-price {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.plan-meta {
  margin: 6px 0 0;
  color: var(--muted);
}
.plan ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-2);
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
}
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.soon-pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.plan-foot {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13.5px;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.final-actions .btn-line {
  border-color: rgb(29 30 27 / 0.15);
}

/* Download panel: site.js shows it next to the Download link that was clicked (a bottom sheet on phones). */
.dl-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: min(384px, 100vw - 32px);
  padding: 20px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  box-shadow:
    var(--shadow-2),
    0 30px 70px -30px rgb(29 30 27 / 0.35);
}
.dl-panel[hidden] {
  display: none;
}
.dl-panel:focus {
  outline: none;
}
.dl-panel.is-in {
  animation: dl-in 0.35s var(--ease);
}
@keyframes dl-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}
.dl-panel.is-sheet {
  top: auto;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  width: auto;
}
.dl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.2s;
}
.dl-close:hover {
  background: rgb(29 30 27 / 0.05);
  color: var(--ink);
}
.dl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 32px;
}
.dl-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgb(47 158 95 / 0.1);
  color: var(--green);
}
.dl-icon-soon {
  background: var(--bg-2);
  color: var(--fg-2);
}
.dl-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.dl-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.dl-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: dl;
}
.dl-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.5;
  counter-increment: dl;
}
.dl-steps li::before {
  content: counter(dl);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}
.dl-steps b {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dl-panel a:not(.btn),
.dl-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.dl-help {
  white-space: nowrap;
}
.dl-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}
.dl-text {
  margin: 14px 0 0;
  color: var(--fg-2);
  font-size: 14.5px;
}
.dl-actions {
  margin-top: 16px;
}
.dl-foot {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
.dl-foot p {
  margin: 0;
}
/* "Use Set up with your agent" in the panel scrolls here and gives the chip a short glow. */
.setup-copy.is-nudged {
  animation: nudge 1.4s var(--ease);
}
@keyframes nudge {
  30% {
    box-shadow:
      0 1px 0 rgb(255 255 255 / 0.5) inset,
      0 0 0 6px rgb(255 212 59 / 0.45);
  }
}

/* Scroll reveal (site.js adds .is-in; without JS everything is visible). */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Mascot eyes: site.js moves .yo-av-look toward the pointer and blinks .yo-av-blink. */
[data-mascot] .yo-av-look {
  transition: transform 0.25s var(--ease);
}
[data-mascot] .yo-av-blink {
  transform-box: fill-box;
  transform-origin: center;
}
[data-mascot].is-blinking .yo-av-blink {
  animation: blink 0.18s ease-in-out;
}
@keyframes blink {
  50% {
    transform: scaleY(0.1);
  }
}

/* --------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .hero {
    gap: 32px;
  }
  .steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .nav-links a {
    padding-inline: 10px;
  }
  .feed-card:nth-child(4) {
    display: none;
  }
  .desk-window {
    padding: 28px;
  }
  .crew {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
  }
  .hire {
    width: calc(25% - 6px);
  }
  .crew::before {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 60px;
  }
  .nav-links,
  .nav-end .btn {
    display: none;
  }
  .nav-menu {
    display: flex;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 40px 0 56px;
  }
  .hero-stage {
    justify-self: center;
    max-width: 400px;
    aspect-ratio: 1 / 0.92;
  }
  .ask-chips {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ask-chips::-webkit-scrollbar {
    display: none;
  }
  .ask-chips button {
    flex: none;
  }
  .lede {
    font-size: 17.5px;
  }
  .ask {
    padding-left: 16px;
  }
  .ask-prefix,
  .ask input {
    font-size: 17px;
  }
  .providers {
    justify-content: center;
    text-align: center;
  }
  .providers ul {
    gap: 24px;
  }
  .providers li {
    font-size: 17px;
  }
  .section {
    padding-top: 96px;
  }
  .demo-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .desk {
    margin-top: 32px;
    border-radius: 22px;
  }
  .menubar-left span,
  .mb-icon {
    display: none;
  }
  .desk-window {
    padding: 14px;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-computer,
  .tile-memory,
  .tile-plan,
  .tile-approve {
    grid-column: auto;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .crew {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .crew::-webkit-scrollbar {
    display: none;
  }
  .hire {
    flex: none;
    width: 148px;
    scroll-snap-align: start;
  }
  .hire-art {
    width: 104px;
    height: 104px;
  }
  .map {
    grid-template-columns: minmax(0, 1fr);
  }
  .link {
    flex-direction: row;
    justify-content: center;
    height: 56px;
  }
  .link small {
    position: absolute;
    left: calc(50% + 14px);
    top: 50%;
    translate: 0 -50%;
  }
  .link i {
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px);
    background-size: 2px 12px;
    animation-name: flow-down;
  }
  .link-out i {
    background-image: repeating-linear-gradient(180deg, var(--yellow-2) 0 6px, transparent 6px 12px);
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .reqs,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan {
    padding: 24px;
  }
  .faq summary {
    font-size: 17px;
    padding: 20px 0;
  }
  .final {
    margin-top: 96px;
  }
  .final-panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 24px;
  }
  .final-copy {
    padding: 48px 24px 200px;
  }
  .final-mascot {
    right: 50%;
    bottom: -56px;
    width: 220px;
    translate: 50% 0;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}
@keyframes flow-down {
  to {
    background-position: 0 12px;
  }
}

@media (max-width: 520px) {
  .setup-copy {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 0 14px;
    font-size: 15px;
    white-space: nowrap;
  }
  .setup-copy-tag {
    display: none;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .req-table {
    font-size: 14px;
  }
  .req-table th,
  .req-table td {
    padding: 12px;
  }
  .req-table tbody th small {
    font-size: 12px;
  }
  .feed-card {
    font-size: 12.5px;
  }
  .feed-card span {
    font-size: 11.5px;
  }
  .feed-card:nth-child(1) {
    top: 0;
  }
  .feed-card:nth-child(2) {
    top: 66%;
  }
  .feed-card:nth-child(3) {
    top: 86%;
  }
  .stage-mascot {
    top: 46%;
    width: 38%;
  }
  .viz {
    height: 232px;
  }
  .vc-browser {
    left: 16px;
    width: 76%;
  }
  .vc-term {
    right: 16px;
    width: 72%;
  }
  .viz-memory ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .viz-memory li:nth-child(n + 3):not(.vm-new) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override */
    animation-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override */
    animation-iteration-count: 1 !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override */
    transition-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override */
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
