/* Yakyard website. Values follow the brand tokens (docs/brand, ds tokens.css). */
@font-face { font-family: "Rammetto One"; src: url("/fonts/RammettoOne-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Wix Madefor Text"; src: url("/fonts/WixMadeforText-Variable.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/MartianMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #fff8e6; --surface: #ffffff; --ink: #120f2e; --muted: #5b5670;
  --line: #e4decd; --line-strong: #958b74;
  --indigo: #2b1bd6; --indigo-press: #2112a8; --on-indigo: #ffffff;
  --brand: #2b1bd6; --brand-muted: #dcd8ff;
  --yellow: #ffd93b; --red: #ff4b2b; --danger: #c8280f; --night: #120f2e;
  --me: #fff1b0; --them: #f1eff8; --focus: #2b1bd6;
  --code-bg: #f6f1e1;
  --display: "Rammetto One", "Arial Black", sans-serif;
  --sans: "Wix Madefor Text", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hi: inset 0 1px 0 rgba(255,255,255,.55);
  --sh-1: 0 1px 0 rgba(18,15,46,.04), 0 1px 3px rgba(18,15,46,.06);
  --sh-2: 0 1px 1px rgba(18,15,46,.04), 0 2px 4px rgba(18,15,46,.04), 0 8px 16px -4px rgba(18,15,46,.07), 0 20px 32px -12px rgba(43,27,214,.08);
  --sh-3: 0 1px 1px rgba(18,15,46,.04), 0 4px 8px rgba(18,15,46,.04), 0 16px 28px -8px rgba(18,15,46,.08), 0 36px 64px -24px rgba(43,27,214,.14);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .07 0 0 0 0 .06 0 0 0 0 .18 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --wrap: 1200px;
  --gut: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #120f2e; --surface: #1a1640; --ink: #fff8e6; --muted: #b4afd0;
    --line: #2e2963; --line-strong: #6a63a8;
    --indigo: #9c93ff; --indigo-press: #b7b0ff; --on-indigo: #120f2e;
    --red: #ff6b4f; --danger: #ff8a70;
    --me: #42350a; --them: #262158; --focus: #ffd93b;
    --code-bg: #211c4d;
    --hi: inset 0 1px 0 rgba(255,255,255,.07);
    --sh-1: 0 1px 2px rgba(5,4,20,.35);
    --sh-2: 0 1px 2px rgba(5,4,20,.35), 0 12px 28px -10px rgba(5,4,20,.5);
    --sh-3: 0 1px 1px rgba(5,4,20,.3), 0 16px 28px -8px rgba(5,4,20,.45), 0 36px 64px -24px rgba(5,4,20,.4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--indigo) var(--paper); scroll-padding-top: 88px; }
body { margin: 0; -webkit-tap-highlight-color: transparent; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); opacity: .035; will-change: transform; }
@media (prefers-color-scheme: dark) { body::after { opacity: .025; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--night); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--night); color: #fff8e6; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* type */
.d-xl { font: 400 clamp(42px, 7.1vw, 104px)/.98 var(--display); letter-spacing: -.02em; }
.d-l { font: 400 clamp(32px, 4.6vw, 60px)/1.04 var(--display); letter-spacing: -.01em; }
.d-m { font: 400 clamp(26px, 3vw, 36px)/1.1 var(--display); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--night); font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: background-color .15s ease, box-shadow .15s ease, transform .12s var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(18,15,46,.25), var(--sh-1); }
.btn--primary:hover { background: #2112a8; }
.btn--secondary { background: var(--yellow); color: var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(18,15,46,.12), var(--sh-1); }
.btn--secondary:hover { background: color-mix(in srgb, var(--yellow) 85%, var(--red)); }
.btn--ghost { border-color: transparent; color: var(--indigo); padding-inline: 10px; background: none; }
.btn--ghost:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.btn--primary:active, .btn--secondary:active { box-shadow: inset 0 1px 2px rgba(18,15,46,.25); }
@media (prefers-color-scheme: dark) { .btn { border-color: transparent; } .btn--primary:hover { background: #3a2bea; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 97%, transparent); border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo { display: block; flex: none; border-radius: 10px; }
.lockup { display: flex; align-items: center; gap: 10px; }
.lockup__icon { width: 34px; height: 34px; flex: none; overflow: visible; }
.lockup img { height: 26px; width: auto; }
.nav__logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { .nav__logo .on-light { display: none; } .nav__logo .on-dark { display: block; } }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .15s ease; }
.nav li a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav li a[aria-current="page"] { background: var(--me); color: var(--ink); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__gh { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav__gh:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }

/* hero */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); overflow: clip; background: radial-gradient(1100px 620px at 0% 0%, rgba(255,255,255,.6), rgba(255,255,255,0) 62%), radial-gradient(900px 520px at 88% 70%, rgba(255,217,59,.13), rgba(255,217,59,0) 70%); }
@media (prefers-color-scheme: dark) { .hero { background: radial-gradient(1000px 600px at 0% 0%, rgba(156,147,255,.10), rgba(156,147,255,0) 62%); } }
.hero h1 { max-width: 12ch; }
.hero h1 .l { display: block; }
.hero h1 .hot { color: var(--red); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 4vw, 56px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.hero__copy { display: grid; gap: 28px; padding-top: 8px; }
.hero__note { font-size: 15px; color: var(--muted); }
.stage { position: relative; margin-right: 28px; margin-bottom: 40px; }
.browser { position: relative; background: var(--surface); border-radius: 16px; border: 2px solid var(--night); box-shadow: var(--sh-3); overflow: hidden; }
@media (prefers-color-scheme: dark) { .browser { border-color: #2e2963; } }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: var(--paper); border-bottom: 2px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__url { flex: 1; max-width: 360px; margin: 0 auto; height: 26px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font: 400 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.browser__url b { color: var(--ink); font-weight: 500; }
.browser img { width: 100%; aspect-ratio: 2160 / 1350; object-fit: cover; }
.phone { position: absolute; right: -28px; bottom: -44px; width: clamp(150px, 19%, 232px); border-radius: 30px; padding: 6px; background: var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--sh-3); }
.phone img { border-radius: 24px; aspect-ratio: 780 / 1688; object-fit: cover; }
.sticker { position: absolute; z-index: 2; display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--night); background: var(--yellow); color: var(--night); font: 400 20px/1.1 var(--display); white-space: nowrap; box-shadow: var(--hi), var(--sh-2); transform: rotate(-4deg); }
.stage .sticker { top: -20px; left: -22px; }
.sticker { transition: transform .25s var(--spring), box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .stage .sticker { pointer-events: auto; }
  .stage .sticker:hover, .pc__col .sticker:hover { transform: rotate(3deg) translateY(-4px) scale(1.06); box-shadow: var(--hi), var(--sh-3); }
}

/* the one orchestrated moment: the hero assembles once on load. CSS only, so it runs before any script. */
.hero h1 .w, .hero h1 .stamp { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .w { animation: word .72s var(--spring) calc(var(--i) * 70ms) backwards; }
  .js .hero h1 .stamp { transform-origin: 30% 60%; animation: stamp .5s var(--ease) .42s backwards; }
  .js .hero__copy { animation: fade .7s ease .3s backwards; }
  .js .browser { animation: settle 1s var(--ease) .18s backwards; }
  .js .phone { animation: phone 1s var(--ease) .42s backwards; }
  .js .stage .sticker { animation: slap .5s var(--ease) .8s backwards; }
  .js .yak--hero { animation: peek .7s var(--spring) 1s backwards; }
  .js .yak--hero.is-intro .yak-horn { animation: horn-l .7s var(--ease) 1.5s; }
  .js .yak--hero.is-intro .yak-horn--r { animation-name: horn-r; }
  .js .yak--hero.is-intro .yak-dots circle { animation: type .9s ease-in-out 1.6s 2; }
}
@keyframes word { from { transform: translateY(.55em) rotate(5deg) scale(.92); opacity: 0; } }
@keyframes stamp { 0% { transform: scale(1.7) rotate(-7deg); opacity: 0; } 55% { transform: scale(.94) rotate(1deg); opacity: 1; } 100% { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: translateY(28px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes phone { from { transform: translateY(56px) rotate(3deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slap { 0% { transform: translate(-14px, -18px) rotate(-16deg) scale(1.5); opacity: 0; } 60% { transform: rotate(-2deg) scale(.95); opacity: 1; } 100% { transform: rotate(-4deg); } }
@keyframes peek { from { transform: translateY(60%) scale(.9); opacity: 0; } }

/* sections */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.sec__head p { color: var(--muted); font-size: 19px; max-width: 58ch; }

/* what you get */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; border-radius: var(--r-lg); border: 2px solid var(--night); background: var(--surface); padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--hi), var(--sh-1); min-width: 0; }
@media (prefers-color-scheme: dark) { .tile { border-color: var(--line); } }
.tile h3 { font: 700 22px/1.25 var(--sans); }
.tile p { color: var(--muted); max-width: 44ch; }
.tile__shot { margin-top: auto; padding-top: 22px; }
.tile__shot img { border-radius: 12px 12px 0 0; border: 2px solid var(--line); border-bottom: 0; }
.t-thread { grid-column: span 7; }
.t-phone { grid-column: span 5; background: var(--yellow); color: var(--night); }
.t-phone p, .t-themes p { color: inherit; opacity: .86; }
.t-phone .tile__shot { display: flex; justify-content: center; gap: 14px; }
.t-phone .tile__shot img { width: 46%; max-width: 210px; border-radius: 22px 22px 0 0; border: 5px solid var(--night); border-bottom: 0; }
.t-themes { grid-column: span 5; background: radial-gradient(420px 260px at 0% 0%, rgba(255,255,255,.09), rgba(255,255,255,0) 70%), var(--brand); color: #fff; }
.t-themes p { color: #e6e3ff; opacity: 1; }
.t-themes .tile__shot { flex: 1; position: relative; min-height: 240px; }
.t-themes .tile__shot img { position: absolute; left: 0; top: 22px; width: 170%; max-width: none; border-color: rgba(255,255,255,.25); }
.t-slack { grid-column: span 7; }
.also { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.also li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 600; font-size: 15px; }
.also li.lead { background: none; border-color: transparent; padding-left: 0; color: var(--muted); font-weight: 400; }

/* voice */
.band { background: radial-gradient(900px 500px at 0% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%), var(--surface); border-block: 2px solid var(--line); }
@media (prefers-color-scheme: dark) { .band { background: var(--surface); } }
.voice .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.voice h2 { margin-bottom: 22px; }
.voice__text > p { color: var(--muted); font-size: 19px; max-width: 44ch; }
.facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 2px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--line); align-items: baseline; }
.facts dt { font: 500 13px/1.5 var(--mono); color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.voice__shots { position: relative; }
.voice__note { border-radius: var(--r-lg); background: var(--paper); border: 2px solid var(--night); box-shadow: var(--sh-3); padding: 14px; transform: rotate(-1deg); }
@media (prefers-color-scheme: dark) { .voice__note { border-color: var(--line); } }
.voice__note img { border-radius: 16px; }
.voice__search { position: relative; z-index: 1; margin: -28px -12px 0 auto; width: 62%; border-radius: 14px; overflow: hidden; border: 2px solid var(--night); box-shadow: var(--sh-2); background: var(--surface); }
@media (prefers-color-scheme: dark) { .voice__search { border-color: var(--line); } }
.voice__search figcaption { font: 500 12px/1.4 var(--mono); color: var(--muted); padding: 9px 14px; border-top: 2px solid var(--line); }

/* cost: the one indigo slab */
.cost { position: relative; background: radial-gradient(1000px 600px at 0% 0%, rgba(255,255,255,.09), rgba(255,255,255,0) 60%), var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.cost :focus-visible { outline-color: var(--yellow); }
.cost a { color: #fff; }
.cost .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.cost h2 { color: var(--yellow); }
.cost .sec__head p { color: var(--brand-muted); }
.calc { display: grid; gap: 26px; margin-top: 8px; }
.calc label, .calc legend { font-weight: 600; font-size: 15px; color: #fff; }
.people { display: grid; grid-template-columns: 1fr auto; gap: 14px 18px; align-items: center; }
.people label { grid-column: 1 / -1; }
.people output { font: 400 44px/1 var(--display); color: var(--yellow); min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--yellow) var(--fill, 20%), rgba(255,255,255,.22) var(--fill, 20%)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.22); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--yellow); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 6px rgba(18,15,46,.3); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--night); }
.range:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.seg__opts { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(18,15,46,.28); width: fit-content; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; color: #fff; transition: background-color .15s ease, color .15s ease; }
.seg input:checked + span { background: #fff; color: var(--night); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.bill { list-style: none; margin: 0; padding: 0; border-radius: var(--r-lg); background: rgba(18,15,46,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.bill li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline; padding: 20px 26px; border-bottom: 2px solid rgba(255,255,255,.1); }
.bill li:last-child { border-bottom: 0; }
.bill b { font-weight: 600; font-size: 17px; }
.bill small { grid-column: 1; font-size: 14px; color: var(--brand-muted); }
.bill .amt { grid-row: 1 / span 2; grid-column: 2; min-width: 5.4em; font: 400 clamp(26px, 3vw, 38px)/1 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.bill .na { font: 600 15px/1.3 var(--sans); color: var(--brand-muted); }
.bill .us { background: var(--yellow); color: var(--night); }
.bill .us small { color: #3d3720; }
.fine { margin-top: 20px; font-size: 14px; color: var(--brand-muted); max-width: 60ch; }

/* compare */
.ctable-wrap { border-radius: var(--r-lg); border: 2px solid var(--night); background: var(--surface); overflow: hidden; box-shadow: var(--hi), var(--sh-1); }
@media (prefers-color-scheme: dark) { .ctable-wrap { border-color: var(--line); } }
.ctable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ctable th, .ctable td { padding: 16px 20px; text-align: left; vertical-align: top; }
.ctable thead th { font: 600 13px/1.3 var(--sans); color: var(--muted); background: var(--paper); border-bottom: 2px solid var(--line); }
.ctable tbody th { font-weight: 700; white-space: nowrap; }
.ctable tbody tr + tr > * { border-top: 2px solid var(--line); }
.ctable tr.us, .ctable tr.us > * { background: var(--me); }
.yes { font-weight: 600; }
.after { margin-top: 22px; color: var(--muted); max-width: 70ch; }

/* the comparison highlighter */
.ctable-wrap { position: relative; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 100px; transform-origin: 0 0; background: var(--yellow); opacity: 0; mix-blend-mode: multiply; pointer-events: none; }
@media (prefers-color-scheme: dark) { .scan { mix-blend-mode: screen; background: rgba(255,217,59,.22); } }

/* pros and cons */
.pc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.pc__col { border-radius: var(--r-lg); padding: 34px 32px 30px; background: var(--surface); border: 2px solid var(--line); }
.pc__col.pros { border-color: var(--night); box-shadow: var(--hi), var(--sh-2); }
@media (prefers-color-scheme: dark) { .pc__col.pros { border-color: var(--line-strong); } }
.pc__col.pros ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.pc__col .sticker { position: static; margin-bottom: 22px; }
.pc__col.cons { background: transparent; }
.pc__col.cons h3 { font: 700 19px/1.3 var(--sans); color: var(--ink); margin: 10px 0 22px; }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pc li { padding-left: 26px; position: relative; }
.pc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--indigo); }
.pc .cons li::before { background: var(--line-strong); border-radius: 50%; }
.pc li b { font-weight: 700; }

/* install */
.install .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.steps-wrap { position: relative; }
.rail { display: none; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 2px solid var(--line); }
.steps li:last-child { border-bottom: 2px solid var(--line); }
.steps li::before { content: counter(s); font: 400 38px/1 var(--display); color: var(--indigo); }
.steps h3 { font: 700 19px/1.35 var(--sans); margin-bottom: 4px; }
.steps p { color: var(--muted); }
.install__side { display: grid; gap: 22px; position: sticky; top: 100px; }
.term { border-radius: var(--r-md); background: var(--night); color: #fff8e6; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--sh-2); overflow: hidden; }
@media (prefers-color-scheme: dark) { .term { background: #0c0a22; border: 2px solid var(--line); } }
.term__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 18px; border-bottom: 2px solid rgba(255,255,255,.08); font-size: 14px; color: #cfcbe6; }
.term pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); }
.term .c { color: #a9a3cf; }
.term .p { color: var(--yellow); user-select: none; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: #fff8e6; font: 600 13px/1 var(--sans); cursor: pointer; transition: background-color .15s ease; }
.copy:hover { background: rgba(255,255,255,.16); }
.copy:focus-visible { outline-color: var(--yellow); }
.side-note { color: var(--muted); font-size: 15.5px; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq .sec__head { position: sticky; top: 100px; }
.qa { border-top: 2px solid var(--line); }
.qa details { border-bottom: 2px solid var(--line); }
.qa summary { touch-action: manipulation; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 4px; font: 700 18px/1.35 var(--sans); cursor: pointer; border-radius: 8px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 22px; height: 22px; color: var(--indigo); transition: transform .35s var(--spring); }
.qa details[open] summary .ic { transform: rotate(45deg); }
.qa summary:hover { color: var(--indigo); }
.qa .a { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }
.qa .a p + p { margin-top: 10px; }

/* close */
.close { padding: clamp(72px, 9vw, 120px) 0; }
.close .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
.close__mark { position: relative; width: clamp(110px, 12vw, 168px); }
.yak--close { width: 100%; border-radius: 26%; box-shadow: var(--sh-3); transform: rotate(-3deg); }
.yak--close .yak__svg { width: 100%; height: auto; border-radius: 26%; }
.close h2 { max-width: 18ch; }
.close__p { margin: 18px 0 28px; }

/* footer */
.foot { background: radial-gradient(900px 400px at 0% 0%, rgba(43,27,214,.22), rgba(43,27,214,0) 65%), var(--night); color: #fff8e6; padding: 64px 0 40px; }
@media (prefers-color-scheme: dark) { .foot { background: #0c0a22; border-top: 2px solid var(--line); } }
.foot :focus-visible { outline-color: var(--yellow); }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.foot__brand img { width: 190px; height: auto; }
.foot__brand p { margin-top: 18px; color: #cfcbe6; max-width: 34ch; font-size: 15.5px; }
.foot h2 { font: 600 14px/1.3 var(--sans); color: #cfcbe6; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { color: #fff8e6; text-decoration: none; font-size: 15.5px; display: inline-block; padding: 4px 0; }
.foot ul a:hover { color: var(--yellow); text-decoration: underline; }
.foot__base { margin-top: 56px; padding-top: 24px; border-top: 2px solid rgba(255,248,230,.12); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: #b4afd0; }
.foot__base p { max-width: 70ch; }
.foot__base strong { color: #fff8e6; font-weight: 600; }

/* inner pages: page header */
.phead { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); background: radial-gradient(900px 500px at 0% 0%, rgba(255,255,255,.6), rgba(255,255,255,0) 60%); }
@media (prefers-color-scheme: dark) { .phead { background: none; } }
.phead h1 { font: 400 clamp(36px, 5.4vw, 72px)/1.02 var(--display); letter-spacing: -.01em; max-width: 16ch; }
.phead p { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* prose */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; padding-bottom: clamp(72px, 9vw, 120px); align-items: start; }
.doc--wide { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 100px; font-size: 14.5px; }
.toc h2 { font: 600 13px/1.3 var(--sans); color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--indigo); }
.toc a.on { font-weight: 600; }
.prose { max-width: 72ch; font-size: 17.5px; }
.doc--wide .prose { max-width: none; }
.doc--wide .prose > :not(.table-wrap) { max-width: 72ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font: 400 clamp(26px, 3vw, 36px)/1.12 var(--display); margin-top: 64px; scroll-margin-top: 96px; }
.prose h3 { font: 700 21px/1.3 var(--sans); margin-top: 40px; scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--indigo); }
.prose strong { font-weight: 700; }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 56px 0 28px; }
.prose code { font: 400 .82em/1 var(--mono); background: var(--code-bg); padding: .2em .4em; border-radius: 6px; }
.prose pre { background: var(--night); color: #fff8e6; padding: 18px 20px; border-radius: var(--r-md); overflow-x: auto; box-shadow: var(--sh-1); }
@media (prefers-color-scheme: dark) { .prose pre { background: #0c0a22; border: 2px solid var(--line); } }
.prose pre code { background: none; padding: 0; font-size: 13.5px; line-height: 1.7; color: inherit; }
.prose blockquote { margin: 24px 0; padding: 18px 22px; background: var(--me); border-radius: var(--r-md); }
.prose blockquote > * + * { margin-top: 10px; }
.prose img { border-radius: 14px; border: 2px solid var(--line); box-shadow: var(--sh-1); margin: 8px 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--line); min-width: 9em; }
.prose th:first-child, .prose td:first-child { min-width: 7em; }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--paper); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.prose td strong:only-child { white-space: nowrap; }
.next { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }

/* docs hub */
.hub { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(72px, 9vw, 120px); }
.hub a { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); border: 2px solid var(--night); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--hi), var(--sh-1); transition: box-shadow .25s ease, transform .25s var(--ease); min-width: 0; }
@media (prefers-color-scheme: dark) { .hub a { border-color: var(--line); } }
@media (hover: hover) { .hub a:hover { box-shadow: var(--hi), var(--sh-2); transform: translateY(-2px); } }
.hub h2 { font: 400 26px/1.15 var(--display); }
.hub p { color: var(--muted); }
.hub .meta { margin-top: auto; padding-top: 10px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.hub .big { grid-column: span 7; background: var(--yellow); color: var(--night); }
.hub .big p, .hub .big .meta { color: #3d3720; }
.hub .big img { margin-top: 12px; border-radius: 12px; border: 2px solid var(--night); }
.hub .side { grid-column: span 5; display: grid; gap: 20px; }
.hub .third { grid-column: span 4; }

/* press */
.logos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.logo { grid-column: span 4; border-radius: var(--r-lg); border: 2px solid var(--night); overflow: hidden; display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--hi), var(--sh-1); }
@media (prefers-color-scheme: dark) { .logo { border-color: var(--line); } }
.logo.wide { grid-column: span 8; }
.logo__art { flex: 1; min-height: 200px; display: grid; place-items: center; padding: 36px; }
.logo__art img { max-height: 110px; width: auto; height: auto; }
.logo.wide .logo__art img { max-height: 96px; }
.logo__art.paper { background: #fff8e6; } .logo__art.indigo { background: #2b1bd6; } .logo__art.night { background: #120f2e; } .logo__art.white { background: #fff; }
.logo__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; border-top: 2px solid var(--line); }
.logo__meta b { font-weight: 700; font-size: 15px; display: block; }
.logo__meta span { font-size: 13.5px; color: var(--muted); }
.dl { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); color: var(--ink); font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.dls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dl:hover { border-color: var(--indigo); color: var(--indigo); }
.swatches { display: grid; grid-template-columns: 3fr 3fr 2fr 2fr 2fr 2fr; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--night); box-shadow: var(--sh-1); }
@media (prefers-color-scheme: dark) { .swatches { border-color: var(--line); } }
.sw { min-height: 200px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.sw b { font: 400 20px/1.15 var(--display); }
.sw code { font: 400 12.5px/1.4 var(--mono); }
.sw span { font-size: 13.5px; }
.blurbs { display: grid; gap: 20px; }
.blurb { border-radius: var(--r-md); background: var(--surface); border: 2px solid var(--line); padding: 22px 24px; }
.blurb header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.blurb h3 { font: 700 17px/1.3 var(--sans); }
.blurb .copy { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.blurb .copy:hover { border-color: var(--indigo); color: var(--indigo); }
.blurb .copy:focus-visible { outline-color: var(--focus); }
.blurb p { max-width: 70ch; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shots a { display: block; color: var(--ink); text-decoration: none; }
.shots img { border-radius: 12px; border: 2px solid var(--line); box-shadow: var(--sh-1); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.shots span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.shots a:hover span { color: var(--indigo); }
.press-sec { padding: clamp(40px, 5vw, 64px) 0; }
.press-sec h2 { margin-bottom: 26px; }
.facts-t { width: 100%; border-collapse: collapse; }
.facts-t th, .facts-t td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 2px solid var(--line); }
.facts-t th { width: 9em; font-weight: 600; color: var(--muted); padding-right: 20px; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost img { width: 150px; margin: 0 auto 32px; animation: none; }
@media (prefers-reduced-motion: no-preference) { .lost img { animation: look 2.4s ease-in-out .3s 2 both; } }
@keyframes look { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
.lost h1 { font: 400 clamp(34px, 5vw, 60px)/1.05 var(--display); max-width: 16ch; margin: 0 auto; }
.lost p { margin: 20px auto 30px; color: var(--muted); max-width: 40ch; }
.lost .btn-row { justify-content: center; }

/* ---------- motion and the yak ---------- */
/* the mark: horns and typing dots move on their own */
.yak__svg { display: block; overflow: visible; }
.yak-horn { transform-box: fill-box; }
.yak-horn--l { transform-origin: 100% 85%; }
.yak-horn--r { transform-origin: 0% 85%; }
.yak-dots circle { transform-box: fill-box; transform-origin: 50% 50%; }
.yak-dots circle:nth-child(2) { animation-delay: .12s !important; }
.yak-dots circle:nth-child(3) { animation-delay: .24s !important; }
@keyframes horn-l { 0%, 100% { transform: none; } 22% { transform: rotate(-16deg); } 48% { transform: rotate(10deg); } 72% { transform: rotate(-4deg); } }
@keyframes horn-r { 0%, 100% { transform: none; } 22% { transform: rotate(16deg); } 48% { transform: rotate(-10deg); } 72% { transform: rotate(4deg); } }
@keyframes horn-spin-l { to { transform: rotate(-360deg); } }
@keyframes horn-spin-r { to { transform: rotate(360deg); } }
@keyframes type { 0%, 60%, 100% { transform: none; } 28% { transform: translateY(-34%); } }

.yak { display: none; padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.js .yak { display: block; }
.yak:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 24px; }
.yak-spot { position: absolute; z-index: 3; top: -68px; right: 26px; display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.yak-spot .yak { pointer-events: auto; }
.yak--hero { width: 92px; transition: transform .16s var(--ease); }
.yak--hero .yak__svg { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(18,15,46,.12)); }
.yak:active { transform: scale(.94); }
.yak--close:active { transform: rotate(-3deg) scale(.95); }
.yak.is-talking .yak-dots circle, .yak.is-typing .yak-dots circle, .nav__logo.is-typing .yak-dots circle { animation: type .9s ease-in-out infinite; }
.nav__logo.is-typing .yak-dots circle { animation-iteration-count: 2; }
.yak.is-wiggle .yak-horn--l, .av--yak.is-wiggle .yak-horn--l, .nav__logo.is-wiggle .yak-horn--l { animation: horn-l .7s var(--ease); }
.yak.is-wiggle .yak-horn--r, .av--yak.is-wiggle .yak-horn--r, .nav__logo.is-wiggle .yak-horn--r { animation: horn-r .7s var(--ease); }
.yak.is-spin .yak-horn--l, .nav__logo.is-spin .yak-horn--l { animation: horn-spin-l .8s var(--ease); }
.yak.is-spin .yak-horn--r, .nav__logo.is-spin .yak-horn--r { animation: horn-spin-r .8s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .yak:hover .yak-dots circle, .nav__logo:hover .yak-dots circle { animation: type .9s ease-in-out infinite; }
  .yak:hover .yak-horn--l { animation: horn-l .7s var(--ease); }
  .yak:hover .yak-horn--r { animation: horn-r .7s var(--ease); }
}

/* what the yak says: always written down, sound or not */
.say { position: relative; max-width: 240px; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--surface); border: 2px solid var(--night); color: var(--ink); font: 600 15px/1.35 var(--sans); box-shadow: var(--hi), var(--sh-2); opacity: 0; transform: translateY(6px) scale(.96); transform-origin: 100% 100%; transition: opacity .18s ease, transform .18s var(--ease); margin-bottom: 30px; }
.say:empty { visibility: hidden; }
.say.is-on { opacity: 1; transform: none; transition-duration: .22s; transition-timing-function: ease, var(--spring); }
@media (prefers-color-scheme: dark) { .say { border-color: var(--line-strong); } }
.yak-spot .say { position: absolute; right: calc(100% + 10px); bottom: 30px; width: max-content; margin: 0; }
.close__mark .say { position: absolute; left: 100%; bottom: 70%; margin: 0 0 0 -10px; width: max-content; border-radius: 18px 18px 18px 4px; transform-origin: 0 100%; }

/* sound toggle */
.snd-wrap { position: relative; display: none; }
.js .snd-wrap { display: block; }
.snd { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; touch-action: manipulation; transition: background-color .15s ease, color .15s ease, transform .16s var(--ease); }
.snd:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.snd:active { transform: scale(.96); }
.snd[aria-pressed="false"] { color: var(--muted); }
.snd__ic { display: grid; width: 20px; height: 20px; flex: none; }
.snd .ic { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .16s ease, transform .2s var(--ease); }
.snd__txt { min-width: 4.7em; text-align: left; }
.snd-hint { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: max-content; max-width: min(300px, calc(100vw - 32px)); margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--night); color: #fff8e6; font: 600 14px/1.35 var(--sans); box-shadow: var(--sh-2); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s var(--ease); }
.snd-hint.is-on { opacity: 1; transform: none; transition-duration: .2s; }
@media (prefers-color-scheme: dark) { .snd-hint { background: var(--surface); color: var(--ink); border: 2px solid var(--line-strong); } }
@media (max-width: 1100px) { .snd { padding: 0 12px; } .snd__txt { display: none; } }
@media (max-width: 760px) { .snd-hint { position: fixed; top: 118px; left: 16px; right: 16px; width: auto; max-width: none; } }
.snd[aria-pressed="true"] .ic-off, .snd[aria-pressed="false"] .ic-on { opacity: 0; transform: scale(.7); }

/* buttons: a firmer press, and the primary call grows tiny horns */
.btn:active { transform: scale(.97); }
.btn--primary { position: relative; }
.btn--primary::before, .btn--primary::after { content: ""; position: absolute; top: -9px; width: 13px; height: 13px; background: var(--red); pointer-events: none; opacity: 0; transform: translateY(8px) scale(.6); transition: opacity .15s ease, transform .3s var(--spring); clip-path: path("M13 13C4 12.5 0 8 1 0c1.7 4.5 4.3 6.4 12 6.8z"); }
.btn--primary::before { left: 22%; }
.btn--primary::after { right: 22%; transform: translateY(8px) scale(-.6, .6); clip-path: path("M13 13C4 12.5 0 8 1 0c1.7 4.5 4.3 6.4 12 6.8z"); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover::before { opacity: 1; transform: none; }
  .btn--primary:hover::after { opacity: 1; transform: scaleX(-1); }
}

/* marquee band */
.mq { overflow: hidden; background: var(--yellow); color: var(--night); border-block: 2px solid var(--night); }
.mq__track { display: flex; width: max-content; }
.mq ul { display: flex; list-style: none; margin: 0; padding: 14px 0; }
.mq li { display: flex; align-items: center; font: 400 clamp(20px, 2vw, 26px)/1.1 var(--display); white-space: nowrap; }
.mq li::after { content: ""; width: 12px; height: 12px; margin: 0 26px; border-radius: 6px 6px 6px 2px; background: var(--indigo); }
@media (prefers-color-scheme: dark) { .mq li::after { background: var(--brand); } }
/* the band moves only while you scroll (motion.js), so nothing on the page moves on its own */

/* live chat */
.chat { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--night); box-shadow: var(--sh-3); overflow: hidden; }
@media (prefers-color-scheme: dark) { .chat { border-color: var(--line); } }
.chat.is-live { overflow: visible; background: none; border-color: transparent; box-shadow: none; isolation: isolate; }
.chat__bg { position: absolute; inset: -2px; z-index: -1; border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--night); box-shadow: var(--sh-3); transform-origin: 50% 0; pointer-events: none; }
@media (prefers-color-scheme: dark) { .chat__bg { border-color: var(--line); } }
.chat.is-live .chat__bar { border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
.motion .is-floating, .motion .mq__track { will-change: transform; }
.chat__bar { display: flex; align-items: baseline; gap: 12px; padding: 14px 20px; border-bottom: 2px solid var(--line); background: var(--paper); }
.chat__bar b { font-weight: 700; }
.chat__bar span { font-size: 14px; color: var(--muted); }
.chat__log { list-style: none; margin: 0; padding: 16px 20px 6px; display: grid; gap: 16px; }
.msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; transform-origin: 0 100%; }
.av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 16px/1 var(--sans); }
.av--l { background: var(--brand); color: #fff; }
.av--m { background: var(--red); color: var(--night); }
.av--yak { background: var(--paper); border: 2px solid var(--line); padding: 4px; }
.yak-av { width: 100%; height: auto; }
.msg__who { font-size: 15px; line-height: 1.3; }
.msg__who b { font-weight: 700; }
.msg__who time { margin-left: 6px; font: 400 12px/1 var(--mono); color: var(--muted); }
.msg__text { margin-top: 2px; }
.vn { margin-top: 8px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--me); width: fit-content; max-width: 100%; }
.vn__play { display: none; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--night); background: var(--brand); color: #fff; cursor: pointer; touch-action: manipulation; transition: transform .12s var(--ease); }
.js .vn__play { display: grid; }
.vn__play:active { transform: scale(.92); }
.vn__play .ic { grid-area: 1 / 1; width: 16px; height: 16px; transition: opacity .12s ease, transform .18s var(--ease); }
.vn__play[aria-pressed="false"] .ic-pause, .vn__play[aria-pressed="true"] .ic-play { opacity: 0; transform: scale(.6); }
@media (prefers-color-scheme: dark) { .vn__play { border-color: transparent; } }
.vn__wave { display: flex; align-items: center; gap: 2px; height: 28px; }
.vn__wave i { width: 3px; height: 28px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 35%, transparent); transform-origin: 50% 50%; transition: background-color .12s ease; }
.vn__wave i.on { background: var(--indigo); }
@media (prefers-color-scheme: dark) { .vn__wave i.on { background: var(--yellow); } }
.vn__time { font: 400 12px/1 var(--mono); color: var(--ink); min-width: 3.4em; font-variant-numeric: tabular-nums; }
.vn__tx { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.vn__label { font: 500 11px/1 var(--mono); color: var(--muted); margin-right: 4px; text-transform: none; }
.vn__tx.is-playing .wd { color: var(--muted); transition: color .12s ease; }
.vn__tx.is-playing .wd.said { color: var(--ink); }
.vn__tx .wd.now { background: var(--yellow); color: var(--night); border-radius: 4px; box-shadow: 0 0 0 2px var(--yellow); }
.chat__typing { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 20px 14px 72px; font-size: 13.5px; color: var(--muted); }
.js .chat__typing { display: flex; opacity: 0; }
.tdots { display: inline-flex; gap: 4px; padding: 7px 10px; border-radius: 999px; background: var(--them); }
.tdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.chat__typing.is-on .tdots i { animation: type .9s ease-in-out infinite; }
.tdots i:nth-child(2) { animation-delay: .12s; }
.tdots i:nth-child(3) { animation-delay: .24s; }
.vn__play.is-invite { animation: invite 1.6s var(--ease) 2; }
@keyframes invite { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--brand) 0%, transparent); } }

/* cost bars */
.bill .bar { position: absolute; left: 26px; right: 26px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.bill .bar i { display: block; height: 100%; border-radius: 2px; background: rgba(255,255,255,.55); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.bill .us .bar { background: rgba(18,15,46,.12); }
.bill .us .bar i { background: var(--night); }

/* install rail */
.motion .rail { display: block; position: absolute; left: 14px; top: 68px; bottom: 40px; width: 3px; border-radius: 2px; background: var(--line); }
.motion .rail i { display: block; height: 100%; border-radius: 2px; background: var(--indigo); transform-origin: 50% 0; transform: scaleY(0); }
.motion .steps li::before { transition: color .2s ease, transform .35s var(--spring); display: inline-block; transform-origin: 30% 60%; }
.motion .steps li:not(.is-on)::before { color: var(--line-strong); transform: scale(.86); }
.term .tl { display: inline-block; }
.term.is-typing .tl { clip-path: inset(0 100% 0 0); animation: typeline var(--d) steps(var(--n)) var(--at) forwards; }
@keyframes typeline { to { clip-path: inset(0 0 0 0); } }

/* faq: smooth open where the browser can animate to auto height */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .qa { interpolate-size: allow-keywords; }
    .qa details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
    .qa details[open]::details-content { height: auto; }
  }
  .qa details[open] .a { animation: qa-in .35s var(--ease); }
}
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

/* footer links */
.foot ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease), color .15s ease; }
.foot ul a:hover { text-decoration: none; background-size: 100% 2px; }

/* confetti of tiny chat bubbles (easter egg) */
.bub-bit { position: fixed; z-index: 95; width: 18px; height: 14px; margin: -7px 0 0 -9px; border-radius: 9px 9px 9px 2px; border: 2px solid #120f2e; pointer-events: none; left: 0; top: 0; }

/* inner pages: the page title settles in */
@media (prefers-reduced-motion: no-preference) {
  .js .phead h1 { animation: settle .7s var(--ease) backwards; }
  .js .phead .lede { animation: fade .6s ease .15s backwards; }
}

/* page to page: a quick crossfade where browsers support it */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .nav { view-transition-name: site-nav; }
  ::view-transition-old(root) { animation: vt-out .18s ease both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* responsive */
@media (max-width: 1080px) {
  .nav ul li.opt { display: none; }
}
@media (max-width: 960px) {
  .hero__grid, .voice .wrap, .cost .wrap, .install .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .install__side, .faq .sec__head { position: static; }
  .stage { margin-right: 18px; }
  .t-thread, .t-phone, .t-themes, .t-slack { grid-column: 1 / -1; }
  .pc { grid-template-columns: minmax(0, 1fr); }
  .pc__col.pros ul { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .hub .big, .hub .side, .hub .third { grid-column: 1 / -1; }
  .logo, .logo.wide { grid-column: span 6; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gut: 20px; }
  .nav .wrap { height: auto; flex-wrap: wrap; gap: 6px 12px; padding-top: 12px; padding-bottom: 8px; }
  .nav nav { order: 3; width: 100%; }
  .nav ul { width: calc(100% + var(--gut) * 2); margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 4px; overflow-x: auto; scrollbar-width: none; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav ul li.opt { display: block; }
  .nav li { flex: none; }
  .nav .btn { display: none; }
  html { scroll-padding-top: 120px; }
  .ctable thead { display: none; }
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; }
  .ctable tbody tr { padding: 14px 18px; }
  .ctable tbody th { padding: 0 0 6px; font-size: 17px; }
  .ctable td { padding: 3px 0; display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; }
  .ctable td::before { content: attr(data-label); color: var(--muted); font-size: 13.5px; }
  .ctable tbody tr + tr > * { border-top: 0; }
  .ctable tbody tr + tr { border-top: 2px solid var(--line); }
  .close .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .logo, .logo.wide { grid-column: 1 / -1; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) {
  .phone { width: 31%; right: -14px; bottom: -30px; border-radius: 20px; padding: 4px; }
  .phone img { border-radius: 16px; }
  .stage { margin-right: 10px; margin-bottom: 24px; }
  .stage .sticker { left: -6px; top: -18px; font-size: 16px; padding: 8px 14px; }
  .yak-spot { top: -50px; right: 12px; }
  .yak--hero { width: 64px; }
  .say { font-size: 14px; max-width: 190px; margin-bottom: 20px; }
  .yak-spot .say { bottom: 20px; margin: 0; }
  .close__mark .say { left: 70%; bottom: 96%; }
  .chat__log { padding: 14px 14px 4px; }
  .chat__typing { padding-left: 66px; }
  .vn { gap: 8px; }
  .vn__wave { gap: 1.5px; }
  .vn__wave i { width: 2px; }
  .voice__search { width: 78%; margin-right: -6px; }
  .browser__bar { height: 30px; }
  .browser__url { font-size: 10px; height: 20px; }
  .browser__dots i { width: 7px; height: 7px; }
  .tile { padding: 22px 20px 0; }
  .pc__col { padding: 26px 22px; }
  .bill li { padding: 16px 18px; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .steps li::before { font-size: 30px; }
  .qa summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .say { transform: none !important; transition: opacity .2s ease !important; }
}
@media print {
  .nav, .foot, body::after { display: none; }
}
.t-locked { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 0 32px; align-items: start; }
.t-locked { grid-template-rows: auto 1fr; }
.t-locked p { align-self: start; margin-top: 10px; }
.t-locked .tile__shot { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 960px) { .t-locked { display: flex; } }
.v2band { background: var(--brand); color: #fff; font-size: 15px; position: relative; z-index: 2; }
.v2band p { margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.v2band a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.v2band a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.v2band__tag { background: var(--yellow); color: var(--night); font-weight: 700; padding: 2px 9px; border-radius: 999px; font-size: 13px; }
.v2band__short { display: none; }
@media (max-width: 640px) { .v2band__long { display: none; } .v2band__short { display: inline; } }
.hub .half { grid-column: span 6; }
@media (max-width: 760px) { .hub .half { grid-column: 1 / -1; } }
.rel-hero__grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(32px,5vw,72px); align-items: center; margin-top: clamp(28px,4vw,48px); }
.rel-shot img { border-radius: 16px; border: 2px solid var(--night); box-shadow: var(--hi), var(--sh-2); }
.rel-two { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(32px,5vw,80px); align-items: start; }
.rel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rel-list li { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg, 18px); padding: 18px 22px; box-shadow: var(--hi), var(--sh-1); }
.rel-list code, .tile code { font: 500 .88em var(--mono); }
.rel-code { margin: 0; background: var(--night); color: var(--yellow); border-radius: 16px; padding: 22px 26px; font: 500 16px/1.7 var(--mono); overflow-x: auto; box-shadow: var(--sh-2); }
.rel-new { margin: 22px 0 12px; font-weight: 600; }
@media (max-width: 960px) { .rel-hero__grid, .rel-two { grid-template-columns: 1fr; } }
