@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: oklch(0.99 0.003 250);
  --foreground: oklch(0.18 0.02 255);
  --card: oklch(1 0 0);
  --primary: oklch(0.5 0.19 255);
  --primary-foreground: oklch(0.99 0 0);
  --muted: oklch(0.96 0.005 255);
  --muted-foreground: oklch(0.48 0.015 255);
  --accent: oklch(0.94 0.02 255);
  --destructive: oklch(0.48 0.2 27);
  --success: oklch(0.52 0.17 150);
  --warning: oklch(0.53 0.15 60);
  --warning-fill: oklch(0.75 0.17 75);
  --border: oklch(0.9 0.01 255);
  --ring: oklch(0.5 0.19 255);
  --tint-asks: oklch(0.95 0.035 305);
  --tint-waits: oklch(0.96 0.03 60);
  --daylight-night: oklch(0.82 0.04 268);
  --daylight-dawn: oklch(0.9 0.055 55);
  --daylight-day: oklch(0.93 0.03 228);
  --daylight-noon: oklch(0.955 0.025 218);
  --daylight-dusk: oklch(0.88 0.065 45);
  --daylight-line: oklch(0.18 0.02 255 / 14%);
  --daylight-path: oklch(0.18 0.02 255 / 28%);
  --daylight-path-past: oklch(0.18 0.02 255 / 40%);
  --daylight-star: oklch(1 0 0);
  --daylight-sun: oklch(0.86 0.15 85);
  --agent-orange: oklch(0.6 0.17 50);
  --agent-violet: oklch(0.55 0.19 305);
  --agent-green: oklch(0.55 0.16 150);
  --agent-blue: oklch(0.52 0.19 255);
  --agent-pink: oklch(0.58 0.19 355);
  --agent-teal: oklch(0.56 0.12 195);
  --shadow: oklch(0.18 0.02 255 / 8%);
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --rail: 3.5rem;
  --gutter: clamp(1rem, 3vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(0.155 0.015 255);
    --foreground: oklch(0.97 0.005 255);
    --card: oklch(0.21 0.018 255);
    --primary: oklch(0.7 0.17 255);
    --primary-foreground: oklch(0.15 0.02 255);
    --muted: oklch(0.27 0.018 255);
    --muted-foreground: oklch(0.72 0.015 255);
    --accent: oklch(0.32 0.02 255);
    --destructive: oklch(0.7 0.19 22);
    --success: oklch(0.72 0.17 150);
    --warning: oklch(0.82 0.16 75);
    --warning-fill: oklch(0.82 0.16 75);
    --border: oklch(1 0 0 / 10%);
    --ring: oklch(0.7 0.17 255);
    --tint-asks: oklch(0.25 0.04 305);
    --tint-waits: oklch(0.25 0.035 60);
    --daylight-night: oklch(0.21 0.03 268);
    --daylight-dawn: oklch(0.38 0.07 48);
    --daylight-day: oklch(0.33 0.055 240);
    --daylight-noon: oklch(0.38 0.06 232);
    --daylight-dusk: oklch(0.37 0.08 38);
    --daylight-line: oklch(1 0 0 / 12%);
    --daylight-path: oklch(1 0 0 / 22%);
    --daylight-path-past: oklch(1 0 0 / 40%);
    --daylight-star: oklch(0.95 0.02 250);
    --daylight-sun: oklch(0.92 0.12 90);
    --agent-orange: oklch(0.72 0.15 50);
    --agent-violet: oklch(0.72 0.15 305);
    --agent-green: oklch(0.74 0.15 150);
    --agent-blue: oklch(0.7 0.16 255);
    --agent-pink: oklch(0.74 0.15 355);
    --agent-teal: oklch(0.76 0.11 195);
    --shadow: oklch(0 0 0 / 35%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-mono);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

::selection {
  background-color: color-mix(in oklch, var(--primary) 28%, transparent);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

p a {
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

code,
pre {
  font-family: inherit;
}

:not(pre) > code {
  padding: 0 0.25em;
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.9em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.skip:focus {
  top: 0.5rem;
}

.top {
  display: flex;
  align-items: stretch;
  height: 3.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.wordmark {
  display: flex;
  align-items: center;
  padding-inline: 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-decoration: none;
}

.band {
  position: relative;
  flex: 1;
  min-width: 4rem;
  overflow: hidden;
  background: linear-gradient(
    in oklab to right,
    var(--daylight-night) 0%,
    var(--daylight-night) 18%,
    var(--daylight-dawn) 25%,
    var(--daylight-day) 31%,
    var(--daylight-noon) 50%,
    var(--daylight-day) 68%,
    var(--daylight-dusk) 75%,
    var(--daylight-night) 82%,
    var(--daylight-night) 100%
  );
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 4% 22%, var(--daylight-star) 0 1px, transparent 1.5px),
    radial-gradient(circle at 9% 58%, var(--daylight-star) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 13% 30%, var(--daylight-star) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 16% 70%, var(--daylight-star) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 26%, var(--daylight-star) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 62%, var(--daylight-star) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 93% 18%, var(--daylight-star) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 97% 48%, var(--daylight-star) 0 1px, transparent 1.5px);
}

.band svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.band .horizon {
  stroke: var(--daylight-line);
}

.band .path {
  fill: none;
  stroke: var(--daylight-path);
  stroke-dasharray: 1.5 3;
}

.band .past {
  fill: none;
  stroke: var(--daylight-path-past);
  stroke-width: 1.25;
}

.band .past-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 38% 0 0);
}

.sun {
  position: absolute;
  left: 62%;
  top: 33.5%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: 50%;
  background: var(--daylight-sun);
  box-shadow:
    0 0 0.5rem 0.15rem color-mix(in oklch, var(--daylight-sun) 60%, transparent),
    0 0 2.5rem 1.5rem color-mix(in oklch, var(--daylight-sun) 22%, transparent);
}

.top nav {
  display: flex;
}

.top-links {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  padding-inline: 0.85rem;
  font-size: 0.8125rem;
  text-decoration: none;
}

.top-links a:hover {
  background: var(--accent);
}

.shell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  background: linear-gradient(var(--border), var(--border)) calc(var(--rail) - 1px) 0 / 1px 100% no-repeat;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail a {
  position: relative;
  display: grid;
  place-items: center;
  height: 3.25rem;
  color: var(--muted-foreground);
}

.rail a:hover,
.rail a:focus-visible {
  background: var(--accent);
  color: var(--foreground);
}

.rail a .tip {
  position: absolute;
  left: calc(100% + 0.4rem);
  z-index: 5;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--shadow);
  opacity: 0;
  pointer-events: none;
}

.rail a:hover .tip,
.rail a:focus-visible .tip {
  opacity: 1;
}

.rail .rail-end {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

main {
  min-width: 0;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--muted-foreground);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  letter-spacing: -0.035em;
}

.hero .h1-more {
  display: block;
  max-width: 30ch;
  margin-top: 0.9rem;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.install {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.install-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.install-head span:first-child {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--foreground);
}

.install pre {
  margin: 0;
  padding: 0.85rem 0.75rem;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.install code {
  -webkit-user-select: all;
  user-select: all;
}

.install .flag {
  white-space: nowrap;
}

.install .prompt {
  color: var(--success);
  -webkit-user-select: none;
  user-select: none;
}

.install-note {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.button.primary:hover {
  background: color-mix(in oklab, var(--primary) 88%, var(--foreground));
}

.panel {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 12px 32px -12px var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.panel-head .title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-head .tool {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted-foreground);
}

.panel-head .tool.add {
  background: var(--primary);
  color: var(--primary-foreground);
}

.layer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.group {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.group.needs {
  color: var(--destructive);
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--agent);
  font-size: 0.875rem;
}

.row .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row .why {
  color: var(--muted-foreground);
}

.row .meta {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.row.waits {
  background: var(--tint-waits);
}

.row.asks {
  background: var(--tint-asks);
}

.a-orange {
  --agent: var(--agent-orange);
}

.a-violet {
  --agent: var(--agent-violet);
}

.a-green {
  --agent: var(--agent-green);
}

.a-blue {
  --agent: var(--agent-blue);
}

.a-pink {
  --agent: var(--agent-pink);
}

.a-teal {
  --agent: var(--agent-teal);
}

.light {
  display: inline-block;
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
}

.light.running {
  border-radius: 50%;
  background: var(--primary);
}

.light.done {
  border: 2px solid var(--success);
  width: 0.7rem;
  height: 0.7rem;
}

.light.waits {
  background: var(--warning-fill);
  transform: rotate(45deg) scale(0.85);
}

.light.asks {
  width: 0.8rem;
  height: 0.7rem;
  background: var(--warning-fill);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 45% 72%, 15% 100%, 15% 72%, 0 72%);
}

.panel-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.85rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.panel-foot .alert {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--destructive);
}

.panel-foot .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.sample-note {
  margin-top: 0.6rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.sprite {
  position: absolute;
}

.voice-proof {
  display: grid;
  grid-template-columns: minmax(0, 2.79fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: start;
}

.voice-proof .phone figcaption {
  margin-top: 0.45rem;
}

.thread {
  max-width: 54rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.msgs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.thread-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.online {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
}

.msg {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  border-bottom: 1px solid var(--border);
}

.msg:last-child {
  border-bottom: 0;
}

.msg .step {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.msg .body {
  padding: 0.75rem 1rem 0.9rem;
}

.msg .body p + p,
.msg .body p + pre {
  margin-top: 0.5rem;
}

.msg pre {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.8125rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sender {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.05rem 0.4rem;
  background: var(--accent);
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chip.agent {
  border-left: 3px solid var(--agent);
  background: color-mix(in oklab, var(--agent) 14%, var(--card));
}

.chip.you {
  background: color-mix(in oklab, var(--primary) 16%, var(--card));
}

.chip.ea {
  background: color-mix(in oklab, var(--success) 16%, var(--card));
}

.sender .blob {
  width: 1.25rem;
  height: 1.25rem;
}

.mention {
  font-weight: 600;
}

.plate {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--card);
}

.plate img {
  width: 100%;
}

.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.plate figcaption span:first-child {
  color: var(--foreground);
}

.plate figcaption span + span {
  flex: 1;
}

.plate figcaption a,
.phone a {
  color: var(--primary);
}

.dark-only {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .light-only {
    display: none;
  }

  .dark-only {
    display: revert;
  }
}

.room {
  max-width: none;
}

.msg.post {
  grid-template-columns: 11rem minmax(0, 1fr);
}

.who {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 0.5rem;
  padding: 1.1rem 1rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  background: var(--accent);
}

.avatar .icon {
  width: 1rem;
  height: 1rem;
}

.msg.post .body {
  padding: 1.1rem clamp(1rem, 3vw, 2rem) clamp(1.75rem, 4vw, 2.75rem);
  border-left: 1px solid var(--border);
}

.msg.post h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.msg.post .body > p {
  max-width: 44rem;
  margin-top: 0.85rem;
  color: var(--muted-foreground);
}

.msg.post .body > p strong {
  color: var(--foreground);
  font-weight: 600;
}

.msg.post .body > .plate,
.msg.post .body > .phones,
.msg.post .body > .guards,
.msg.post .body > .rows {
  margin-top: 1.5rem;
}

.rows.more {
  border-top: 1px solid var(--border);
}

.rows.more .row {
  align-items: flex-start;
  border-right: 1px solid var(--border);
}

.rows.more .icon {
  margin-top: 0.2rem;
  color: var(--agent);
}

.rows.more .name {
  white-space: normal;
}

.rows.more strong {
  font-weight: 600;
}

.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.phones.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 34rem;
}

.phone {
  margin: 0;
}

.phone figcaption {
  margin-top: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.blobs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.blobs li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.blob {
  width: 1.75rem;
  height: 1.75rem;
  overflow: visible;
  color: var(--foreground);
}

.blob .skin {
  fill: var(--agent);
}

.blob .fill {
  fill: var(--background);
}

.blob .line {
  fill: none;
  stroke: var(--background);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blob .mark-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blob .mark-fill {
  fill: currentColor;
}

.blob .look {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.guards {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  background: var(--card);
}

.guards li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.guards li:last-child {
  border-bottom: 0;
}

.guards .icon {
  margin-top: 0.15rem;
  color: var(--success);
}

.guards strong {
  display: block;
  font-weight: 600;
}

.guards span {
  color: var(--muted-foreground);
}

.install-section .install {
  max-width: 54rem;
  margin-top: 0;
}

.next {
  max-width: 54rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}

.next li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: next;
}

.next li::before {
  content: counter(next);
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.75rem;
}

.status > * {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.85rem;
}

.status a {
  text-decoration: none;
}

.status a:hover {
  background: var(--accent);
}

.status .spacer {
  flex: 1;
  padding: 0;
}

.status .muted {
  color: var(--muted-foreground);
}

.status .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.status .ok {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  min-height: 0;
  background: var(--success);
}

@media (prefers-reduced-motion: no-preference) {
  .band .past-clip {
    animation: day-draws 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .sun {
    animation: sun-shows 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
  }

  .blob.happy .look {
    animation: blink 4.8s linear infinite;
  }

  .blob.happy .squash {
    animation: bob 4.8s ease-in-out infinite;
  }

  .light.running {
    animation: breathe 2.4s ease-in-out infinite;
  }
}

@keyframes day-draws {
  from {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes sun-shows {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes blink {
  0%,
  76%,
  81%,
  100% {
    transform: scaleY(1);
  }
  78.5% {
    transform: scaleY(0.1);
  }
}

@keyframes bob {
  0%,
  50%,
  100% {
    transform: translateY(0);
  }
  25%,
  75% {
    transform: translateY(-5%);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.45;
  }
}

@media (width < 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .panel {
    max-width: 34rem;
  }

  .voice-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-proof .plate {
    grid-column: 1 / -1;
  }
}

@media (width < 48rem) {
  body {
    font-size: 1rem;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    background: none;
  }

  .rail {
    display: none;
  }

  .top-links .wide-only {
    display: none;
  }

  .top-links a {
    padding-inline: 0.7rem;
  }

  .msg {
    grid-template-columns: minmax(0, 1fr);
  }

  .msg .step {
    padding: 0.6rem 1rem 0;
    border-right: 0;
  }

  .msg.post {
    grid-template-columns: minmax(0, 1fr);
  }

  .who {
    padding-bottom: 0;
  }

  .msg.post .body {
    padding-top: 0.75rem;
    border-left: 0;
  }

  .phones,
  .phones.two {
    grid-template-columns: repeat(var(--count, 4), 70%);
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .phones.two {
    --count: 2;
  }

  .phones .phone {
    scroll-snap-align: center;
  }

  .status .spacer {
    display: none;
  }
}
